Tryton - Issues

 

Issue7981

Title Missing description field in attachment list view
Priority bug Status closed
Superseder Missing description field in attachment list view
View: 7981
Nosy List ced, pokoli, resteve
Type crash Components trytond
Assigned To Keywords
Reviews

Created on 2019-01-10.13:45:35 by resteve, last changed by ced.

Messages
msg47148 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-02-21.14:21:01
It will be solved in issue7981
msg45901 (view) Author: [hidden] (pokoli) (Tryton committer) Date: 2019-01-10.15:16:08
So I can confirm this is reproducible since changeset 95f9f587732a
msg45899 (view) Author: [hidden] (resteve) Date: 2019-01-10.14:35:49
> which version?

5.1 - default

> How do you attach the file?

Click to attach icon in a record
msg45898 (view) Author: [hidden] (pokoli) (Tryton committer) Date: 2019-01-10.13:48:47
which version?

How do you attach the file?

I've tested 5.0 client on demo server, clicking the attachment buttons and using the Add button and it works as expected
msg45897 (view) Author: [hidden] (resteve) Date: 2019-01-10.13:45:35
Try to attach a file in attachments record, I get the error:

File "/home/resteve/tryton/tryton/tryton/gui/window/form.py", line 116, in add_file
  attachment.add_file(filename)
File "/home/resteve/tryton/tryton/tryton/gui/window/attachment.py", line 65, in add_file
  self.add_uri('file:///' + filename)
File "/home/resteve/tryton/tryton/tryton/gui/window/attachment.py", line 47, in add_uri
  description_field = self.screen.group.fields['description']

We solved to add "description" field in attachment list view.
History
Date User Action Args
2019-02-21 14:21:20cedunlinkissue8135 superseder
2019-02-21 14:21:01cedsetstatus: chatting -> closed
superseder: + Missing description field in attachment list view
messages: + msg47148
nosy: + ced
2019-02-21 14:21:01cedlinkissue7981 superseder
2019-02-21 13:51:02pokolilinkissue8135 superseder
2019-01-10 15:16:08pokolisetstatus: need-eg -> chatting
messages: + msg45901
2019-01-10 14:35:49restevesetmessages: + msg45899
2019-01-10 13:48:47pokolisetstatus: chatting -> need-eg
nosy: + pokoli
messages: + msg45898
2019-01-10 13:45:35restevecreate