mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-22 13:42:07 +00:00
28 lines
1.7 KiB
XML
28 lines
1.7 KiB
XML
<?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. 
-Customer Mandate: Flectra will look the mandate in the sale partner, whether is an individual or the company. 
-Commercial Customer Mandate: Flectra will look the mandate in the sale partner company. 
-Invoice Address Mandate: Flectra will look the mandate in the sale invoice address. 
-Delivery Address Mandate: Flectra will look the mandate in the sale delivery address. 
-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>
|