[MERGE] branch merge with lp:~openerp-dev/openobject-addons/trunk-v62_config

bzr revid: jap@tinyerp.com-20120405055952-avgsbd33932wtx0n
This commit is contained in:
Jagdish Panchal (Open ERP) 2012-04-05 11:29:52 +05:30
commit 91e1e79dc9
42 changed files with 85 additions and 40 deletions

View File

@ -97,6 +97,10 @@
<field name="module_account_analytic_plans"/>
<field name="module_account_analytic_default"/>
</group>
<newline/>
<label colspan="2"/>
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
</form>
</field>
</record>

View File

@ -4,13 +4,14 @@
<record id="group_account_invoice" model="res.groups">
<field name="name">Invoicing &amp; Payments</field>
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_account_user" model="res.groups" context="{'noadmin':True}">
<record id="group_account_user" model="res.groups">
<field name="name">Accountant</field>
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
<field name="implied_ids" eval="[(4, ref('group_account_invoice'))]"/>
</record>
<record id="group_account_manager" model="res.groups" context="{'noadmin':True}">
<record id="group_account_manager" model="res.groups">
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
<field name="implied_ids" eval="[(4, ref('group_account_user'))]"/>

View File

@ -4,6 +4,7 @@
<record id="group_account_payment" model="res.groups">
<field name="name">Accounting / Payments</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="account.group_account_invoice" model="res.groups">
<field name="implied_ids" eval="[(4, ref('group_account_payment'))]"/>

View File

@ -15,7 +15,7 @@
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
</record>
<record id="group_analytic_accounting" model="res.groups" context="{'noadmin':True}">
<record id="group_analytic_accounting" model="res.groups">
<field name="name">Analytic Accounting</field>
<field name="category_id" ref="base.module_category_usability"/>
</record>

View File

@ -16,6 +16,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="module_category_auction"/>
<field name="implied_ids" eval="[(4, ref('group_auction_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -3,6 +3,7 @@
<data noupdate="0">
<record model="res.groups" id="base.group_survey_user">
<field name="name">Survey / User</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>

View File

@ -145,6 +145,11 @@
<field name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}"/>
<group name="config_crm" colspan="4"/>
<newline/>
<label colspan="2"/>
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
</form>
</field>
</record>

View File

@ -61,7 +61,7 @@
</record>
<!-- set the default homepage of admin -->
<record id="base.user_admin" model="res.users">
<record id="base.user_root" model="res.users">
<field name="action_id" ref="board_homepage_action"/>
</record>

View File

@ -17,9 +17,10 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_sales_management"/>
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman_all_leads'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record model="res.users" id="base.user_admin">
<record model="res.users" id="base.user_root">
<field eval="[(4,ref('base.group_partner_manager'))]" name="groups_id"/>
</record>

View File

@ -2,9 +2,11 @@
<data>
<record model="res.groups" id="group_compta_user">
<field name="name">grcompta</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record model="res.groups" id="group_compta_admin">
<field name="name">grcomptaadmin</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<menuitem name="Administration" groups="admin,grcomptaadmin" icon="terp-stock" id="menu_admin_compta"/>
</data>

View File

@ -5,6 +5,7 @@
<record id="base.group_document_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="base.module_category_knowledge_management"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<!-- <record id="group_document_manager" model="res.groups">-->

View File

@ -17,10 +17,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="module_category_event_management"/>
<field name="implied_ids" eval="[(4, ref('group_event_user'))]"/>
</record>
<record model="res.users" id="base.user_admin">
<field eval="[(4,ref('group_event_manager'))]" name="groups_id"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<!-- Multi - Company Rules -->

View File

@ -11,6 +11,7 @@
<field name="name">HR Manager</field>
<field name="category_id" ref="base.module_category_human_resources"/>
<field name="implied_ids" eval="[(4, ref('base.group_hr_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="hr_dept_comp_rule" model="ir.rule">
<field name="name">Department multi company rule</field>

View File

