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.

21 lines
787 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <record id="view_subscription_form" model="ir.ui.view">
  4. <field name="model">subscription.subscription</field>
  5. <field name="inherit_id" ref="subscription.view_subscription_form" />
  6. <field name="arch" type="xml">
  7. <field name="cron_id" position="after">
  8. <field
  9. name="server_action_id"
  10. attrs="{'invisible': [('doc_source', '=', False)]}"
  11. domain="[('model_id', '=', model_id)]"
  12. context="{'default_model_id': model_id}"
  13. />
  14. <field
  15. name="model_id"
  16. invisible="1"
  17. />
  18. </field>
  19. </field>
  20. </record>
  21. </odoo>