Calculate the Opening Balance for Opening Entries in Account Voucher
Currently account_voucher allows loading the opening balance for an account whenever there are no move_lines of aml.journal.
This always will be true only if within these condition:
count(aml.
count(aml.
But with these conditions everything is a different story:
count(aml.
count(aml.
At the end of the day with the current module account_voucher, the Opening Balance Value is only gotten from manual input and there is no way to get that a value from the entry lines of journal.type = 'situation'
__________________
The Solution to this issue has two approaches that we are addressing:
*First, Manually Updating the Opening Balance Value in the account by doing the math of the entries and taking into account the user type of the account, deferral method (write a new module enhancing the method of the account_voucher)
we would like to allow making changes to the Opening Balance Value no matter if count(aml.
If the deferral method of the account being updated is:
1) deferral method = none: rise_excepction "It is not allowed to load Opening Balance to an account whose deferral method is none"
this is related to this bug https:/
2) deferral method = unreconciled or detail
a.- count(aml.
b.- count(aml.
3) deferral method = balance
a.- count(aml.
b.- count(aml.
c.- count(aml.
Though I think that 3b and 3c should be one where count(aml.
*Updating through a Wizard the Opening Balance in the account based on the entries lines written in the journal(s) of type situation for that account (write a new module)
This wizard will allow an account or the account being selected to be updated the Opening Balance Value based on the lines written on the move(s) of journal(s) of type='situation'
This way getting reconciled the reported Opening Balance shown in the view of the account and the actual Opening Balance resulting from the sum of the situation entries.
Regards.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- hbto [Vauxoo] http://www.vauxoo.com
- Direction:
- Needs approval
- Assignee:
- Nhomar - Vauxoo
- Definition:
- Pending Approval
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Nhomar - Vauxoo
- Completed by
- Nhomar - Vauxoo