diff options
| author | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2020-05-26 07:46:18 +0000 |
|---|---|---|
| committer | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2020-05-29 07:16:30 +0000 |
| commit | 913f22f73f208b0fa8ca947cf410e32c65adfc93 (patch) | |
| tree | fed595338f7eb5b0240c49e5c51fbf1fca275f42 /addons/account_edi/views | |
| parent | 0226901ec74368532b0518034845849a9b54df88 (diff) | |
[ADD] account_edi: generic module to manage EDI (factur-x)
- account_edi is the base module to manage EDIs. It manages the generic worflow of import/export and defines the methods for import/export that should be overridden by each types of EDI (in different modules).
- On export, the files are added as attachment and can be embeded into pdf (format specific).
- On export, the exported format are set on the journal to allow different settings based on journal (different companies, countries, etc).
- On import, depending on the import method (from message_post or upload button in invoice tree view) a new invoice is created or an existing one is updated (only allowed draft invoices with no invoice lines).
- Adapted factur-x
Diffstat (limited to 'addons/account_edi/views')
| -rw-r--r-- | addons/account_edi/views/account_journal_views.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/account_edi/views/account_journal_views.xml b/addons/account_edi/views/account_journal_views.xml new file mode 100644 index 00000000000..cd466c6ee2f --- /dev/null +++ b/addons/account_edi/views/account_journal_views.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <data> + <record id="view_account_journal_form_inherited" model="ir.ui.view"> + <field name="name">account.journal.form.inherited</field> + <field name="model">account.journal</field> + <field name="inherit_id" ref="account.view_account_journal_form" /> + <field name="arch" type="xml"> + <xpath expr="//page[@name='advanced_settings']/group" position="inside"> + <group string="Electronic Data Interchange" > + <field name="edi_format_ids" widget="many2many_tags"/> + </group> + </xpath> + </field> + </record> + </data> +</odoo> |
