mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
opt product expired
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
{
|
||||
'name': "Stock Superbar ztree, parent children tree",
|
||||
'version': '12.19.05.28',
|
||||
'version': '12.19.06.03',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.sunpop.cn',
|
||||
@@ -46,6 +46,7 @@
|
||||
'views/stock_warehouse_orderpoint_views.xml',
|
||||
'views/stock_rule_views.xml',
|
||||
'views/stock_location_route_views.xml',
|
||||
'views/stock_production_lot_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
|
||||
21
app_stock_superbar/views/stock_production_lot_views.xml
Normal file
21
app_stock_superbar/views/stock_production_lot_views.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<!--批次-->
|
||||
<record id="search_product_lot_filter_superbar" model="ir.ui.view">
|
||||
<field name="name">Production Lots Filter superbar</field>
|
||||
<field name="model">stock.production.lot</field>
|
||||
<field name="inherit_id" ref="stock.search_product_lot_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//search">
|
||||
<superbar view_mode="tree">
|
||||
<field name="product_id" domain="[('tracking', 'in', ('serial', 'lot'))]"/>
|
||||
</superbar>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="stock.action_production_lot_form" model="ir.actions.act_window">
|
||||
<field name="context"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user