[FIX] account_edi: add list of edi documents
This commit will add a new group in the payment view with the list of the edi documents for this payment. The group will only be visible in debug mode. This is done to help the debugging and the error finding when there is a problem with an edi document. Related to 2e01da4713f9ee68813b248a8b88f367785fc937 closes odoo/odoo#61583 X-original-commit: 478ebc74554f6609a1414726ee1f35fe5dcd6a81 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
This commit is contained in:
@@ -34,6 +34,18 @@
|
||||
<field name="edi_state" invisible="1" />
|
||||
<field name="edi_state" attrs="{'invisible': ['|', ('edi_document_ids', '=', []), ('state', '=', 'draft')]}"/>
|
||||
</xpath>
|
||||
<xpath expr="//group[@name='group3']" position="after">
|
||||
<group groups="base.group_no_one">
|
||||
<field name="edi_document_ids" string="EDI Documents">
|
||||
<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>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user