mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-21 08:52:01 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
15
odoo-bringout-oca-ddmrp-ddmrp/ddmrp/wizards/ddmrp_run.py
Normal file
15
odoo-bringout-oca-ddmrp-ddmrp/ddmrp/wizards/ddmrp_run.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright 2018-20 ForgeFlow S.L. (http://www.forgeflow.com)
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class DdmrpRun(models.TransientModel):
|
||||
_name = "ddmrp.run"
|
||||
_description = "DDMRP Manual Run Wizard"
|
||||
|
||||
def run_cron_ddmrp_adu(self):
|
||||
self.env["stock.buffer"].cron_ddmrp_adu(True)
|
||||
|
||||
def run_cron_ddmrp(self):
|
||||
self.env["stock.buffer"].cron_ddmrp(True)
|
||||
Loading…
Add table
Add a link
Reference in a new issue