diff options
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 2 | ||||
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 1721abb6..b0a206bf 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -17,7 +17,7 @@ <field name="date_completed" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/> </field> <field name="efaktur_document" position="before"> - <field name="no_faktur_pajak" readonly="1"/> + <field name="no_faktur_pajak" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/> </field> <field name="efaktur_document" position="attributes"> <attribute name="widget">pdf_viewer</attribute> diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 08dde8e1..b5a9b4ad 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -100,7 +100,7 @@ </xpath> <xpath expr="//form/sheet/notebook/page[@name='purchase_delivery_invoice']" position="before"> - <page string="Indent" name="purchase_order_lines_indent"> + <page string="Info" name="purchase_order_lines_indent"> <field name="purchase_order_lines"/> </page> </xpath> @@ -183,6 +183,8 @@ <tree editable="top" create="false" delete="false"> <field name="product_id" readonly="1"/> <field name="indent"/> + <field name="is_ltc"/> + <field name="note"/> </tree> </field> </record> |
