OCA / web

Odoo web client UI related addons
GNU Affero General Public License v3.0
924 stars 1.87k forks source link

web_advanced_search trigger #1765

Closed AN4553R closed 2 months ago

AN4553R commented 3 years ago

I'm trying to upgrade web_advanced_search to odoo 14

I've extended DropdownMenuItem and used listener that opens new DomainSelectorDialog

When I click Add filter, I get an error message saying parent._trigger_up is not a function

image

Uncaught TypeError: parent._trigger_up is not a function
    at Class._trigger_up (web.assets_common.js:4756)
    at Class._trigger_up (web.assets_common.js:4756)
    at Class._trigger_up (web.assets_common.js:4756)
    at Class._trigger_up (web.assets_common.js:4756)
    at Class.trigger_up (web.assets_common.js:4756)
    at Class.getSession (web.assets_common.js:4820)
    at Class._getModelFieldsFromCache (web.assets_backend.js:732)
    at Class._pushPageData (web.assets_backend.js:735)
    at Class._prefill (web.assets_backend.js:734)
    at Class.willStart (web.assets_backend.js:731)

Any hint?

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.