- Nov 29, 2022
-
-
roen-odoo authored
Current behavior: If you create an empty Db and just create one coupon program for the PoS , the `enter_code` button is not displayed. This happens because the condition to show the button was looking for program type `coupon` instead of `coupons`. Steps to reproduce: - Create an empty Db (Important) - Install PoS and PoS Loyalty - Create a coupon program for the PoS - Open the PoS, the `enter_code` button is not displayed opw-3078726 closes odoo/odoo#106585 Signed-off-by:
Trinh Jacky (trj) <trj@odoo.com>
-
Ninh Duc Hieu authored
Currently in Sale/Orders/Sales Teams menu , The Sales Analysis dashboard have text overflow bug for large numbers in USD/EUR this bug might be rare but in currency like Yuan or VND its common closes odoo/odoo#106737 X-original-commit: 2e58bc2f Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
FrancoisGe authored
Purpose: Make the command palette easier to discover - indeed, unless you know about CTRL+K, it's difficult to know you can use that elsewhere than the home screen. Solution: Add CTRL+K next to the Shortcut menu in the user menu. closes odoo/odoo#106594 Tackid: 3074492 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Yash Pathak authored
closes odoo/odoo#106742 X-original-commit: ad9dca99 Related: odoo/enterprise#34476 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
Bruno Boi authored
During the forward-port of odoo/odoo#106388 I changed the way the popoverClass is taken into account in the `onPositioned` callback and should have written a test. (from 16.0 branch up to current master) This commit brings the same change (splitting and spreading the prop value) and adds a test. closes odoo/odoo#106724 X-original-commit: ddaffdb3bdfa823c2298fc011a9e848304b553cf Signed-off-by:
Luca Vitali <luvi@odoo.com> Signed-off-by:
Bruno Boi (boi) <boi@odoo.com>
-
Fernanda Hernández authored
The user could make the mistake to put a large number in the `Guests` input in the POS order and this is not validated, even an number more large for the capacity of an integer, raising an uncontrolled error: `psycopg2.errors.NumericValueOutOfRange: integer out of range` this commit is adding a validation error in order to limit the number of `Guests` with the maximum number for an integer: 2**31 - 1 closes odoo/odoo#106523 X-original-commit: 0ff14cc8 Signed-off-by:
Trinh Jacky (trj) <trj@odoo.com>
-
Dylan Kiss (dyki) authored
The Belgian tax report was only available in French. Now the tax report is available in English by default and there are official translations in Dutch and French. Resources: NL: https://financien.belgium.be/sites/default/files/downloads/165-625-formulier-2022.pdf FR: https://finances.belgium.be/sites/default/files/downloads/165-625-formulaire-2022.pdf [task-3074748](https://www.odoo.com/web#id=3074748&cids=1&menu_id=4720&action=4043&model=project.task&view_type=form ) closes odoo/odoo#106258 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Mahendra Barad authored
Before this commit, when remaining hours is negative then it the label was displayed as muted instead of danger. So in this commit, display the label danger when remaning hours are negative. task-3014420 closes odoo/odoo#104601 Related: odoo/enterprise#33447 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
kais-odoo authored
Before this commit, the progress bar was missing since the progress bar CSS wasn't loaded to the project sharing webclient. So in this commit, the progress bar CSS path has been added to the manifest file for the project web client. task-3014420 Part-of: odoo/odoo#104601
-
kais-odoo authored
Before this commit, missing borders of remaining hours in project sharing kanban view. So in this commit, added border and respected color boder classes like 'border-success','border-warning' and 'border-danger' on remaining hours. task-3014420 Part-of: odoo/odoo#104601
-
kais-odoo authored
Before this commit, there was a trash icon button in the project sharing view to delete record. In this commit, removed trash icon by adding 'delete=0' in timesheet tree biew. task-3014420x Part-of: odoo/odoo#104601
-
roen-odoo authored
Current behavior: When splitting the order in a pos_restaurant session, the order was not correctly saved in the backend. It resulted in an order that still had all the product of the original order and another order with the correctly splitted products. Steps to reproduce: - Start a pos_restaurant session. - Go to table A and add 3 products to the table. - Go back to the floor screen - Go back to the table A - Split the order in 2 - Click on payment, and go back to the product screen without paying - Click on the ticket button, and click on the order that was splitted, it still contains all the products from the original order. opw-3061569 closes odoo/odoo#106716 X-original-commit: 9937abba088889c9626e2e00a6e87a8ad73dccdd Signed-off-by:
Trinh Jacky (trj) <trj@odoo.com>
-
Kevin Baptiste authored
1/ When approving / refusing a leave spanning multiple days, the overtimes were only recomputed for the starting date and not the whole period. 2/ Overtimes should be computed whatever the kind of time off that's been taken (Absence or Other). task-3073155 closes odoo/odoo#106736 X-original-commit: 116d7cb4 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Nov 28, 2022
-
-
qsm-odoo authored
Commit [1] introduced a website tour util to assert the value of a CSS variable. This was used at the start of theme tours to check we are in fact on the right theme before starting the tour. While it's great for those tours when they are started as a test, it was not meant to be shown to users following that tour. This commit fixes that. Notice that theme tours are currently broken so the issue was probably hidden. Those will be fixed at [2]. [1]: https://github.com/odoo/odoo/commit/b29e17765f4e912b2dd472493b5be500b3a32c87 [2]: https://github.com/odoo/odoo/pull/106703 Related to task-3084175 closes odoo/odoo#106725 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
qsm-odoo authored
Commit [1] and [2] introduced test tours but did not mark them as test tours properly, thus showing them to users (who are in debug=tests mode) by mistake. Note that [2] was silently fixed in the 16.0 forward-ported version... that is why nothing shows up in this diff starting from 16.0. [1]: https://github.com/odoo/odoo/commit/7655bface7f9e9bae8579e14e9a87b4f4801cc33 [2]: https://github.com/odoo/odoo/commit/a0c33c5f896718d1c03a6a50c981d6d75ce0d169 closes odoo/odoo#106689 X-original-commit: 11d023f0 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Ivan Yelizariev authored
Address widget has `o_force_ltr` class [1] since Odoo 14 [2]. Somehow, it didn't work in Sale Order report and everything was RTL. But since Odoo 16 address part actually became LTR. It mixes things up, because partner name and phone number in the billing/delivery sections is still RTL [0]. This commit fix it by forcing whole address block to LTR. Alternative solution could be removing `o_force_ltr` class, but this approach looks more risky and should be done in master instead. [0]: opw-3053457 [1]: https://github.com/odoo/odoo/blob/1666ee5515996fab8a843b36b4fd93b776172f75/odoo/addons/base/views/ir_qweb_widget_templates.xml#L26 [2]: https://github.com/odoo/odoo/commit/5b7c3805a045d8824dd1b4fa0de07d90b17392c1 closes odoo/odoo#106695 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Antoine Dupuis (andu) authored
In Odoo 16, we redesigned the `Accounting > Miscellaneous` menu to provide a convenient interface for inspecting any journal entry or journal item. As such, it no longer makes sense to call it 'Miscellaneous'. This commit aligns the name with the new functionality. We also remove the default filter of the 'Journal Entries' view, which restricted it to miscellaneous entries, and replace it with a filter on posted entries, consistent with the purpose of conveniently inspecting the accounting journals. closes odoo/odoo#106687 Task: 3083921 Signed-off-by:
Brice Bartoletti (bib) <bib@odoo.com>
-
niyasraphy authored
closes odoo/odoo#106644 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Antoine Guenet authored
Columns added with the "columns" Powerbox commands should be aligned with the editable element's bounds. task-3001988 closes odoo/odoo#105208 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Younn Olivier authored
Before this commit, the tooltip content of a tour had a font-size set in rem. As its container dimensions were computed using the root element font-size, these dimensions were not correct if the tip was inserted in a document with another root element font-size. This was leading to a bug after [1] added an iframe to edit the website: the backend and frontend root elements font-size are different and the containers of tips targeting frontend elements were clipped. This commit fixes the tooltip content font-size in px (with the font-size used to compute the container dimensions), so that it can be placed in iframes with a different root element font-size. [1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b task-3035156 closes odoo/odoo#104039 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Younn Olivier authored
Before this commit, the main website_slides tour, slides_tour, was broken after [1] introduced the WebsitePreview client action. This commit adapts it to work with an iframe. [1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b task-3035156 Part-of: odoo/odoo#104039
-
Younn Olivier authored
Before this commit, the website homepage tour was starting with an unresolvable "Wait for the editor to be started", useful only for tests. This commit removes that technical step for user tours. task-3035156 Part-of: odoo/odoo#104039 Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
qsm-odoo authored
When entering edit mode, the navbar is hidden. The problem is that since the merge of the website-in-backend feature at [1], it is only not shown via an animation (height 0 + out of screen) but not `display: none`. The tour system thus thinks it is still shown and keeps showing the related tour tips. E.g. with website_sale installed (and no demo data, to have the tours), go on the shop page, there is a tooltip pointing at "+ New", enter edit mode => the tooltip is still there and it even prevents to click on "Discard" to leave the edit mode. This commit fixes the issue by making the navbar `display: none` once the closing animations are finished. [1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b task-3082439 closes odoo/odoo#106629 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
qsm-odoo authored
While showcasing your website inside the website application, there is the possibility to hit the escape key to enter fullscreen (hiding the backend navbar outside edit mode and the editor panel during edit mode). There was a problem following this flow: - Go to your website inside your website app - Hit escape to enter fullscreen - Press CTRL-K to switch to another part of the backend => You are now somewhere in the backend, without the navbar (fullscreen) and you cannot exit it. As it was a one-line fix (except for the re-indentation), this commit now allows to exit fullscreen mode wherever we are. Discovered during task-3082439 Part-of: odoo/odoo#106629
-
shsa-odoo authored
Current behavior before fix: In mobile view when we click invite button on events module which loads the snippet, at that time there was a traceback. Desired behavior after fix: Now the snippet gets loaded without any traceback. Task-2994261 closes odoo/odoo#101238 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Romeo Fragomeli authored
Since the Bootstrap 5 migration the "headings" `<h1>`, `<h2>`, ... are smaller than before. This commit, restores the old CSS rules from Bootstrap 4 for reports. Steps to reproduce: * Open Sales * Select a quotation * Print the Quotation (using Print dropdown) => BUG title is smaller than the old version of Odoo (e.g. Odoo v15) closes odoo/odoo#106668 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
Samuel Degueldre authored
Previously, when calling error handlers, we would give them a new error created by the error service, as well as an `originalError` which is the error that was caught by the error service. In some cases, this error is part of an error chain, eg: errors that happen in the owl lifecycle are wrapped in an `OwlError`, so that when an error occurs in a callback passed to a lifecycle hook, the position where the hook was called to register the offending callback is part of the stack trace. In practice, most error handlers only care about the error that caused the entire error chain (the root) when deciding whether they should handle the error or not, eg: an RPCError should be handled by the rpc error handler, regardless of whether it occured in an event handler or in a component's willStart. It already reads the traceback to display on the UncaughtError provided by the error service as this traceback contains the entire error chain stack information and is annotated with source maps by the error service. This commit makes it so that the `originalError` passed to handlers is now the root of the error chain, it also sets the `cause` of the UncaughtError which is passed to handlers as the error that was caught by the error service, so that if a handler needs to inspect the error chain to know whether it can handle the error or not, it can still do that. related to OPW-3069633 closes odoo/odoo#106661 Signed-off-by:
Michaël Mattiello <mcm@odoo.com>
-
Kevin Baptiste authored
The default hours of a time off created from the Day view would be the range of hours that was selected in the calendar view, thus resulting in leaves of half an hour. closes odoo/odoo#106567 X-original-commit: 5155f654420433176abde675bedc4afeeeb45a1c Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Julien Van Roy authored
In Factur-X, there is no way to represent a tax "price_include" because every amounts should be tax excluded. Currently in Factur-X, a line with a tax price_include = True will be incorrectly exported. Indeed, the Factur-X.xml is generated by setting the GrossPriceProduct as the price_unit. In Factur-X, this amount (and the others in the line details) should be tax excluded. Thus, it's wrong to set the GrossPriceProduct as the price_unit. To fix this, the GrossPriceProduct should be the price_unit if no tax price_include = True is set, otherwise, the gross price = price_unit/(1+tax/100). This way, the Factur-X file will be consistent with the norm. Note that the import of a Factur-X xml will thus try to pick taxes with price_include = False, and the price_unit will be tax excluded. If no matching tax with price_include = False is retrieved, a tax with price_include = True is searched, if found, the price_unit is recomputed accordingly. In both cases, the lines subtotals are the same. opw-3032382 closes odoo/odoo#106563 X-original-commit: 9a5ba15c Signed-off-by:
William André (wan) <wan@odoo.com> Signed-off-by:
Julien Van Roy <juvr@odoo.com>
-
Tommy (tong) authored
closes odoo/odoo#106161 X-original-commit: 0ac1fd90 Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com>
-
Romeo Fragomeli authored
In kanban view, the columns are in a flex container and as there is no specific flex rules on the quick create column and is shrink by default. So when the new column is above the edge of the viewport, it starts to shrink. To avoid this bug we have added the same flex rules has the kanban column. Steps to reproduce: * Open Note * Create many new column => BUG text wrapped when the new column reach the width of the viewport. closes odoo/odoo#106549 Signed-off-by:
Pierre Paridans (app) <app@odoo.com>
-
Patrick Hoste authored
Before this commit when creating a mailing contact with a mailing list opt_out at creation the unsubscription_date wasn't set. Indeed, from the mailing contact view the mailing list uses an editable list that passes all the values at create even when not set contrary to when one update the contact only the changed values are passed. This commit fix this issue. Task-3070852 closes odoo/odoo#106260 X-original-commit: d6758919 Signed-off-by:
Warnon Aurélien (awa) <awa@odoo.com> Signed-off-by:
Hoste Patrick (pko) <pko@odoo.com>
-
Nicolas Bayet authored
Because of css limitation, the child of a parent that define a text-decoration cannot "neutralize" that decoration defined by its parent with a css property (ie. the text-decoration cannot be overridden). When a block define an inline style or any tag that have a class, the method `formatSelection` tries to "neutralize" the style by calling `addNeutralStyle`. As it is impossible to "neutralize" the style for underline nor strikeThrough, there is no method `addNeutralStyle` defined for those properties. Before this commit the method `formatSelection` was crashing because `addNeutralStyle` was not defined. Task-3002123 closes odoo/odoo#106632 X-original-commit: ce068a31 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Jérôme Hellinckx authored
Before this commit: 1. Create PO with quantity 10, confirm (creates receipt-1) 2. Receive 2 quantities on first receipt (receipt-1), backorder (receipt-1 is 'done', creates receipt-2) 3. Receive 3 quantities on second receipt (receipt-2), backorder (receipt-2 is 'done', creates receipt-3) 4. Change quantity to 5 in PO 5. An exception is created on all receipts (1, 2 and 3) In the scenario above, receipt-1 and receipt-2 are partial receipts that are set to 'done'. It is not necessary to create an exception in these receipts when the quantity is changed to less than originally expected in the PO. Since the system checks that the new quantity has to be equal or greater than the received quantities, the already received quantities cannot be impacted. After this commit: The exception is only propagated to the receipts that are not done. e.g. in the example above, an exception appears only in receipt-3. task-2648209 resolves #76297 closes odoo/odoo#106627 X-original-commit: d6fad232 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Florent de Labarre authored
Before this PR Odoo don't pre-search on location. closes odoo/odoo#106604 X-original-commit: 71a3b5b2 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
niyasraphy authored
closes odoo/odoo#104664 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Jinane Maksoud authored
Only active boms should be returned by the domain even if they match a product id. closes odoo/odoo#106608 X-original-commit: 2a73890d Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Donatas authored
closes odoo/odoo#106606 X-original-commit: 3772da47 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Lucas Lefèvre authored
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/f83585f2 [FIX] InternalViewport: compute the actual visible rect of a zone closes odoo/odoo#106578 Signed-off-by:
Pierre Rousseau (pro) <pro@odoo.com>
-
Lucas Lefèvre authored
Module `spreadsheet_dashboard_hr_expense` depends on `hr_expense` but uses the field `sale_order_id` which is only introduced with `sale_expense`. `spreadsheet_dashboard_hr_expense`'s dependencies are wrong. To fix the issue: 1) we remove references to `sale_order_id` in `spreadsheet_dashboard_hr_expense`. Note that it won't be applied to existing databases. The spreadsheet would need to be updated "by hand" by deleting the cells, the filter and the pivot object. 2) we introduce a new auto_install module with the correct dependencies to restore the current dashboard. On the master branch, `spreadsheet_dashboard_hr_expense`'s dependencies is correctly changed to `sale_expense` by odoo/odoo#105148 closes #103899 closes odoo/odoo#104125 Signed-off-by:
Rémi Rahir (rar) <rar@odoo.com>
-