Skip to content

Commit b5ca75c

Browse files
committed
[ADD] eyewear_shop: enabled some essential settings
1 parent 2eee51c commit b5ca75c

File tree

4 files changed

+51
-0
lines changed

4 files changed

+51
-0
lines changed

eyewear_shop/__manifest__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
'demo/sale_order_line.xml',
6969
'demo/sale_order_confirm.xml',
7070
'demo/stock_warehouse_orderpoint.xml',
71+
'demo/stock_location.xml',
72+
'demo/stock_warehouse.xml',
7173
'demo/website_ir_attachment.xml',
7274
'demo/website_view.xml',
7375
'demo/website_theme_apply.xml',

eyewear_shop/data/res_config_settings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<odoo noupdate="1">
33
<record id="res_config_settings_lot" model="res.config.settings">
44
<field name="group_stock_production_lot" eval="1"/>
5+
<field name="group_product_variant" eval="1"/>
6+
<field name="group_stock_multi_locations" eval="1"/>
57
</record>
68
<function name="execute" model="res.config.settings" eval="[ref('res_config_settings_lot')]"/>
79
</odoo>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo>
3+
<record id="stock.stock_location_locations" model="stock.location" forcecreate="1">
4+
<field name="name">Physical Locations</field>
5+
<field name="usage">view</field>
6+
<field name="company_id" eval="False"/>
7+
</record>
8+
<record id="stock_location_7" model="stock.location">
9+
<field name="name">NY</field>
10+
<field name="location_id" ref="stock.stock_location_locations"/>
11+
<field name="usage">view</field>
12+
<field name="warehouse_id" ref="stock.warehouse0"/>
13+
</record>
14+
<record id="stock_location_17" model="stock.location">
15+
<field name="name">Texas</field>
16+
<field name="location_id" ref="stock.stock_location_locations"/>
17+
<field name="usage">view</field>
18+
</record>
19+
<record id="stock_location_18" model="stock.location">
20+
<field name="name">Stock</field>
21+
<field name="location_id" ref="stock_location_17"/>
22+
<field name="complete_name">Texas/Stock</field>
23+
<field name="replenish_location" eval="True"/>
24+
<field name="barcode">TEXASSTOCK</field>
25+
</record>
26+
</odoo>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo>
3+
<record id="stock.warehouse0" model="stock.warehouse" forcecreate="1">
4+
<field name="name">ViSiO - New York</field>
5+
<field name="view_location_id" ref="stock_location_7"/>
6+
<field name="lot_stock_id" ref="stock.stock_location_stock"/>
7+
<field name="code">NY</field>
8+
<field name="wh_input_stock_loc_id" ref="stock.stock_location_company"/>
9+
<field name="wh_output_stock_loc_id" ref="stock.stock_location_output"/>
10+
<field name="wh_pack_stock_loc_id" ref="stock.location_pack_zone"/>
11+
<field name="out_type_id" ref="stock.picking_type_out"/>
12+
<field name="in_type_id" ref="stock.picking_type_in"/>
13+
<field name="int_type_id" ref="stock.picking_type_internal"/>
14+
</record>
15+
<record id="stock_warehouse_2" model="stock.warehouse">
16+
<field name="name">Visio - Texas</field>
17+
<field name="view_location_id" ref="stock_location_17"/>
18+
<field name="lot_stock_id" ref="stock_location_18"/>
19+
<field name="code">Texas</field>
20+
</record>
21+
</odoo>

0 commit comments

Comments
 (0)