update 7.6

This commit is contained in:
2025-06-06 23:32:40 -03:00
parent e81f8f44d3
commit b51c12eeb9
5 changed files with 11 additions and 480 deletions

View File

@@ -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
"""