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 at 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.

Incomplete

Details

Assignee

Reporter

Priority

Created March 10, 2016 at 12:18 AM
Updated April 1, 2019 at 2:53 PM
Resolved February 22, 2019 at 3:13 PM