跳至內容
選單
此問題已被標幟
9 回覆
17650 瀏覽次數

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
5062
0
6月 17
3166
2
11月 23
4564
0
11月 23
1917
1
9月 22
5228