Skip to content

Syncing from upstream OCA/purchase-workflow (19.0)#2079

Merged
bt-admin merged 44 commits intobrain-tec:19.0from
OCA:19.0
Apr 1, 2026
Merged

Syncing from upstream OCA/purchase-workflow (19.0)#2079
bt-admin merged 44 commits intobrain-tec:19.0from
OCA:19.0

Conversation

@bt-admin
Copy link
Copy Markdown

@bt-admin bt-admin commented Apr 1, 2026

bt_gitbot

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/
Rodrigo Macedo and others added 14 commits November 28, 2025 10:00
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/pt_BR/
  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.
Signed-off-by HviorForgeFlow
@bt-admin bt-admin added the 19.0 label Apr 1, 2026
@bt-admin bt-admin merged commit 6f3de02 into brain-tec:19.0 Apr 1, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 93.42105% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.45%. Comparing base (3ad1a25) to head (66d42e4).
⚠️ Report is 54 commits behind head on 19.0.

Files with missing lines Patch % Lines
...ault_terms_conditions/tests/test_purchase_order.py 88.37% 1 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             19.0    #2079      +/-   ##
==========================================
- Coverage   94.48%   94.45%   -0.04%     
==========================================
  Files          97      105       +8     
  Lines        2268     2344      +76     
  Branches      207      213       +6     
==========================================
+ Hits         2143     2214      +71     
- Misses         63       64       +1     
- Partials       62       66       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.