[IMP] remove or replace group_extended from views and menus

bzr revid: rco@openerp.com-20120425081250-u2cj37z4w1a6wq6p
This commit is contained in:
Raphael Collet 2012-04-25 10:12:50 +02:00
parent 491655f448
commit a17a1a7694
16 changed files with 54 additions and 58 deletions

View File

@ -2,13 +2,13 @@
<openerp> <openerp>
<data> <data>
<menuitem id="menu_reporting" name="Reporting" sequence="90"/> <menuitem id="menu_reporting" name="Reporting" sequence="90"/>
<menuitem id="menu_reporting_dashboard" name="Dashboards" parent="menu_reporting" sequence="0" groups="group_extended"/> <menuitem id="menu_reporting_dashboard" name="Dashboards" parent="menu_reporting" sequence="0" groups="base.group_no_one"/>
<menuitem id="menu_reporting_config" name="Configuration" parent="menu_reporting" sequence="100" groups="group_system"/> <menuitem id="menu_reporting_config" name="Configuration" parent="menu_reporting" sequence="100" groups="base.group_system"/>
<menuitem id="menu_administration" name="Settings" sequence="100" icon="terp-administration"/> <menuitem id="menu_administration" name="Settings" sequence="100" icon="terp-administration"/>
<menuitem id="menu_management" name="Modules" parent="menu_administration" sequence="0"/> <menuitem id="menu_management" name="Modules" parent="menu_administration" sequence="0"/>
<menuitem id="menu_config" name="Configuration" parent="menu_administration" sequence="1"/> <menuitem id="menu_config" name="Configuration" parent="menu_administration" sequence="1"/>
<menuitem id="menu_custom" name="Technical" parent="menu_config" sequence="8" groups="group_extended"/> <menuitem id="menu_custom" name="Technical" parent="menu_config" sequence="8" groups="base.group_no_one"/>
<menuitem id="next_id_2" name="User Interface" parent="menu_custom" groups="base.group_extended"/> <menuitem id="next_id_2" name="User Interface" parent="menu_custom"/>
<menuitem id="menu_email" name="Email" parent="menu_custom" sequence="1"/> <menuitem id="menu_email" name="Email" parent="menu_custom" sequence="1"/>
<menuitem id="menu_security" name="Security" parent="menu_custom" sequence="25"/> <menuitem id="menu_security" name="Security" parent="menu_custom" sequence="25"/>
<menuitem id="next_id_4" name="Low Level Objects" parent="menu_custom" sequence="30"/> <menuitem id="next_id_4" name="Low Level Objects" parent="menu_custom" sequence="30"/>
@ -16,7 +16,7 @@
<menuitem id="menu_administration_shortcut" parent="menu_administration" name="Custom Shortcuts" sequence="50"/> <menuitem id="menu_administration_shortcut" parent="menu_administration" name="Custom Shortcuts" sequence="50"/>
<menuitem id="menu_users" name="Users" parent="menu_administration" sequence="4"/> <menuitem id="menu_users" name="Users" parent="menu_administration" sequence="4"/>
<menuitem id="menu_translation" name="Translations" parent="menu_administration" sequence="7"/> <menuitem id="menu_translation" name="Translations" parent="menu_administration" sequence="7"/>
<menuitem id="menu_translation_app" name="Application Terms" parent="menu_translation" sequence="4" groups="group_extended"/> <menuitem id="menu_translation_app" name="Application Terms" parent="menu_translation" sequence="4" groups="base.group_no_one"/>
<menuitem id="menu_translation_export" name="Import / Export" groups="group_extended" parent="menu_translation" sequence="3"/> <menuitem id="menu_translation_export" name="Import / Export" groups="base.group_no_one" parent="menu_translation" sequence="3"/>
</data> </data>
</openerp> </openerp>

View File

