[ADD]membership_invoice_payment_mode: add payment mode in membership invoice wizard

This commit is contained in:
2024-03-06 15:55:01 +01:00
parent ef4ee0d880
commit 78e84abfa3
7 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_membership_invoice_team_idview" model="ir.ui.view">
<field name="name">membership.invoice.team_idview.form</field>
<field name="model">membership.invoice</field>
<field name="inherit_id" ref="membership.view_membership_invoice_view" />
<field name="arch" type="xml">
<xpath expr="//field[@name='member_price']" position="after">
<field name="payment_mode_id" options="{'no_create_edit': True, 'no_open': True}" />
</xpath>
</field>
</record>
</odoo>