Hello,
We can set description text with reStructuredText format in the manifest field 'description'. And now, I want to save the description text in a single rst file and read the text from it as the value for field 'description'.
So, I modified the code in '__manifest__.py' as below:
# -*- coding: utf-8 -*-
{
...
...
'description': open('text.rst').read(),
...
}
However, after restart the odoo server, a 'ValueError: malformed string' error have raised.
Are there anyone can advise me why this issue take place? How to fix the code in '__manifest__.py'?
Thanks.