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
[12.0][MIG] partner_default_sale_discount #842
[12.0][MIG] partner_default_sale_discount #842
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM but would be could to change license lines to https: to make it complete up to date with conventions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks for the migration!
79f8d7b
to
fde8554
Compare
* [ADD] partner_default_sale_discount Default sales discount per partner ================================== This module allows to define at partner level a default discount to be applied on sales orders as the default one. As the field is a company dependent one, you can configure a different value for the partner for each of your companies. Configuration ============= Enabling the use of discounts in Odoo: * Go to *Sales > Configuration > Settings* * On the group "Quotations & Sales", select the option "Allow discounts on sales order lines" for the "Discount" section. Setting a default sales discount: * Then, go to *Sales > Customers*. * Create or modify a customer. * Go to "Sales & Purchases" page. * In the "Sale" section, there's a field called "Default sales discount (%)" where you can fill the default discount percentage. * This value can only be filled at company partners, not for contacts. Usage ===== To use this module, you need to: * Go to Sales > Quotations. * Create a new quotation. * Select a partner with a default discount applied. * Create an order line, and you will see this discount as default in the line. Known issues / Roadmap ====================== * This module doesn't work with *product_visible_discount*, as it overwrites the discount field with its own value.
fde8554
to
4aba93e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional test 👍
This PR has the |
/ocabot merge |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 713fd29. Thanks a lot for contributing to OCA. ❤️ |
Standard migration of module partner_default_sale_discount.