fix: Test cases
This commit is contained in:
parent
3b15966cc9
commit
ae3dce0cbd
@ -1174,7 +1174,7 @@ class AccountsController(TransactionBase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(enable_discount_accounting or self.is_cash_or_non_trade_discount)
|
(enable_discount_accounting or self.get("is_cash_or_non_trade_discount"))
|
||||||
and self.get("additional_discount_account")
|
and self.get("additional_discount_account")
|
||||||
and self.get("discount_amount")
|
and self.get("discount_amount")
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user