Issue 8197

Error when Close Journal - Periods
Remove company record rules (issue 4080)
Nosy list
ced, iehoshia
Assigned to

Created on 2019-03-14.00:00:49 by iehoshia, last changed 42 months ago by ced.


Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-04-13.23:43:26
Indeed there is no record rule for account.journal.period but we will not add them as the plan is to remove record rule see issue4080.
Users who want to work with multi-company has to setup themselves rules or help fixing issue4080.
Author: [hidden] (iehoshia)
Date: 2019-03-14.00:00:48

I receive these message when I try to open Close Journal - Periods. 
You try to read records that don't exist anymore.
(Document type: account.period)

To reproduce it follow these steps in 

1. The default company is Michael Scott Paper Company
2. If you open "Close Journal - Periods" all its fine. 
3. Change user company to Dunder Mifflin inc company and change and login again. 
4. Open "Close Journal - Periods", you will receive the message. 

I think that is caused by the ir.rule of account.period and account.journal.period has no company field to filter each one. I will thenk how can I see correctly the "Close Journal - Periods".
Date User Action Args
2019-04-13 23:43:27cedsetstatus: unread -> closed
messages: + msg48997
superseder: + Remove company record rules
nosy: + ced
2019-03-14 00:00:49iehoshiacreate

Showing 10 items. Show all history (warning: this could be VERY long)