@ -10,6 +10,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_tools"/>
<field name="implied_ids" eval="[(4, ref('base.group_tool_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -5,6 +5,7 @@
<record id="base.group_document_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="base.module_category_knowledge_management"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -2,6 +2,7 @@
<record id="group_expert_comptable" model="res.groups">
<field name="name">Finance / Expert Comptable </field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>

View File

@ -10,6 +10,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_tools"/>
<field name="implied_ids" eval="[(4, ref('base.group_tool_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -10,6 +10,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_marketing"/>
<field name="implied_ids" eval="[(4, ref('marketing.group_marketing_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -105,17 +105,17 @@
<menuitem name="Master Bill of Materials"
id="menu_mrp_property"
parent="menu_mrp_configuration"
groups="mrp.group_mrp_routings,mrp.group_mrp_properties"
groups="mrp.group_mrp_routings,product.group_mrp_properties"
sequence="20" />
<menuitem
action="mrp_property_action"
id="menu_mrp_property_action"
groups="mrp.group_mrp_properties"
groups="product.group_mrp_properties"
parent="menu_mrp_property"/>
<menuitem
action="mrp_property_group_action"
parent="menu_mrp_property"
groups="mrp.group_mrp_properties"
groups="product.group_mrp_properties"
id="menu_mrp_property_group_action"/>
<!--
@ -377,7 +377,7 @@
<page string="Revisions" groups="base.group_extended" attrs="{'invisible': [('bom_id','!=',False)]}">
<field colspan="4" name="revision_ids" nolabel="1" widget="one2many_list"/>
</page>
<page string="Properties" groups="mrp.group_mrp_properties">
<page string="Properties" groups="product.group_mrp_properties">
<field name="position"/>
<field name="active"/>
<field name="sequence"/>
@ -397,7 +397,7 @@
<page string="Revisions" groups="base.group_extended" attrs="{'invisible': [('bom_id','!=',False)]}">
<field colspan="4" name="revision_ids" nolabel="1" widget="one2many_list"/>
</page>
<page string="Properties" groups="mrp.group_mrp_properties">
<page string="Properties" groups="product.group_mrp_properties">
<field name="position"/>
<field name="active"/>
<field name="sequence"/>
@ -963,7 +963,7 @@
<field name="bom_id" domain="[('product_id','=',product_id),('bom_id','=',False)]"/>
</xpath>
<xpath expr="/form/notebook/page/field[@name='close_move']" position="after">
<group colspan="4" groups="mrp.group_mrp_properties">
<group colspan="4" groups="product.group_mrp_properties">
<separator colspan="4" string="Properties" />
<field colspan="4" name="property_ids" nolabel="1"/>
</group>
@ -1014,7 +1014,7 @@
</record>
<menuitem id="menu_pm_resources_config" name="Resources" parent="menu_mrp_configuration"/>
<menuitem action="mrp_workcenter_action" id="menu_view_resource_search_mrp" parent="mrp.menu_mrp_bom" sequence="25"/>
<menuitem action="mrp_workcenter_action" id="menu_view_resource_search_mrp" groups="mrp.group_mrp_routings" parent="mrp.menu_mrp_bom" sequence="25"/>
<menuitem action="resource.action_resource_calendar_form" id="menu_view_resource_calendar_search_mrp" parent="menu_pm_resources_config" sequence="1" groups="base.group_no_one"/>
<menuitem action="resource.action_resource_calendar_leave_tree" id="menu_view_resource_calendar_leaves_search_mrp" parent="menu_pm_resources_config" sequence="1" groups="base.group_no_one"/>

View File

