diff options
| author | Humberto Arocha <hbto@vauxoo.com> | 2020-02-27 12:29:25 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-03-02 15:19:04 +0000 |
| commit | 39c4d122a21904cf6852419028204c0d8a2f587f (patch) | |
| tree | 7d8e7361e7b280325fcc780bea614b5174517f92 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 0e11d7383c262ffcd6ad45ddbfea6ddd8bf70e8f (diff) | |
[FIX] account: extract code into method to allow changing the date of the tax
Before this commit, when two lines belonging to a period that is already
closed a cash basis entry is created at the present date. There are
localizations that could not allow creating the cash basis entry in a
date other than the maximum between the Journal Items being reconciled.
Now, the localizations are able to override and chose the date without
having to override the whole 'create_tax_cash_basis_entry' method.
opw-2195016
closes odoo/odoo#46661
X-original-commit: 2d3ab28c22c8ad5f9ed379e6b49697822e01a002
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
