[IMP] add stock split menu
This commit is contained in:
1
stock_split_menu/__init__.py
Normal file
1
stock_split_menu/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
30
stock_split_menu/__openerp__.py
Normal file
30
stock_split_menu/__openerp__.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2017 Akretion (http://www.akretion.com).
|
||||
# @author Sébastien BEAU <sebastien.beau@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
"name": "Stock Split Menu",
|
||||
"summary": "Split the receive, internal move, ship menu",
|
||||
"version": "8.0.1.0.0",
|
||||
"category": "Warehouse",
|
||||
"website": "www.akretion.com",
|
||||
"author": " Akretion",
|
||||
"license": "AGPL-3",
|
||||
"application": False,
|
||||
"installable": True,
|
||||
"external_dependencies": {
|
||||
"python": [],
|
||||
"bin": [],
|
||||
},
|
||||
"depends": [
|
||||
"stock",
|
||||
],
|
||||
"data": [
|
||||
"view/stock_view.xml",
|
||||
],
|
||||
"demo": [
|
||||
],
|
||||
"qweb": [
|
||||
]
|
||||
}
|
||||
48
stock_split_menu/view/stock_view.xml
Normal file
48
stock_split_menu/view/stock_view.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="action_picking_out_tree" model="ir.actions.act_window">
|
||||
<field name="name">Livraisons</field>
|
||||
<field name="res_model">stock.picking</field>
|
||||
<field name="domain">[('picking_type_code', '=', 'outgoing')]</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_available': 1, 'search_default_waiting': 1}</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
action="action_picking_out_tree"
|
||||
id="menu_picking_out_tree"
|
||||
parent="stock.menu_stock_warehouse_mgmt"
|
||||
sequence="10"/>
|
||||
|
||||
<record id="action_picking_internal_tree" model="ir.actions.act_window">
|
||||
<field name="name">Mouvements internes</field>
|
||||
<field name="res_model">stock.picking</field>
|
||||
<field name="domain">[('picking_type_code', '=', 'internal')]</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_available': 1, 'search_default_waiting': 1}</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
action="action_picking_internal_tree"
|
||||
id="menu_picking_internal_tree"
|
||||
parent="stock.menu_stock_warehouse_mgmt"
|
||||
sequence="20"/>
|
||||
|
||||
<record id="action_picking_in_tree" model="ir.actions.act_window">
|
||||
<field name="name">Réceptions</field>
|
||||
<field name="res_model">stock.picking</field>
|
||||
<field name="domain">[('picking_type_code', '=', 'incoming')]</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_available': 1, 'search_default_waiting': 1}</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
action="action_picking_in_tree"
|
||||
id="menu_picking_in_tree"
|
||||
parent="stock.menu_stock_warehouse_mgmt"
|
||||
sequence="30"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user