-
-
Notifications
You must be signed in to change notification settings - Fork 901
[19.0][MIG] purchase_allowed_product: Migration to 19.0. #2906
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
base: 19.0
Are you sure you want to change the base?
Conversation
OCA Transbot updated translations from Transifex
[UPD] Update purchase_allowed_product.pot
Currently translated at 46.2% (6 of 13 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_allowed_product/sl/ Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_allowed_product/
Currently translated at 84.6% (11 of 13 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_allowed_product/fr/
Currently translated at 92.3% (12 of 13 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_allowed_product/fr/
Currently translated at 40.0% (6 of 15 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_allowed_product/pt_BR/
Currently translated at 40.0% (6 of 15 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_allowed_product/pt/
[UPD] Update purchase_allowed_product.pot [UPD] README.rst
Currently translated at 100.0% (15 of 15 strings) Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_allowed_product/zh_CN/
Currently translated at 100.0% (15 of 15 strings) Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_allowed_product/fr/
Currently translated at 40.0% (6 of 15 strings) Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_allowed_product/pt_BR/
Currently translated at 33.3% (5 of 15 strings) Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_allowed_product/it/
Currently translated at 100.0% (15 of 15 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_allowed_product/it/
Currently translated at 93.3% (14 of 15 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_allowed_product/hr/
Currently translated at 100.0% (11 of 11 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_allowed_product/pt_BR/
Currently translated at 100.0% (11 of 11 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_allowed_product/es/
Currently translated at 100.0% (11 of 11 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_allowed_product/es/
Currently translated at 100.0% (11 of 11 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_allowed_product Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_allowed_product/it/
- Make use_only_supplied_product field computed, stored and not readonly - Propagation of use_only_supplied_product field to invoices
You always can add products to purchase order, so makes sense to be able to see the check/switch always
[IMP] purchase_allowed_product: pre-commit auto fixes
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.
Thanks! Can you fix the pre-commit, and do you have any idea what's going on with the test job? Maybe try a rebase?
| supplierinfos = self.env["product.supplierinfo"].search( | ||
| [("partner_id", "=", seller.id)] | ||
| ) | ||
| domain += [ |
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.
Maybe this code can be improved a little bit by joining the passed domain and the additional domain with fields.Domain.AND.
|
/ocabot migration purchase_allowed_product |
|
Oh, it's the dependency on |
Migration of purchase_allowed_product to Odoo 19.0.
Updated _search method to the new API, adapted views to v19 changes, refreshed tests, and updated module metadata. No functional changes.