11 lines
424 B
Python
11 lines
424 B
Python
from odoo import models, fields
|
|
|
|
class ProductTemplate(models.Model):
|
|
_inherit = 'product.template'
|
|
|
|
is_manual_processing = fields.Boolean(string='人工线下加工')
|
|
is_customer_provided = fields.Boolean(string='客供料')
|
|
|
|
def product_create(self, product_id, item, order_id, order_number, i):
|
|
product_id = super(ProductTemplate, self).product_create(product_id, item, order_id, order_number, i)
|