-
-
Notifications
You must be signed in to change notification settings - Fork 596
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] pos_bypass_global_discount #1220
base: 16.0
Are you sure you want to change the base?
Conversation
adding description on the PR : This module is meant to be installed as a companion to |
|
||
def _loader_params_product_product(self): | ||
params = super()._loader_params_product_product() | ||
params["search_params"]["fields"].append("bypass_global_discount") |
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.
params["search_params"]["fields"].append("bypass_global_discount") | |
if "search_params" in params and "fields" in params["search_params"]: | |
params["search_params"]["fields"].append("bypass_global_discount") |
9b919a5
to
6d09939
Compare
This PR has the |
Note
sale_global_discount
. It makes sure the POS will also honors thebypass_global_discount
field when user inputs a Discount at the Order level.