minor fix
This commit is contained in:
parent
b7eee259e8
commit
1829f3ba70
|
@ -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([{
|
||||
|
|
Loading…
Reference in New Issue