mejora el stock picking batch de odoo desde OCA/stock_logistics_workflow
This commit is contained in:
parent
8a755662d7
commit
448f889f12
41 changed files with 6541 additions and 0 deletions
20
stock_picking_batch_extended/models/res_config_settings.py
Normal file
20
stock_picking_batch_extended/models/res_config_settings.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright 2019 Camptocamp - Iryna Vyshnevska
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
use_oca_batch_validation = fields.Boolean(
|
||||
string='Use OCA approach to validate Picking Batch',
|
||||
related="company_id.use_oca_batch_validation",
|
||||
readonly=False,
|
||||
)
|
||||
|
||||
|
||||
class Company(models.Model):
|
||||
_inherit = "res.company"
|
||||
|
||||
use_oca_batch_validation = fields.Boolean()
|
||||
Loading…
Add table
Add a link
Reference in a new issue