mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
various fixes
This commit is contained in:
committed by
hveficent
parent
baf2c9867b
commit
40dee48ce2
@@ -5,7 +5,7 @@
|
||||
'name': 'Stock Request kanban',
|
||||
'version': '11.0.1.0.0',
|
||||
'category': 'Reporting',
|
||||
'website': 'https://github.com/eficent/cb-addons',
|
||||
'website': 'https://github.com/OCA/stock-logistics-warehouse',
|
||||
'author': 'Creu Blanca, Eficent, Odoo Community Association (OCA)',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Adds a stock request order, and takes stock requests as lines',
|
||||
@@ -20,6 +20,7 @@
|
||||
'wizard/wizard_stock_request_order_kanban_views.xml',
|
||||
'views/stock_request_order_views.xml',
|
||||
'views/stock_request_kanban_views.xml',
|
||||
'views/stock_request_menu.xml',
|
||||
'report/stock_request_kanban_templates.xml',
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 7.3 KiB |
@@ -61,8 +61,6 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="warehouse_id" widget="selection" groups="stock.group_stock_multi_locations"/>
|
||||
<field name="product_uom_id"
|
||||
options="{'no_open': True, 'no_create': True}" groups="product.group_uom"/>
|
||||
<field name="location_id" groups="stock.group_stock_multi_locations"/>
|
||||
<field name="route_id"
|
||||
options="{'no_create': True}" groups="stock.group_stock_multi_locations"/>
|
||||
@@ -72,7 +70,15 @@
|
||||
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
|
||||
</group>
|
||||
<group name="quantities">
|
||||
<field name="product_uom_qty"/>
|
||||
<label for="product_uom_qty"/>
|
||||
<div>
|
||||
<field name="product_uom_qty"
|
||||
class="oe_inline"/>
|
||||
<field name="product_uom_id"
|
||||
class="oe_inline"
|
||||
options="{'no_open': True, 'no_create': True}"
|
||||
groups="product.group_uom"/>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
@@ -112,7 +118,7 @@
|
||||
<li t-if="record.product_id.raw_value"><field name="product_id"/></li>
|
||||
<li t-if="record.warehouse_id.raw_value" groups="stock.group_stock_multi_locations"><field name="warehouse_id"/></li>
|
||||
<li t-if="record.location_id.raw_value" groups="stock.group_stock_multi_locations"><field name="location_id"/></li>
|
||||
<li t-if="record.product_qty"><field name="product_qty"/></li>
|
||||
<li t-if="record.product_qty"><field name="product_qty"/> <field name="product_uom_id"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -136,11 +142,4 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="stock_request_kanban_menu"
|
||||
name="Stock Requests Kanbans"
|
||||
parent="stock_request.menu_stock_request_root"
|
||||
action="stock_request_kanban_action"
|
||||
groups="stock_request.group_stock_request_manager"
|
||||
sequence="30"/>
|
||||
|
||||
</odoo>
|
||||
|
||||
16
stock_request_kanban/views/stock_request_menu.xml
Normal file
16
stock_request_kanban/views/stock_request_menu.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
<menuitem id="stock_request_kanban_menu"
|
||||
name="Kanban cards"
|
||||
parent="stock_request.menu_stock_request_master_data"
|
||||
action="stock_request_kanban_action"
|
||||
groups="stock_request.group_stock_request_manager"
|
||||
sequence="110"/>
|
||||
|
||||
<menuitem id="menu_wizard_stock_request_kanban"
|
||||
name="Request from Kanban cards"
|
||||
parent="stock_request.menu_stock_request_operations"
|
||||
action="wizard_stock_request_kanban_action"
|
||||
sequence="40"/>
|
||||
</odoo>
|
||||
@@ -47,10 +47,4 @@
|
||||
view_type="form"
|
||||
target="new"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_wizard_stock_request_kanban"
|
||||
action="wizard_stock_request_kanban_action"
|
||||
name="Order Kanban Card" parent="stock_request.menu_stock_request_root"
|
||||
sequence="20"/>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user