oca / calendar Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
We have followed the guide on how to synchronize odoo and microsoft calendar.
https://www.odoo.com/documentation/15.0/applications/general/calendars/outlook/outlook_calendar.html
Synchronization seems to be working. But every time the calendar plugin is loaded for one of our users the following popup shows up.
Note that for our other users the synchronization works without any issues.
Below the log output of odoo.
2021-10-20 09:24:33,497 485359 INFO TowerEye werkzeug: 84.196.36.57 - - [20/Oct/2021 09:24:33] "POST /microsoft_calendar/sync_data HTTP/1.0" 200 - 362 0.142 1.238
2021-10-20 09:24:36,598 485358 INFO TowerEye werkzeug: 84.196.36.57 - - [20/Oct/2021 09:24:36] "POST /web/dataset/call_kw/calendar.filters/search_read HTTP/1.0" 200 - 2 0.001 0.005
2021-10-20 09:24:36,639 485362 INFO TowerEye werkzeug: 84.196.36.57 - - [20/Oct/2021 09:24:36] "POST /web/dataset/call_kw/calendar.event/search_read HTTP/1.0" 200 - 12 0.004 0.013
2021-10-20 09:24:36,666 485358 INFO TowerEye werkzeug: 84.196.36.57 - - [20/Oct/2021 09:24:36] "POST /web/dataset/call_kw/res.partner/get_attendee_detail HTTP/1.0" 200 - 7 0.002 0.007
2021-10-20 09:24:36,800 485359 ERROR TowerEye odoo.sql_db: bad query: INSERT INTO "calendar_attendee" ("id", "access_token", "create_date", "create_uid", "event_id", "partner_id", "state", "write_date", "write_uid") VALUES (nextval('calendar_attendee_id_seq'), '88a810b418e043269103b11932f77fe5', '2021-10-20 09:24:35.586112', 2, 152939, NULL, 'tentative', '2021-10-20 09:24:35.586112', 2) RETURNING id
ERROR: null value in column "partner_id" violates not-null constraint
DETAIL: Failing row contains (86102, 152939, null, null, 88a810b418e043269103b11932f77fe5, tentative, null, 2, 2021-10-20 09:24:35.586112, 2, 2021-10-20 09:24:35.586112).
2021-10-20 09:24:36,804 485359 WARNING TowerEye odoo.http: 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: Calendar Attendee Information (calendar.attendee), Field: Attendee (partner_id)
module: resource_booking
version: 13.0
Steps to reproduce
Current behavior
i've created a booking an appoinment for a customer in a saloon(for example) for nail polishing . meanwhile at the same time tried to create another appoinment for another customer with another resource. still it's showing the warning image. i didn't understand why this is happening. any helps please
64/147951739-161f5390-0334-47a8-84c8-5cb53ed3a708.png)
Expected behavior
i guess , it should create another appoinment , if the resource are free , but instead it's raising error.
NB : there are no other tasks /records in pending , schedule states etc
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-13.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
Verrsion 12 Enterprise on Odoo.sh
I keep getting this validation error in any Schedule try
Cannot schedule these bookings because they do not fit in their type or resources calendars, or because all resources are busy:
What is the meaning of fit in their type? also, neitther the user or the resources are busy
Repository: OCA/calendar
Module name: calendar_event_link_project_task
Dependency: ["calendar", "project"]
License: AGPL-3
This Module creates corresponding Calendar Events for Project Tasks, the two objects are synchronized so any changes made to the Project Task should be reflected in the Calendar Event
I think we can build off of or add this to this PR #12 the modules here are very good, the purpose of this issue is to synchronize a calendar event with a project task.
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
Hey All,
I want to install your
Plugin but get these Error:
Traceback (most recent call last):
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\service\model.py", line 133, in retrying
result = func()
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\http.py", line 1611, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\http.py", line 1815, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\addons\base\models\ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\addons\web\controllers\dataset.py", line 46, in call_button
action = self._call_kw(model, method, args, kwargs)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\addons\web\controllers\dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\addons\base\models\ir_module.py", line 76, in check_and_log
return method(self, *args, **kwargs)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\addons\base\models\ir_module.py", line 491, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\addons\base\models\ir_module.py", line 615, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "", line 2, in new
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\tools\func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\modules\registry.py", line 90, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\modules\loading.py", line 488, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\modules\loading.py", line 372, in load_marked_modules
loaded, processed = load_module_graph(
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\modules\loading.py", line 231, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\modules\loading.py", line 71, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\tools\convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\tools\convert.py", line 829, in convert_xml_import
obj.parse(doc.getroot())
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\tools\convert.py", line 749, in parse
self._tag_root(de)
File "C:\Program Files\Odoo 16.0.20230627\server\odoo\tools\convert.py", line 709, in _tag_root
raise ParseError(msg) from None # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback
odoo.tools.convert.ParseError: while parsing file:/c:/program%20files/odoo%2016.0.20230627/server/odoo/addons/resource_booking/views/calendar_event_views.xml:5
Inherited view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition
View error context:
'-no context-'
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (http://IP:8069/web/assets/294-67d339c/web.assets_backend.min.js:985:163)
at XMLHttpRequest. (http://IP:8069/web/assets/294-67d339c/web.assets_backend.min.js:993:13)
Curretn Version of Odoo ist 16.
Thanks a lot!
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
resource_booking
Resource Booking / Manager and User can't open and view bookings confirmed via portal user.
Odoo server error [access error]
The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.
(Document type: Event, Operation: read) - (Records: [1238], User: 7)
Affected versions:
Odoo 12.0-20211006 (Community Edition)
resource_booking: 12.0.1.5.1
Steps to reproduce the behavior:
Expected behavior
Can open and view confirmed booking.
Additional context
Tried in several environements with different odoo v12 builds.
resource_booking
Try to install the module on odoo.sh and obtain
Failed to load registry
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 417, in load_modules
force, status, report, loaded_modules, update_module, models_to_check)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 313, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 179, in load_module_graph
load_openerp_module(package.name)
File "/home/odoo/src/odoo/odoo/modules/module.py", line 368, in load_openerp_module
import('odoo.addons.' + module_name)
File "/home/odoo/src/odoo/odoo/modules/module.py", line 82, in load_module
exec(open(modfile, 'rb').read(), new_mod.dict)
File "", line 2, in
File "/home/odoo/src/user/b_OCA/calendar/resource_booking/controllers/init.py", line 1, in
from . import portal
File "/home/odoo/src/user/b_OCA/calendar/resource_booking/controllers/portal.py", line 7, in
from dateutil.parser import isoparse
ImportError: cannot import name 'isoparse'
Affected versions:
Steps to reproduce the behavior:
Expected behavior
not obtain error
Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
I get this error when i'm trying to install this module on odoo15.
Element '' cannot be located in parent view
View error context:
{'file': '/home/giorgos/odoo15/custom/calendar_partner_color/views/calendar_event.xml',
'line': 2,
'name': 'calendar.event',
'view': ir.ui.view(1368,),
'view.model': 'calendar.event',
'view.parent': ir.ui.view(1276,),
'xmlid': 'view_calendar_event_calendar'}
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
Calendar Field Service
Repository: OCA/calendar
Module name: calendar_fieldservice
Dependency: ['calendar_timeline', 'fieldservice']
License: AGPL-3
Module description
"This Module creates corresponding Calendar Events for FSM Orders, the two objects are synchronized so any changes made ton/a the FSM Order should be reflected in the Calendar Event"
Usage
Test Scenarios
Scenario 1:
Scenario 2:
Scenario 3:
As stated in my previous Issue, I think we can build off of or add this to this PR #12 the modules here are very good, the purpose of this issue is to synchronize a calendar event with an fsm.order
resource_booking
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "C:\Program Files\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "C:\Program Files\server\odoo\http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "C:\Program Files\server\odoo\http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Program Files\server\odoo\service\model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "C:\Program Files\server\odoo\http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "C:\Program Files\server\odoo\http.py", line 910, in call
return self.method(*args, **kw)
File "C:\Program Files\server\odoo\http.py", line 535, in response_wrap
response = f(*args, **kw)
File "C:\Program Files\server\odoo\addons\web\controllers\main.py", line 1326, in call_kw
return self._call_kw(model, method, args, kwargs)
File "C:\Program Files\server\odoo\addons\web\controllers\main.py", line 1318, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\Program Files\server\odoo\api.py", line 464, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "C:\Program Files\server\odoo\api.py", line 451, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "C:\Program Files\server\odoo\models.py", line 6367, in onchange
defaults = self.default_get(missing_names)
File "C:\Program Files\server\odoo\models.py", line 1410, in default_get
defaults[name] = field.default(self)
File "C:\Program Files\server\odoo\addons\resource_booking\models\resource_booking_type.py", line 87, in
default=lambda self: self._default_resource_calendar(),
File "C:\Program Files\server\odoo\addons\resource_booking\models\resource_booking_type.py", line 104, in _default_resource_calendar
return self._default_company().resource_calendar_id
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files\server\odoo\http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "C:\Program Files\server\odoo\http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
AttributeError: 'resource.booking.type' object has no attribute '_default_company'
Affected versions:
odoo 15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.