-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] stock_release_channel_process_end_time: Rename configuration pa…
…rameter
- Loading branch information
1 parent
da2138b
commit 049175d
Showing
4 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
21 changes: 11 additions & 10 deletions
21
stock_release_channel_process_end_time/models/res_config_settings.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
# Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
# Copyright 2023 Trobz | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import api, fields, models, SUPERUSER_ID, _ | ||
from odoo.exceptions import UserError | ||
from odoo import fields, models | ||
|
||
|
||
class ResConfigSettings(models.TransientModel): | ||
_inherit = 'res.config.settings' | ||
|
||
update_scheduled_date = fields.Boolean( | ||
help="Will update scheduled date of picking based on process end date(time).", | ||
config_parameter='stock_release_channel_process_end_time.update_scheduled_date' | ||
) | ||
_inherit = "res.config.settings" | ||
|
||
stock_release_use_channel_end_date = fields.Boolean( | ||
help="Will update scheduled date of picking based on process end date " | ||
"instead of release date + delay.", | ||
config_parameter="stock_release_channel_process_end_time." | ||
"stock_release_use_channel_end_date", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters