Tryton - Issues

 

Issue8787

Title can't seem to edit maturity date on moves
Priority bug Status in-progress
Superseder Nosy List ced, pokoli, reviewbot, risto3
Type behavior Components account
Assigned To Keywords review
Reviews 286381004
View: 286381004

Created on 2019-11-03.15:53:30 by risto3, last changed by pokoli.

Messages
msg54425 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-12-10.23:09:05
On 2019-12-10 19:42, Sergi Almacellas Abellana wrote:
> Indeed it was also required to exclude the move from the lines modification as the field is rewritten by the clients.

Then it is a no go. We can not allow to modify the move of a posted
line.
New review286381004 at https://codereview.tryton.org/286381004/#ps254741006
msg54422 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2019-12-10.19:42:31
Here is review286381004 that fixes it. 

Indeed it was also required to exclude the move from the lines modification as the field is rewritten by the clients.
msg53012 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-11-03.16:35:35
On from move form but not on line. lines should probably be added to Move._check_modify_exclude as check_modify is called by the lines at creation and deletion.
msg53011 (view) Author: [hidden] (risto3) Date: 2019-11-03.15:53:29
as this apparently was possible with https://bugs.tryton.org/issue7276
I get an exception if I try to save a move with the maturity date updated on a line. The message is to the tune 'you cannot modify a posted move " 16429 "'
I'm using the 5.2 tryton gtk client.
History
Date User Action Args
2019-12-11 09:48:27pokolisetstatus: testing -> in-progress
assignedto: pokoli ->
2019-12-10 23:09:06cedsetmessages: + msg54425
2019-12-10 19:56:57reviewbotsetnosy: + reviewbot
messages: + msg54423
2019-12-10 19:56:56reviewbotsetreviews: 286381004
keyword: + review
2019-12-10 19:42:31pokolisetstatus: chatting -> testing
assignedto: pokoli
messages: + msg54422
nosy: + pokoli
2019-11-03 16:35:36cedsetstatus: unread -> chatting
type: behavior
messages: + msg53012
nosy: + ced
2019-11-03 15:53:30risto3create

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