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.
39 lines
1.9 KiB
39 lines
1.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="view_update_partner_info" model="ir.ui.view">
|
|
<field name="name">Update Cooperator Info</field>
|
|
<field name="model">partner.update.info</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Update Cooperator Info">
|
|
<p class="oe_grey">
|
|
Update Cooperator Info.
|
|
</p>
|
|
<group>
|
|
<field name="all"/>
|
|
<field name="birthdate"/>
|
|
<field name="legal_form"/>
|
|
<field name="representative_function"/>
|
|
<field name="cooperator" readonly="True"/>
|
|
<field name="register_number" attrs="{'required':[('all', '=', False)]}"/>
|
|
</group>
|
|
<footer>
|
|
<button name="update" string="Update Info" type="object" class="btn-primary"/>
|
|
<button string="Cancel" class="btn-default" special="cancel"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_view_update_partner_info" model="ir.actions.act_window">
|
|
<field name="name">Update Cooperator Info</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">partner.update.info</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
<field name="groups_id" eval="[(4,ref('easy_my_coop.group_energiris_manager'))]"/>
|
|
</record>
|
|
<menuitem action="action_view_update_partner_info" name="Update coop partner" id="menu_view_update_partner_info" parent="menu_easy_my_coop_main_subscription" sequence="60" groups="base.group_system"/>
|
|
</data>
|
|
</openerp>
|