update 7.6
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from decimal import Decimal
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.model import fields
|
||||
# from decimal import Decimal
|
||||
from trytond.pool import PoolMeta
|
||||
# from trytond.model import fields
|
||||
|
||||
|
||||
BOM_CHANGES = ['bom', 'product', 'quantity', 'uom', 'warehouse', 'location',
|
||||
@@ -13,6 +13,7 @@ class Production(metaclass=PoolMeta):
|
||||
"Production"
|
||||
__name__ = 'production'
|
||||
|
||||
"""
|
||||
@fields.depends(
|
||||
'bom', 'product', 'uom', 'quantity', 'company', 'inputs', 'outputs',
|
||||
methods=['_explode_move_values'])
|
||||
@@ -55,3 +56,4 @@ class Production(metaclass=PoolMeta):
|
||||
move.unit_price = Decimal(0)
|
||||
outputs.append(move)
|
||||
self.outputs = outputs
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user