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

[14.0][MIG] purchase_order_product_recommendation #2243

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

Conversation

MarioLM-23
Copy link

Standard migration adding ACLs

chienandalu and others added 30 commits April 16, 2024 12:35
- Add flag to be able to load all the products with supplier infos for
ther current customer
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-11.0/purchase-workflow-11.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-11-0/purchase-workflow-11-0-purchase_order_product_recommendation/
- If you have multiple warehouses, you can also constrain the recommendations to
the deliveries of specific ones.
…in supplierinfo

Must be commercial partner, not possible contacts put in the purchase order.
- Give the proper context when the wh filter is active to get the right
quantities available for those warehouses.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-11.0/purchase-workflow-11.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-11-0/purchase-workflow-11-0-purchase_order_product_recommendation/
- When the wizard had a lot of lines, the price_unit computation had a
very poor performance whenenever we changed the qty to order (maybe due
to some ORM issue). Changing to an initial computation and then to a
computation on the onchange method, gets rid of the problem.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_order_product_recommendation/
…default code to avoid crash tests with product_code_unique module installed
- Extract domain build to an independent method for easy extension by
third modules
- Extract product filter to an independent method for easy extension.
- New product internal category filter.
- New "Show all products" filter that allows to easily show all
purchable products.
- Make tests extensible by other modules
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_order_product_recommendation/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_order_product_recommendation/
oca-travis and others added 18 commits April 16, 2024 12:35
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_order_product_recommendation/
… or not purchasable products

It includes a tests that exercises the patch.
After commit odoo/odoo@4625f3d
the warehouse is taken into account when computing the quantities.

As we are limiting the test by warehouse, the final value should be updated to the new
correctly computed.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_order_product_recommendation/
…duct code

Added product name and product code on wizard lines for allow ordering by both
regardless of how it is displayed in display_name
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_order_product_recommendation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_order_product_recommendation/
@MarioLM-23 MarioLM-23 mentioned this pull request Apr 17, 2024
49 tasks
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.

None yet