Tryton - Issues

 

Issue8175

Title Adding a timesheet on a production work result in a read_error
Priority bug Status testing
Superseder Nosy List ced, nicoe, reviewbot
Type behavior Components production_work_timesheet
Assigned To ced Keywords review
Reviews 255321002, 281401014
View: 255321002, 281401014

Created on 2019-03-06.14:40:28 by nicoe, last changed by reviewbot.

Messages
New review281401014 at https://codereview.tryton.org/281401014/#ps255331002
New review255321002 at https://codereview.tryton.org/255321002/#ps275271002
msg48992 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-04-13.23:21:35
Here is review255321002 (and review281401014 for <5.1) which remove the wrong target work and use a domain. The patch for trunk can not be back-ported because it requires to define a new field.
msg47442 (view) Author: [hidden] (nicoe) (Tryton committer) (Tryton translator) Date: 2019-03-06.14:40:28
This is due to the fact that timesheet_lines field is a Function field which uses the reference 'work' which points to timesheet.work and not a production.work.
History
Date User Action Args
2019-04-13 23:38:24reviewbotsetmessages: + msg48996
2019-04-13 23:38:24reviewbotsetreviews: 255321002 -> 255321002, 281401014
2019-04-13 23:38:14reviewbotsetnosy: + reviewbot
messages: + msg48995
2019-04-13 23:38:13reviewbotsetreviews: 255321002
keyword: + review
2019-04-13 23:21:36cedsetstatus: unread -> testing
assignedto: ced
messages: + msg48992
nosy: + ced
2019-03-06 14:40:28nicoecreate