-
-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] edi_sale_oca: add partner form page
- Loading branch information
1 parent
bd3e057
commit d4dd854
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2022 Camptocamp SA | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record id="view_partner_form" model="ir.ui.view"> | ||
<field name="name">res.partner.view.form</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base.view_partner_form" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//page[last()]" position="after"> | ||
<page name="edi" string="EDI"> | ||
<!-- | ||
TODO: IMO this page must be provided by edi_oca | ||
and all the modules should hook here instead of adding their own blocks | ||
here and there (see edi_account_oca, edi_stock_oca, etc) | ||
--> | ||
<group name="edi_main" /> | ||
</page> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |