mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-22 05:51:59 +02:00
barcodes => oca-ocb-warehouse
This commit is contained in:
parent
2526f41c76
commit
88b19d74eb
178 changed files with 0 additions and 48002 deletions
|
|
@ -1,16 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class ResCompany(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
def _get_default_nomenclature(self):
|
||||
return self.env.ref('barcodes.default_barcode_nomenclature', raise_if_not_found=False)
|
||||
|
||||
nomenclature_id = fields.Many2one(
|
||||
'barcode.nomenclature',
|
||||
string="Nomenclature",
|
||||
default=_get_default_nomenclature,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue