Files
enterprise-addons/stock_barcode_mrp/models/product_product.py
T

13 lines
322 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, api
class ProductProduct(models.Model):
_inherit = 'product.product'
@api.model
def _get_fields_stock_barcode(self):
return super()._get_fields_stock_barcode() + ['is_kits']