diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-14 10:26:50 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-14 10:26:50 +0700 |
| commit | 40e3569be0c25f19bdb0e29c6e5cafce56b7bb8d (patch) | |
| tree | 746ba142d3d4add113e9c2fac218cad6ad722ab6 | |
| parent | 02bdb845c9722030f23d386ca6548e79f036a35a (diff) | |
show po line in account move
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index c315bb1c..6bdc16d0 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -18,6 +18,7 @@ </field> </field> </record> + <record id="account_move_tree_inherit" model="ir.ui.view"> <field name="name">Account Move</field> <field name="model">account.move</field> @@ -32,5 +33,20 @@ </field> </field> </record> + + <record id="account_move_inherit_purchase_inherit" model="ir.ui.view"> + <field name="name">Account Move</field> + <field name="model">account.move</field> + <field name="inherit_id" ref="purchase.view_move_form_inherit_purchase"/> + <field name="arch" type="xml"> + <field name="purchase_line_id" position="attributes"> + <attribute name="invisible">0</attribute> + <attribute name="optional">hide</attribute> + <attribute name="attrs"> + {'column_invisible': [('parent.move_type', '!=', 'in_invoice')]} + </attribute> + </field> + </field> + </record> </data> </odoo>
\ No newline at end of file |
