diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-12-20 17:51:39 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-12-20 17:51:39 +0700 |
| commit | 6f46bca1d6483d2d95c95a2d34b0dc9a5e6061f5 (patch) | |
| tree | 3335761da162ee28207e88d663dc3a0c9389ff07 | |
| parent | 38f8a7bf4f81709d088e7835ed47230d0d480adc (diff) | |
| parent | 51d46234a7ab66c962d187681e030d445c6d069f (diff) | |
Merge branch 'master' of git@bitbucket.org:altafixco/indoteknik-addons.git
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index fed0b08d..ea0cc569 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -23,7 +23,7 @@ <field name="real_shipping_id"/> <field name="approval_status" /> <field name="sales_tax_id" domain="[('type_tax_use','=','sale')]" required="1"/> - <field name="carrier_id"/> + <field name="carrier_id" required="1"/> </field> <xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_unit']" position="attributes"> <attribute name="attrs"> @@ -31,7 +31,7 @@ 'readonly': [ '|', ('qty_invoiced', '>', 0), - ('parent.approval_status', '=', 'approved') + ('parent.approval_status', '!=', False) ] } </attribute> @@ -43,7 +43,7 @@ 'readonly': [ '|', ('parent.state', 'not in', ['draft', 'sent', 'sale']), - ('parent.approval_status', '=', 'approved') + ('parent.approval_status', '!=', False) ] } "/> |
