[MIG] pad_hedgedoc_leads: migrate add-on to v13

This commit is contained in:
Stéphan Sainléger
2023-01-03 14:00:36 +01:00
parent d5e7e5533d
commit 62626d86d7
3 changed files with 5 additions and 4 deletions

View File

@@ -3,12 +3,13 @@
<record id="crm_case_form_view_oppor_hedgedoc" model="ir.ui.view">
<field name="name">crm.case.form.view.oppor.hedgedoc</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_oppor" />
<field name="inherit_id" ref="crm.crm_lead_view_form" />
<field name="priority" eval="99" />
<field name="arch" type="xml">
<xpath expr="//notebook" position="inside">
<page name="hedgedoc_pads" string="Hedgedoc pads">
<button string="Create a pad" name="create_hedgedoc_pad" type="object" class="oe_stat_button" icon="fa-plus-circle" style="margin: 0px 4px 0px 0px" />
<button string="Create a pad" name="create_hedgedoc_pad" type="object"
class="oe_stat_button" icon="fa-plus-circle" style="margin: 0px 4px 0px 0px" />
<separator string="Current linked pads" />
<field name="leads_hedgedoc_pads" nolabel="1" mode="tree">
<tree create="0" delete="1">