You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
1.4 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<!-- The view inherits from the standard "account.res_config_settings_view_form"
view and adds the two new fields in a separate section.-->
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">
res.config.settings.view.form.inherit.automatic.invoice.and.post
</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//app[@name='account']/block" position="after">
<block title="Auto Invoice Post" id="auto_invoice_post">
<setting id="delivery_validate" string="Auto Post invoice"
help="Create and post invoice on delivery validate">
<field name="is_create_invoice_delivery_validate"
widget="upgrade_boolean"/>
</setting>
<setting id="send_invoice" string="Auto Send Invoice"
help="Enable to send invoice to customer on delivery validate ">
<field name="is_auto_send_invoice"
widget="upgrade_boolean"/>
</setting>
</block>
</xpath>
</field>
</record>
</odoo>