@ -60,7 +60,7 @@ class mrp_config_settings(osv.osv_memory):
within your work centers in order to produce a product. They are attached to bills of materials
that will define the required raw materials."""),
'group_mrp_properties': fields.boolean("Manage Properties",
implied_group='mrp.group_mrp_properties',
implied_group='product.group_mrp_properties',
help="""Allows to define specific property that can be assigned to your bill of materials."""),
}

View File

@ -19,6 +19,11 @@
<separator string="Bill Of Material" colspan="4"/>
<field name="group_mrp_routings"/>
<field name="group_mrp_properties"/>
<newline/>
<label colspan="2"/>
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
</form>
</field>
</record>

View File

@ -10,6 +10,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_manufacturing"/>
<field name="implied_ids" eval="[(4, ref('group_mrp_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_mrp_routings" model="res.groups">
@ -17,11 +18,6 @@
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<record id="group_mrp_properties" model="res.groups">
<field name="name">Manage Properties of Product</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<!-- restrict access to menu -->
<record model='ir.ui.menu' id="mrp_Sched_all">
<field eval="[(6,0,[ref('group_mrp_manager')])]" name="groups_id"/>

View File

@ -10,6 +10,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_point_of_sale"/>
<field name="implied_ids" eval="[(4, ref('group_pos_user')), (4, ref('stock.group_stock_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -17,6 +17,7 @@
<field name="comment">Portal managers have access to the portal definitions, and can easily configure the users, access rights and menus of portal users.</field>
<field name="category_id" ref="module_category_portal"/>
<field name="implied_ids" eval="[(4, ref('group_portal_officer'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>

View File

@ -9,7 +9,7 @@
<field name="domain_force"> ['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field>
</record>
<record id="group_product_variant" model="res.groups" context="{'noadmin':True}">
<record id="group_product_variant" model="res.groups">
<field name="name">Product Variant</field>
<field name="category_id" ref="base.module_category_usability"/>
</record>
@ -39,6 +39,11 @@
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<record id="group_mrp_properties" model="res.groups">
<field name="name">Manage Properties of Product</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<record model="ir.rule" id="product_pricelist_comp_rule">
<field name="name">product pricelist company rule</field>
<field name="model_id" ref="model_product_pricelist"/>

View File

@ -40,13 +40,6 @@ class project_configuration(osv.osv_memory):
the timesheet line entries for particular date and user, with the effect of creating,
editing and deleting either ways.
This installs the module project_timesheet."""),
'module_project_scrum': fields.boolean("SCRUM Methodology",
help="""This allows to implement all concepts defined by the scrum project management methodology for IT companies.
* Project with sprints, product owner, scrum master;
* Sprints with reviews, daily meetings, feedbacks;
* Product backlog;
* Sprint backlog.
This installs the module project_scrum."""),
'module_project_long_term': fields.boolean("Manage Gantt and Resource Planning",
help="""A long term project management module that tracks planning, scheduling, and resource allocation.
This installs the module project_long_term."""),

View File

@ -12,7 +12,6 @@
<field name="module_project_mrp"/>
<field name="module_project_timesheet"/>
<field name="module_pad"/>
<field name="module_project_scrum"/>
<separator string="Planning" colspan="4"/>
<field name="module_project_long_term"/>
@ -21,6 +20,11 @@
<field name="module_project_issue"/>
<field name="module_project_issue_sheet"/>
<group name="support" colspan="4"/>
<newline/>
<label colspan="2"/>
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
</form>
</field>
</record>

View File

@ -11,6 +11,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_project_management"/>
<field name="implied_ids" eval="[(4, ref('group_project_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record model="ir.ui.menu" id="menu_definitions">

View File

@ -20,6 +20,11 @@
<separator string="Products" colspan="4"/>
<field name="module_product_manufacturer"/>
<newline/>
<label colspan="2"/>
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
</form>
</field>
</record>

View File

@ -11,6 +11,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_purchase_management"/>
<field name="implied_ids" eval="[(4, ref('group_purchase_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_analytic_accounting" model="res.groups">

View File

@ -21,7 +21,6 @@
-
I set the default invoicing control method "Based on Purchase Order Lines".
-
!python {model: purchase.config.wizard}: |
new_id = self.create(cr ,uid, {'default_method': 'manual'})
!python {model: purchase.config.settings}: |
new_id = self.create(cr, uid, {'default_invoice_method': 'manual'})
self.execute(cr, uid, [new_id])

View File

@ -17,6 +17,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="module_category_purchase_requisition"/>
<field name="implied_ids" eval="[(4, ref('group_purchase_requisition_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record model="ir.rule" id="purchase_requisition_comp_rule">

View File

