Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[IMP] account: allow Off-Balance Sheet play nice with other accounts #408

Open hbto opened 3 years ago

hbto commented 3 years ago
[IMP] account: allow Off-Balance Sheet play nice with other accounts

Explanation
-

Now
=

This Journal Entry is not allowed. Thought both Off-Balance and
Balance Sheet accounts are balanced among themselves.

    Balance Account 1 (dr)             1000
        Balance Account 2 (cr)                      1000
    Off-Balance Account X (dr)          700
        Off-Balance Account Y (cr)                   700

Following Constraint will be kept in place when they are not balance
among themselves

    Balance Account 1 (dr)             1000
        Off-Balance Account Y (cr)                   700
hbto commented 3 years ago

Because of comment https://github.com/odoo/odoo/pull/68566#discussion_r604663653

like @jco-odoo said, this is not the same behavior as before because you are not taking into account the grouping by account.move

I have been overseeing the Journal Entries thus I have reverted to use the full cycle on self, and keeping in mind what Journal Entries have been checked.

Regarding the issue with the wording I have sinned and I have make it more as an example than a simple sentence.

Regards.