[18.0][MIG] account_invoice_triple_discount_readonly: Port to Odoo 18.0

* Update module version to 18.0.1.0.0
* Remove view modifications as they are handled by parent modules
* Add comprehensive test suite (34 tests):
  - Test triple discount mixin write() method behavior
  - Test account.move.line with triple discounts
  - Test purchase.order.line with triple discounts
* Add oca_dependencies.txt with required OCA repositories
* Fix write() method to handle explicit discounts correctly
This commit is contained in:
snt 2026-02-10 23:22:50 +01:00
parent 67554c95f5
commit 123aabb775
10 changed files with 602 additions and 77 deletions

View file

@ -2,17 +2,12 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Account Invoice Triple Discount Readonly",
"version": "16.0.1.0.0",
"version": "18.0.1.0.0",
"summary": "Make total discount readonly and fix discount2/discount3 write issue",
"license": "AGPL-3",
"author": "Criptomart",
"website": "https://github.com/OCA/account-invoicing",
"depends": ["account_invoice_triple_discount", "purchase_triple_discount"],
"data": [
"views/product_supplierinfo_view.xml",
"views/res_partner_view.xml",
"views/purchase_order_view.xml",
"views/account_move_view.xml",
],
"data": [],
"installable": True,
}