diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2020-10-16 09:09:15 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-10-16 09:09:15 +0000 |
| commit | 2e01da4713f9ee68813b248a8b88f367785fc937 (patch) | |
| tree | 0b3cd2f3d0ed1cf81b204afc789d847fb5570fb9 /addons/account_edi | |
| parent | 9199bd588109330344aa505c5930f127a3920f5e (diff) | |
[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#60152
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/account_edi')
| -rw-r--r-- | addons/account_edi/views/account_move_views.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/account_edi/views/account_move_views.xml b/addons/account_edi/views/account_move_views.xml index a5d8acdfe1a..1d56b61cae5 100644 --- a/addons/account_edi/views/account_move_views.xml +++ b/addons/account_edi/views/account_move_views.xml @@ -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> |
