Tryton - Issues



Title Many2One widget not correctly displayed when used from children records
Priority bug Status closed
Superseder write_off of reconciliation wizard not displayed
View: 6568
Nosy List ced, pokoli, reviewbot
Type behavior Components sao
Assigned To Keywords review
Reviews 32331002, 21241004
View: 32331002, 21241004

Created on 2016-07-20.14:17:07 by pokoli, last changed by ced.

msg35536 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-09-05.14:14:58
El 05/09/17 a les 13:26, Cédric Krier ha escrit:
> I'm wondering if issue6568 is not fixing it because I got a similar issue of nested one2many and it fixed it.

Yes, it solved the problem. 

msg35534 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-09-05.13:26:41
I'm wondering if issue6568 is not fixing it because I got a similar issue of nested one2many and it fixed it.
msg30520 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-11-30.11:09:51
El 30/11/16 a les 10:58, Cédric Krier ha escrit:
> But how?

I have the tree levels structure (the one from msg28185) on my database and when I open the task in the third level and I modify some many2one field its display values are not updated. 

For opening the task in the third level I mean: Open the child records for both levels and double click on the third level in order to switch to the form view.
msg30518 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-11-30.10:58:10
But how?
msg30516 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-11-30.10:39:08
I reopen it because I can reproduce it on latest version
msg30385 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-11-22.11:04:43
I tested and I can not reproduced it also. So I'm marking the issue as resolved
msg30384 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-11-22.10:31:39
I think this has been fixed by r b793695cb437 as I can not reproduce it.
review21241004 updated at
msg28195 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-08-30.10:17:03
I updated review21241004 with a new change that forces the screen display when setting Many2One values and solved the issue.
msg28185 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-08-29.14:12:26
Indeed review21241004 does not solve the problem. 

With i more exhaustive testing I found that with the following structure: 

- Project 
  - SubProject
    - Task

The Many2One fields are rendered correctly on Project and SubProject levels, but they are not render correctly on Tasks an deper levels. 

I imagine this is due because there is no direct relation between the root_group which contains the first level (Project) and the record on the form (Task).
New review21241004 at
msg28182 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-08-29.13:31:23
The problem is that the child screens on a tree view is not added to root_group screens. This causes form screen to do not refresh when changing the values of record which is not in the first level of the tree. 

Here is a new review21241004 which fixes it.
msg27790 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-08-19.12:22:04
As explained on the codereview: "we must only display the root screen which will refresh children screens".
New review32331002 at
msg27259 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-07-20.14:17:52
Here is review32331002 to fix it.
msg27258 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2016-07-20.14:17:06
When opening a child project from the tree view and creating a new child of it, their many2one fields are not updated when one of their values is set. 

This is due because only the group root views are refreshed.
Date User Action Args
2017-09-05 14:35:21cedsetstatus: testing -> closed
superseder: + write_off of reconciliation wizard not displayed
2017-09-05 14:14:58pokolisetmessages: + msg35536
2017-09-05 13:26:42cedsetstatus: chatting -> testing
messages: + msg35534
2016-11-30 11:09:51pokolisetstatus: need-eg -> chatting
messages: + msg30520
2016-11-30 10:58:10cedsetstatus: chatting -> need-eg
messages: + msg30518
2016-11-30 10:39:09pokolisetstatus: resolved -> chatting
messages: + msg30516
2016-11-22 11:04:44pokolisetstatus: testing -> resolved
messages: + msg30385
2016-11-22 10:31:39cedsetstatus: chatting -> testing
nosy: + ced
messages: + msg30384
2016-08-30 10:21:49reviewbotsetmessages: + msg28198
2016-08-30 10:17:03pokolisetmessages: + msg28195

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