- Oct 17, 2022
-
-
Malay Khamar authored
closes odoo/odoo#103255 X-original-commit: 5ba7d6b0 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 16, 2022
-
-
Odoo Translation Bot authored
-
- Oct 10, 2022
-
-
Alexandre Kühn authored
Task-3013832 closes odoo/odoo#102965 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Martin Trigaux authored
closes odoo/odoo#102902 Related: odoo/enterprise#32633 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
stefanorigano (SRI) authored
*: hr, hr_holidays, project, purchase, point_of_sale, rating, spreadsheet_dashboard, stock, survey This commit adapts modules and components in order to correctly handle color-scheme variations. task-2710677 Part-of: odoo/odoo#99755
-
mafo-odoo authored
Steps to reproduce: - set demo to receive notifs in Odoo - go to employees - click "launch plan" for demo user - login as demo user - Click on the link for the activity that is sent in discuss Issue: There is no chatter in the view Explanation: the view of en employee coming from messaging is always hr.employee.public that does not contain the chatter. opw-2990577 closes odoo/odoo#102803 X-original-commit: 918ea972c74e563bf8ef3db13f3a1b9c610bca37 Signed-off-by:
Kevin Baptiste <kba@odoo.com> Signed-off-by:
Fockedey Martin (mafo) <mafo@odoo.com>
-
- Oct 09, 2022
-
-
Odoo Translation Bot authored
-
- Oct 07, 2022
-
-
Audric Onockx (auon) authored
Steps : - On a new DB (no demo data). Say created at 15:00. - Go to planning. - Add a shift for today. - Set the dates from 08:00 to 17:00. Issue : The 'Allocated Time' = 02:00. Cause : We used to count from the resource creation min to the departure max. So, in this case, not from 08:00, but from 15:00. While this might seem logical, it confuses users in onboarding. Fix : Calculate the whole time, regardless of the resource lifespan. Notes : - Similar issues solved with this commit : > Once the shift validated, the avatar progress bar uses the same allocated time. > Same in Project Task gantt view. - When contract is installed, if the resource does not have a contract, the Allocated Time = 0. Now, it is calculated from the resource calendar. task-2983993 closes odoo/odoo#102392 Related: odoo/enterprise#32378 Signed-off-by:
Laurent Stukkens (ltu) <ltu@odoo.com>
-
Rob Coekaerts authored
The current homeworking module doesn't answer the standard of quality. For now It will be removed from the settings and app store so it is not visible to any users. It will return after it has been reviewed and improved. task-2995332 closes odoo/odoo#101093 Related: odoo/enterprise#31762 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Oct 06, 2022
-
-
Jorge Pinna Puissant authored
Before this commit, only when using the save button on the profile, the context is reloaded with the new language. If we use the breadcrumb to exit the profile view, the new language is saved, but the context is not reloaded. closes odoo/odoo#102419 Related: odoo/enterprise#32396 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Kevin Baptiste authored
The "Reporting" title was not properly displayed (stuck to the left of the dropdown) and the Timesheets entry was not displayed as a proper dropdown item. task-3001445 closes odoo/odoo#101744 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 04, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#102045 Related: odoo/enterprise#32243 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
FrancoisGe authored
The goal of this commit is to fix the behaviour of clicking on a field with the "many2one_avatar" widget in a list view. Expected behaviour when clicking on a field with the "many2one_avatar" widget: - Editable list view: switch row to edit - Multi_edit list view with selected record: switch row to edit - Other case: open the many2one_avatar record in a form view Before this commit, clicking on a field with the "many2one_avatar" widget always opens the record in a form view. After this commit, the expected behaviour when clicking on a field with the "many2one_avatar" widget is respected. closes odoo/odoo#101737 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Oct 02, 2022
-
-
Odoo Translation Bot authored
-
- Oct 01, 2022
-
-
Louis Wicket (wil) authored
Model patches are now defined using the `registerPatch` function. This function takes an object as argument which keys match those of a model definition. Benefits: + More consistent shape between model definitions and patch definitions + No need to import one function to each type of patch + No need to repeat the model name for each type of patch + No need to import the original definition Task-2998282. * = calendar, crm, hr, im_livechat, note, rating, sms, snailmail, website_livechat, website_slides closes odoo/odoo#101282 Related: odoo/enterprise#31866 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
- Sep 29, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#101288 Related: odoo/enterprise#31850 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Martin Trigaux authored
Also clarify messages Part-of: odoo/odoo#101288
-
Brieuc-brd authored
Since commit ae7bd570e13fe19367f86a1519b23747b3b0b73e, the size of `o_work_employee_main` has been reduced. This commit fixes this issue. task-2918464 Part-of: odoo/odoo#98911
-
- Sep 26, 2022
-
-
Kevin Baptiste authored
The domain of `work_location_id` requires the company_id and address_id which were missing from the tree view, showing a traceback when trying to change that field. closes odoo/odoo#101182 X-original-commit: 8376adc1 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Michael (mcm) authored
This commit does multiple things: - The readonly mode of form view is removed but not for the fields. it means that the fields in the view are always in edit mode except if we force them to be readonly. - The control panel is revamped to take less vertical space and shows now the record editing (dirtiness)/validity status after editing the record. - The record is saved only when leaving the view or by clicking the save button when hovering the record status in the control panel. - The record can still be discarded by clicking the discard button when hovering the status text in control panel. task id: 2822553 Part-of: odoo/odoo#100570 Co-authored-by:
luvi <luvi@odoo.com>
-
- Sep 25, 2022
-
-
Odoo Translation Bot authored
-
- Sep 24, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#100958 Related: odoo/enterprise#31696 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 23, 2022
-
-
William Braeckman authored
Some views still use them. closes odoo/odoo#100884 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
alt-odoo authored
Since commit [1], we use base.main_company as default value for the address of the admin employee. This is not correct as base.main_company is referring to res.company model while address_id is expecting a res.partner id. This works in most default situations as id = 1 is the same for both res.company and res.partner, but not anymore in case we have merged the initial partner with another one. We should use base.main_partner instead of base.main_company. [1]:https://github.com/odoo/odoo/commit/c0ca736193df42814389151956eb07c28c77d18e closes odoo/odoo#100866 X-original-commit: 16316705 Signed-off-by:
Kevin Baptiste <kba@odoo.com> Signed-off-by:
Alex Thuyls (alt) <alt@odoo.com>
-
- Sep 22, 2022
-
-
Xavier-Do authored
When installing l10n_mx, a error occurs Traceback (most recent call last): File "/data/build/odoo/odoo/service/server.py", line 1289, in preload_registries registry = Registry.new(dbname, update_module=update_module) File "<decorator-gen-15>", line 2, in new File "/data/build/odoo/odoo/tools/func.py", line 87, in locked return func(inst, *args, **kwargs) File "/data/build/odoo/odoo/modules/registry.py", line 91, in new odoo.modules.load_modules(registry, force_demo, status, update_module) File "/data/build/odoo/odoo/modules/loading.py", line 482, in load_modules processed_modules += load_marked_modules(cr, graph, File "/data/build/odoo/odoo/modules/loading.py", line 371, in load_marked_modules loaded, processed = load_module_graph( File "/data/build/odoo/odoo/modules/loading.py", line 206, in load_module_graph registry.setup_models(cr) File "/data/build/odoo/odoo/modules/registry.py", line 289, in setup_models model._setup_fields() File "/data/build/odoo/odoo/models.py", line 3294, in _setup_fields field.setup(self) File "/data/build/odoo/odoo/fields.py", line 512, in setup self.setup_nonrelated(model) File "/data/build/odoo/odoo/fields.py", line 4524, in setup_nonrelated m2m = model.pool._m2m AttributeError: 'Registry' object has no attribute '_m2m' Since #99438 hr is sintalled automatically This means that when doing a -i l10n_mx, hr is installed too hr will conditionnaly call a button_immediate_install in this case. What's going on after that: It's a mess button_immediate_install will create another registry This registry will be present on some models that will ne used later by the initial registry creating the missing _m2m case For the record, here are some of the strange and key element during the install 2022-09-21 16:31:27,691 2579263 INFO test_mx odoo.modules.loading: loading 1 modules... 2022-09-21 16:31:27,691 2579263 INFO test_mx odoo.modules.loading: Loading module base (1/1) ... 2022-09-21 16:31:36,222 2579263 INFO test_mx odoo.modules.loading: Module base loaded in 8.53s, 8902 queries (+8902 other) 2022-09-21 16:31:36,222 2579263 INFO test_mx odoo.modules.loading: 1 modules loaded in 8.53s, 8902 queries (+8902 extra) 2022-09-21 16:31:36,240 2579263 INFO test_mx odoo.modules.loading: updating modules list 2022-09-21 16:31:36,241 2579263 INFO test_mx odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 2022-09-21 16:31:36,943 2579263 INFO test_mx odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Mexico - Accounting'] to user __system__ #1 via n/a ... 2022-09-21 16:31:49,775 2579263 INFO test_mx odoo.modules.loading: Loading module base_install_request (26/78) ... 2022-09-21 16:31:50,043 2579263 INFO test_mx odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Project', 'Email Marketing', 'Employees', 'Knowledge', 'Sign', 'Planning', 'Appointments', 'Surveys'] to user __system__ #1 via n/a 2022-09-21 16:31:50,167 2579263 INFO test_mx odoo.modules.loading: Module base_install_request loaded in 0.39s, 228 queries (+228 other) ... 2022-09-21 16:32:10,816 2579263 INFO test_mx odoo.modules.loading: Loading module l10n_mx (55/78) ... 2022-09-21 16:32:17,618 2579263 INFO test_mx odoo.modules.loading: Module l10n_mx loaded in 6.80s, 4302 queries (+4332 other) ... 2022-09-21 16:32:50,371 2579263 INFO test_mx odoo.modules.loading: Loading module hr (35/112) 2022-09-21 16:32:57,594 2579263 INFO test_mx odoo.addons.base.models.ir_module: ALLOW access to module.button_immediate_install on ['Employees - Mexico'] to user __system__ #1 via n/a 2022-09-21 16:32:57,594 2579263 INFO test_mx odoo.addons.base.models.ir_module: User #1 triggered module installation 2022-09-21 16:32:57,595 2579263 INFO test_mx odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Employees - Mexico'] to user __system__ #1 via n/a ... 2022-09-21 16:32:58,558 2579263 ERROR test_mx odoo.modules.registry: Creating Registry <odoo.modules.registry.Registry object at 0x7f02cc0e8130> Stack (most recent call last): File "/home/xdo/osrc/master/odoo/odoo-bin", line 8, in <module> odoo.cli.main() File "/home/xdo/osrc/master/odoo/odoo/cli/command.py", line 56, in main o.run(args) File "/home/xdo/osrc/master/odoo/odoo/cli/server.py", line 179, in run main(args) File "/home/xdo/osrc/master/odoo/odoo/cli/server.py", line 173, in main rc = odoo.service.server.start(preload=preload, stop=stop) File "/home/xdo/osrc/master/odoo/odoo/service/server.py", line 1391, in start rc = server.run(preload, stop) File "/home/xdo/osrc/master/odoo/odoo/service/server.py", line 570, in run rc = preload_registries(preload) File "/home/xdo/osrc/master/odoo/odoo/service/server.py", line 1289, in preload_registries registry = Registry.new(dbname, update_module=update_module) File "<decorator-gen-15>", line 2, in new File "/home/xdo/osrc/master/odoo/odoo/tools/func.py", line 87, in locked return func(inst, *args, **kwargs) File "/home/xdo/osrc/master/odoo/odoo/modules/registry.py", line 91, in new odoo.modules.load_modules(registry, force_demo, status, update_module) File "/home/xdo/osrc/master/odoo/odoo/modules/loading.py", line 482, in load_modules processed_modules += load_marked_modules(cr, graph, File "/home/xdo/osrc/master/odoo/odoo/modules/loading.py", line 371, in load_marked_modules loaded, processed = load_module_graph( File "/home/xdo/osrc/master/odoo/odoo/modules/loading.py", line 248, in load_module_graph getattr(py_module, post_init)(cr, registry) File "/home/xdo/osrc/master/odoo/addons/hr/__init__.py", line 19, in _install_hr_localization l10n_mx.button_immediate_install() File "<decorator-gen-74>", line 2, in button_immediate_install File "/home/xdo/osrc/master/odoo/odoo/addons/base/models/ir_module.py", line 75, in check_and_log return method(self, *args, **kwargs) File "/home/xdo/osrc/master/odoo/odoo/addons/base/models/ir_module.py", line 486, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/home/xdo/osrc/master/odoo/odoo/addons/base/models/ir_module.py", line 607, in _button_immediate_function registry = modules.registry.Registry.new(self._cr.dbname, update_module=True) File "<decorator-gen-15>", line 2, in new File "/home/xdo/osrc/master/odoo/odoo/tools/func.py", line 87, in locked return func(inst, *args, **kwargs) File "/home/xdo/osrc/master/odoo/odoo/modules/registry.py", line 79, in new registry.init(db_name) File "/home/xdo/osrc/master/odoo/odoo/modules/registry.py", line 115, in init _logger.error(self, stack_info=True) 2022-09-21 16:32:58,580 2579263 INFO test_mx odoo.modules.loading: loading 1 modules... 2022-09-21 16:32:58,581 2579263 INFO test_mx odoo.modules.loading: Loading module base (1/1) ... 2022-09-21 16:33:35,294 2579263 INFO test_mx odoo.modules.loading: Loading module base_install_request (30/85) ... 2022-09-21 16:33:35,745 2579263 INFO test_mx odoo.modules.loading: Module base_install_request loaded in 0.45s, 131 queries (+131 other) ... 2022-09-21 16:34:05,789 2579263 INFO test_mx odoo.modules.loading: Loading module l10n_mx (62/85) ... 2022-09-21 16:34:28,497 2579263 INFO test_mx odoo.modules.loading: Loading module hr (35/113) ... 2022-09-21 16:34:32,067 2579263 INFO test_mx odoo.modules.loading: Module hr loaded in 3.57s, 4092 queries (+4092 other) 2022-09-21 16:34:32,067 2579263 INFO test_mx odoo.modules.loading: Loading module link_tracker (37/113) ... 2022-09-21 16:34:32,690 2579263 INFO test_mx odoo.modules.loading: Module link_tracker loaded in 0.62s, 267 queries (+267 other) ... 2022-09-21 16:35:04,063 2579263 INFO test_mx odoo.modules.loading: Modules loaded. 2022-09-21 16:35:04,068 2579263 INFO test_mx odoo.modules.registry: Registry loaded in 125.514s 2022-09-21 16:35:04,068 2579263 INFO test_mx odoo.addons.base.models.ir_module: getting next ir.actions.todo() 2022-09-21 16:35:04,071 2579263 INFO test_mx odoo.addons.base.models.ir_module: next action is "Open Menu" 2022-09-21 16:35:04,094 2579263 INFO test_mx odoo.modules.loading: Module hr loaded in 133.72s, 4344 queries (+81420 other) ... 2022-09-21 16:35:04,094 2579263 INFO test_mx odoo.modules.loading: Loading module link_tracker (37/112) 2022-09-21 16:35:04,163 2579263 ERROR test_mx odoo.modules.registry: setuping model: ir.model.fields() registry on model: <odoo.modules.registry.Registry object at 0x7f02cc0e8130> registry calling setup_models: <odoo.modules.registry.Registry object at 0x7f02e92399d0> 2022-09-21 16:35:04,164 2579263 WARNING test_mx odoo.modules.loading: Transient module states were reset 2022-09-21 16:35:04,165 2579263 ERROR test_mx odoo.modules.registry: Failed to load registry 2022-09-21 16:35:04,165 2579263 CRITICAL test_mx odoo.service.server: Failed to initialize database `test_mx`. Traceback (most recent call last): File "/home/xdo/osrc/master/odoo/odoo/service/server.py", line 1289, in preload_registries registry = Registry.new(dbname, update_module=update_module) File "<decorator-gen-15>", line 2, in new File "/home/xdo/osrc/master/odoo/odoo/tools/func.py", line 87, in locked return func(inst, *args, **kwargs) File "/home/xdo/osrc/master/odoo/odoo/modules/registry.py", line 91, in new odoo.modules.load_modules(registry, force_demo, status, update_module) File "/home/xdo/osrc/master/odoo/odoo/modules/loading.py", line 482, in load_modules processed_modules += load_marked_modules(cr, graph, File "/home/xdo/osrc/master/odoo/odoo/modules/loading.py", line 371, in load_marked_modules loaded, processed = load_module_graph( File "/home/xdo/osrc/master/odoo/odoo/modules/loading.py", line 206, in load_module_graph registry.setup_models(cr) File "/home/xdo/osrc/master/odoo/odoo/modules/registry.py", line 293, in setup_models model._setup_fields() File "/home/xdo/osrc/master/odoo/odoo/models.py", line 3294, in _setup_fields field.setup(self) File "/home/xdo/osrc/master/odoo/odoo/fields.py", line 512, in setup self.setup_nonrelated(model) File "/home/xdo/osrc/master/odoo/odoo/fields.py", line 4524, in setup_nonrelated m2m = model.pool._m2m AttributeError: 'Registry' object has no attribute '_m2m' Naive fix here: use button_install instead of button_immediate_install (not even sure this is 100% correct) All calls to button_immediate_install should be fixed maybe to avoid a registryloadingception closes odoo/odoo#100755 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Alexandre Kühn authored
*: hr, im_livechat, snailmail, website_livechat This commit introduces the public livechat bundle, which contains the models that are specifically used in public livechat. Doing so reduces the amount of model and data in frontend and external lib, which makes the page load faster. Task-2990182 Task-2990191 closes odoo/odoo#100683 Related: odoo/enterprise#31559 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
- Sep 21, 2022
-
-
William Braeckman authored
Prefer using hooks instead. Makes use of the new open_chat_hook from mail when possible. closes odoo/odoo#100471 Related: odoo/enterprise#31516 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
William Braeckman authored
Those fields may be used in the new views. Some of the legacy fields had to be kept because they are used in some legacy views, more notably the gantt and activity views as well as in the mrp work order tablet mode. Part-of: odoo/odoo#100471
-
- Sep 20, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#100573 Related: odoo/enterprise#31507 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Kevin Baptiste authored
The presence icon was bigger than the chat one. Now they are better aligned with the employee's name. closes odoo/odoo#100564 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 18, 2022
-
-
Didier (did) authored
Fields param is actually not a kwargs. This cause a stack trace when opening a chat window (other than a chat with yourself) from a Kanban user avatar icon. closes odoo/odoo#100315 X-original-commit: 95d3f4b0 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
- Sep 16, 2022
-
-
Kevin Baptiste authored
There was an extra `r` in the name of the super method called, which produces a traceback. closes odoo/odoo#100361 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 15, 2022
-
-
Chong Wang (cwg) authored
Translated fields no longer use the model ir.translation. Instead they store all their values as JSON, and store them into JSONB columns in the model's table. The field's column value is either NULL or a JSON dict mapping language codes to text (the field's value in the corresponding language), and must contain an entry for key 'en_US' (as it is used as a fallback for all other languages). Empty text is allowed in translation values, but not NULL. Here are examples for a field with translate=True: NULL {"en_US": "Foo"} {"en_US": "Foo", "fr_FR": "Bar", "nl_NL": "Baz"} {"en_US": "Foo", "fr_FR": "", "nl_NL": "Baz"} Like before, writing False to the field makes it NULL, i.e., False in all languages. However, writing "" to the field makes its value empty in the current language, but does not discard the values in the other languages. Here are examples for a field with translate=xml_translate: NULL {"en_US": "<div>Foo<p>Bar</p></div>", "fr_FR": "<div>Fou<p>Barre</p></div>"} Change for callable(translate) fields: one can now write any value in any language on such a field. The new value will be adapted in all languages, based on the mapping of terms between languages in the old values. Basically the structure of the value must remain the same in all languages, like before. Reading a translated field is now both simpler and faster than the former implementation. We fetch the value of the field in the current language by coalescing its value with the 'en_US' value of the field: SELECT id, COALESCE(name->>'fr_FR', name->>'en_US') AS name ... The raw cache of the field contains either None or a dict which is conceptually a subset of the JSON value in database (except for missing languages). For the sake of simplicity, most cache operations deal with the dict and return the text value in the current language. Trigram indexes have been adapted to the new storing strategy, and should enable to search in any language. Before this change, only the source value of the field ('en_US') could be indexed. Computed stored translated fields are not supported by the framework, because of the complexity of the computation itself: the field would need to be computed in all active languages. We chose to not provide any hook to compute a field in all languages at once, and the framework always invokes a compute method once to recompute it. Code translations are no longer stored into the database. They become static, and are extracted from the PO files when needed. The worker simply uses a cache with extracted code translations for performance. This is reasonable, since fr_FR code translations for all modules takes around 2MB of memory, and the cache can be shared among all registries in the worker. Changing code translations requires to update the corresponding PO file and reloading the worker(s). Performance summary: (+) reading 'model' translated fields is faster (+) reading 'model_terms' translated fields is much faster (no need to inject translations into the source value) (+) searching translated fields with operator 'ilike' is much faster when the field is indexed with 'trigram' (+) updating translated fields requires less ORM flushing (-) importing translations from PO files is 2x slower Some extra fixes: - make field 'name' of ir.actions.actions translated; because of the PG inheritance, this is necessary to make the column definition consistent in all models that inherit from ir.actions.actions. - add some backend API for the web/website client for editing translations - move methods get_field_string() to model ir.model.fields - move _load_module_terms to model ir.module.module - adapt tests in test_impex, test_new_api - because env.lang is injected into SQL queries, its returned value is now guaranteed to correspond to a valid active language or None - remove wizard to insert missing translations (no longer makes sense) task-id: 2081307 Co-authored-by:
Fabien Pinckaers <fp@openerp.com> Co-authored-by:
Raphael Collet <rco@odoo.com>
-
Dossogne Bertrand authored
taskID 2969653 closes odoo/odoo#99407 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 14, 2022
-
-
Gorash authored
Adapt all manifest, split some XML file and update JavaScript files. Part-of: odoo/odoo#95500
-
- Sep 13, 2022
-
-
Rob Coekaerts authored
Change the default recipient of the simulation link to be the employee's work email address, instead of the private email address. Currently the private email of employees is used for this but this doesn't work because mail.compose.message does not allow allow private partners to be configured as recipients. Secondly, it also just makes sense to send work-related email to the work email address. In addition, since a partner is automatically created when sending an email to this work email address (which is currently a string field, a new field is created to keep track of this partner, in addition to other partners that might be linked to employee. task-2790044 closes odoo/odoo#95655 Related: odoo/enterprise#27808 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 09, 2022
-
-
Dossogne Bertrand authored
This commit adds the possibility to link a stress day to specific departments. If the employee is in a sub-department of the department subject to a stress day, the stress day will also apply for that employee. taskID 2946420 closes odoo/odoo#97888 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 08, 2022
-
-
Kevin Baptiste authored
It was no longer possible to load the My Profile for users with an employee that were not HR Officer. In the `get_views()` method, the 'search' view was requested after the 'form', thus it omited the fields requested as SUPERUSER in `get_view()`. closes odoo/odoo#99750 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 07, 2022
-
-
Dossogne Bertrand authored
hr_*: hr hr_contract hr_recruitment website_hr_recruitment Increase UX and possibilities to postulate to a job on recruitement. Also moves the model hr.contract.type from hr_contract to hr so that it can also be used from hr_recruitment without having two models in parallel. taskID 2898063 closes odoo/odoo#96551 Related: odoo/enterprise#29777 Related: odoo/upgrade#3861 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Philippe Wauthy authored
In the Employees app, when using the department kanban view and clicking on the Time Off Requests or Allocation Requests, it leads to a tree view but the department from which the user comes from is not part of the filters. This commit adds the department in the filters of the tree view. Due to the search panel being present in the tree view, the department filter is removed from the list of filters to avoid a duplication of the filters in the search panel. task-2939207 closes odoo/odoo#97773 Related: odoo/enterprise#30358 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-