Commit Graph
2 Commits
Author SHA1 Message Date
Nicolas Lempereur ac1e187eea [FIX] document: no query attachment out of form view
Since cce70fd4 the attachment menu is only displayed for form view.

But if in another view there is active_ids (eg. selecting record in a
list view), we will still make a query to ir.attachment without using
the result.

Without the code change, the added test would fail when doing a
search_read RPC call to ir.attachment model.

related to #26213
2018-08-17 15:33:40 +02:00
Kirti Choudhary 80118dd8a2 [IMP] document: added QUnit testcase
note: backport 562d467 from saas-11.2 to 11.0 to add a similar test

related to #26213
2018-08-17 15:33:40 +02:00