dodoas / lodo

Lodo Regnskap
MIT License
3 stars 0 forks source link

VAT percent in invalid date chooses 0 as account #500

Open mladjo2505 opened 7 years ago

mladjo2505 commented 7 years ago

When we have an invalid date on a journal and a line in it has a VAT percent we can't determine which account the VAT line should go to since an invalid date doesn't fit into any range, and therefore we can't determine what account to choose from VAT accounts list. Then it chooses 0 ac account and a side-effect of that is that the line with account selected as 0 does not appear in diary(dagbok) view for that journal.