mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[11.0] stock_demand_estimate: add simple pivot view
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
=====================
|
||||
@@ -57,6 +57,7 @@ Contributors
|
||||
------------
|
||||
|
||||
* Jordi Ballester Alomar <jordi.ballester@eficent.com>
|
||||
* Lois Rilo <lois.rilo@eficent.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
"name": "Stock Demand Estimate",
|
||||
"summary": "Allows to create demand estimates.",
|
||||
"version": "11.0.1.1.0",
|
||||
"version": "11.0.1.2.0",
|
||||
"author": "Eficent, "
|
||||
"Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||
|
||||
@@ -18,6 +18,18 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_stock_demand_estimate_pivot" model="ir.ui.view">
|
||||
<field name="name">stock.demand.estimate.pivot</field>
|
||||
<field name="model">stock.demand.estimate</field>
|
||||
<field name="arch" type="xml">
|
||||
<pivot string="Stock Demand Estimate">
|
||||
<field name="product_qty" type="measure"/>
|
||||
<field name="product_id" type="row"/>
|
||||
<field name="date_range_id" type="col"/>
|
||||
</pivot>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_stock_demand_estimate_search"
|
||||
model="ir.ui.view">
|
||||
<field name="name">stock.demand.estimate.search</field>
|
||||
@@ -37,7 +49,7 @@
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">stock.demand.estimate</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">tree,pivot</field>
|
||||
<field name="search_view_id"
|
||||
ref="view_stock_demand_estimate_search"/>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user