Skip to content

[IMP] account_edi_ubl_cii_purchase_match: improve purchase mismatch warnings - #1370

Open
sbejaoui wants to merge 1 commit into
OCA:16.0from
acsone:16.0-account_edi_ubl_cii_purchase_match-sbj
Open

[IMP] account_edi_ubl_cii_purchase_match: improve purchase mismatch warnings#1370
sbejaoui wants to merge 1 commit into
OCA:16.0from
acsone:16.0-account_edi_ubl_cii_purchase_match-sbj

Conversation

@sbejaoui

@sbejaoui sbejaoui commented Jul 8, 2026

Copy link
Copy Markdown

@OCA-git-bot OCA-git-bot added series:16.0 mod:account_edi_ubl_cii_purchase_match Module account_edi_ubl_cii_purchase_match labels Jul 8, 2026

@jbaudoux jbaudoux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

rec.purchase_quantity_mismatch_summary = _(
"%s invoice lines have quantity mismatches with their related "
"purchase order lines."
) % len(quantity_mismatch_lines)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to use translation function arguments instead

rec.purchase_other_mismatch_summary = _(
"%s invoice lines have price mismatches with their related "
"purchase order lines."
) % len(other_mismatch_lines)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

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

Labels

mod:account_edi_ubl_cii_purchase_match Module account_edi_ubl_cii_purchase_match series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants