[FIX] account_edi: add list of edi documents
This commit will add a new tab in the account move view with the list of the edi documents for this move. The tab will only be visible in debug mod. This is done to help the debugging and the error finding when there is a problem with an edi document. closes odoo/odoo#60246 X-original-commit: 2e01da4713f9ee68813b248a8b88f367785fc937 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
This commit is contained in:
@@ -42,6 +42,18 @@
|
||||
<field name="edi_state" invisible="1" />
|
||||
<field name="edi_state" attrs="{'invisible': ['|', ('edi_document_ids', '=', []), ('state', '=', 'draft')]}"/>
|
||||
</xpath>
|
||||
<xpath expr="//page[@id='other_tab']" position="after">
|
||||
<page id="edi_documents" string="EDI Documents" groups="base.group_no_one">
|
||||
<field name="edi_document_ids">
|
||||
<tree create="false" delete="false" edit="false" decoration-danger="error">
|
||||
<field name="name"/>
|
||||
<field name="edi_format_name"/>
|
||||
<field name="state"/>
|
||||
<field name="error" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user