- Nov 10, 2022
-
-
Thomas Josse (thjo) authored
This commit fixes an issue where if a ticket is free, the registration would still "need to be paid" by the attendee. This behavior is contradictory for a free ticket, so the attendee now has to pay the ticket if it is not paid and is not a free ticket. task-3012928 closes odoo/odoo#105542 X-original-commit: 2b0587fb Signed-off-by:
Warnon Aurélien (awa) <awa@odoo.com>
-
Ivan Yelizariev authored
It's needed to use "Automatic Risk assessment" feature in Adyen. Technical docs: https://docs.adyen.com/risk-management/configure-manual-risk/required-risk-field-reference opw-3004646 closes odoo/odoo#102094 Signed-off-by:
Antoine Vandevenne (anv) <anv@odoo.com>
-
Florian Vranckx authored
Using the already existing indexing on the model to slightly improve the perfomance. closes odoo/odoo#105318 X-original-commit: 4344d399 Signed-off-by:
Vranckx Florian (flvr) <flvr@odoo.com>
-
- Nov 09, 2022
-
-
Romain Derie authored
*: website_mass_mailing (tests) - Web Editor facts: Since the refactoring of the editor done at [1], the cookies bar popup is receiving a `contenteditable=true` attribute, making it receive the chrome default `height` style for such elements. The problem is that if this cookies bar's modal is hidden, the bar will be shown as a thin empty white bar. - Website Builder / Popup Snippet / Cookies bar facts: A popup element is composed of a `.s_popup` parent containing the actual `.modal` BS modal. Our internal logic and events are hiding and showing this inner `.modal` modal element without considering its `.s_popup` parent. It means that when the `.modal` is hidden, its `.s_popup` parent is not touched and kept visible. It might looks like it's not an issue as it would just be an empty element (its only child is hidden) but it leads to some issues as explained just above: an ugly white bar is shown. Note that the cookies bar is nothing more than a `.s_popup` snippet. - Web Editor facts 2: During the mentioned refactoring [1], they actually added some code to hide this bug once you were playing with the edit mode (mainly for when you clicked on the invisible panel element or before saving). But this code was actually not fixing the case when you just entered edit mode. This commit simply remove that "edit only" web editor logic and add a new one in charge of simply synchronizing the `.s_popup` snippet visibility with its `.modal` BS modal in a public widget (which is obviously also executed in edit mode). Finally: - note that if there is no way through regular flow to arrive to the same result with a normal popup snippet, it is still concerned by this issue and you can reproduce it by moving it somewhere else in the DOM and/or simply adding it the `contenteditable=true` attribute. - we already fixed that issue a few months/years ago, I couldn't find a commit related to that so I don't know if it was due to the same root cause - in case one is wondering why we simply couldn't do that in the already existing `_onHideModal` of the `PopupWidget`, it is because that `hide.bs.modal` is not called when entering edit mode, because the `destroy` is destroying it before hiding the modal. The event is thus not fired. And we can't move the hide part before the destroy's super because otherwise, it would go through the normal hidden process which is creating a "seen" cookie for the popup as if it was closed manually. [1]: https://github.com/odoo/odoo/commit/740168ce8d27da3d6a7156d2d79655a898394923 task-2754108 closes odoo/odoo#103382 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
FrancoisGe authored
Before this commit, if you abort an rpc, the ui is never unlocked. How to solve it: Simply trigger an RPC:RESPONSE event in the abort to signal that the RPC is finished and that the screen can be unlocked. closes odoo/odoo#105448 Signed-off-by:
Samuel Degueldre <sad@odoo.com>
-
Ricardo Gomes Rodrigues (rigr) authored
Currently, if the user uploads a facturx document whose move_type does not match the move_type chosen by the user, the document is not auto filled with the information contained in the facturx XML because of a restrictive check. Therefore, the document is empty and is sent to the OCR which acts as a backup. Starting from this commit, we will remove this restrictive check. So, if the user uploads a facturx document, we will use the move_type define by facturx regardless of the move_type chosen by the user. This means that when we upload a facturx document, we will always use all the information that is in the xml to create the document and avoid using the OCR. task-id 2961932 closes odoo/odoo#105447 X-original-commit: 81a68544 Signed-off-by:
Laurent Smet <las@odoo.com> Signed-off-by:
Ricardo Gomes Rodrigues (rigr) <rigr@odoo.com>
-
Benjamin Vray authored
Since this commit [1], the header language switcher has been moved out of the header navbar. This created a bug, when the off-canvas option of the navbar is activated, the language switcher is no longer accessible on mobile. As this commit is in stable version, the fix is only in Javascript. It puts the language switcher back in the navbar when the off-canvas menu is opened. A specific case with the "hamburger full" header template, where there is the same bug with the "call to action" button, is also fixed by this commit. This commit also fixes display issues in the off-canvas menu. [1]: https://github.com/odoo/odoo/commit/2a000e33c5a44ddf0a777b43d8266cc413d8e4e2 opw-2964824 closes odoo/odoo#100235 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
PNO authored
Steps to reproduce: - Create a product and complete a sales order. - Then try to change the product type. - The following message is shown: "You cannot change the products type because it is already used in sales orders." However, we can close the message and save. Problem: If some sales were already made, it should not be possible to change the product type. There is a warning message on the onchange but it's not blocking. This causes inconsistencies between the quantities and value shown in the quants and in the valuation layers. Solution: Raise an user error when trying to save the changes. opw-3000886 closes odoo/odoo#105292 X-original-commit: 1b2c045f Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Solan Delvenne (sode) authored
Since the provider only accepts A4 letters, prevent the user from using non A4 formats by giving them an error when clicking the Send button. closes odoo/odoo#105206 X-original-commit: 3e257644 Signed-off-by:
Florian Daloze (fda) <fda@odoo.com>
-
Thibault Libioulle authored
This commit fixes premature usage of `purchase_price` field on sale.order.line model, before its definition in sale_margin module. Since this test requires both sale_mrp and sale_stock_margin to pass, this commit adds an auto-install bridge module that solely address this issue. Steps to reproduce: - Install sale_mrp module - Run tests (at least .test_kit_cost_calculation) Problem: Traceback: AttributeError: 'sale.order.line' object has no attribute 'purchase_price' See #100126 closes #104891 closes odoo/odoo#105304 X-original-commit: https://github.com/odoo/odoo/commit/74b36c48f73710495e19c3ad258645f05e589a73 Signed-off-by:
Djamel Touati (otd) <otd@odoo.com> Co-authored-by:
Thibault Libioulle <thibault.libioulle@aerospacelab.be>
-
David (dafr) authored
The valuation field of the product_id is company-dependent. If the user validate the picking in multi-company context with his current company != picking company, then the checks may fail, and the account move can not be created. closes odoo/odoo#105272 X-original-commit: 33fa9cff Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
nouraellm authored
In #103423 _load_records_write and _load_records_create both bypass the self.user_has_groups('stock.group_stock_user') check in _is_inventory_mode which makes some tests fail in 15+ To solve the problem we set inventory_mode to True - Task id: 3007499 closes odoo/odoo#105160 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Nshimiyimana Séna authored
### Steps to reproduce * go to Accounting > Settings and activate 'Cash Basis' * got to Chart of Accounts and create a new account of type `Current Assets`. We'll call it `A`. * create a new tax, we'll call it `T`, with the following parameters: * Tax type: Purchases * Tax computation: Percentage of Price * Amount: 22% * Distribution of invoices: * add a line with the following parameters: % = 40, Based On = 'of tax' and Account = the tax paid account. * add a second line with the following parameters: %= 60, Based On = 'of tax' * Distribution of Credit Notes: Add the same lines as 'Distribution of invoices' * In the Advanced Options tab, set : * Tax Eligibility = 'Based on Payment' * Cash Basis Transition Account = `A` * create a new vendor bill and add a product line to it and set Taxes = `T` on that line * confirm and register payment Now go to Accounting > Journal Items, group by Journal. Look through the 'Cash Basis Taxes' group and find the entries related to the vendor bill you just made. One of the debit lines on account `A` is not correct. Here, the account should be the one specified on the invoice line. opw-2796727 closes odoo/odoo#105284 X-original-commit: afe87957 Signed-off-by:
Laurent Smet <las@odoo.com> Signed-off-by:
Nshimiyimana Serge Séna (sesn) <sesn@odoo.com>
-
niyasraphy authored
closes odoo/odoo#104956 Signed-off-by:
John Laterre (jol) <jol@odoo.com>
-
Tommy (tong) authored
- add philippines localization task-2713149 closes odoo/odoo#105024 X-original-commit: c5aa1b31 Signed-off-by:
Florian Gilbert (flg) <flg@odoo.com>
-
Tommy (tong) authored
X-original-commit: 450c70ac Part-of: odoo/odoo#105024
-
Sergey Shebanin authored
Only server wide modules are being taken into account when calculating translations hash. So user probably can't get translations of new installed modules unless it is forced by hard page reload (Ctrl+Shift+R). Problem exists since https://github.com/odoo/odoo/commit/80d74e7ee0eab83dc5100e0776df09d04b882fec and the cause in that `mods = odoo.conf.server_wide_modules or []` string was unpaired with the following `if` statement during refactoring. This commit restores computation of hash based on all loaded modules. closes odoo/odoo#104861 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Guillaume (guva) authored
We made the field cumulated balance non exportable in the GL. Steps: - Go to Accounting->Accounting->General Ledger - Unfold and select one or several lines - export lines -> The cumulated balance is not computed The reason is we don't pass in the compute as we don't come from the search_read method when exporting, so we don't have a domain to compute the cumulated balance. As we can't force the domain, we override the fields_get method to make the field non exportable. opw-2800669 closes odoo/odoo#105309 X-original-commit: a3563da3 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Nov 08, 2022
-
-
roen-odoo authored
Current behavior: When you open the order list, the orders are displayed in UTC. Steps to reproduce: - Be sure you are in a timezone different than UTC - Start a PoS restaurant session - Go on a table and make and order - Go on the order list - Go back on the table, then go back on the order list - The time showed for the order is not correct (it's in UTC) This bug was happening because `moment(order.validation_date)` consider that the date is already in the local timezone, so it doesn't apply the timezone offset. So we have to apply the offset manually before sending it to the frontend. opw-3002417 closes odoo/odoo#103667 Signed-off-by:
Masereel Pierre <pim@odoo.com>
-
Carmen Bianca Bakker authored
closes odoo/odoo#105310 X-original-commit: 6a941201 Signed-off-by:
Carmen Bianca Bakker <carmen@coopiteasy.be> Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Antoine Guenet authored
The class that Odoo adds to nested list items to display them nicely was not whitelisted for pasting so pasting nested lists ended up looking ugly. task-3050150 closes odoo/odoo#105300 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
jbw-odoo authored
Prevent "per line" rounding taxes when tax rounding method is round globally. Manual fwd port of https://github.com/odoo/odoo/commit/46504495664be211cf2ddbf2fa7532c022b1e5f0 closes odoo/odoo#104491 Task: opw-2963947 Signed-off-by:
Laurent Smet <las@odoo.com>
-
Vincent Baggerman authored
closes odoo/odoo#105297 X-original-commit: a1b942ab Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Raphael Collet authored
closes odoo/odoo#105279 Signed-off-by:
Raphael Collet <rco@odoo.com>
-
Sébastien Geelen (sge) authored
Prevent the PowerBox command bar to open in (non html) Odoo field embedded inside the editable zone. task-3040872 closes odoo/odoo#104414 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Thomas Lefebvre (thle) authored
Version: V15.0 Since version 15.0, the shortcuts allowing to switch between views (kanban and list) via the `ALT + K` and `ALT + L` are not supported. It is necessary to update the view which summarizes shortcuts. opw-3052364 closes odoo/odoo#105293 Signed-off-by:
Bruno Boi (boi) <boi@odoo.com>
-
Walid HANNICHE (waha) authored
Steps to reproduce: - Install website_sale_coupon - Load demo data - Create a promotion program that applies on the order - Go to the webshop and add 2 different products to the cart Bug: The line of promotion is in second place, instead of at the end. Fix: move the old sale order line to the end if it applies on all the order opw-2985632 closes odoo/odoo#105253 X-original-commit: dadd272d Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com> Signed-off-by:
Walid Hanniche (waha) <waha@odoo.com>
-
Stanislas Sobieski authored
EXPLAIN ANALYZE SELECT "stock_move".id FROM "stock_move" WHERE ("stock_move"."created_purchase_line_id" in (24065, 24066, 24081, 24082, 24083, 24084, 24085, 24086, 24087, 24088, 24089, 24090, 24091, 24092, 24093, 26121, 26487)) and ("stock_move"."company_id" in (1)) ORDER BY "stock_move"."sequence" ,"stock_move"."id" ; Goes from 2231.021 ms to 1ms on a database with 2.800.000 stock_move. closes odoo/odoo#105153 X-original-commit: d7ea47f4 Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com>
-
Hubert Van de Walle (huvw) authored
Steps to reproduce: - In odoo, create an event "example" in the future with alice@outlook.com and add bob@outlook.com to the attendees - In the bob outlook account, there should be an ics file with the following email "Invitation to example" - Drag and drop the ics file into outlook calendar -> Bob is set as the organizer Cause of the issue: The organizer property is missing from the ics file cf https://www.rfc-editor.org/rfc/rfc5545#section-3.6.1 opw-2841276 closes odoo/odoo#105052 X-original-commit: f3d2e517 Signed-off-by:
Arnaud Joset <arj@odoo.com> Signed-off-by:
Hubert Van De Walle <huvw@odoo.com>
-
FrancoisGe authored
Before this commit, performing a search in a m2o can block your ui despite the result already being displayed. Why? When you perform your search in a m2o, a set of RPC queries are made with the different search values (name_search). If the last search value (the one that will be used by the m2o in its autocomplete) has already been resolved, but one of the other RPCs has still not been resolved, then the screen will remain blocked until all the rpc's have been resolved. Solution: Since we are only interested in the last rpc, we will cancel all the others. So with each new rpc, we will cancel the previous one. How to reproduce: - Go to a form view with a m2o field - Edit this field +- slowly (several rpc will be done with different values) - Receive the result of the search. (The autocomplete is displayed with the right values) Before this commit: If one of the other rpc's is not yet resolved, the ui will block until all rpc's are resolved. After this commit: The ui will not block. closes odoo/odoo#104984 X-original-commit: f07ee076 Signed-off-by:
Samuel Degueldre <sad@odoo.com>
-
- Nov 07, 2022
-
-
Abdelouahab (abla) authored
To Reproduce ============ - enable QR code on Accounting settings - with a customer who has a bank account create a credit note for him/her - in other info tab, make sure that the qr code method is empty - send or print the credit note The Problem =========== the qr code method field will be filled with SEPA, and a QR code will be added to the PDF Solution ======== Generating a QR code for a credit note doesn't make any sense, so the qr code method field must be hidden and no QR code should be generated. opw-3010649 closes odoo/odoo#105239 X-original-commit: ca2f6d08 Signed-off-by:
William André (wan) <wan@odoo.com>
-
krha-odoo authored
Before this commit, if two or more lines in sale_report had the same value as price_total, they were group together in _compute_kpi_sale_total_value and included in output sum only once. That leads to incorrect values in digest mail. This commit fixes that issue by changing grouping column from price_total to company_id. Steps to reproduce the issue: ---------------------------- 1. Send Digest Mail for database and check values in it (assume we have both All Sales KPI and PoS KPI). 2. Create several sale_order_line and/or pos_order_line with exactly the same price_total (for example: 5 PoS transaction, each one for one product of value 10000). 2. Send Digest Mail again and check values in it. Current behavior: ----------------- The All Sales KPI will increase by value of only one of lines (in our example: PoS KPI will increase by 50000 = 5*10000, All Sales KPI will increase by 10000) Expected behavior: ----------------- All Sales KPI should include all transactions from sale_report in given period of time (all sale_order_line and pos_order_line). opw-2938952 closes odoo/odoo#102677 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
odoo authored
closes odoo/odoo#105161 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
momegahed authored
Issue : - When sending an sms reminder by cron user, `_get_display_time` is used which always uses Odoobot (cron user) timezone regardless of the partner timezone Fix: - use `partner_id.tz` instead of Odoobot OPW-2991624 closes odoo/odoo#105135 X-original-commit: 7e3954bd Signed-off-by:
Mohamed Megahed Abbas Megahed SALLAM (mome) <mome@odoo.com>
-
Walid HANNICHE (waha) authored
Steps to reproduce: 1-set language to an LTR language (arabic / hebrew...) 2-select any field with the date-time range widget (eg: planning>add) 3-the hour and the minute selection is reversed. Bug: the hours and minutes order depends on the language orientation where they should always follow this format HH:MM Fix: force the time to be displayed Left To Right regardless of language opw-2953221 closes odoo/odoo#105134 X-original-commit: 4f94cf2b Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Walid Hanniche (waha) <waha@odoo.com>
-
Nicolas (vin) authored
The wizard would update the amount and payment_difference in multiple cases as the fields get updated by the user. In multicurrency, the base amount would be converted to the selected currency at the date of the payment selected by the user. If the date is emptied before changing the currency, this would lead to a traceback when calculating this amount. In order to fix that, we can fall back on today as date to convert the amount, which will avoid a traceback and won't impact the result since the amounts will be updated again when the required date field is filled. Fixes https://github.com/odoo/odoo/issues/92114 closes odoo/odoo#105122 X-original-commit: 9ddb9155 Signed-off-by:
John Laterre (jol) <jol@odoo.com> Signed-off-by:
Nicolas Viseur (vin) <vin@odoo.com>
-
Thanh Dodeur authored
closes odoo/odoo#105106 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Paolo Gatti authored
Taxes on self-invoices for non-EU export actually have amount > 0, l10n_it_has-exoneration = False but they must have the law reference field filled out, so we're taking the "invisible" clause out of the view. Task: https://www.odoo.com/web#id=3010849&model=project.task opw-3010849 closes odoo/odoo#105036 X-original-commit: 825bb40c Signed-off-by:
Josse Colpaert <jco@odoo.com> Signed-off-by:
Paolo Gatti (pgi) <pgi@odoo.com>
-
rhe-odoo authored
Since we changed add product signature to be asynchronous, we had to change all the functions and the calls to this function to be awaited or set as async. closes odoo/odoo#104467 Related: odoo/enterprise#33382 Signed-off-by:
Masereel Pierre <pim@odoo.com>
-
rhe-odoo authored
This commit allows another module to force a new order when a refund order is done. This is mandatory in certification context. A pos order cannot sell refunded products and new products. To use this feature, the module have to use this function: doNotAllowRefundAndSales() Part-of: odoo/odoo#104467
-