@ -160,7 +160,7 @@
</group>
</group>
</page>
<page groups="base.group_extended" string="Extra Info">
<page string="Extra Info" groups="product.group_mrp_properties">
<field name="type"/>
<field name="delay"/>
<field name="th_weight"/>

View File

@ -46,7 +46,7 @@
<field name="implied_ids" eval="[(4, ref('analytic.group_analytic_accounting'))]"/>
</record>
<record model="res.users" id="base.user_admin">
<record model="res.users" id="base.user_root">
<field eval="[(4,ref('base.group_partner_manager'))]" name="groups_id"/>
</record>
<record model="ir.ui.menu" id="base.menu_base_partner">

View File

@ -12,6 +12,7 @@
<field name="comment">
Members of this groups have access to the sharing wizard, which allows them to invite external users to view or edit some of their documents.</field>
<field name="category_id" ref="module_category_share"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>

View File

@ -29,6 +29,11 @@
<separator string="Partners" colspan="4"/>
<field name="module_claim_from_delivery"/>
<newline/>
<label colspan="2"/>
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
<button string="Apply" icon="gtk-apply" type="object" name="execute"/>
</form>
</field>
</record>

View File

@ -10,6 +10,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_warehouse_management"/>
<field name="implied_ids" eval="[(4, ref('group_stock_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_production_lot" model="res.groups">

View File

@ -250,7 +250,7 @@
</record>
<menuitem id="menu_traceability" name="Traceability" parent="menu_stock_root" sequence="3"/>
<menuitem action="action_tracking_form" id="menu_action_tracking_form"
groups="stock.group_tracking_lot"
groups="product.group_stock_packaging"
sequence="6"
parent="menu_traceability"/>
@ -585,7 +585,8 @@
<field name="context">{'search_default_in_location':1}</field>
<field name="help">Define your locations to reflect your warehouse structure and organization. OpenERP is able to manage physical locations (warehouses, shelves, bin, etc), partner locations (customers, suppliers) and virtual locations which are the counterpart of the stock operations like the manufacturing orders consumptions, inventories, etc. Every stock operation in OpenERP moves the products from one location to another one. For instance, if you receive products from a supplier, OpenERP will move products from the Supplier location to the Stock location. Each report can be performed on physical, partner or virtual locations.</field>
</record>
<menuitem action="action_location_form" id="menu_action_location_form" parent="menu_stock_configuration" sequence="5"/>
<menuitem action="action_location_form" id="menu_action_location_form" groups="stock.group_locations"
parent="menu_stock_configuration" sequence="5"/>
<record id="view_location_tree" model="ir.ui.view">
<field name="name">stock.location.tree</field>
@ -650,7 +651,8 @@
<field name="view_id" ref="view_warehouse_tree"/>
<field name="help">Create and manage your warehouses and assign them a location from here</field>
</record>
<menuitem action="action_warehouse_form" id="menu_action_warehouse_form" parent="menu_stock_configuration" sequence="1"/>
<menuitem action="action_warehouse_form" id="menu_action_warehouse_form" groups="stock.group_locations"
parent="menu_stock_configuration" sequence="1"/>
<record model="ir.ui.view" id="stock_picking_calendar">
<field name="name">stock.picking.calendar</field>

View File

@ -10,6 +10,7 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_tools"/>
<field name="implied_ids" eval="[(4, ref('base.group_tool_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -9,9 +9,11 @@
<field name="name">Manager</field>
<field name="category_id" ref="base.module_category_tools"/>
<field name="implied_ids" eval="[(4, ref('base.group_tool_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record model="res.groups" id="base.group_survey_user">
<field name="name">Survey / User</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>

View File

@ -5,6 +5,7 @@
<record id="base.group_document_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="base.module_category_knowledge_management"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>

View File

@ -3,7 +3,7 @@
<data noupdate="1">
<record model="document.directory" id="dir_sale">
<field name="name">Sales Document</field>
<field name="user_id" ref="base.user_admin"/>
<field name="user_id" ref="base.user_root"/>
<field name="parent_id" ref="document.dir_root"/>
<field name="ressource_id">0</field>
</record>