add pos_cashdro_refund,pos_cashdro_allow_manual

This commit is contained in:
Luis 2026-04-24 13:34:06 +02:00
parent 9b25650118
commit b7e8f8967c
14 changed files with 409 additions and 0 deletions

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2026 Criptomart
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="pos_payment_method_cashdro_allow_manual_form" model="ir.ui.view">
<field name="name">pos.payment.method.cashdro.allow.manual.form</field>
<field name="model">pos.payment.method</field>
<field name="inherit_id" ref="pos_payment_method_cashdro.pos_payment_method_view_form"/>
<field name="arch" type="xml">
<field name="cashdro_password" position="after">
<field
name="cashdro_allow_manual_amount"
attrs="{'invisible': [('use_payment_terminal', '!=', 'cashdro')]}"
/>
</field>
</field>
</record>
</odoo>