Tryton - Issues

 

Issue9040

Title Different context from popup menu action
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type behavior Components tryton
Assigned To ced Keywords review
Reviews 276851002
View: 276851002

Created on 2020-02-05.18:48:13 by ced, last changed by roundup-bot.

Messages
New changeset 53638e5c273e by Cédric Krier in branch 'default':
Populate pop-up menu with the context of the field
https://hg.tryton.org/tryton-env/rev/53638e5c273e
New changeset 005a8691c81d by Cédric Krier in branch 'default':
Populate pop-up menu with the context of the field
https://hg.tryton.org/tryton/rev/005a8691c81d
review276851002 updated at https://codereview.tryton.org/276851002/#ps256531002
msg55232 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-02-05.18:48:13
When triggering the popup menu action for the same field from a list or form view, the action has not the same context.
- From the list, the context includes the context from the Many2One field
- From the form, the context does not include the context from the Many2One field

This can be tested on the relate "Product QUantities by Warehouse" of the product of the sale line on the sale form. The product field has a specific context.

I think we should always open popup action using the context of the field.
History
Date User Action Args
2020-02-15 01:39:10roundup-botsetmessages: + msg55371
2020-02-15 01:38:45roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg55370
2020-02-05 19:19:53reviewbotsetnosy: + reviewbot
messages: + msg55233
2020-02-05 18:55:41cedsetstatus: in-progress -> testing
reviews: 276851002
keyword: + review
2020-02-05 18:48:13cedcreate

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