Skip to content

Syncing from upstream OCA/edi (16.0)#747

Merged
bt-admin merged 14 commits into
brain-tec:16.0from
OCA:16.0
Jun 6, 2026
Merged

Syncing from upstream OCA/edi (16.0)#747
bt-admin merged 14 commits into
brain-tec:16.0from
OCA:16.0

Conversation

@bt-admin
Copy link
Copy Markdown

@bt-admin bt-admin commented Jun 6, 2026

bt_gitbot

sbejaoui and others added 14 commits May 27, 2026 10:11
Match taxes on UBL import using UNECE tax codes
Extend UBL vendor bill import to automatically match and link bill lines to purchase order lines using the OrderReference and product label

[IMP] account_edi_ubl_cii_purchase_match: show price_subtotal in purchase line form view

[FIX] account_edi_ubl_cii_purchase_match: allow to change po line

[FIX] account_edi_ubl_cii_purchase_match: don't update supplier info product name

[FIX] account_edi_ubl_cii_purchase_match: match po only if order_ref is set
…rders

Extract multiple purchase order references from invoice_origin using
a prefix-based pattern and match them with existing purchase orders
Adds support for UNECE unit codes during UBL invoice import to automatically detect and
assign the appropriate unit of measure or product packaging on invoice lines.

When a UNECE code matches a product packaging, the packaging is set with priority.
Otherwise, the corresponding unit of measure is applied based on the UNECE code.
Signed-off-by sbejaoui
Signed-off-by sbejaoui
Signed-off-by sbejaoui
@bt-admin bt-admin added the 16.0 label Jun 6, 2026
@bt-admin bt-admin merged commit 3393654 into brain-tec:16.0 Jun 6, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2026

Codecov Report

❌ Patch coverage is 92.64000% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.33%. Comparing base (6f5dde7) to head (f98d34c).
⚠️ Report is 144 commits behind head on 16.0.

Files with missing lines Patch % Lines
...ubl_cii_purchase_match/models/account_move_line.py 71.92% 9 Missing and 7 partials ⚠️
...d_packaging_unece/models/account_edi_xml_ubl_20.py 81.63% 4 Missing and 5 partials ⚠️
..._cii_retrieve_tax/models/account_edi_xml_ubl_20.py 81.39% 5 Missing and 3 partials ⚠️
...ii_purchase_match/models/account_edi_xml_ubl_20.py 92.98% 2 Missing and 2 partials ⚠️
..._edi_ubl_cii_purchase_match/models/account_move.py 90.90% 2 Missing and 2 partials ⚠️
...s/account_move_line_select_purchase_line_wizard.py 88.88% 3 Missing and 1 partial ⚠️
...h/tests/test_account_edi_ubl_cii_purchase_match.py 99.47% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             16.0     #747      +/-   ##
==========================================
+ Coverage   73.02%   74.33%   +1.30%     
==========================================
  Files         252      272      +20     
  Lines        8739     9364     +625     
  Branches     1241     1299      +58     
==========================================
+ Hits         6382     6961     +579     
- Misses       1847     1872      +25     
- Partials      510      531      +21     

☔ View full report in Codecov by Harness.
📢 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.

3 participants