@ -131,7 +131,7 @@
<separator string="Default Filters" colspan="2"/> <separator string="Default Filters" colspan="2"/>
<field name="company_id" required="1" context="{'user_preference': 0}" groups="base.group_multi_company"/> <field name="company_id" required="1" context="{'user_preference': 0}" groups="base.group_multi_company"/>
</group> </group>
<group colspan="2" col="2" groups="base.group_extended"> <group colspan="2" col="2" groups="base.group_no_one">
<separator string="Action" colspan="2"/> <separator string="Action" colspan="2"/>
<field name="action_id"/> <field name="action_id"/>
<field domain="[('usage','=','menu')]" name="menu_id" required="True"/> <field domain="[('usage','=','menu')]" name="menu_id" required="True"/>
@ -220,7 +220,7 @@
<group colspan="4" col="6"> <group colspan="4" col="6">
<group colspan="4" col="4"> <group colspan="4" col="4">
<field name="name"/> <field name="name"/>
<field name="partner_id" readonly="1" required="0" groups="base.group_extended"/> <field name="partner_id" readonly="1" required="0" groups="base.group_no_one"/>
<field name="parent_id" groups="base.group_multi_company"/> <field name="parent_id" groups="base.group_multi_company"/>
</group> </group>
<group colspan="2" col="2"> <group colspan="2" col="2">
@ -246,7 +246,7 @@
<group colspan="4" col="3"> <group colspan="4" col="3">
<field name="rml_header1" colspan="3"/> <field name="rml_header1" colspan="3"/>
<newline/> <newline/>
<field name="rml_footer1" colspan="3" groups="base.group_extended"/> <field name="rml_footer1" colspan="3" groups="base.group_no_one"/>
<newline/> <newline/>
<field name="rml_footer2" colspan="2"/> <field name="rml_footer2" colspan="2"/>
<button name="%(bank_account_update)d" string="Set Bank Accounts" type="action" icon="gtk-go-forward"/> <button name="%(bank_account_update)d" string="Set Bank Accounts" type="action" icon="gtk-go-forward"/>
@ -255,13 +255,13 @@
<button name="%(preview_report)d" string="Preview Header" type="action" icon="gtk-print"/> <button name="%(preview_report)d" string="Preview Header" type="action" icon="gtk-print"/>
</group> </group>
</page> </page>
<page string="Header/Footer" groups="base.group_extended"> <page string="Header/Footer" groups="base.group_no_one">
<group colspan="2" col="4"> <group colspan="2" col="4">
<field name="paper_format" on_change="onchange_paper_format(paper_format)"/> <field name="paper_format" on_change="onchange_paper_format(paper_format)"/>
</group> </group>
<field colspan="4" name="rml_header" nolabel="1"/> <field colspan="4" name="rml_header" nolabel="1"/>
</page> </page>
<page string="Internal Header/Footer" groups="base.group_extended"> <page string="Internal Header/Footer" groups="base.group_no_one">
<separator string="Portrait" colspan="2"/> <separator string="Portrait" colspan="2"/>
<separator string="Landscape" colspan="2"/> <separator string="Landscape" colspan="2"/>
<field colspan="2" name="rml_header2" nolabel="1"/> <field colspan="2" name="rml_header2" nolabel="1"/>
@ -272,7 +272,7 @@
<field name="currency_id" colspan="2"/> <field name="currency_id" colspan="2"/>
<newline/> <newline/>
</page> </page>
<page string="Bank Accounts" groups="base.group_extended"> <page string="Bank Accounts">
<field name="bank_ids" nolabel="1"/> <field name="bank_ids" nolabel="1"/>
</page> </page>
</notebook> </notebook>

View File

