create a child company with a parent company. Create or import a bank statement for the child company with more than one transaction. As a non-admin user, confirm the bank statement. This will trigger an access error on the company model.
Analysis: due to server bug lp:1238042, we can't always use browse record's refresh() as later on, this may trigger a read on inaccessible ids.
How to reproduce:
create a child company with a parent company. Create or import a bank statement for the child company with more than one transaction. As a non-admin user, confirm the bank statement. This will trigger an access error on the company model.
Analysis: due to server bug lp:1238042, we can't always use browse record's refresh() as later on, this may trigger a read on inaccessible ids.