Skip to content

Commit

Permalink
[16.0][FIX] Add missing sheet to xml : allows to hook for a chatter f…
Browse files Browse the repository at this point in the history
…or instance
  • Loading branch information
lmarion-source committed Aug 29, 2024
1 parent 43b11fa commit b3ec666
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions account_invoice_overdue_reminder/views/overdue_reminder_action.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,39 @@
<field name="model">overdue.reminder.action</field>
<field name="arch" type="xml">
<form>
<group name="main">
<field name="commercial_partner_id" />
<field name="partner_id" context="{'show_email': True}" />
<field name="date" />
<field name="user_id" />
<field name="reminder_type" />
<field
name="mail_id"
attrs="{'invisible': [('reminder_type', '!=', 'mail')]}"
/>
<field
name="mail_cc"
attrs="{'invisible': [('reminder_type', '!=', 'mail')]}"
/>
<field
name="mail_state"
attrs="{'invisible': [('reminder_type', '!=', 'mail')]}"
/>
</group>
<group name="result" string="Info/Result">
<field name="result_id" widget="selection" />
<field name="result_notes" string="Notes" />
</group>
<group name="invoices" string="Invoices">
<field
name="reminder_ids"
nolabel="1"
colspan="2"
context="{'form_view_ref': 'account_invoice_overdue_reminder.account_invoice_overdue_reminder_norelated_form', 'tree_view_ref': 'account_invoice_overdue_reminder.account_invoice_overdue_reminder_norelated_tree'}"
/>
</group>
<sheet>
<group name="main">
<field name="commercial_partner_id" />
<field name="partner_id" context="{'show_email': True}" />
<field name="date" />
<field name="user_id" />
<field name="reminder_type" />
<field
name="mail_id"
attrs="{'invisible': [('reminder_type', '!=', 'mail')]}"
/>
<field
name="mail_cc"
attrs="{'invisible': [('reminder_type', '!=', 'mail')]}"
/>
<field
name="mail_state"
attrs="{'invisible': [('reminder_type', '!=', 'mail')]}"
/>
</group>
<group name="result" string="Info/Result">
<field name="result_id" widget="selection" />
<field name="result_notes" string="Notes" />
</group>
<group name="invoices" string="Invoices">
<field
name="reminder_ids"
nolabel="1"
colspan="2"
context="{'form_view_ref': 'account_invoice_overdue_reminder.account_invoice_overdue_reminder_norelated_form', 'tree_view_ref': 'account_invoice_overdue_reminder.account_invoice_overdue_reminder_norelated_tree'}"
/>
</group>
</sheet>
</form>
</field>
</record>
Expand Down

0 comments on commit b3ec666

Please sign in to comment.