@ -143,7 +143,7 @@
<field name="name" select="1"/> <field name="name" select="1"/>
<field name="code" select="1"/> <field name="code" select="1"/>
<field name="company_id" groups="base.group_multi_company"/> <field name="company_id" groups="base.group_multi_company"/>
<field name="active" groups="base.group_extended"/> <field name="active" groups="base.group_no_one"/>
</group> </group>
<notebook colspan="4"> <notebook colspan="4">
<page string="Sequence"> <page string="Sequence">
@ -269,7 +269,7 @@
<field eval="False" name="view_id"/> <field eval="False" name="view_id"/>
</record> </record>
<menuitem action="ir_sequence_type" id="menu_ir_sequence_type" <menuitem action="ir_sequence_type" id="menu_ir_sequence_type"
groups="base.group_extended" groups="base.group_no_one"
parent="base.next_id_5"/> parent="base.next_id_5"/>
<!-- Actions --> <!-- Actions -->
@ -356,8 +356,8 @@
<field name="name"/> <field name="name"/>
<field name="model_id"/> <field name="model_id"/>
<field name="user_id"/> <field name="user_id"/>
<field name="domain" groups="base.group_extended"/> <field name="domain" groups="base.group_no_one"/>
<field name="context" groups="base.group_extended"/> <field name="context" groups="base.group_no_one"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -764,7 +764,7 @@
<field name="help">A group is a set of functional areas that will be assigned to the user in order to give them access and rights to specific applications and tasks in the system. You can create custom groups or edit the ones existing by default in order to customize the view of the menu that users will be able to see. Whether they can have a read, write, create and delete access right can be managed from here.</field> <field name="help">A group is a set of functional areas that will be assigned to the user in order to give them access and rights to specific applications and tasks in the system. You can create custom groups or edit the ones existing by default in order to customize the view of the menu that users will be able to see. Whether they can have a read, write, create and delete access right can be managed from here.</field>
</record> </record>
<menuitem action="action_res_groups" id="menu_action_res_groups" parent="base.menu_users" <menuitem action="action_res_groups" id="menu_action_res_groups" parent="base.menu_users"
groups="base.group_extended"/> groups="base.group_no_one"/>
<!-- View --> <!-- View -->
<record id="view_view_form" model="ir.ui.view"> <record id="view_view_form" model="ir.ui.view">
@ -927,7 +927,7 @@
<field name="res_id"/> <field name="res_id"/>
<field name="res_name"/> <field name="res_name"/>
</group> </group>
<group col="2" groups="base.group_extended"> <group col="2" groups="base.group_no_one">
<separator string="Created" colspan="2"/> <separator string="Created" colspan="2"/>
<field name="create_uid" select="2"/> <field name="create_uid" select="2"/>
<field name="create_date" select="2"/> <field name="create_date" select="2"/>
@ -984,7 +984,7 @@
<newline/> <newline/>
<group expand="0" string="Group By..."> <group expand="0" string="Group By...">
<filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'create_uid'}"/> <filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'create_uid'}"/>
<filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}" groups="base.group_extended"/> <filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}" groups="base.group_no_one"/>
<filter string="Company" icon="terp-gtk-home" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/> <filter string="Company" icon="terp-gtk-home" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<filter string="Month" help="Creation Month" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}"/> <filter string="Month" help="Creation Month" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}"/>
@ -1287,7 +1287,7 @@
<field name="context">{'manual':True}</field> <field name="context">{'manual':True}</field>
<field name="view_id" ref="view_model_tree"/> <field name="view_id" ref="view_model_tree"/>
</record> </record>
<menuitem id="next_id_9" name="Database Structure" parent="base.menu_custom" groups="base.group_extended"/> <menuitem id="next_id_9" name="Database Structure" parent="base.menu_custom" groups="base.group_no_one"/>
<menuitem action="action_model_model" id="ir_model_model_menu" parent="next_id_9"/> <menuitem action="action_model_model" id="ir_model_model_menu" parent="next_id_9"/>
<record id="action_model_fields" model="ir.actions.act_window"> <record id="action_model_fields" model="ir.actions.act_window">
@ -1306,7 +1306,7 @@
<field name="view_id" ref="view_model_data_list"/> <field name="view_id" ref="view_model_data_list"/>
</record> </record>
<menuitem action="action_model_data" id="ir_model_data_menu" parent="base.next_id_5" <menuitem action="action_model_data" id="ir_model_data_menu" parent="base.next_id_5"
groups="base.group_extended"/> groups="base.group_no_one"/>
<!-- Translations --> <!-- Translations -->
@ -1429,11 +1429,11 @@
<field name="action" colspan="2" /> <field name="action" colspan="2" />
<field name="icon" colspan="2"/> <field name="icon" colspan="2"/>
<group col="4" colspan="6" groups="base.group_extended"> <group col="4" colspan="6" groups="base.group_no_one">
<field name="web_icon" groups="base.group_extended" /> <field name="web_icon"/>
<field name="web_icon_hover" groups="base.group_extended" /> <field name="web_icon_hover"/>
<field name="web_icon_data" widget="image" groups="base.group_extended"/> <field name="web_icon_data" widget="image"/>
<field name="web_icon_hover_data" widget="image" groups="base.group_extended"/> <field name="web_icon_hover_data" widget="image"/>
</group> </group>
</group> </group>
<notebook colspan="4"> <notebook colspan="4">
@ -1517,9 +1517,9 @@
<field name="numbercall"/> <field name="numbercall"/>
<field name="doall"/> <field name="doall"/>
</page> </page>
<page string="Technical Data" groups="base.group_extended"> <page string="Technical Data" groups="base.group_no_one">
<separator string="Action to Trigger" colspan="4"/> <separator string="Action to Trigger" colspan="4"/>
<field name="model" groups="base.group_extended"/> <field name="model"/>
<field name="function"/> <field name="function"/>
<separator string="Arguments" colspan="4"/> <separator string="Arguments" colspan="4"/>
<field colspan="4" name="args" nolabel="1"/> <field colspan="4" name="args" nolabel="1"/>
@ -1571,7 +1571,7 @@
<field name="view_id" ref="ir_cron_view_tree"/> <field name="view_id" ref="ir_cron_view_tree"/>
</record> </record>
<menuitem id="menu_ir_cron" name="Scheduler" parent="menu_custom" groups="base.group_extended" sequence="23"/> <menuitem id="menu_ir_cron" name="Scheduler" parent="menu_custom" groups="base.group_no_one" sequence="23"/>
<menuitem id="menu_ir_cron_act" action="ir_cron_act" parent="menu_ir_cron"/> <menuitem id="menu_ir_cron_act" action="ir_cron_act" parent="menu_ir_cron"/>
<!-- ir.model.access --> <!-- ir.model.access -->
@ -1631,7 +1631,7 @@
<field name="group_id"/> <field name="group_id"/>
</group> </group>
<newline/> <newline/>
<group expand="0" string="Group By..." colspan="11" col="11" groups="base.group_extended"> <group expand="0" string="Group By..." colspan="11" col="11" groups="base.group_no_one">
<filter string="Group" icon="terp-personal" domain="[]" context="{'group_by':'group_id'}"/> <filter string="Group" icon="terp-personal" domain="[]" context="{'group_by':'group_id'}"/>
<filter string="Object" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'model_id'}"/> <filter string="Object" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'model_id'}"/>
</group> </group>
@ -1950,7 +1950,7 @@
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="help">The configuration wizards are used to help you configure a new instance of OpenERP. They are launched during the installation of new modules, but you can choose to restart some wizards manually from this menu.</field> <field name="help">The configuration wizards are used to help you configure a new instance of OpenERP. They are launched during the installation of new modules, but you can choose to restart some wizards manually from this menu.</field>
</record> </record>
<menuitem id="menu_ir_actions_todo" name="Configuration Wizards" parent="menu_custom" sequence="20" groups="base.group_extended"/> <menuitem id="menu_ir_actions_todo" name="Configuration Wizards" parent="menu_custom" sequence="20" groups="base.group_no_one"/>
<menuitem id="menu_ir_actions_todo_form" action="act_ir_actions_todo_form" parent="menu_ir_actions_todo"/> <menuitem id="menu_ir_actions_todo_form" action="act_ir_actions_todo_form" parent="menu_ir_actions_todo"/>
<record model="ir.cron" id="cronjob_osv_memory_autovacuum"> <record model="ir.cron" id="cronjob_osv_memory_autovacuum">
@ -2017,7 +2017,7 @@
<separator string="Connection Information" colspan="4"/> <separator string="Connection Information" colspan="4"/>
<field name="smtp_host"/> <field name="smtp_host"/>
<field name="smtp_port"/> <field name="smtp_port"/>
<field name="smtp_debug" groups="base.group_extended"/> <field name="smtp_debug" groups="base.group_no_one"/>
</group> </group>
<group col="2" colspan="4"> <group col="2" colspan="4">
<separator string="Security and Authentication" colspan="2"/> <separator string="Security and Authentication" colspan="2"/>

