diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-06-05 08:19:50 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-06-05 08:19:50 +0000 |
| commit | 83497bde03344da4186e1c73601636bc9928081d (patch) | |
| tree | 6d6f1688fb60af293dac359a1b66d86ad2bcb8c1 /indoteknik_custom/views | |
| parent | 9a3b6feba01b1d27524484f5e612e49412942414 (diff) | |
| parent | 32c2899ccd24071adcee829b569b9d29bb3a4fe9 (diff) | |
Merged in before_margin_order_line (pull request #322)
Before margin order line
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 03c978a7..4b74825e 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -208,6 +208,11 @@ <label for="item_percent_margin"/> <field name="item_percent_margin"/> </div> + <div name="item_percent_margin_before" groups="base.group_no_one" + attrs="{'invisible': [('display_type', '!=', False)]}"> + <label for="item_percent_margin_before"/> + <field name="item_percent_margin_before"/> + </div> </div> <div name="invoice_lines" position="before"> <div name="price_subtotal" groups="base.group_no_one" @@ -239,6 +244,7 @@ attrs="{'readonly': [('parent.approval_status', '!=', False)]}" domain="[('type_tax_use','=','purchase')]" options="{'no_create':True}"/> <field name="item_percent_margin"/> + <field name="item_percent_margin_before"/> <field name="item_margin" optional="hide"/> <field name="margin_md" optional="hide"/> <field name="note" optional="hide"/> |
