addons-cm/account_invoice_triple_discount_readonly/tests
GitHub Copilot ca526d55cc
[FIX] account_invoice_triple_discount_readonly: tests for 18.0 purchases
In 18.0 purchase.order.line uses purchase.triple.discount.mixin, not the
triple.discount.mixin this addon patches, so the purchase tests checked 16.0
behaviour. test_purchase_order now checks the 18.0 one plus what matters
here: the bill created from the PO keeps discount1..3, and editing one of
them on the bill keeps the others. test_triple_discount_mixin runs on an
invoice line, and no longer expects the values of the previous test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 15:04:54 +02:00
..
__init__.py [18.0][MIG] account_invoice_triple_discount_readonly: Port to Odoo 18.0 2026-02-10 23:22:50 +01:00
test_account_move.py [FIX] website_sale_aplicoop: Remove redundant string= attributes and fix OCA linting warnings 2026-02-18 17:54:43 +01:00
test_purchase_order.py [FIX] account_invoice_triple_discount_readonly: tests for 18.0 purchases 2026-10-04 15:04:54 +02:00
test_triple_discount_mixin.py [FIX] account_invoice_triple_discount_readonly: tests for 18.0 purchases 2026-10-04 15:04:54 +02:00