View File

@ -37,6 +37,6 @@
<act_window name="System Parameters" res_model="ir.config_parameter" id="ir_config_list_action"/> <act_window name="System Parameters" res_model="ir.config_parameter" id="ir_config_list_action"/>
<menuitem name="System Parameters" id="ir_config_menu" <menuitem name="System Parameters" id="ir_config_menu"
parent="base.next_id_4" action="ir_config_list_action" groups="base.group_extended"/> parent="base.next_id_4" action="ir_config_list_action" groups="base.group_no_one"/>
</data> </data>
</openerp> </openerp>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<menuitem id="menu_workflow_root" name="Workflows" parent="base.menu_custom" groups="base.group_extended"/> <menuitem id="menu_workflow_root" name="Workflows" parent="base.menu_custom" groups="base.group_no_one"/>
<!-- <!--
================================ ================================

View File

@ -22,7 +22,7 @@
<separator string="Load an Official Translation" colspan="4"/> <separator string="Load an Official Translation" colspan="4"/>
<group states="init" colspan="4"> <group states="init" colspan="4">
<field name="lang" colspan="4"/> <field name="lang" colspan="4"/>
<field name="overwrite" colspan="4" groups="base.group_extended"/> <field name="overwrite" colspan="4" groups="base.group_no_one"/>
</group> </group>
<group states="done" colspan="4"> <group states="done" colspan="4">
<label string="The selected language has been successfully installed. <label string="The selected language has been successfully installed.

