Skip to content

Commit

Permalink
[ADD] account_move_invoice_date_due_normal_date_tree: Change tree fie…
Browse files Browse the repository at this point in the history
…ld widget view
  • Loading branch information
unaiberis committed Jan 8, 2025
1 parent ac2b4af commit 5a8895a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
Empty file.
14 changes: 14 additions & 0 deletions account_move_invoice_date_due_normal_date_tree/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
'name': 'account_move_invoice_date_due_normal_date_tree',
'version': '16.0.1.0.0',
'category': 'Accounting',
'author': 'Avanzosc',
'license': 'LGPL-3',
'depends': ['account'],
'data': [
'views/account_move_views.xml',
],
'installable': True,
'application': False,
'website': 'https://avanzosc.es',
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<record id="view_invoice_tree_inherit" model="ir.ui.view">
<field name="name">account.invoice.tree.inherit</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_invoice_tree" />
<field name="arch" type="xml">
<field name="invoice_date_due" position="attributes">
<attribute name="t-if">False</attribute>
</field>
<field name="invoice_date_due" position="after">
<field name="invoice_date_due" optional="show" attrs="{'invisible': [['payment_state', 'in', ('paid', 'in_payment', 'reversed')]]}"/>
</field>
</field>
</record>
</data>
</odoo>

0 comments on commit 5a8895a

Please sign in to comment.