diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-18 14:36:36 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-18 14:36:36 +0700 |
| commit | d7148fd0267529c92fa07b0721461a6ef13c0890 (patch) | |
| tree | 7e57239bda92dbbdd35b4d5d0551285df2582739 | |
| parent | 42645480886b90a886d93478420e421ef333c003 (diff) | |
add new field to tree
| -rwxr-xr-x | indoteknik_custom/__manifest__.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/account_bills.xml | 15 | ||||
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 11 |
3 files changed, 27 insertions, 0 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py index f91b33d7..cd7c27d1 100755 --- a/indoteknik_custom/__manifest__.py +++ b/indoteknik_custom/__manifest__.py @@ -80,6 +80,7 @@ 'views/product_sla.xml', 'views/voucher.xml', 'views/bill_receipt.xml', + 'views/account_bills.xml', 'report/report.xml', 'report/report_banner_banner.xml', 'report/report_banner_banner2.xml', diff --git a/indoteknik_custom/views/account_bills.xml b/indoteknik_custom/views/account_bills.xml new file mode 100644 index 00000000..cb624396 --- /dev/null +++ b/indoteknik_custom/views/account_bills.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <data> + <record id="account_move_tree_inherit" model="ir.ui.view"> + <field name="name">Account Move</field> + <field name="model">account.move</field> + <field name="inherit_id" ref="account.view_in_invoice_tree"/> + <field name="arch" type="xml"> + <field name="invoice_date" position="after"> + <field name="payment_schedule" optional="hide"/> + </field> + </field> + </record> + </data> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 0fd6b5b5..18461d59 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -73,5 +73,16 @@ </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> + <field name="inherit_id" ref="account.view_in_invoice_tree"/> + <field name="arch" type="xml"> + <field name="invoice_date" position="after"> + <field name="payment_schedule" optional="hide"/> + </field> + </field> + </record> </data> </odoo>
\ No newline at end of file |
