mirror of
https://github.com/bringout/oca-workflow-process.git
synced 2026-04-22 02:52:05 +02:00
16 lines
489 B
Python
16 lines
489 B
Python
# Copyright (C) 2022 Akretion (<http://www.akretion.com>).
|
|
# @author David BEAL <david.beal@akretion.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import api, models
|
|
|
|
|
|
class StockRule(models.Model):
|
|
_inherit = "stock.rule"
|
|
|
|
@api.model
|
|
def _get_procurements_to_merge_groupby(self, procurement):
|
|
return (
|
|
procurement.values.get("move_dest_ids"),
|
|
super()._get_procurements_to_merge_groupby(procurement),
|
|
)
|