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:
Nicolás López 2015-01-27 12:56:33 +01:00
parent 63d0810cbe
commit 930dfd920e
2 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,5 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of # 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 repository contains the full copyright notices and license terms.
from trytond.pool import PoolMeta from trytond.pool import PoolMeta

View file

@ -1,5 +1,6 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of # 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 repository contains the full copyright notices and license terms.
from trytond.model import fields from trytond.model import fields
from trytond.pool import PoolMeta from trytond.pool import PoolMeta
from trytond.modules.cost_manage import ComposeCostSource, CostCenter from trytond.modules.cost_manage import ComposeCostSource, CostCenter
@ -36,5 +37,5 @@ class Production(ComposeCostSource, CostCenter):
super(Production, cls).done(productions) super(Production, cls).done(productions)
cls.cost_compute(productions) cls.cost_compute(productions)
def get_factor(self, field=None): def on_change_with_factor(self, field=None):
return None return None