You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
812 B

  1. <?xml version="1.0"?>
  2. <odoo>
  3. <record id="account_analytic_account_payment_form" model="ir.ui.view">
  4. <field name="model">account.analytic.account</field>
  5. <field name="inherit_id" ref="contract_payment_mode.account_analytic_account_payment_form" />
  6. <field name="arch" type="xml">
  7. <field name="payment_mode_id" position="after">
  8. <field name="mandate_id"
  9. domain="[('partner_id', '=', commercial_partner_id), ('state', '=', 'valid')]"
  10. attrs="{'invisible': ['|', ('mandate_required', '=', False), ('recurring_invoices', '=', False)]}"/>
  11. <field name="commercial_partner_id" invisible="1"/>
  12. <field name="mandate_required" invisible="1"/>
  13. </field>
  14. </field>
  15. </record>
  16. </odoo>