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

[FIX] dont disply price change qty if price based on supplierinfo #142

Open
wants to merge 2 commits into
base: 14.0
Choose a base branch
from

Conversation

mourad-ehm
Copy link
Member

No description provided.

@mourad-ehm
Copy link
Member Author

ping @alexis-via , @sebastienbeau

@alexis-via
Copy link
Member

The "base" field doesn't have a supplierinfo value: https://github.com/odoo/odoo/blob/14.0/addons/product/models/product_pricelist.py#L392
Which module adds this value ?
But I agree that the original code needs to be updated to take into account the fact that product_id can be False (when display_type is False)... I tend to keep the souvenir of odoo v10 where product_id was required=True... but that's no longer the case !

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

Successfully merging this pull request may close these issues.

2 participants