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.
30 lines
1.6 KiB
30 lines
1.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record model="ir.ui.view" id="beesdoo_partner_form_view_remove_duplicate_cooperator_type">
|
|
<field name="name">beesdoo.partner.form.view.remove_duplicate_cooperator_type</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="beesdoo_base.beesdoo_partner_form_view" />
|
|
<field name="arch" type="xml">
|
|
<field name="cooperator_type" position="replace" />
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="beesdoo_partner_form_view_remove_duplicate_header">
|
|
<field name="name">beesdoo.partner.form.view.remove_duplicate_header</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="beesdoo_shift.super_coop_partner_inherited_view_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="header" position="replace" />
|
|
<xpath expr="//field[@name='state']" position="before">
|
|
<button string="Create Subscription" name="%(easy_my_coop.action_view_create_subscription)d"
|
|
type="action" context="{'default_active_id': active_id}" groups="easy_my_coop.group_easy_my_coop_manager"/>
|
|
<button string="Update info" name="%(easy_my_coop.action_view_update_partner_info)d"
|
|
type="action" context="{'default_active_id': active_id}" groups="easy_my_coop.group_easy_my_coop_manager"/>
|
|
</xpath>
|
|
<xpath expr="//field[@name='info_session']" position="before">
|
|
<field name="can_shop" />
|
|
</xpath>
|
|
</field>
|
|
<field name="priority">99</field>
|
|
</record>
|
|
</odoo>
|