26 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_c2c_company_intercompany_form" model="ir.ui.view">
<field name="name">res.company.form.inherit.c2c.intercompany</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//notebook" position="inside">
<page string="Intercompany Automation" name="intercompany_c2c">
<group>
<group name="sync_rules" string="Synchronization Rules">
<field name="intercompany_auto_so"/>
<field name="intercompany_auto_invoice"/>
</group>
</group>
<div class="alert alert-info" role="status">
<strong>C2C Intercompany Sync Engine:</strong>
When a subsidiary issues a Purchase Order to this company, an identical Sales Order will automatically be drafted (and confirmed) here if 'Auto-create Sales Orders' is checked.
Checking 'Auto-generate Invoices' means that delivering the SO will automatically trigger receipt on the PO and draft matching vendor bills/invoices.
</div>
</page>
</xpath>
</field>
</record>
</odoo>