When last attachment deleted, remove ad_attachment record

Description

When user delete last attachment and instead complete window simple close by X, - that is not in hand-in-hand with logic store attachment definitively when save attachment.

startard workflow-
1. open record, open attachment window
2. upload attachment - when not OKd, then ad_attachment not created
3: OK it then ad_attachement created.

We suggest remove ad_attachment db record, when last attachment was removed.

this change made fully compactible approach when uploading and downloading.

Environment

None

Activity

Show:
Carlos Ruiz
February 22, 2019, 3:13 PM

Closing as potential idea - to implement this also keep in mind that attachment window can be used to add a comment, not just a file.

Assignee

Unassigned

Reporter

Norbert Bede

Labels

Tested By

None

Priority

Minor
Configure