chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Show and require bank journal for sepa too -->
<record id="payment_provider_form_inherit_payment_custom" model="ir.ui.view">
<field name="name">Sepa Provider Form</field>
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment_custom.payment_provider_form"/>
<field name="arch" type="xml">
<field name="allow_tokenization" position="attributes">
<attribute
name="invisible" separator=" or " add="custom_mode == 'sepa_direct_debit'"
/>
</field>
<group name="payment_followup" position="attributes">
<attribute name="invisible">code == 'custom' and custom_mode != 'sepa_direct_debit'</attribute>
</group>
</field>
</record>
<record id="payment_provider_form_inherit_account_payment" model="ir.ui.view">
<field name="name">Sepa Provider Form 2</field>
<field name="model">payment.provider</field>
<field name="inherit_id" ref="account_payment.payment_provider_form"/>
<field name="arch" type="xml">
<field name="journal_id" position="attributes">
<attribute name="required">state != 'disabled' and (code not in ['none', 'custom'] or custom_mode == 'sepa_direct_debit')</attribute>
</field>
</field>
</record>
</odoo>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="inline_form">
<div class="px-4 pb-4">
<label for="o_sdd_iban" class="form-label">IBAN</label>
<div class="input-group">
<div class="input-group-text">
<i class="fa fa-fw fa-bank"/>
</div>
<input id="o_sdd_iban"
type="text"
class="form-control"
required=""
/>
</div>
</div>
</template>
<template id="sepa_state_header" inherit_id="payment_custom.custom_state_header">
<xpath expr="//div[@id='o_payment_status_message_details']" position="inside">
<div t-if="tx.provider_id.sudo().custom_mode == 'sepa_direct_debit'">
<strong>Amount: </strong><span t-out="tx.amount"/> €
</div>
</xpath>
</template>
</odoo>
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="sdd_mandate_form_view" model="ir.ui.view">
<field name="name">SDD Mandate Form</field>
<field name="model">sdd.mandate</field>
<field name="inherit_id" ref="account_sepa_direct_debit.account_sepa_direct_debit_mandate_form"/>
<field name="arch" type="xml">
<button
name="action_validate_mandate" class="btn btn-secondary" position="attributes"
>
<attribute name="invisible" add="is_online_payment" separator="or"/>
</button>
<button name="action_validate_mandate" class="btn btn-secondary" position="after">
<button
string="Validate"
type="object"
name="action_validate_mandate"
class="btn btn-secondary"
invisible="state != 'draft' or is_sent or not is_online_payment"
confirm="This mandate was created from an online payment. Do you want to manually validate it?"
/>
</button>
<button name="action_validate_mandate" class="btn btn-primary" position="attributes">
<attribute name="invisible" add="is_online_payment" separator="or"/>
</button>
<button name="action_validate_mandate" class="btn btn-primary" position="after">
<button
string="Validate"
type="object"
name="action_validate_mandate"
class="btn btn-primary"
invisible="state != 'draft' or not is_sent or not is_online_payment"
confirm="This mandate was created from an online payment. Do you want to manually validate it?"
/>
</button>
<button name="action_view_payments_to_collect" position="after">
<button
type="object"
name="action_view_payment_transactions"
icon="fa-money"
class="oe_stat_button"
>
<field
name="payment_transaction_count" widget="statinfo" string="Transactions"
/>
</button>
</button>
</field>
</record>
</data>
</odoo>