mirror of
https://gitlab.com/datalifeit/trytond-production_cost_manage
synced 2023-12-14 05:22:55 +01:00
247:
1. Revisión y cambio de reglas de distribución de coste. 2. Creación de columna stored_at para nursery.production 3. Refactorizaciones de de código diversas
This commit is contained in:
parent
63d0810cbe
commit
930dfd920e
2 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
# 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 trytond.pool import PoolMeta
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
# 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 trytond.model import fields
|
||||
from trytond.pool import PoolMeta
|
||||
from trytond.modules.cost_manage import ComposeCostSource, CostCenter
|
||||
|
@ -36,5 +37,5 @@ class Production(ComposeCostSource, CostCenter):
|
|||
super(Production, cls).done(productions)
|
||||
cls.cost_compute(productions)
|
||||
|
||||
def get_factor(self, field=None):
|
||||
def on_change_with_factor(self, field=None):
|
||||
return None
|
Loading…
Reference in a new issue