diff options
| author | wan <wan@odoo.com> | 2019-10-08 15:15:04 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2019-10-22 07:55:14 +0000 |
| commit | bd5c6d6ff00cfea0f9e0993db815dd2f7cf13e20 (patch) | |
| tree | 18d532dbc44b248cacb5ed56c8595c1dbb176812 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 045e0c0a26412d001a5f735225719d8d77887d9e (diff) | |
[IMP] account: avoid draft entries for closed fiscal years
Task 2076182
It makes no sense to allow creating draft entries for closed periods as it will never be allowed to post them! Directly warn the user seems smart.
At the same time, we should be able to duplicate entries from closed fiscal years without any errors. So, if we duplicate an entry from a closed period, we should replace the accounting date by the first "open" accounting date.
In order to keep the audit trails, we should keep the history in the chatter.
closes odoo/odoo#38699
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
