Criptomart/red-supermercados-coop#6 add stock_valuation_layer_category_groupby
This commit is contained in:
parent
18f98defeb
commit
19af717773
8 changed files with 167 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
from . import stock_valuation_layer
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright 2025 Criptomart
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class StockValuationLayer(models.Model):
|
||||
_inherit = "stock.valuation.layer"
|
||||
|
||||
# Make categ_id stored to allow grouping in reports
|
||||
categ_id = fields.Many2one(store=True, index=True)
|
||||
Loading…
Add table
Add a link
Reference in a new issue