- Aug 27, 2022
-
-
Abdelouahab (abla) authored
To Reporduce ============= 1. Create employee with Standard Working Schedule (100% presence / 40 hours / 08:00 - 12:00 & 13:00 - 17:00) 2. Create Time off type: Paid time off with following settings: - Take time off in: Hours - Deduct Extra Hours: No 3. Create a time off request for half a day for this employee (8/17/2022; morning) 4. Approve Time Off Request 5. Create an attendance record for this employee for the afternoon on this day (13:00 - 17:00) Problem ======= On the attendance report, this employee has -4:00 Extra Hours, which means that the leave wasn't taken into account when computing Extra Hours Solution ========= to solve the issue we take into account the Employee's leaves when computing Extra Hours opw-2956895 closes odoo/odoo#98969 X-original-commit: 3da24993 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Jinjiu Liu authored
Reproduction: 1. Create a dynamic attribute "dyn_att" with a couple of values 2. Create a product template "dyn_prod" with those attribute values 3. Create an order for "dyn_prod", this will trigger creating a variant 4. Make sure to check Variant Grid Entry in Sales Settings 5. Open variant form view of dyn_prod and edit it to allow duplication 6. Duplicating it leads to an error Reason: copying the variant is not possible and disabled here: https://github.com/odoo/odoo/pull/38303 For future convenience, maybe it’s better to give a temporal working solution. The function _create_first_product_variant is used in the product module but only defined in its child module website_sale Fix: copy the product template, create and return its first possible variant. Added test for dynamic variant copy. change the definition place of _create_first_product_variant to module product opw-2790543 closes odoo/odoo#98809 X-original-commit: 34a2948d Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by:
Liu Jinjiu (jili) <jili@odoo.com>
-
Camille Spiritus authored
Added ids necessary for the soda files to be imported on l10n_be. see https://github.com/odoo/enterprise/pull/30680 closes odoo/odoo#98904 Related: odoo/enterprise#30680 Signed-off-by:
Quentin De Paoli <qdp@odoo.com>
-
Pierre Paridans authored
XXL Form View doesn't apply the right max-width (1320px instead of 1140px). This is due to the precedence of the selector for `.o_xxl_form_view` since https://github.com/odoo/odoo/pull/96627 . Also this code block applies to both legacy an new FormView instead of only the new one. This commit fixes it by properly targetting the `.o_form_view` with the `.o_xxl_form_view` and restores the previous behavior. closes odoo/odoo#98686 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
debu-odoo authored
Purpose ======= Confirm batch when `Draft` checkbox is unchecked. So in this commit, we have added one `Draft` checkbox in the batch wizard. While creating a new batch, if this `Draft` checkbox is checked then batch will be create in draft state and if it's not then the batch will be create in confirm state. TaskID - 2925593 closes odoo/odoo#97084 Signed-off-by:
Tiffany Chang <tic@odoo.com>
-
Daniel Blanco authored
since this value is used as a required field in website sale [FIX] l10n_cl: add activity description field to company closes odoo/odoo#95964 Related: odoo/enterprise#29462 Related: odoo/upgrade#3764 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Valentin Chevalier authored
Before this commit, customers never waited on the status page for their payment to be confirmed. Instead, they were redirected to the landing route before that the transaction reaches a final state. Although this bug is present since version 15.0, it not considered as a problem worth fixing in stable since redirecting customers in advance is already supported. It is fixed in master to lay ground for further work that will require customers to wait for the payment confirmation. After this commit, customers will remain on the status page until their transaction state is updated to a final state ('authorized', 'done', 'error'). An exception is made for Wire Transfer's payments that are never confirmed and should not block the customer on the status page. task-2908493 closes odoo/odoo#95933 Signed-off-by:
Antoine Vandevenne (anv) <anv@odoo.com>
-
sofiagvaladze authored
Major changes: - converted list view to owl - merged menus - added CREATE REPORT button on hr.expense that reports either ticked draft expenses, or all the draft expenses for the user - added dynamic buttons on expense.sheet list view - added searchpanel on expense.sheet for team approvers and above - moved (and changed) expense categories from demo to data - added support on drag'n'drop while in list and kanban view of expense for quick upload task - 2831036 closes odoo/odoo#93802 Related: odoo/enterprise#28474 Related: odoo/upgrade#3778 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Aug 26, 2022
-
-
Pierrot (prro) authored
The commit https://github.com/odoo/enterprise/commit/0063d7d6a09c16716dcd9125c291a1041f9ed255 forgot to include the corresponding scss file. closes odoo/odoo#98920 Related: odoo/enterprise#30748 Signed-off-by:
Laurent Smet <las@odoo.com>
-
Samuel Degueldre authored
The newly converted form view displays the translation alert above the form renderer, but we want the translation alert to be present below the status bar when there is one. This commit fixes that by moving the display from the form controller to the form renderer. closes odoo/odoo#98434 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Achraf Ben Azzouz <abz@odoo.com>
-
Brieuc-brd authored
Review, simplify SCSS and adapt legacy code. Part of the overall v16 SCSS optimization/restyle, task-2704984 task-2918464 closes odoo/odoo#98101 Related: odoo/enterprise#30421 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
Brieuc-brd authored
This commit moves the form variables from primary_variables.scss to the FormView folder. Part of the overall v16 SCSS optimization/restyle, task-2704984 task-2918464 Part-of: odoo/odoo#98101
-
Rob Coekaerts authored
When selecting the action "Create User" from the employee view, use the available employee information as default values for this new user. Additionally, make the "Create Employee" option invisible as this is not relevant when the employee already exists and save an extra click by closing the user form upon saving. task-id 2942602 closes odoo/odoo#97632 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Xavier Morel authored
Currently dbs can only be managed via the UI in order to take filestores in account: while it's possible to load/copy/rename/drop databases via `psql`, that will not manage the related filestores so the result of the operation is incomplete DBs and leftover filestores littering the disk. Seems like a good idea to add a CLI to perform the same tasks. Currently the CLI calls into the corresponding service, rather than both calling into (possibly better designed) unified APIs, but that seems fine for an initial version. The top-level `db` command acts as a db manager, with git-style sub-sub-commands for the various operations: - `load` to load a dump file into a database (with a specified name or not) - `dump` to dump a local db to a zip dump (pg_dump can be created via the corresponding command so not a concern) - `duplicate` and `rename` - `drop` in order to drop both the database itself and the corresponding filestore Notably, `create` is currently left out because a database can trivially be created by invoking odoo using a dbname which doesn't exist, so doesn't seem useful. `list` is also left out, because `psql -l` generally does the job. closes odoo/odoo#97365 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
aliya authored
- Remove FEC from res.config.settings - everything is now linked in the import guide (in enterprise) - Compute debit and credit from opening_balance - Update import templates for account.account, account.move, res.partner - Small UI changes in base_import: add an action title and improve the template button design task-2888243 closes odoo/odoo#96291 Related: odoo/enterprise#29627 Related: odoo/upgrade#3794 Signed-off-by:
Cedric Snauwaert <csn@odoo.com>
-
svs-odoo authored
In the product's forecast report, if the product has a BoM, a button is displayed to go to the BoM overview report. task-2628323 closes odoo/odoo#93194 Related: odoo/enterprise#28191 Related: odoo/upgrade#3686 Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com>
-
clesgow authored
Since the new Overview report can compute the lead days and availability delays from a BoM and all of its components and/or subassemblies, we can use this data to compute the days that would be required to resupply all components from a BoM. So we add a button to compute it directly on the product form. Task-2628323 Part-of: odoo/odoo#93194
-
clesgow authored
Add additional requirement to identify buy route in BoM Overview report if mrp_subcontracting is installed to not get confused between the two cases. Task-2628323 Part-of: odoo/odoo#93194
-
clesgow authored
The 'Structure & Cost' report has been changed to 'Overview', changing some of its functionnalities. The override previously done in mrp_subcontracting must be adapted to match the changes done in the mrp module. Also, the report has been converted to OWL in the process, requiring changes in the overriden files as well. Finally, the now obsolete code only related to the old 'Structure & Cost' report has been removed. Task-2628323 Part-of: odoo/odoo#93194
-
clesgow authored
Add support for "buy" route recognition in the BoM overview report, as well as calculating receipt delay for this kind of route Task-2628323 Part-of: odoo/odoo#93194
-
clesgow authored
Changes "Structure & Cost" report to "Overview", as the goal for this report is improved. The point is to have on a single report all components and sub-assemblies that make it up, in parallel with the route and lead times associated to each. This way it becomes easier to identify issues, such as: - Missing routes. - Longer lead times on a specific sub-assembly. - Unavailable component in the foreseable future. - ... Also did the conversion to OWL, changing drastically the structure of the report. Task-2628323 Part-of: odoo/odoo#93194
-
Odoo's Mergebot authored
This adds many improvements to table editing in Odoo Editor, as well as some styling improvements. New features : - Rectangular cell selection - Changing the color of a cell - Buttons to add/remove/move rows/columns - Resize rows/columns task-2858455 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#92200 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Antoine Guenet authored
The commands to add rows and columns in certain positions were superfluous as commands to add rows and columns suffice if you pass them a position argument. Part-of: odoo/odoo#92200
-
Antoine Guenet authored
When the user picks a color, the colorpicker closes, triggering color_leave. This is conceptually wrong and can cause issues as it reverts the current history step. Part-of: odoo/odoo#92200
-
Antoine Guenet authored
This adds a menu to manipulate table rows and columns when hovering over them. Hovering over the first row shows the menu for the hovered column. Hovering over the first column shows the menu for the hovered row. The buttons in the menu allow the user to add/move/remove rows/columns. task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
With this, when whole table cells are selected and the user picks a color in the toolbar's colorpicker, that color is applied to the whole cell rather than to the text only. task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
This allows the user to grab table borders in order to resize its rows and columns. task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
This adds the feature of showing the appropriate resize cursor depending on which border (vertical or horizontal) is hovered in a table. task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
This adds the possibility to select whole cells, rectangularly rather than line per line from left to right then top to bottom. task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
New rows added with TAB in a table were missing a <br> in each cell, making them appear less tall. task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
Update the blue text selection color to #bad3fc. task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
- reduce the default row height to get a padding of .5rem instead of .75 - use a darker grey for table border color task-2858455 Part-of: odoo/odoo#92200
-
Antoine Guenet authored
When converting a paragraph to a checklist, we first apply the checklist class and then take the paragraph's attributes and apply it to the new list. If said attributes included the "class" attribute, it wrote over the checklist class. Part-of: odoo/odoo#92200
-
Antoine Guenet authored
When the editor's test utils set the selection, they did not trigger the selectionchange event, which means the editor's listener didn't get called. Part-of: odoo/odoo#92200
-
Antoine Guenet authored
`getDeepRange` fetched a range on potentially the wrong document and `getTraversedNodes` created a node iterator on potentially the wrong document, when the editable was not in the DOM. Part-of: odoo/odoo#92200
-
Antoine Guenet authored
If an error was thrown during a call to `testEditor` (eg, a test failed), we never went through the code that destroys the editor and cleans the DOM. This catches any error to throw it only at the end of the function. Part-of: odoo/odoo#92200
-
Sébastien Geelen (sge) authored
Introduce a new Dynamic Placeholder Generator in mass mailing and SMS creation. Using a specific character (#) in subject or via the PowerBox in body we open a field selector popup, which can be use to select the wanted field and enter a default value. on validation, the dynamic placeholder will be inserted in the corresponding input/editable. task-2154624 closes odoo/odoo#71878 Related: odoo/enterprise#30333 Related: odoo/upgrade#3766 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Sébastien Geelen (sge) authored
Ensure getRangePosition do not crash if the current selection is collapsed. task-2154624 Part-of: odoo/odoo#71878
-
Sébastien Geelen (sge) authored
Ensure <t-out> tag inside the editable area are not considered as no content or empty. task-2154624 Part-of: odoo/odoo#71878
-
Sébastien Geelen (sge) authored
We remove the existing dynamic placeholder generator tab, in mail and sms creation views. In preparation of the implementation of a new way to generate the dynamic placeholders task-2154624 Part-of: odoo/odoo#71878
-