[16.0][ADD] sale_pricelist_display_surcharge#2629
Conversation
8fc4eed to
34807ab
Compare
|
@DavidJForgeFlow What do you think adding 'pricelist' term to module name? As this is more explicit. So, sale_display_pricelist_surcharge' |
34807ab to
35899ef
Compare
Changed! |
|
@DavidJForgeFlow Could you attract people for more reviews ? |
| In standard Odoo only display the discount if it benefices the customer. | ||
| In the case of wanting to always show the discount (for example a surcharge), | ||
| this module allows to choose if show or not the customer the discount. |
There was a problem hiding this comment.
| In standard Odoo only display the discount if it benefices the customer. | |
| In the case of wanting to always show the discount (for example a surcharge), | |
| this module allows to choose if show or not the customer the discount. | |
| In standard Odoo the discount is only displayed if it benefits the customer. | |
| In the case of wanting to always show the discount (for example a surcharge), | |
| this module allows to choose whether to show or not. |
35899ef to
2fe603f
Compare
|
@DavidJForgeFlow would it be possible to add some test? |
Makes sense to add tests here, I will note it and add them when I have time! |
216a534 to
382b209
Compare
|
@JordiMForgeFlow @rousseldenis Tests added! |
|
@DavidJForgeFlow test seem to be failing, could you check? |
Seems an error common in all 16.0 PRs. If monday keeps happening I will investigate further! |
382b209 to
2a0293a
Compare
|
@JordiMForgeFlow there is a conflict between two modules that cannot be installed at the same time: account_invoice_triple_discount and account_invoice_fixed_discount. The test including them fails, the other one works. Should we exclude them? |
|
@DavidJForgeFlow we should do the same as it was done in the account-invoicing repo where those base modules are (OCA/account-invoicing@c6144b7). Running a copier update you can specify the rebel modules (here we should separate sale_fixed_discount and sale_triple_discount). Maybe better if you do it in a separate PR |
|
There is a PR open trying to fix this error: #2885. As the module sale_triple_discount is also failing by adding this modules as rebel: #3629. Let's wait until @grindtildeath fix this error! |
2a0293a to
a2db489
Compare
|
@JordiMForgeFlow @rousseldenis This is now ready to merge! |
|
This PR has the |
a2db489 to
4fb2ed5
Compare
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at 30881ab. Thanks a lot for contributing to OCA. ❤️ |
In standard Odoo only display the discount if it benefices the customer.
In the case of wanting to always show the discount (for example a surcharge), this module allows to choose if show or not the customer the discount.
@ForgeFlow