Tryton - Issues

 

Issue7100

Title Screen context not updated on one2many display method on sao
Priority bug Status chatting
Superseder Nosy List fmorato, perilla
Type Components sao
Assigned To Keywords
Reviews

Created on 2018-01-31.15:47:44 by perilla, last changed by fmorato.

Files
File name Uploaded Type Edit Remove
payment_term_example.png fmorato, 2018-02-01.16:09:40 image/png
screen_context.png perilla, 2018-01-31.15:47:43 image/png
screen_context.tar.gz perilla, 2018-01-31.15:48:36 application/gzip
Messages
msg38149 (view) Author: [hidden] (fmorato) Date: 2018-02-01.16:09:40
I just found a behavior in 'Test Payment Term' wizard of account_invoice that might be related.

On Sao, after selecting the payment term and the amount, one line is displayed but after changing the date or amount, additional lines are created. While on the GTK client it only shows one line. Attached a screenshot.
msg38136 (view) Author: [hidden] (perilla) Date: 2018-01-31.17:54:22
Steps to reproduce:
1 Install attached sample module
2 Go to Shipment internal menu
3 Clic on new
4 Select location from and location to
5 Clic on new button inside moves list

On GTK client stock move form show my own field, 
web client doesn't shot my own field.
msg38128 (view) Author: [hidden] (perilla) Date: 2018-01-31.15:52:04
Sorry I miss to say that I'm working on 4.6 version
msg38127 (view) Author: [hidden] (perilla) Date: 2018-01-31.15:47:43
On tryton display method inside one2many field, when update screen.group
screen.context are also updated.

But on sao, on display method inside one2many field, when screen.group
are updated, screen.context are not updated.

I attach an image, on left desktop client source, on rigth web client source.

I attach an sample module, to reproduce error, this module add an sample_field
on stock.move form, but only on stock.shipment.internal. (on gtk works fine, 
but no works on sao)
History
Date User Action Args
2018-02-01 16:09:40fmoratosetfiles: + payment_term_example.png
nosy: + fmorato
messages: + msg38149
2018-01-31 17:54:22perillasetmessages: + msg38136
2018-01-31 16:39:51perillasettitle: Screen context not updated on one2many display method -> Screen context not updated on one2many display method on sao
2018-01-31 15:52:05perillasetstatus: unread -> chatting
messages: + msg38128
2018-01-31 15:48:36perillasetfiles: + screen_context.tar.gz
2018-01-31 15:47:44perillacreate

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