新增库存模块的位置,外协出库,外协入库模板
This commit is contained in:
@@ -10,8 +10,9 @@
|
|||||||
""",
|
""",
|
||||||
'category': 'sf',
|
'category': 'sf',
|
||||||
'website': 'https://www.sf.jikimo.com',
|
'website': 'https://www.sf.jikimo.com',
|
||||||
'depends': ['mrp', 'sf_base', 'maintenance', 'web_widget_model_viewer'],
|
'depends': ['mrp', 'sf_base', 'maintenance', 'web_widget_model_viewer', 'stock'],
|
||||||
'data': [
|
'data': [
|
||||||
|
'data/stock_data.xml',
|
||||||
'security/group_security.xml',
|
'security/group_security.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
'report/tray_report.xml',
|
'report/tray_report.xml',
|
||||||
|
|||||||
35
sf_manufacturing/data/stock_data.xml
Normal file
35
sf_manufacturing/data/stock_data.xml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data noupdate="1">
|
||||||
|
<record id="stock_location_locations_virtual_outcontract" model="stock.location">
|
||||||
|
<field name="name">外协</field>
|
||||||
|
<field name="location_id" ref="stock.stock_location_locations_virtual"/>
|
||||||
|
<field name="usage">internal</field>
|
||||||
|
<field name="barcode">VL-OC</field>
|
||||||
|
<field name="active">true</field>
|
||||||
|
<field name="company_id" ref="base.main_company"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="outcontract_picking_in" model="stock.picking.type">
|
||||||
|
<field name="name">外协入库</field>
|
||||||
|
<field name="code">internal</field>
|
||||||
|
<field name="active">true</field>
|
||||||
|
<field name="company_id" ref="base.main_company"/>
|
||||||
|
<field name="sequence_code">OCIN</field>
|
||||||
|
<field name="default_location_src_id" ref="stock_location_locations_virtual_outcontract"/>
|
||||||
|
<field name="default_location_dest_id"
|
||||||
|
search="[('barcode','=','WH-PREPRODUCTION')]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="outcontract_picking_out" model="stock.picking.type">
|
||||||
|
<field name="name">外协出库</field>
|
||||||
|
<field name="code">internal</field>
|
||||||
|
<field name="active">true</field>
|
||||||
|
<field name="company_id" ref="base.main_company"/>
|
||||||
|
<field name="sequence_code">OCOUT</field>
|
||||||
|
<field name="default_location_src_id"
|
||||||
|
search="[('barcode','=','WH-PREPRODUCTION')]"/>
|
||||||
|
<field name="default_location_dest_id" ref="stock_location_locations_virtual_outcontract"/>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user