[IMP] make changes into product

bzr revid: rma@tinyerp.com-20121001121630-cvtnnh6eh86nkj1a
This commit is contained in:
Randhir Mayatra (OpenERP) 2012-10-01 17:46:30 +05:30
parent 943ebfbb8b
commit f669a37fc0
5 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ This module also uses analytic accounting and is compatible with the invoice on
'author': 'OpenERP SA', 'author': 'OpenERP SA',
'website': 'http://www.openerp.com', 'website': 'http://www.openerp.com',
'images': ['images/hr_expenses_analysis.jpeg', 'images/hr_expenses.jpeg'], 'images': ['images/hr_expenses_analysis.jpeg', 'images/hr_expenses.jpeg'],
'depends': ['hr', 'account_voucher'], 'depends': ['hr', 'account_voucher','procurement'],
'data': [ 'data': [
'security/ir.model.access.csv', 'security/ir.model.access.csv',
'hr_expense_data.xml', 'hr_expense_data.xml',

View File

@ -966,7 +966,7 @@
<record id="product.product_normal_form_supply_view" model="ir.ui.view"> <record id="product.product_normal_form_supply_view" model="ir.ui.view">
<field name="name">product.normal.form.mrp.inherit</field> <field name="name">product.normal.form.mrp.inherit</field>
<field name="model">product.product</field> <field name="model">product.product</field>
<field name="inherit_id" ref="procurement.product_template_form_view_procurement"/> <field name="inherit_id" ref="procurement.product_form_view_procurement_button"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//field[@name='supply_method']" position="attributes"> <xpath expr="//field[@name='supply_method']" position="attributes">
<attribute name="invisible">False</attribute> <attribute name="invisible">False</attribute>

View File

@ -39,6 +39,7 @@
'base_setup', 'base_setup',
'base_status', 'base_status',
'product', 'product',
'procurement'
'analytic', 'analytic',
'board', 'board',
'mail', 'mail',

View File

@ -31,7 +31,6 @@
name: Ice Cream name: Ice Cream
type: product type: product
categ_id: product.product_category_1 categ_id: product.product_category_1
supply_method: buy
list_price: 100.0 list_price: 100.0
standard_price: 70.0 standard_price: 70.0
uom_id: product.product_uom_kgm uom_id: product.product_uom_kgm

View File

@ -5,7 +5,7 @@
<record model="ir.ui.view" id="view_product_form_auto_pick"> <record model="ir.ui.view" id="view_product_form_auto_pick">
<field name="name">product.normal.auto_pick.form</field> <field name="name">product.normal.auto_pick.form</field>
<field name="model">product.product</field> <field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view" /> <field name="inherit_id" ref="procurement.product_template_form_view_procurement"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="product_manager" position="after"> <field name="product_manager" position="after">
<field name="auto_pick" /> <field name="auto_pick" />