This question has been flagged

Hello,

Why those fields: period_lock_date and fiscalyear_lock_date are removed from views? The fields still in res_company and there is some code to handle this, but no views containts those field... In accounting settings, there is a title for section "Fiscal Periods", but this section is empty...

Thanks

Avatar
Discard
Author Best Answer

I am under Community version and there is no action "Lock Dates". Under Settings, I can see "Fiscal Periods", but nothing under this section. On Odoo 10, the dates was there...


Avatar
Discard

The feature is moved to the enterprise edition

Author

Is it possible to close a fiscal year under Odoo 11 Community edition?

Author

I saw python code using these fields, but nothing in views...If the feature is moved to the Enterprise edition, I think they would have removed the python code...?!? Maybe it's a mistake?

accounting -> settings ?

Best Answer


Avatar
Discard

Seems that the date can be changed too easily; set it to 01/01/19 for example and then you can change it to 12/31/18

Best Answer

Hi there, indeed the fields are present but not added in configuration of Accounting, i made a PR, https://github.com/odoo/odoo/pull/22696/files and Odoo rejected it, but you can still update them from company model, you export them and import it back with the dates that you want, and you benefit from the lock dates constrain. I made also a Pr on OCB (https://github.com/OCA/OCB/pull/699),  probably this one will be accepted.

Avatar
Discard