mirror of
https://github.com/bringout/ventor.git
synced 2026-04-22 07:52:08 +02:00
Initial commit: Ventor Odoo packages (4 packages)
This commit is contained in:
commit
1f20ad87e6
190 changed files with 10375 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright 2020 VentorTech OU
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0).
|
||||
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class StockConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
outgoing_routing_strategy = fields.Selection(
|
||||
string='Picking Strategy',
|
||||
related='company_id.outgoing_routing_strategy',
|
||||
readonly=False)
|
||||
|
||||
outgoing_routing_order = fields.Selection(
|
||||
string='Picking Order',
|
||||
related='company_id.outgoing_routing_order',
|
||||
readonly=False)
|
||||
|
||||
stock_reservation_strategy = fields.Selection(
|
||||
string='Reservation Strategy',
|
||||
related='company_id.stock_reservation_strategy',
|
||||
readonly=False)
|
||||
Loading…
Add table
Add a link
Reference in a new issue