crm_lead_pls_update_views.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="crm_lead_pls_update_view_form" model="ir.ui.view">
  4. <field name="name">crm.lead.pls.update.view.form</field>
  5. <field name="model">crm.lead.pls.update</field>
  6. <field name="arch" type="xml">
  7. <form>
  8. <p>
  9. The success rate is computed based on the stage, but you can add more fields in the statistical analysis.
  10. </p>
  11. <p>
  12. <field name="pls_fields" widget="many2many_tags" placeholder="Extra fields..."/>
  13. </p>
  14. <p>
  15. Consider leads created as of the: <field name="pls_start_date"/>
  16. </p>
  17. <footer>
  18. <button name="action_update_crm_lead_probabilities" type="object"
  19. string="Confirm" class="btn-primary" data-hotkey="q"/>
  20. <button special="cancel" data-hotkey="z" string="Cancel"/>
  21. </footer>
  22. </form>
  23. </field>
  24. </record>
  25. <record id="crm_lead_pls_update_action" model="ir.actions.act_window">
  26. <field name="name">Update Probabilities</field>
  27. <field name="res_model">crm.lead.pls.update</field>
  28. <field name="view_mode">form</field>
  29. <field name="target">new</field>
  30. <field name="view_id" ref="crm_lead_pls_update_view_form"/>
  31. </record>
  32. </odoo>