bank-payment/account_banking_mandate_sale_contact/views/res_config_settings.xml

28 lines
1.7 KiB
XML
Raw Permalink Normal View History

2024-10-01 05:24:28 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 Alberto Martínez <alberto.martinez@sygel.es>
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<flectra>
<record
id="res_config_settings_view_form_inherit_sale_default_mandates"
model="ir.ui.view"
>
<field name="name">settings.view.form.inherit.sale.default.mandates</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="sale.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath
expr="//block[@name='invoicing_setting_container']"
position="inside"
>
<setting
id="sale_default_mandates"
help="The partner of the sales in which flectra will search for the mandate"
title="The contact of this company in which flectra will search for the mandate on sales. &#013;-Customer Mandate: Flectra will look the mandate in the sale partner, whether is an individual or the company. &#013;-Commercial Customer Mandate: Flectra will look the mandate in the sale partner company. &#013;-Invoice Address Mandate: Flectra will look the mandate in the sale invoice address. &#013;-Delivery Address Mandate: Flectra will look the mandate in the sale delivery address. &#013;-False: Flectra will use the first mandate he founds for the partner company. Flectra will also use this option if no default mandate is found in the partner of the above options"
>
<field name="sale_default_mandate_contact" />
</setting>
</xpath>
</field>
</record>
</flectra>