View File

@ -61,7 +61,7 @@ After importing a new module you can install it by clicking on the button "Insta
action="action_view_base_module_import" action="action_view_base_module_import"
id="menu_view_base_module_import" id="menu_view_base_module_import"
parent="menu_management" parent="menu_management"
groups="base.group_extended" groups="base.group_no_one"
sequence="1"/> sequence="1"/>
--> -->

View File

@ -58,7 +58,7 @@
name="Update Modules List" name="Update Modules List"
action="action_view_base_module_update" action="action_view_base_module_update"
id="menu_view_base_module_update" id="menu_view_base_module_update"
groups="base.group_extended" groups="base.group_no_one"
parent="menu_management" parent="menu_management"
sequence="2" sequence="2"
icon="STOCK_CONVERT"/> icon="STOCK_CONVERT"/>

View File

@ -33,7 +33,7 @@
<menuitem <menuitem
name="Apply Scheduled Upgrades" name="Apply Scheduled Upgrades"
action="action_view_base_module_upgrade" action="action_view_base_module_upgrade"
groups="base.group_extended" groups="base.group_no_one"
id="menu_view_base_module_upgrade" id="menu_view_base_module_upgrade"
parent="menu_management" parent="menu_management"
sequence="3"/> sequence="3"/>

View File

@ -50,7 +50,7 @@
<field colspan="4" name="value_binary" /> <field colspan="4" name="value_binary" />
</group> </group>
<separator colspan="4" string="Resource"/> <separator colspan="4" string="Resource"/>
<field colspan="4" name="res_id" groups="base.group_extended"/> <field colspan="4" name="res_id"/>
</form> </form>
</field> </field>
</record> </record>
@ -75,7 +75,7 @@
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_id" ref="ir_property_view_tree"/> <field name="view_id" ref="ir_property_view_tree"/>
</record> </record>
<menuitem id="menu_ir_property" name="Parameters" parent="menu_custom" groups="group_extended" sequence="24"/> <menuitem id="menu_ir_property" name="Parameters" parent="menu_custom" groups="base.group_no_one" sequence="24"/>
<menuitem id="menu_ir_property_form_all" parent="menu_ir_property" action="ir_property_form"/> <menuitem id="menu_ir_property_form_all" parent="menu_ir_property" action="ir_property_form"/>
</data> </data>
</openerp> </openerp>

View File

