-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[18.0][MIG] sale_commercial_partner: Migration to 18.0 #3415
[18.0][MIG] sale_commercial_partner: Migration to 18.0 #3415
Conversation
…, sale_order_import_ubl, sale_order_import_csv, sale_order_ubl, sale_commercial_partner
OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex
[UPD] Update sale_commercial_partner.pot
[UPD] README.rst [UPD] Update sale_commercial_partner.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-12.0/sale-workflow-12.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_commercial_partner/ [UPD] README.rst
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_commercial_partner/zh_CN/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_commercial_partner/pt_BR/
[UPD] Update sale_commercial_partner.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-13.0/sale-workflow-13.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_commercial_partner/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-13.0/sale-workflow-13.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_commercial_partner/es/ Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-13.0/sale-workflow-13.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_commercial_partner/
[UPD] Update sale_commercial_partner.pot
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_commercial_partner/nl/
Currently translated at 100.0% (5 of 5 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_commercial_partner/ca/
Currently translated at 40.0% (2 of 5 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_commercial_partner/fr_FR/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_commercial_partner/fr/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_commercial_partner/de/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-15.0/sale-workflow-15.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_commercial_partner/es_MX/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_commercial_partner/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_commercial_partner/pt_BR/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_commercial_partner/fr/
Currently translated at 100.0% (2 of 2 strings) Translation: sale-workflow-17.0/sale-workflow-17.0-sale_commercial_partner Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_commercial_partner/it/
2ed36c7
to
b691c55
Compare
b691c55
to
6e0dad0
Compare
Pls squash odoo bot commit |
|
||
|
||
class TestSaleCommercialPartner(common.TransactionCase): | ||
def setUp(self): |
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 for adding the test! Can you refactor to use @classmethod setUpClass(cls)?
<field name="commercial_partner_id" invisible="1" /> | ||
</field> | ||
</field> | ||
</record> |
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.
recommend to removed ( not need to add invisible field)
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
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.
In odoo18, domain field will automatically added invisible field that mean no need to declared invisible field to use it in 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.
Excellent, thanks for clarifying! I tested this successfully, using the field in domain
and invisible
attributes. Found the implementation in odoo/odoo#137031. I'll add it to the OCA's 18.0 migration guidelines.
Just curious, do you know if this is documented anywhere?
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.
No documentation, recommend dev using odoo-module-migrator and follow guidelines.
/ocabot migration sale_commercial_partner |
@BertVGroenendael Could you attend @StefanRijnhart comment ? |
Since this PR has been inactive for 2 weeks, I've started working on related PRs based on this approach |
Closing in favor of #3504 |
No description provided.