Migration from 5.6 to 5.8

Must

  • [REPORT] objects usage from the evaluation context must be replaced by records.

:arrow_forward: Migration from 5.8 to 6.0

Is it possible to provide same examples?

Is this what you are looking for? https://codereview.tryton.org/309861012

1 Like

Thank you… yes, this what I am looking for.
So that, I am able to change for current code

Issue 9421: Enforce access on record in wizard - Tryton issue tracker is not a strictly required change as former code will still work and this is not what the migration point is about. It is about the Report template for which we cleaned the former objects and so only records is usable. This change has been made long time ago (around series 2.x) but we kept backward compatibility until now due to a refactoring.

1 Like

Sorry, me again with the most stupid question:
AFAIK, “[SQL]” means the strings should be pasted into a SQL prompt, psql e.g.

But what do these other short instructions mean, [REPORT] in this case? - Sorry, I couldnt find an explanation how to handle them, my fault most likely…

Cheers,
Wolf

[REPORT] is for the custom report templates that may need to be updated to keep working.

Thank you for your quick reply. So I’ll need to search through my custom reports templates (I’m using *.fodt) and - in this case - replace the string “objects” by the string “records” ? True?

Apart from [SQL] and [REPORT] - what else could occur?