[REF] mrp: moving some data updating in .XML file instead of having a new .YML file for it

bzr revid: qdp-launchpad@openerp.com-20140507171205-eop6g5p59mdig49r
This commit is contained in:
Quentin (OpenERP) 2014-05-07 19:12:05 +02:00
parent 083108a624
commit 0d96d46138
3 changed files with 5 additions and 8 deletions

View File

@ -58,7 +58,6 @@ Dashboard / Reports for MRP will include:
'security/ir.model.access.csv',
'mrp_workflow.xml',
'mrp_data.xml',
'mrp_stock_data.yml',
'wizard/mrp_product_produce_view.xml',
'wizard/change_production_qty_view.xml',
'wizard/mrp_price_view.xml',

View File

@ -36,5 +36,10 @@ This application supports complete integration and production scheduling for sto
<field name="sequence">5</field>
</record>
<!-- Enable the manufacturing in warehouse0 -->
<record id='stock.warehouse0' model='stock.warehouse'>
<field name='manufacture_to_resupply' eval='True'/>
</record>
</data>
</openerp>

View File

@ -1,7 +0,0 @@
-
Enable the manufacturing in warehouse0
-
!python {model: stock.warehouse}: |
main_warehouse = self.browse(cr, uid, ref('stock.warehouse0'), context=context)
self.write(cr, uid, main_warehouse.id, {'manufacture_to_resupply': True}, context=context)