Issue 8402

Title
Improve design of title and description handling on ir.model and ir.model.field
Priority
feature
Status
in-progress
Nosy list
ced, reviewbot, timitos, udono
Assigned to
udono
Keywords
review

Created on 2019-06-05.15:53:55 by timitos, last changed 1 week ago by udono.

Messages

Author: [hidden] (udono) Tryton translator
Date: 2022-11-25.13:51:03

I just uploaded a patch for trytond. Until everything is clear there i will start to work on the modules.
I updated the patch.

Author: [hidden] (timitos) Tryton translator
Date: 2019-06-05.18:38:20
I just uploaded a patch for trytond. Until everything is clear there i will start to work on the modules.
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-06-05.16:57:17
I do not think ir.model.field should be changed , we already have the label and the help.
Author: [hidden] (timitos) Tryton translator
Date: 2019-06-05.16:25:32
After talking with Cedric we decided to change the design.

The new design will look like the following:

Model ir.model:
 * New variable __title__ for the model title (currently the first line of the docstring)
 * New variable __description__ for the model description (currently the docstring)

Model ir.model.field:
 * New variable __title__ for the field title (currently the first line of the docstring)
 * New variable __description __ for the field description (currently the docstring)
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-06-05.16:07:51
I'm not sure we should continue with this design. The fact that trytond relies on docstring is a problem to run it with -O2. Also the docstring are not extendable by modules. So for me, the data to fill ir.model should be rethought.
Author: [hidden] (timitos) Tryton translator
Date: 2019-06-05.15:53:54
The content of this field could be used when creating meta data for exports. So it would be great if the information can be provided in different languages.
History
Date User Action Args
2022-11-25 13:51:03udonosetassignedto: timitos -> udono
messages: + msg80213
nosy: + udono
2022-11-16 16:59:14reviewbotsetmessages: + msg80085
2022-11-16 15:50:19reviewbotsetmessages: + msg80081
2022-11-16 13:51:39reviewbotsetmessages: + msg80079
2019-06-17 22:07:57cedsetreviews: 249441003,249431005 -> 249431005
2019-06-05 18:53:48reviewbotsetmessages: + msg50099
2019-06-05 18:38:20timitossetreviews: 249441003 -> 249441003,249431005
messages: + msg50092
2019-06-05 16:57:17cedsetmessages: + msg50076
2019-06-05 16:25:33timitossetmessages: + msg50068
title: Make field info of model ir.model translatable -> Improve design of title and description handling on ir.model and ir.model.field
2019-06-05 16:13:22reviewbotsetnosy: + reviewbot
messages: + msg50063

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