Tryton - Issues

 

Issue8862

Title Add depends fields on view_attributes
Priority feature Status testing
Superseder Nosy List ced, pokoli, reviewbot
Type feature request Components trytond
Assigned To pokoli Keywords review
Reviews 303161002
View: 303161002

Created on 2019-11-24.12:32:43 by ced, last changed by reviewbot.

Messages
review303161002 updated at https://codereview.tryton.org/303161002/#ps301251002
review303161002 updated at https://codereview.tryton.org/303161002/#ps315071002
review303161002 updated at https://codereview.tryton.org/303161002/#ps303171002
msg56616 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2020-03-24.13:24:15
Here is review303161002 which implements it.

I've added the attribute as optional (thanks to python3 extendend unpacking) so all the current view_attributes should continue working without adding the depends parameter.
msg53456 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-11-24.12:32:42
Sometimes we want to be sure that a field used by a PYSON expression is present in the view to which the attribute is added.
I think we could add a fourth item which will be a depends list. It should only be added to the view if the xpath match at least one element.
History
Date User Action Args
2020-03-26 10:05:52reviewbotsetmessages: + msg56666
2020-03-24 15:26:30reviewbotsetmessages: + msg56622
2020-03-24 13:34:39reviewbotsetnosy: + reviewbot
messages: + msg56618
2020-03-24 13:27:53pokolilinkissue8982 superseder
2020-03-24 13:25:25pokolisetsuperseder: - Add visual on product and location quantities
2020-03-24 13:25:13pokolisetsuperseder: + Add visual on product and location quantities
2020-03-24 13:24:15pokolisetstatus: unread -> testing
reviews: 303161002
messages: + msg56616
keyword: + review
assignedto: pokoli
2019-11-26 16:09:11pokolisetnosy: + pokoli
2019-11-24 12:32:43cedcreate

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