跳至内容
菜单
此问题已终结

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

形象
丢弃
编写者 最佳答案

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...


形象
丢弃

The feature is moved to the enterprise edition

编写者

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

编写者

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 ?

最佳答案


形象
丢弃

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

最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
1
3月 18
5055
0
6月 17
3138
2
11月 23
4521
0
11月 23
1894
1
9月 22
5183