Skip to content

Conversation

@bosd
Copy link
Contributor

@bosd bosd commented Nov 28, 2025

Standard migration using odoo-module-migrator

/ocabot migration purchase_default_terms_conditions .

marcelsavegnago and others added 30 commits November 28, 2025 09:57
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_default_terms_conditions
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_default_terms_conditions/
Currently translated at 80.0% (8 of 10 strings)

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

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_default_terms_conditions
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_default_terms_conditions/
…hase_note on onchange of partner_id: this for manage case of purchase_note field on model partner that was deleted from backend but still evaluate <p><br></p> on db
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_default_terms_conditions
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_default_terms_conditions/
Currently translated at 100.0% (10 of 10 strings)

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_default_terms_conditions
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_default_terms_conditions/it/
Currently translated at 100.0% (10 of 10 strings)

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_default_terms_conditions
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_default_terms_conditions/es/
@bosd bosd mentioned this pull request Nov 28, 2025
75 tasks
@bosd bosd force-pushed the 19.0-mig-purchase_default_terms_conditions branch from 36476ad to 464a0b7 Compare November 28, 2025 09:43
@bosd bosd marked this pull request as ready for review November 28, 2025 09:56
@bosd bosd force-pushed the 19.0-mig-purchase_default_terms_conditions branch 3 times, most recently from 4f76244 to c4c6051 Compare November 28, 2025 12:57
bosd and others added 3 commits November 28, 2025 14:08
  1  It's generally better to call super() at the beginning of an overridden onchange method to ensure base logic is executed first.
  2  The logic for setting the note is incomplete. If a partner is changed from one with a purchase_note to one without, and the company-level setting use_purchase_note is disabled, the note from the previous partner is kept. It should be cleared or reset.
  3  The condition elif use_purchase_note and str2bool(use_purchase_note): can be simplified.
@bosd bosd force-pushed the 19.0-mig-purchase_default_terms_conditions branch from c4c6051 to 73a0d8a Compare November 28, 2025 13:22
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.