minor fix

This commit is contained in:
Camilo Sarmiento 2020-06-17 09:28:55 -05:00
parent b7eee259e8
commit 1829f3ba70
1 changed files with 1 additions and 2 deletions

View File

@ -807,7 +807,6 @@ class MoveProvisionBonusService(Wizard):
if concept.wage_type and concept.wage_type.salary_constitute:
if concept.wage_type.type_concept == 'transport':
base_ += concept.wage_type.compute_unit_price({'salary': 0}) * concept.wage_type.default_quantity
print(concept.wage_type.compute_unit_price({'salary': 0}) * concept.wage_type.default_quantity)
if concept.fix_amount:
base_ += concept.fix_amount
@ -826,7 +825,7 @@ class MoveProvisionBonusService(Wizard):
'debit': 0,
'credit': provision_amount,
'party': employee.party.id,
'account': provision_wage.debit_account.id
'account': provision_wage.credit_account.id
}
])
move, = Move.create([{