mirror of
https://bitbucket.org/presik/trytonpsk-production_accounting.git
synced 2023-12-14 05:22:54 +01:00
Fix
This commit is contained in:
parent
e44a22fc9b
commit
81d81ffb25
1 changed files with 2 additions and 3 deletions
|
@ -237,8 +237,8 @@ class Production(metaclass=PoolMeta):
|
|||
)
|
||||
total_labour = sum(values['total_labour'])
|
||||
total_imc = sum(values['total_imc'])
|
||||
to_update['material_costs'] = rec.cost
|
||||
to_update['labour_costs'] = round_dec(total_labour)
|
||||
to_update['material_costs'] = material_costs(rec.cost)
|
||||
to_update['labour_costs'] = material_costs(total_labour)
|
||||
to_update['imc_costs'] = round_dec(total_imc)
|
||||
to_update['total_cost'] = round_dec(total_imc + total_labour + rec.cost)
|
||||
|
||||
|
@ -307,7 +307,6 @@ class Production(metaclass=PoolMeta):
|
|||
analytic_line['account'] = account
|
||||
analytic_line['date'] = date
|
||||
lines.append(analytic_line)
|
||||
print('.......', lines)
|
||||
line['analytic_lines'] = [('create', lines)]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue