Skip to content

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

Open
mourad-ehm wants to merge 2 commits into
14.0from
14.0-fix_sala_warning
Open

[FIX] dont disply price change qty if price based on supplierinfo#142
mourad-ehm wants to merge 2 commits into
14.0from
14.0-fix_sala_warning

Conversation

@mourad-ehm
Copy link
Copy Markdown
Member

No description provided.

@mourad-ehm
Copy link
Copy Markdown
Member Author

ping @alexis-via , @sebastienbeau

@alexis-via
Copy link
Copy Markdown
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