Skip to Content
Menu
This question has been flagged
1 Reply
1914 Views

odoo 14 enterprise showing error when exporting customization


Odoo Server 14.0+e-20211201:DB:ERROR:werkzeug:Error on request:#012Traceback (most recent call last):#012  File "PATH/odoo14/odoo/addons/base/models/ir_http.py", line 237, in _dispatch#012    result = request.dispatch()#012  File "PATH/odoo14/odoo/http.py", line 807, in dispatch#012    r = self._call_function(**self.params)#012  File "PATH/odoo14/odoo/http.py", line 360, in _call_function#012    return checked_call(self.db, *args, **kwargs)#012  File "PATH/odoo14/odoo/service/model.py", line 94, in wrapper#012    return f(dbname, *args, **kwargs)#012  File "PATH/odoo14/odoo/http.py", line 348, in checked_call#012    result = self.endpoint(*a, **kw)#012  File "PATH/odoo14/odoo/http.py", line 913, in __call__#012    return self.method(*args, **kw)#012  File "PATH/odoo14/odoo/http.py", line 532, in response_wrap#012    response = f(*args, **kw)#012  File "PATH/odoo14/odoo/addons/web_studio/controllers/main.py", line 759, in export#012    content = export.generate_archive(studio_module, data)#012  File "PATH/odoo14/odoo/addons/web_studio/controllers/export.py", line 111, in generate_archive#012    for filename, content in generate_module(module, data):#012  File "PATH/odoo14/odoo/addons/web_studio/controllers/export.py", line 178, in generate_module#012    record_node, record_skipped = generate_record(record, get_xmlid)#012  File "PATH/odoo14/odoo/addons/web_studio/controllers/export.py", line 293, in generate_record#012    record_node.append(generate_field(record, field, get_xmlid))#012  File "PATH/odoo14/odoo/addons/web_studio/controllers/export.py", line 324, in generate_field#012    return E.field(name=field.name, ref=get_xmlid(value))#012  File "PATH/odoo14/odoo/addons/web_studio/controllers/export.py", line 365, in get#012    raise MissingXMLID(record)#012  File "PATH/odoo14/odoo/addons/web_studio/controllers/export.py", line 373, in __init__#012    super(MissingXMLID, self).__init__("Missing XMLID: %s (%s)" % (record, record.display_name))#012  File "PATH/odoo14/odoo/fields.py", line 1023, in __get__#012    self.compute_value(record)#012  File "PATH/odoo14/odoo/fields.py", line 1177, in compute_value#012    records._compute_field_value(self)#012  File "PATH/odoo14/odoo/models.py", line 4062, in _compute_field_value#012    getattr(self, field.compute)()#012  File "PATH/odoo14/odoo/models.py", line 1728, in _compute_display_name#012    names = dict(self.name_get())#012  File "PATH/odoo14/odoo/models.py", line 1746, in name_get#012    result.append((record.id, convert(record[name], record)))#012  File "PATH/odoo14/odoo/models.py", line 5667, in __getitem__#012    return self._fields[key].__get__(self, type(self))#012  File "PATH/odoo14/odoo/fields.py", line 1002, in __get__#012    raise MissingError("\n".join([#012Exception#012#012The above exception was the direct cause of the following exception:#012#012Traceback (most recent call last):#012  File "PATH/odoo14-venv-python3.8.6/lib/python3.8/site-packages/werkzeug/serving.py", line 306, in run_wsgi#012    execute(self.server.app)#012  File "PATH/odoo14-venv-python3.8.6/lib/python3.8/site-packages/werkzeug/serving.py", line 294, in execute#012    application_iter = app(environ, start_response)#012  File "PATH/odoo14/odoo/service/wsgi_server.py", line 111, in application#012    return ProxyFix(application_unproxied)(environ, start_response)#012  File "PATH/odoo14-venv-python3.8.6/lib/python3.8/site-packages/werkzeug/middleware/proxy_fix.py", line 232, in __call__#012    return self.app(environ, start_response)#012  File "PATH/odoo14/odoo/service/wsgi_server.py", line 88, in application_unproxied#012    result = odoo.http.root(environ, start_response)#012  File "PATH/odoo14/odoo/http.py", line 1306, in __call__#012    return self.dispatch(environ, start_response)#012  File "PATH/odoo14/odoo/http.py", line 1272, in __call__#012    return self.app(environ, start_wrapped)#012  File "PATH/odoo14-venv-python3.8.6/lib/python3.8/site-packages/werkzeug/middleware/shared_data.py", line 220, in __call__#012    return self.app(environ, start_response)#012  File "PATH/odoo14/odoo/http.py", line 1479, in dispatch#012    result = ir_http._dispatch()#012  File "PATH/odoo14/odoo/addons/website_sale/models/ir_http.py", line 15, in _dispatch#012    return super(IrHttp, cls)._dispatch()#012  File "PATH/odoo14/odoo/addons/website/models/ir_http.py", line 183, in _dispatch#012    response = super(Http, cls)._dispatch()#012  File "PATH/odoo14/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch#012    return super(Http, cls)._dispatch()#012  File "PATH/odoo14/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch#012    return super(IrHttp, cls)._dispatch()#012  File "PATH/odoo14/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch#012    response = super(IrHttp, cls)._dispatch()#012  File "PATH/odoo14/odoo/addons/http_routing/models/ir_http.py", line 508, in _dispatch#012    result = super(IrHttp, cls)._dispatch()#012  File "PATH/odoo14/odoo/addons/base/models/ir_http.py", line 241, in _dispatch#012    return cls._handle_exception(e)#012  File "PATH/odoo14/odoo/addons/utm/models/ir_http.py", line 34, in _handle_exception#012    response = super(IrHttp, cls)._handle_exception(exc)#012  File "PATH/odoo14/odoo/addons/http_routing/models/ir_http.py", line 598, in _handle_exception#012    return super(IrHttp, cls)._handle_exception(exception)#012  File "PATH/odoo14/odoo/addons/base/models/ir_http.py", line 209, in _handle_exception#012    return request._handle_exception(exception)#012  File "PATH/odoo14/odoo/http.py", line 745, in _handle_exception#012    return super(HttpRequest, self)._handle_exception(exception)#012  File "PATH/odoo14/odoo/http.py", line 316, in _handle_exception#012    raise exception.with_traceback(None) from new_cause#012odoo.exceptions.MissingError: Record does not exist or has been deleted.#012(Record: ir.actions.act_window(1975,), User: 14)
DB=# select * from ir_act_window where id=1970;
-[ RECORD 1 ]------+----------------------------------------------------------------------------
id | 1970
name | Sales Payment Date (12/02/2021 15:18:31 UTC)
type | ir.actions.act_window
help |
binding_model_id |
binding_type | action
binding_view_types | list,form
create_uid | 40
create_date | 2021-11-16 03:51:29.662506
write_uid | 14
write_date | 2021-12-02 15:18:30.667925
view_id | 6199
domain |
context | {'pivot_measures': [], 'pivot_row_groupby': [], 'pivot_column_groupby': []}
res_id |
res_model | x_bi_sql_view.sales_payment_date
target | current
view_mode | pivot,graph,tree
usage |
limit | 80
search_view_id | 6200
filter |

DB=# select * from ir_act_window where id=1975;
(0 rows)


how to check which or who calling ir_act_window id 1975?

thanks in advance
Avatar
Discard
Author Best Answer

got it, it related to ir_ui_menu

DB=# select * from ir_ui_menu where action like '%1975%';
id | name | active | sequence | parent_id | parent_path | web_icon | action | create_uid | create_date | write_uid | write_date | is_st
udio_configuration
------+---------------+--------+----------+-----------+-----------------+----------+----------------------------+------------+---------------------------+-----------+---------------------------+------
-------------------
1284 | Sales ICP All | t | 10 | 1194 | 1193/1194/1284/ | | ir.actions.act_window,1975 | 40 | 2021-11-16 04:05:02.81279 | 40 | 2021-11-16 04:05:02.81279 |
(1 row)
Avatar
Discard
Related Posts Replies Views Activity
4
Apr 23
2062
2
Aug 24
466
1
Jul 24
1552
3
Mar 24
660
2
Sep 23
5605