Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0][ADD] sale_coupon_portal_commercial_partner_applicability: New module to see your company coupons on portal view #116

Conversation

@pedrobaeza
Copy link
Member

The names are incorrect. It should be reversed: sale_coupon_portal_commercial_partner_apply or sale_coupon_portal_commercial_partner_applicability, but I think there's something wrong in the way you are accessing the applicability, as it should be a central way to modify only one place (maybe the partner domain), for not requiring all of these glue modules.

@chienandalu
Copy link
Member

The partner domain has nothing to do with the sale.coupon partner field. There's no central method to hook into so the only way to ensure that we include those coupons available in the commercial entity level is to add these glue modules, I'm afraid

@pedrobaeza
Copy link
Member

Isn't there a method to say if a coupon is valid or not? Can't you hook into it? Anyway, that's independent from the module name. Please change it.

@chienandalu
Copy link
Member

Isn't there a method to say if a coupon is valid or not?

But only in relation to the current sales order context.

@CarlosRoca13 CarlosRoca13 force-pushed the 13.0-ADD-sale_coupon_portal_apply_commercial_partner branch from 04b512d to e7c642c Compare February 22, 2023 09:33
@CarlosRoca13 CarlosRoca13 changed the title [13.0][ADD] sale_coupon_portal_apply_commercial_partner: New module to see your company coupons on portal view [13.0][ADD] sale_coupon_portal_commercial_partner_applicability: New module to see your company coupons on portal view Feb 22, 2023
@CarlosRoca13 CarlosRoca13 force-pushed the 13.0-ADD-sale_coupon_portal_apply_commercial_partner branch 2 times, most recently from b062826 to a53bfd3 Compare February 22, 2023 09:37
@CarlosRoca13
Copy link
Contributor Author

Name changed

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 25, 2023
@pedrobaeza pedrobaeza added this to the 13.0 milestone Jun 25, 2023
@CarlosRoca13 CarlosRoca13 force-pushed the 13.0-ADD-sale_coupon_portal_apply_commercial_partner branch 2 times, most recently from ac194fe to 8dcfbd4 Compare June 26, 2023 05:44
@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 13.0-ocabot-merge-pr-116-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit b59cb49 into OCA:13.0 Jun 26, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 771e12b. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged 🎉 stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants