balance calculation based on date order then id order
Merge branch 'master' of https://github.com/odoo/odoo