Tryton - Issues

 

Issue3901

Title Remove _parent_ hack
Priority feature Status chatting
Superseder Nosy List ced, pokoli
Type behavior Components
Assigned To Keywords
Reviews

Created on 2014-05-09.10:12:35 by ced, last changed by ced.

Messages
msg52304 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-10-06.15:55:48
I re-open it because I think it will still be a good improvement to simplify the usage for developer (see issue8712).
msg40785 is still valid but we should try to find a solution.
msg40785 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-05-19.20:01:50
I do not think it is possible to remove this because we need a way to distinct if the Many2One should be evaluated as a simple id or as a record that has fields.
So I invalidate this issue.
msg18343 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2014-09-25.11:22:50
Indeed it doesn't fully work if _parent is used for a domain or a states.
Because on_change/on_change_with are not triggered on children if a field on the parent is changed. But implementing it could be too much expensif.
msg16760 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2014-05-09.10:12:33
With issue3819, it should be possible to remove the _parent_ hack inside the One2Many evaluation.
History
Date User Action Args
2019-10-11 11:49:18cedsetassignedto: ced ->
2019-10-06 15:55:48cedsetstatus: invalid -> chatting
messages: + msg52304
2018-05-19 20:01:50cedsetstatus: chatting -> invalid
messages: + msg40785
2014-09-25 11:22:51cedsetstatus: unread -> chatting
messages: + msg18343
2014-05-22 10:11:23pokolisetnosy: + pokoli
2014-05-09 10:12:35cedcreate

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