-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 719904 - Decide payment type only based on the account type involved
This commit improves payment type deduction by first checking whether an AR or AP account is found in the transaction. If not, fall back to previous heuristic of positive action means customer payment, negative action means vendor action. The logic can still go wrong (no means to declare an employee payment, and credit notes are interpreted as opposite sign payments). Needs a follow up to fix that.
- Loading branch information
Showing
2 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters