summaryrefslogtreecommitdiff
path: root/fixco_custom/views/account_move.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views/account_move.xml')
-rw-r--r--fixco_custom/views/account_move.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/fixco_custom/views/account_move.xml b/fixco_custom/views/account_move.xml
index f0ae0bc..3eab56a 100644
--- a/fixco_custom/views/account_move.xml
+++ b/fixco_custom/views/account_move.xml
@@ -73,6 +73,7 @@
<field name="partner_id" position="after">
<field name="address" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
</field>
+
<field name="amount_untaxed" position="after">
<field name="total_discount"/>
</field>
@@ -88,6 +89,7 @@
<field name="approval_refund" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('entry'))]}"/>
<field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('out_invoice','entry'))]}"/>
<field name="purchase_order_id" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('in_invoice','entry'))]}"/>
+ <field name="soo_number" readonly="1"/>
<field name="picking_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
<field name="bill_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/>
</field>
@@ -116,10 +118,6 @@
optional="hide"/>
</xpath>
- <xpath expr="//field[@name='line_ids']/tree/field[@name='company_id']" position="after">
- <field name="purchase_line_id" invisible="1"/>
- </xpath>
-
</field>
</record>
@@ -155,6 +153,11 @@
filter_domain="[
('invoice_marketplace', 'ilike', self)
]"/>
+ <field name="soo_number"
+ string="SOO Number"
+ filter_domain="[
+ ('soo_number', 'ilike', self)
+ ]"/>
</xpath>
</field>
@@ -170,6 +173,7 @@
<field name="reklas" optional="hide"/>
<field name="reklas_used" optional="hide"/>
<field name="reklas_used_by" optional="hide"/>
+ <field name="soo_number" optional="hide"/>
</field>
</field>
</record>