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

[16.0][ADD] sale_pricelist_display_surcharge #2629

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

DavidJForgeFlow
Copy link
Contributor

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

@DavidJForgeFlow DavidJForgeFlow force-pushed the 16.0-add-sale_surcharge_discount branch from 8fc4eed to 34807ab Compare August 3, 2023 08:21
@rafaelbn rafaelbn added this to the 16.0 milestone Aug 7, 2023
@rousseldenis
Copy link
Contributor

rousseldenis commented Aug 29, 2023

@DavidJForgeFlow What do you think adding 'pricelist' term to module name? As this is more explicit. So, sale_display_pricelist_surcharge'

@DavidJForgeFlow DavidJForgeFlow force-pushed the 16.0-add-sale_surcharge_discount branch from 34807ab to 35899ef Compare August 30, 2023 07:16
@DavidJForgeFlow DavidJForgeFlow changed the title [16.0][ADD] sale_display_surcharge [16.0][ADD] sale_pricelist_display_surcharge Aug 30, 2023
@DavidJForgeFlow
Copy link
Contributor Author

@DavidJForgeFlow What do you think adding 'pricelist' term to module name? As this is more explicit. So, sale_display_pricelist_surcharge'

Changed!

@rousseldenis
Copy link
Contributor

@DavidJForgeFlow Could you attract people for more reviews ?

Comment on lines 1 to 3
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@DavidJForgeFlow DavidJForgeFlow force-pushed the 16.0-add-sale_surcharge_discount branch from 35899ef to 2fe603f Compare February 3, 2025 14:33
Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

@JordiMForgeFlow
Copy link
Contributor

@DavidJForgeFlow would it be possible to add some test?

@DavidJForgeFlow
Copy link
Contributor Author

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants