[FIX] Include tax amounts from all move types

This commit is contained in:
Stefan Rijnhart
2017-03-16 21:45:02 +01:00
committed by Borruso
parent d3fcbb4455
commit 48fb957fc5
3 changed files with 34 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ class AccountTax(models.Model):
if move_type == 'refund':
return ['receivable_refund', 'payable_refund']
elif move_type == 'regular':
return ['receivable', 'payable']
return ['receivable', 'payable', 'liquidity', 'other']
return []
def get_target_state_list(self, target_move="posted"):