mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
The configurations are now stored on abc profiles. Some demo data are loaded in order to show this module features more easily.
16 lines
449 B
Python
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",
|
|
)
|