Skip to content

[14.0][IMP] account_invoice_facturx: add support for negative price#1224

Open
alexis-via wants to merge 3 commits intoOCA:14.0from
akretion:14-imp-account_invoice_facturx-negative_price
Open

[14.0][IMP] account_invoice_facturx: add support for negative price#1224
alexis-via wants to merge 3 commits intoOCA:14.0from
akretion:14-imp-account_invoice_facturx-negative_price

Conversation

@alexis-via
Copy link
Contributor

This is a backport of PR #1139
It includes a fix for LineTotalAmount when AllowanceTotalAmount is not null

Remove @api.model on _cii_trade_contact_department_name() and
_cii_trade_agreement_buyer_ref() because, in some inherits of those
methods, we might read the info directly from the invoice itself.
Invoice lines with negative prices are now global allowance lines
Fix per-line allowance node "ActualAmount"
Improve per-line allowance node: add "CalculationPercent" and "BasisAmount" nodes
Copy link
Contributor

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

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

There are pre-commit issues :/

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants