- Feb 04, 2021
-
-
Aurélien (avd) authored
Change Delete secondary button to Archive on calendar popover for synced calendar event. This makes it easier to delete synced button from the calendar view. (This commit is roughly the same as the one for google calendar, with an additional check in MicrosoftCalendarPopover.js) closes odoo/odoo#65539 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Aurélien (avd) authored
Change Delete secondary button on calendar popover to Archive for synced calendar event. This makes it easier to delete synced calendar events.
-
- Feb 23, 2021
-
-
Christophe Monniez authored
Now that a test exists to enforce `__init__.py` in odoo module, we must ensure that we keep the feature. For that reason, a white-list system is added in `test_dunderinit` and a test is added in order to be sure that a module without `__init__.py` can be exists. This this is made of a fake module `test_data_module` without `__init__.py` and a test module which ensure the fake module was installed. closes odoo/odoo#66651 Related: odoo/enterprise#16596 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Christophe Monniez authored
Odoo modules without `__init__.py` are not recognized as python modules and therefore not packaged by standard tools.
-
Christophe Monniez authored
When a module is added, it happens that the `__init__.py` file is forgotten. In that case, those modules are not packaged. With this commit, a test is added to check that each Odoo module has the file.
-
Nasreddin (bon) authored
Issue - Install Inventory module - Go to Inventory -> Reporting -> Inventory Valuation - Click on "Inventory At Date" button - Select any date The datetime in breadcrumb is displayed in UTC. Solution Display datetime in current user timezone. opw-2464744 closes odoo/odoo#66713 X-original-commit: 235386e4 Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
Joseph Caburnay authored
To reproduce: 1. Activate pos_hr feature. 2. Authorize an employee with pin. 3. Open a pos session and login with that employee. 4. [BUG] The popup to input pin is broken. This is because of the 'minus' button. In this commit, we make sure to hide the 'minus' button when the popup is used to ask for pin. closes odoo/odoo#66688 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Feb 18, 2021
-
-
tivisse authored
A leave manager should be able to approve a time off that already begun. opw:2447240 closes odoo/odoo#66481 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com> Co-authored-by:
simongoffin <sig@odoo.com>
-
- Feb 23, 2021
-
-
Julien Giannone authored
This commit unpins a livechat channel initiated by an admin when it's closed and no message has been sent closes odoo/odoo#66178 Task-id: 2276571 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Nicolas Lempereur authored
Scenario: - set new background image - set parallax - save => on next edition, the editor doesn't work on background anymore Why: - backgroundOptimize copy attributes of the original image to the real target element on save - parallax change the real target element to a new child => so if the original element was an editor (with data-oe-model, ...) attributes, with the combination of the two options we will save these editing attribute on the child element which is wrong (the editing attributes are added dynamically and should not be saved). With this changeset, we don't copy the editing attributes in backgroundOptimize when we copy the original target image. opw-2427560 opw-2429340 closes odoo/odoo#66665 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Rémy Voet (ryv) authored
This fix (odoo/odoo#46850) was too permissive and fix too much stock valuation issues (other than rounding error) under the hood. The problem of the "too permissive" is will hide some errors without get any feedback about them. Also, it changes the SVL value without any explanation. To avoid the first issue, apply a threshold on the rounding adjustment. This threshold is '(quantity_out * smallest_value_of_the_currency) / 2' (`smallest_value_of_the_currency` = `rounding` field of the related currency). Also to improve debugging, add a line in the description about the rounding adjustment done in a SVL task-2452786 closes odoo/odoo#66662 X-original-commit: 74ba8039 Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
nie authored
Steps: - Install Inventory - Make sure Units of Measure are activated in the settings - Go to Inventory > Configuration > Units of Measure > UoM - Delete m³ - Go to Products > Products - Click any product Bug: Traceback here: https://github.com/odoo/odoo/blob/5324f7a6aa757ff6a728258ea1877ded4a6f86cd/addons/product/models/product_template.py#L315 ValueError: External ID not found in the system: uom.product_uom_cubic_meter Explanation: Products refer to UoM since this commit: https://github.com/odoo/odoo/commit/2c079fcd107caec3a25e2a78d4d0e5af1d8237da Deleting a referenced UoM will most probably break things in the future. This commit prevents users from deleting UoM that are referenced by an external ID. opw:2457057 closes odoo/odoo#66656 Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
Lucas Lefèvre authored
The `mail` module logs bus notifications it does not handle. However, some notifications are not meant to be handled by `mail` and it's perfectly fine. This commit removes the log to avoid useless noise in the console. closes odoo/odoo#66661 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Xavier Morel authored
instead of using ad-hoc weirds closes odoo/odoo#66649 X-original-commit: 9a129ca9 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Qiuyu (QHO) authored
The executing function for FieldCommand should return boolean value to indicate whether the value changed for triggering the re-computation. closes odoo/odoo#66648 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Denis Roussel authored
Do a transfer in two steps with several move lines (e.g.: Vendors => Input => Stock). In the first picking, set quantity = 0 on a single line. Transfer it and say 'No backorder'. In the second picking, set all quantities (you have two move lines confirmed and one canceled). Validate the transfer. The backorder wizard is launched. It should not. closes odoo/odoo#66272 X-original-commit: 25ae2416 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
- Feb 22, 2021
-
-
Tiffany Chang (tic) authored
Commit e5ab8cf9 missed a use case. Steps to reproduce: - Activiate "Packages" setting in Inventory - Configure an operation type to "Move Entire Packages" - Create a "Planned Transfer" picking with that operation type and add a package to be moved - Turn off "Move Entire Packages" and try set the destination package of the move line to nothing (False). Expected result: Move line has no destination package + package level is deleted as expected. Another bug will still exist due to the design of package_level where if in addition to the above use case, if a different package is used instead of deleting it and "Move Entire Packages" is reactived => final package shown in the Detailed Operations will show all move lines as being part of the same package even though they are not. Data appears to be correct in the database otherwise and a reasonable fix doesn't seem feasible for now so we leave this bug as is. Related to Task: 2418907 closes odoo/odoo#66624 Fixes: odoo/odoo#66542 Fixes: odoo/odoo#66517 X-original-commit: a73505dd Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Nicolas Lempereur authored
Scenario: - go to /slides and start editing the page - change the position of background banner - save => traceback Why: The code for pan tool duplicates the target element in an overlay. In the given use case, it means a node with .o_editable class is created that will cause an error when saving because the code expect the cloned element to be an editor (in `RTEWidget.save()`) but it is not (and is eg. missing `.data('options')`). opw-2427560 closes odoo/odoo#66639 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Adrien Dieudonne authored
Before this commit, 'hours' was on the next row instead of the same line. closes odoo/odoo#66628 X-original-commit: 6820eef1 Signed-off-by:
Pierre Paridans <pparidans@users.noreply.github.com> Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
nie authored
Steps: - Install sales,payment - Go to Sales - Create a quotation - Click Actions > Generate a Payment Link - Browse the link in a private window - Pay Bug: The transaction is not linked to the sale order in the link table `sale_order_transaction_rel` Explanation: When not connected, the user doesn't have the rights to read the order. This leads `order_id` to be set to `None`: https://github.com/odoo/odoo/blob/d2f3c9e7975188753fa17c06db3fc5c73c773944/addons/payment/controllers/portal.py#L177-L178 When paying without `order_id`, the app is not able to make a link with the transactions: https://github.com/odoo/odoo/blob/d2f3c9e7975188753fa17c06db3fc5c73c773944/addons/payment/controllers/portal.py#L276-L277 This raises problems such as not being able to capture an amount as seen here: https://github.com/odoo/odoo/blob/d2f3c9e7975188753fa17c06db3fc5c73c773944/addons/sale/views/sale_views.xml#L254-L257 If we ensure a `partner_id` is present, using `sudo` here shouldn't be a problem as the data is protected by the token. Everything we get from `order_id` should already be in the URL. opw:2451564 closes odoo/odoo#66616 X-original-commit: f1f73fd2 Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
Andrea Grazioso (agr-odoo) authored
- Have a storable product with 3140.0 quantity on hand - Make a sale order for 3106.40, confirm and validate delivery - Reserved quantity will be 3106.40 - Make another sale order for 33.60, confirm and go to delivery - Reserved quantity will be 33.59 because of a rounding issue when calculating the available quantity opw-2449732 closes odoo/odoo#65453 Signed-off-by:
agr-odoo <agr-odoo@users.noreply.github.com>
-
Andrea Grazioso (agr-odoo) authored
- Go to the website - Drag a "Tabs" block on the page, you will have 3 example tabs - Click on the tab "Contact" and drag in the block "Image Gallery" - Add multiple images to the image gallery - Click on one of the other tabs so that the image gallery is hidden - Save The image gallery do not have the thumbails anymore. This occurs because when the carousel-indicator is hidden, jquery is not able to fetch its real length, so no icons are added. opw-2438513 closes odoo/odoo#66197 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Benjamin Frantzen (bfr) authored
Before this commit, in some cases the attachment of the Belgian EDI might not exist any longer when printing the pdf, which caused a crash when trying to embed it into the xml. closes odoo/odoo#66588 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Stefan Rijnhart authored
closes odoo/odoo#66505 Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
- Feb 18, 2021
-
-
nie authored
Steps: - Login as an admin user - On a fresh branch install event_crm - Give a "test" user access rights of "Own Document only" in the "Sales" app, nothing in "Events" - Assign any lead to "test" user - Login as "test" user and try to access your own leads Bug: Error: While parsing modifiers for button: for modifier "invisible": Unknown field registration_count in domain Explanation: The button `event_registration_action_from_lead` tries to access event registrations even if the user doesn't have access to events. opw:2462127 closes odoo/odoo#66425 Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
- Feb 17, 2021
-
-
Aaron Bohy authored
Let's assume the following scenario: - have an action in target new (e.g. a form view) - in the dialog, have an action/object button with confirm attribute - when clicking on that button, a confirm dialog opens - if validated, the following action returned by the server is again an action in target new Before this commit, the confirm dialog remained in the DOM. This issue occurred because it's parent wasn't correctly set (wrong use of `this`), so when the first dialog was destroyed, the confirm dialog wasn't automatically destroyed in turn. OPW~2440712 closes odoo/odoo#66345 X-original-commit: 2016fe31af970976775c9df160a31abfbec742ba Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
-
Mohammed Shekha authored
before this commit: when there is only one page in the notebook tag and there is a boolean field in form to show/hide that notebook page based on invisibility attrs, if we toggle boolean field notebook hides, that's OK but when we toggle boolean field again then notebook page is displayed but it is not active and due to that content of notebook page is not displayed. after this commit: when there is only one page in notebook and it has attrs for invisibilty, when we toggle boolean field to hide/show notebook page then notebook page as well as content is toggled. task-2449053 closes odoo/odoo#66338 X-original-commit: a0b5ecd3 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Feb 21, 2021
-
-
Odoo Translation Bot authored
-
- Feb 19, 2021
-
-
xO-Tx authored
Context: 1) Edit mode 2) Click on anchor edition button of website form submit button 3) Traceback occurs The "focus" triggered on $editable element in editor's 'getLinkInfo()' discards user's text selection on submit button, as a result, 'range.create()' method returns null since no selection is found. Note: the bug only occurred in Chrome. Note 2: [1] apparently tried to solve the same issue but the fix was not solving it correctly, at least not in all cases. [1]: https://github.com/odoo/odoo/commit/da14e4449e5e318eb72e1b9f268fb797adb0c6a6 opw-2443441 closes odoo/odoo#66552 X-original-commit: d2f3c9e7 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Laurent Smet authored
closes odoo/odoo#66543 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
Laurent Smet authored
This field shouldn't be visible on the view for 'base' repartition lines. closes odoo/odoo#66541 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
Andrea Grazioso (agr-odoo) authored
Open POS, add something to the order, go to checkout, add payment, double click on validate js error will popup opw-2429523 closes odoo/odoo#66046 Signed-off-by:
agr-odoo <agr-odoo@users.noreply.github.com>
-
Nicolas Lempereur authored
Scenario: - start editing background position - press TAB key - press CTRL + Z => traceback Why: Restoring a snapshot with CTRL Z can send a click event with target not wrapped in a jQuery object which was not expected by the code. reported in https://github.com/odoo/odoo/pull/66462#issuecomment-782025417 opw-2423445 closes odoo/odoo#66540 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Adrien Widart authored
When printing a draft invoice, it raises an error. The error comes from fix #65320: the latter registers the printed invoice as main attachment, but this needs to be done only with posted invoices. OPW-2427247 closes odoo/odoo#66526 X-original-commit: 192e128e Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
JordiMForgeFlow authored
closes odoo/odoo#66531 X-original-commit: 7f8ff150 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
JordiMForgeFlow authored
Currently, the quotation amount field added in the CRM Sales Teams Kanban view is overflowing the kanban card once the number is too large. The fix adds the class text-truncate in the corresponding div to avoid the overflow. Notice that this class is the one already used in the parent view implemented in the CRM module, for the other amount fields. X-original-commit: 14915f4b
-
- Feb 18, 2021
-
-
Xavier Morel authored
closes odoo/odoo#66439 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
qsm-odoo authored
Adapt [1] to be a bit more robust. [1]: https://github.com/odoo/odoo/commit/eb9373522628fa01c3503fa802ded23adc1cbe1f closes odoo/odoo#66501 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Nicolas Lempereur authored
If a field is sanitized, a6e2b484 would hide the video button because the video does not show in backend. It is better for the consistency but if the field appear in frontend, the video would still show so we prevent something that worked (but is very not user friendly when editing in backend). This changeset go back to the previous behavior (keeping the code simplification), at one point there should be a fix so at least when editing we see the video (currently we see an empty div in given conditions). opw-2463746 closes odoo/odoo#66449 X-original-commit: 73f57819 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Nasreddin (bon) authored
Issue - Install "Sales" module - Go to settings and activate "Product Configurator" feature - Create a product X with mutilple color (variants) - Create a quotation - Add product X (Product Configurator should open) - Hover any color Popup with color name does not appear. Cause 'title' attribute value is removed. Solution if element have 'value_name' data attribute, set it back as title else set no title. opw-2438704 closes odoo/odoo#66464 X-original-commit: fc7ef284 Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-