Coder Social home page Coder Social logo

hr-holidays's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

hr-holidays

TODO: add repo description.

Available addons

addon version maintainers summary
hr_holidays_public 17.0.1.0.1 Manage Public Holidays
hr_holidays_public_city 17.0.1.0.0 victoralmau HR Holidays Public City

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

hr-holidays's People

Contributors

alexey-pelykh avatar cesar-tecnativa avatar damdam-s avatar dsolanki-initos avatar ernestotejeda avatar fshah-initos avatar gurneyalex avatar ivantodorovich avatar jabelchi avatar josep-tecnativa avatar marylla avatar miquelrforgeflow avatar mvrodriguez avatar mymage avatar oca-git-bot avatar olgamarcocb avatar p-tombez avatar pedrobaeza avatar pegonzalezspesol avatar peluko00 avatar petrus-v avatar rbellanova avatar santostelmo avatar sbejaoui avatar sergio-teruel avatar thaolt99 avatar victoralmau avatar weblate avatar yankinmax avatar yvesldff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hr-holidays's Issues

[BUG][14.0][hr_holidays_public] action_validate() override doesn't loop self

Module

hr_holidays_public version 14.0

Describe the bug

The hr_holidays_public module, version 14.0 (don't know in other versions) has an override of the method action_validate() without a for loop for self.
Here:
https://github.com/OCA/hr-holidays/blob/14.0/hr_holidays_public/models/hr_leave.py#L11

This return an error when this actions.server (from standard module hr_holidays) is called on a recordset:
https://github.com/odoo/odoo/blob/14.0/addons/hr_holidays/views/hr_leave_views.xml#L25

To Reproduce

Affected versions: 14.0 (maybe 15.0 too because the method code is the same)

Steps to reproduce the behavior:

  1. Install hr_holidays_public

  2. Select more than one leave to approve in the tree

  3. In the Actions menu select "HR Approval"
    image

  4. An error is shown
    image

Expected behavior
No errors in case of multiple records selected

Additional context
None

15.0 hr_holidays_public: cannot save line with variable_date = false

On 15.0 at least, it is not possible to create public holidays with variable date = false.

Module

hr_holidays_public

Describe the bug

On a fresh instance, when recording public holidays for a new country, saving will fail if some lines have "variable_date = False"

To Reproduce

Affected versions: 15.0 at least

Steps to reproduce the behavior:

  1. Create a new public holidays calendar for 2022 and country = France
  2. Add a line with date = 2022-12-25, name = Christmas, and uncheck "variable date"
  3. Click on Save

You will get a Validation Error with the following message:

The operation cannot be completed:

  • Create/update: a mandatory field is not set.
  • Delete: another model requires the record being deleted. If possible, archive it instead.

Model: Public Holidays Lines (hr.holidays.public.line), Field: Date (date)

image

Expected behavior
Saving should work

Additional context

Problem comes from the view, when unchecking the variable date boolean field, the date field becomes readonly and then the web client will not send the data to the backend resulting in the error when trying to create the hr.holidays.public.line record.

Workaround is to save with the box checked, then edit, and uncheck the lines which are not variable date, but this is a really bad user experience.

[16.0] hr_holidays_public: time off duration is getting wrong after installed hr_work_entry_holidays

On 15.0 and 16.0, the function _get_number_of_days in hr_leave.py is getting wrong days after installed hr_work_entry_holidays modules

Module

hr_holidays_public

Describe the bug

On a fresh instance after installed hr_work_entry_holidays module, when request a new time off, the duration days is getting wrong.

To Reproduce

Affected versions: 15.0 and 16.0

Steps to reproduce the behavior:

  1. On a fresh instance just installe time_off and hr_holidays_public modules, set public holiday in 2023/7/31
截圖 2023-07-21 上午10 02 04
  1. Request a new time off from 2023/7/28~2023/8/1,the duration is expected for 2 days
截圖 2023-07-21 上午10 04 29
  1. Install hr_work_entry_holidays module
截圖 2023-07-21 上午10 12 49
  1. Request a new time off again: duration is 3 days
截圖 2023-07-21 上午10 14 39

Expected behavior
Request a new time off from 2023/7/28~2023/8/1,the duration is expected for 2 days

Additional context
the _get_number_of_days function in the hr_work_entry_holidays override the right days seems the context exclude_public_holidays=True missing.

Public Holiday Leave Computation Not Working

Public Holiday Defined
image

Leave Type Setting (Include Public Holiday)
image

Settings are looks good, when i try to create leave it's included in leave Days. Works fine.

When i enable Exclude Public Holiday in Leave type settings, Public Holiday not skipped, still being calculated in Leave Days
image

Total leave days not suppose to be 5 Days, it should be 4 Days bcoz we have defined 4th August as Holiday.

Please help to fix the issue.

Error message when applying for a vacation

If I want to apply for a vacation in the dashboard, as it says in the description, I get the following error message:
Fehler:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/api.py", line 745, in get
value = self._data[field][record._ids[0]]
KeyError: <NewId 0x7f224c098048>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/fields.py", line 996, in get
value = env.cache.get(record, self)
File "/opt/odoo/odoo13/odoo/api.py", line 751, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('hr.leave(<NewId 0x7f224c098048>,).number_of_hours_display', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/api.py", line 745, in get
value = self._data[field][record._ids[0]]
KeyError: 7

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/fields.py", line 996, in get
value = env.cache.get(record, self)
File "/opt/odoo/odoo13/odoo/api.py", line 751, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('hr.employee(7,).resource_calendar_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo13/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo13/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/opt/odoo/odoo13/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo13/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1322, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1314, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo13/odoo/api.py", line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo13/odoo/api.py", line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/models.py", line 6071, in onchange
value = record[name]
File "/opt/odoo/odoo13/odoo/models.py", line 5610, in getitem
return self._fields[key].get(self, type(self))
File "/opt/odoo/odoo13/odoo/fields.py", line 1020, in get
self.compute_value(recs)
File "/opt/odoo/odoo13/odoo/fields.py", line 1105, in compute_value
records._compute_field_value(self)
File "/opt/odoo/odoo13/odoo/models.py", line 3915, in _compute_field_value
getattr(self, field.compute)()
File "/opt/odoo/odoo13/addons/hr_holidays/models/hr_leave.py", line 435, in _compute_number_of_hours_display
calendar = holiday._get_calendar()
File "/opt/odoo/odoo13/addons/hr_holidays/models/hr_leave.py", line 430, in _get_calendar
return self.employee_id.resource_calendar_id or self.env.company.resource_calendar_id
File "/opt/odoo/odoo13/odoo/fields.py", line 2294, in get
return super().get(records, owner)
File "/opt/odoo/odoo13/odoo/fields.py", line 1003, in get
recs._fetch_field(self)
File "/opt/odoo/odoo13/odoo/models.py", line 2944, in _fetch_field
self._read(fnames)
File "/opt/odoo/odoo13/addons/hr/models/hr_employee.py", line 133, in _read
res = self.env['hr.employee.public'].browse(self.ids).read(fields)
File "/opt/odoo/odoo13/odoo/models.py", line 2893, in read
raise ValueError("Invalid field %r on model %r" % (name, self._name))
ValueError: Invalid field 'name_related' on model 'hr.employee.public'

But if I do the same with the admin user then the error message does not come up
Thanks a lot

[BUG?] Install FAILS in Odoo 14 community edition

Installation of hr_holidays_public fails in "odooApp 14.0-20220727"

Module affected:
hr_holidays_public
version: 14.0.13.0.3.0.6

this is a custom docker-compose image, taken from the official pulled image (odoo:14)

traceback:

`Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 912, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1754, in run
result = action.run()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 632, in run
res = runner(run_self, eval_context=eval_context)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 501, in _run_action_code_multi
safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action'
File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 346, in safe_eval
raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: <class 'odoo.tools.convert.ParseError'>: "while parsing /mnt/extra-addons/hr_holidays_public/views/hr_leave_type.xml:7, near

hr.leave.type.form
hr.leave.type








" while evaluating
'records.button_immediate_install()'`

i have no ideas....

hr_holidays_calendar_event_privacy: tests are failing in main 15.0 branch

Module

hr_holidays_calendar_event_privacy

Describe the bug

Tests are failing in the 15.0 branch, likely to a recent change in odoo's hr_holidays code.

To Reproduce

Affected versions: 15.0 at least.

Steps to reproduce the behavior:
See all recent pipelines, for instance 15.0 branch last one: https://github.com/OCA/hr-holidays/actions/runs/7871142366/job/21473797702#step:8:40

Expected behavior
Tests pass

cc @grindtildeath as maintainer of the module, you may want to look into this one.

Public Holidays not shown

Hi everyone,

My name is Pierre and I am very new to Odoo (V13) world and GitHub community related to it.

I am currently working on the Time Off app and I am very interested in your module, as I would like to display every public holidays in the calendar.

However, I do not find the solution, even with the module installed.

I suspect I have not correctly installed it and maybe you can help me there :

I have downloaded the zip file and imported it in Odoo web. No error message or anything, but nothing new appeared in the Time Off module.

Maybe I am missing a step here ?

Thank you for your help.

Pierre

"Expected singleton" Error When Approving Company-level Absences in hr_leave_custom_hour_interval

Hello,

I encountered a bug in the hr_leave_custom_hour_interval module (14.0 branch). The issue occurs when approving a leave request at the company level. The system fails and returns an "Expected singleton" error. Below are the details of the error encountered:

Module: hr_leave_custom_hour_interval
Version: 14.0

Steps to Reproduce:

  1. Navigate to the Leave module.
  2. Create a leave request for the entire company (it should also fail with any collective leave)
  3. Approve this leave request.

Current Behavior:
When approving leave requests at the company level, the system fails and logs an "Expected singleton" error. This error occurs during the computation of the field request_hour_from in the hr_leave model.

leave.request_hour_from = "%.2f" % self.request_time_hour_from

Error Log:

Odoo Server Error

Traceback (most recent call last):
  ...
  File "/home/odoo/pyenv/versions/odoo/lib/python3.8/site-packages/odoo/addons/hr_leave_custom_hour_interval/models/hr_leave.py", line 22, in _compute_hour_from
    leave.request_hour_from = "%.2f" % self.request_time_hour_from
  ...
  File "/opt/odoo/odoo/models.py", line 5027, in ensure_one
    raise ValueError("Expected singleton: %s" % self)

ValueError: Expected singleton: hr.leave(203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238)

Expected Behavior:
The leave requests should be approved without any server errors.

Additional context:

I've been checking the code and I don't understand why referring to self after iterating on it:

    def _compute_hour_from(self):
        for leave in self:
            leave.request_hour_from = "%.2f" % self.request_time_hour_from

(notice the self in last line).

I'm opening a PR that changes that self for a leave, solving this issue.

module not working

Module

Holidays natural period

Describe the bug

module not working

To Reproduce

16

Steps to reproduce the behavior:

  1. create a time off request at the moment duration is correct
  2. after saving it, then the duration is changing to default odoo calculated value

error from _leave_intervals

Hello,

this happens with V13 Enterprise. Updated to latest code today.

When creating a new leaves reuquest this error shows up:

` Fehler:
Odoo Server Error

Traceback (most recent call last):
File "/odoo13/odoo13-server/odoo/api.py", line 753, in get
value = self._data[field][record._ids[0]]
KeyError: <NewId 0x7fdb56c702e8>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo13/odoo13-server/odoo/fields.py", line 978, in get
value = env.cache.get(record, self)
File "/odoo13/odoo13-server/odoo/api.py", line 759, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('hr.leave(<NewId 0x7fdb56c702e8>,).number_of_hours_display', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo13/odoo13-server/odoo/http.py", line 619, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo13/odoo13-server/odoo/http.py", line 309, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo13/odoo13-server/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/odoo13/odoo13-server/odoo/http.py", line 664, in dispatch
result = self._call_function(**self.params)
File "/odoo13/odoo13-server/odoo/http.py", line 345, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo13/odoo13-server/odoo/service/model.py", line 93, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo13/odoo13-server/odoo/http.py", line 338, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo13/odoo13-server/odoo/http.py", line 909, in call
return self.method(*args, **kw)
File "/odoo13/odoo13-server/odoo/http.py", line 510, in response_wrap
response = f(*args, **kw)
File "/odoo13/odoo13-server/addons/web/controllers/main.py", line 1319, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/odoo13/odoo13-server/addons/web/controllers/main.py", line 1311, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo13/odoo13-server/odoo/api.py", line 395, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/odoo13/odoo13-server/odoo/api.py", line 382, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/odoo13/odoo13-server/odoo/models.py", line 6032, in onchange
value = record[name]
File "/odoo13/odoo13-server/odoo/models.py", line 5579, in getitem
return self._fields[key].get(self, type(self))
File "/odoo13/odoo13-server/odoo/fields.py", line 1002, in get
self.compute_value(recs)
File "/odoo13/odoo13-server/odoo/fields.py", line 1087, in compute_value
records._compute_field_value(self)
File "/odoo13/odoo13-server/odoo/models.py", line 3895, in _compute_field_value
getattr(self, field.compute)()
File "/odoo13/odoo13-server/addons/hr_holidays/models/hr_leave.py", line 437, in _compute_number_of_hours_display
number_of_hours = holiday._get_number_of_days(holiday.date_from, holiday.date_to, holiday.employee_id.id)['hours']
File "/odoo13/custom/addons/hr-holidays/hr_holidays_public/models/hr_leave.py", line 19, in _get_number_of_days
date_from, date_to, employee_id
File "/odoo13/odoo13-server/addons/hr_holidays/models/hr_leave.py", line 502, in _get_number_of_days
return employee._get_work_days_data(date_from, date_to)
File "/odoo13/odoo13-server/addons/resource/models/resource_mixin.py", line 78, in _get_work_days_data
intervals = calendar._work_intervals(from_datetime, to_datetime, resource, domain)
File "/odoo13/odoo13-server/addons/resource/models/resource.py", line 402, in _work_intervals
self._leave_intervals(start_dt, end_dt, resource, domain))
File "/odoo13/custom/addons/hr-holidays/hr_holidays_public/models/resource_calendar.py", line 67, in _leave_intervals
start_dt=start_dt, end_dt=end_dt, resource=resource, domain=domain, tz=tz
TypeError: _leave_intervals() got an unexpected keyword argument 'tz' `

Expecting that 'tz' is related to timezone I checked timezone settings for user, employee and working hours. Everything is the same.

Saw this comment in the code for /hr_holidays_public/models/resource_calendar.py in Line 64:
"""DEPRECATED since odoo/odoo#51542, but left as is for retro-compatibility""" # TODO: To be removed in v14 if not used in any place

So I tried to comment the lines out and the module runs fine again.

Can you please check if this is maybe no longer needed and can be removed to run smoothly?

Kind regards

I can't open Settings and Save any changes

Hello All,

Odoo community 13
After installed App for theme and backup

2021-08-24 05-32-16
2021-08-19 01-36-46
2021-08-19 01-36-55

i got this error and there are another error
and erroer while to restore database

When try to open Settings Module

Error:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo13/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo13/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/opt/odoo/odoo13/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo13/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1339, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1331, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo13/odoo/api.py", line 383, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/opt/odoo/odoo13/odoo/api.py", line 356, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/models.py", line 1468, in load_views
result['fields_views'] = {
File "/opt/odoo/odoo13/odoo/models.py", line 1469, in
v_type: self.fields_view_get(v_id, v_type if v_type != 'list' else 'tree',
File "/opt/odoo/odoo13/odoo/addons/base/models/res_config.py", line 384, in fields_view_get
ret_val = super(ResConfigSettings, self).fields_view_get(
File "/opt/odoo/odoo13/addons/web/models/models.py", line 206, in fields_view_get
r = super().fields_view_get(view_id, view_type, toolbar, submenu)
File "/opt/odoo/odoo13/odoo/models.py", line 1558, in fields_view_get
xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)
File "/opt/odoo/odoo13/odoo/addons/base/models/ir_ui_view.py", line 994, in postprocess_and_fields
self.raise_view_error(message, view_id)
File "/opt/odoo/odoo13/odoo/addons/base/models/ir_ui_view.py", line 614, in raise_view_error
raise ValueError(message)
ValueError: Field is_google_drive_token_generated does not exist

Error context:
View n/a
[view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]

When try to open CRM Module

Error:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo13/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo13/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/opt/odoo/odoo13/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo13/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1339, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1331, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo13/odoo/api.py", line 463, in getitem
return self.registry[model_name]._browse(self, (), ())
File "/opt/odoo/odoo13/odoo/modules/registry.py", line 177, in getitem
return self.models[model_name]
KeyError: 'google.drive.config'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.