Files
odoo_source/addons
Cedric Snauwaert 0d6332fdbb [IMP] account: statement automatically set starting and ending balance
To prevent having holes between statements and for better usability using import and synchronization
we try to automatically set the starting and ending balance based on the previous existing
statement.
To do that, we added a new field previous_statement_id so that whenever we change the ending_balance
of the previous statement, we recompute the starting balance and ending balance of the current statement.

Also creating a new statement in between 2 others statements will automatically set the correct value
to the starting and ending balance of that statement and all the statements afterwards.

Exception: creating a statement by hand won't automatically set the balance_end_real, however if you
create one between 2 statements, the balance_end_real of next statements will be recomputed

Was Task #1880409

closes odoo/odoo#38696

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-11-04 08:50:50 +00:00
..
2019-10-03 12:48:09 +00:00
2019-10-03 12:48:09 +00:00
2019-10-23 13:06:29 +00:00
2019-09-13 07:50:25 +00:00
2019-10-07 13:13:44 +00:00
2019-10-01 15:23:44 +00:00
2019-10-28 10:36:56 +00:00
2019-10-15 08:49:24 +00:00
2019-10-22 16:36:37 +00:00