@ -113,7 +113,7 @@
</group> </group>
<group name="bank" colspan="2" col="2"> <group name="bank" colspan="2" col="2">
<separator colspan="2" string="Information About the Bank"/> <separator colspan="2" string="Information About the Bank"/>
<field name="bank" on_change="onchange_bank_id(bank)" groups="base.group_extended"/> <field name="bank" on_change="onchange_bank_id(bank)"/>
<field name="bank_name" attrs="{'required': [('company_id','&lt;&gt;',False)]}"/> <field name="bank_name" attrs="{'required': [('company_id','&lt;&gt;',False)]}"/>
<field name="bank_bic"/> <field name="bank_bic"/>
</group> </group>

View File

@ -26,7 +26,7 @@
<form string="Country"> <form string="Country">
<field name="name" select="1"/> <field name="name" select="1"/>
<field name="code" select="1"/> <field name="code" select="1"/>
<field name="address_format" colspan="4" groups="base.group_extended"/> <field name="address_format" colspan="4" groups="base.group_no_one"/>
</form> </form>
</field> </field>
</record> </record>

View File

@ -126,6 +126,6 @@
<field name="context">{'active_test': False}</field> <field name="context">{'active_test': False}</field>
<field name="search_view_id" ref="res_lang_search"/> <field name="search_view_id" ref="res_lang_search"/>
</record> </record>
<menuitem action="res_lang_act_window" id="menu_res_lang_act_window" parent="menu_translation" groups="base.group_extended" sequence="1"/> <menuitem action="res_lang_act_window" id="menu_res_lang_act_window" parent="menu_translation" groups="base.group_no_one" sequence="1"/>
</data> </data>
</openerp> </openerp>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<report id="res_partner_address_report" model="res.partner" name="res.partner" string="Labels" xml="base/res/report/partner_address.xml" xsl="base/res/report/partner_address.xsl" groups="base.group_extended"/> <report id="res_partner_address_report" model="res.partner" name="res.partner" string="Labels" xml="base/res/report/partner_address.xml" xsl="base/res/report/partner_address.xsl" groups="base.group_no_one"/>
<!-- <!--
<report string="Business Cards" model="res.partner" name="res.partner.businesscard" xml="base/res/report/business_card.xml" xsl="base/res/report/business_card.xsl"/> <report string="Business Cards" model="res.partner" name="res.partner.businesscard" xml="base/res/report/business_card.xml" xsl="base/res/report/business_card.xsl"/>
--> -->

View File

