mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-23 12:51:46 +00:00
26 lines
887 B
XML
26 lines
887 B
XML
<flectra>
|
|
|
|
<!-- Partner Form View -->
|
|
<record id="view_partner_animal_owner_form" model="ir.ui.view">
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form" />
|
|
<field name="arch" type="xml">
|
|
<div name="button_box" position="inside">
|
|
<button
|
|
class="oe_stat_button"
|
|
type="object"
|
|
name="action_view_animals"
|
|
icon="fa-pencil-square-o"
|
|
context="{'default_partner_id': id}"
|
|
>
|
|
<div class="o_stat_info">
|
|
<field name="animal_count" class="o_stat_value" />
|
|
<span class="o_stat_text"> Animals</span>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|