Files
stock-logistics-reporting/stock_average_daily_sale/models/abc_classification_profile.py
Denis Roussel bc6e262a84 [IMP] stock_average_daily_sale: Store the configurations on profile level + add demo
The configurations are now stored on abc profiles.

Some demo data are loaded in order to show this module features more easily.
2024-09-24 15:16:48 +02:00

16 lines
449 B
Python

# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class AbcClassificationProfile(models.Model):
_inherit = "abc.classification.profile"
stock_average_daily_sale_config_ids = fields.One2many(
comodel_name="stock.average.daily.sale.config",
inverse_name="abc_classification_profile_id",
string="Average Daily Sale Configurations",
)