Merge pull request #568 from expsa/dev_odex25_accounting

Dev odex25 accounting
This commit is contained in:
zainab2097 2024-08-07 12:11:54 +03:00 committed by GitHub
commit 7ddc229301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 4 deletions

View File

@ -40,9 +40,28 @@
expr="//field[@name='line_ids']/tree//field[@name='partner_id']"
position="after"
>
<field name="product_id" />
<field name="quantity" />
<field name="product_id" optional="hide"/>
<field optional="hide" name="quantity" />
</xpath>
<xpath expr="//field[@name='line_ids']/tree//field[@name='partner_id']" position='attributes'>
<attribute name='optional'>hide</attribute>
</xpath>
<xpath expr="//field[@name='line_ids']/tree//field[@name='tax_tag_ids']" position='attributes'>
<attribute name='optional'>hide</attribute>
</xpath>
<xpath expr="//field[@name='line_ids']/tree//field[@name='analytic_account_id']" position='attributes'>
<attribute name='optional'>hide</attribute>
</xpath>
<xpath expr="//field[@name='line_ids']/tree//field[@name='analytic_tag_ids']" position='attributes'>
<attribute name='optional'>hide</attribute>
</xpath>
<xpath expr="//field[@name='line_ids']/tree//field[@name='currency_id']" position='attributes'>
<attribute name='optional'>hide</attribute>
</xpath>
</field>
</record>
</odoo>

View File

@ -7,9 +7,9 @@
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='line_ids']/tree/field[@name='partner_id']" position="after">
<field name="einvoice"/>
<field name="einvoice" optional="hide"/>
</xpath>
</field>
</record>
</data>
</odoo>
</odoo>