From d08510f084766743017b8c2ae58c2111e9b2dcf0 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Mon, 22 Jun 2026 17:53:53 +0200 Subject: [PATCH] Lot invocing + Fee --- modules/purchase_trade/lot.py | 2 +- modules/purchase_trade/view/lot_invoice_start_form.xml | 8 ++++---- modules/purchase_trade/view/lot_invoicing_fee_tree.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/purchase_trade/lot.py b/modules/purchase_trade/lot.py index 8c887de..4d3099c 100755 --- a/modules/purchase_trade/lot.py +++ b/modules/purchase_trade/lot.py @@ -5044,7 +5044,7 @@ class LotInvoicingFee(ModelView): ('standard', 'Standard invoice'), ('dn_cn', 'DN/CN'), ('already_invoiced', 'Already invoiced'), - ], "Invoice action"), 'on_change_with_invoice_action') + ], "Planned action"), 'on_change_with_invoice_action') to_invoice = fields.Boolean("To invoice", states={ 'readonly': Eval('invoice_action') == 'already_invoiced', }, depends=['invoice_action']) diff --git a/modules/purchase_trade/view/lot_invoice_start_form.xml b/modules/purchase_trade/view/lot_invoice_start_form.xml index 24b5c8e..1e0a8b0 100755 --- a/modules/purchase_trade/view/lot_invoice_start_form.xml +++ b/modules/purchase_trade/view/lot_invoice_start_form.xml @@ -21,8 +21,8 @@