@ -202,9 +202,6 @@
<field name="view_id" ref="view_partner_address_form1"/> <field name="view_id" ref="view_partner_address_form1"/>
<field name="act_window_id" ref="action_partner_address_form"/> <field name="act_window_id" ref="action_partner_address_form"/>
</record> </record>
<!--menuitem action="action_partner_address_form" id="menu_partner_address_form"
groups="base.group_extended" name="Contacts"
parent="base.menu_address_book" sequence="30"/-->
<!-- <!--
========================================= =========================================
@ -339,7 +336,7 @@
<group colspan="4"> <group colspan="4">
<h2><field name="name" required="1" nolabel="1" colspan="4"/></h2><newline/> <h2><field name="name" required="1" nolabel="1" colspan="4"/></h2><newline/>
<field name="function" attrs="{'invisible': [('is_company', '=', True)]}"/> <field name="function" attrs="{'invisible': [('is_company', '=', True)]}"/>
<field name="title" size="0" groups="base.group_extended" domain="[('domain', '=', 'contact')]"/> <field name="title" size="0" domain="[('domain', '=', 'contact')]"/>
<field name="parent_id" string="Company" attrs="{'invisible': [('is_company','=', True)]}" <field name="parent_id" string="Company" attrs="{'invisible': [('is_company','=', True)]}"
domain="[('is_company', '=', True)]" context="{'default_is_company': True}" domain="[('is_company', '=', True)]" context="{'default_is_company': True}"
on_change="onchange_address(use_parent_address, parent_id)"/> on_change="onchange_address(use_parent_address, parent_id)"/>
@ -374,7 +371,7 @@
<field name="fax" colspan="4"/> <field name="fax" colspan="4"/>
<field name="email" widget="email" colspan="4"/> <field name="email" widget="email" colspan="4"/>
<field name="website" widget="url" colspan="4"/> <field name="website" widget="url" colspan="4"/>
<field name="ref" groups="base.group_extended" colspan="4"/> <field name="ref" colspan="4"/>
</group> </group>
<group colspan="4" attrs="{'invisible': [('is_company','=', False)]}"> <group colspan="4" attrs="{'invisible': [('is_company','=', False)]}">
<field name="child_ids" context="{'default_parent_id': active_id}" nolabel="1" mode="kanban,list"> <field name="child_ids" context="{'default_parent_id': active_id}" nolabel="1" mode="kanban,list">
@ -433,14 +430,14 @@
<separator string="General Information" colspan="4"/> <separator string="General Information" colspan="4"/>
<field name="lang" colspan="4"/> <field name="lang" colspan="4"/>
<field name="user_id"/> <field name="user_id"/>
<field name="active" groups="base.group_extended"/> <field name="active"/>
<field name="date"/> <field name="date"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/> <field name="company_id" groups="base.group_multi_company" widget="selection"/>
<newline/> <newline/>
</page> </page>
<page string="History" groups="base.group_extended" invisible="True"> <page string="History" invisible="True">
</page> </page>
<page string="Categories" groups="base.group_extended"> <page string="Categories">
<field name="category_id" colspan="4" nolabel="1"/> <field name="category_id" colspan="4" nolabel="1"/>
</page> </page>
<page string="Notes"> <page string="Notes">
@ -467,7 +464,7 @@
<field name="name" select="1"/> <field name="name" select="1"/>
<!--field name="address" select="1"/--> <!--field name="address" select="1"/-->
<!--field name="country" select="1"/--> <!--field name="country" select="1"/-->
<field name="category_id" select="1" groups="base.group_extended"/> <field name="category_id" select="1"/>
<field name="user_id" select="1"> <field name="user_id" select="1">
<filter help="My Partners" icon="terp-personal+" domain="[('user_id','=',uid)]"/> <filter help="My Partners" icon="terp-personal+" domain="[('user_id','=',uid)]"/>
</field> </field>
@ -654,7 +651,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Partner Category"> <form string="Partner Category">
<field name="name" select="1"/> <field name="name" select="1"/>
<field name="active" groups="base.group_extended"/> <field name="active"/>
<field name="parent_id"/> <field name="parent_id"/>
<separator colspan="4" string="Partners"/> <separator colspan="4" string="Partners"/>
<field colspan="4" name="partner_ids" nolabel="1"/> <field colspan="4" name="partner_ids" nolabel="1"/>
@ -693,7 +690,7 @@
<field name="domain">[('parent_id','=',False)]</field> <field name="domain">[('parent_id','=',False)]</field>
</record> </record>
<menuitem action="action_partner_category" id="menu_partner_category_main" parent="base.menu_address_book" sequence="1" <menuitem action="action_partner_category" id="menu_partner_category_main" parent="base.menu_address_book" sequence="1"
groups="base.group_extended"/> groups="base.group_no_one"/>
--> -->
<record id="action_partner_by_category" model="ir.actions.act_window"> <record id="action_partner_by_category" model="ir.actions.act_window">
@ -727,7 +724,6 @@
id="act_res_partner_event" name="Events" id="act_res_partner_event" name="Events"
res_model="res.partner.event" res_model="res.partner.event"
src_model="res.partner" src_model="res.partner"
groups="base.group_extended"
/> />
</data> </data>

View File

@ -47,12 +47,12 @@
<button name="request_reply" states="waiting" string="Reply" type="object" icon="gtk-undo"/> <button name="request_reply" states="waiting" string="Reply" type="object" icon="gtk-undo"/>
</group> </group>
</page> </page>
<page string="References" groups="base.group_extended"> <page string="References">
<field name="ref_partner_id"/> <field name="ref_partner_id"/>
<field colspan="4" name="ref_doc1"/> <field colspan="4" name="ref_doc1"/>
<field colspan="4" name="ref_doc2"/> <field colspan="4" name="ref_doc2"/>
</page> </page>
<page string="History" groups="base.group_extended"> <page string="History">
<field colspan="4" name="history" nolabel="1" widget="one2many_list"/> <field colspan="4" name="history" nolabel="1" widget="one2many_list"/>
</page> </page>
</notebook> </notebook>