Tryton - Issues

 

Issue8197

Title Error when Close Journal - Periods
Priority bug Status unread
Superseder Nosy List iehoshia
Type crash Components account
Assigned To Keywords
Reviews

Created on 2019-03-14.00:00:49 by iehoshia, last changed by iehoshia.

Messages
msg47583 (view) Author: [hidden] (iehoshia) Date: 2019-03-14.00:00:48
Hi, 

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 http://demo5.0.tryton.org: 

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".
History
Date User Action Args
2019-03-14 00:00:49iehoshiacreate

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