mejora el stock picking batch de odoo desde OCA/stock_logistics_workflow

This commit is contained in:
santiky 2022-04-22 18:42:08 +02:00
parent 8a755662d7
commit 448f889f12
Signed by: snt
GPG key ID: A9FD34930EADBE71
41 changed files with 6541 additions and 0 deletions

View 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()