Criptomart/red-supermercados-coop#2 stock_inventory_category_concurrency: store product_category_id in stock.quants. Add search and group_by categories
This commit is contained in:
parent
54e7755197
commit
91641c7c88
5 changed files with 64 additions and 8 deletions
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="stock_quant_search_category_filter" model="ir.ui.view">
|
||||
<field name="name">stock.quant.search.category.filter</field>
|
||||
<field name="model">stock.quant</field>
|
||||
<field name="inherit_id" ref="stock.quant_search_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//search/group[filter[@name='productgroup']]" position="inside">
|
||||
<filter name="product_categ_group" string="Product Category" context="{'group_by':'product_categ_id'}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue