- Oct 08, 2021
-
-
Romain Derie authored
closes odoo/odoo#77906 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Romain Derie authored
Before this commit, the error 500 page would always shows the full traceback even if it is supposed to only show it in debug mode (or if editable). That behavior was probably broken by the debug refactoring [1], which introduced side effect with [2] (see template `http_error` which was moved with [3]). [1]: https://github.com/odoo/odoo/commit/d7cd97a9be63ae0a8643400b56d6f9a03285fba6 [2]: https://github.com/odoo/odoo/commit/24a20cd3fb00657da44d10a7a7d89cf94bdbdd83 [3]: https://github.com/odoo/odoo/commit/423402f1e50000186924186beba0cbe87e02e774 Part-of: odoo/odoo#77906
-
Thanh Dodeur authored
Before this commit, there were some usages of RTCPeerConnection.connectionState which is not available on some browsers, including Firefox. This commit fixes this issue and make it so that we only use RTCPeerConnection.iceConnectionState instead. closes odoo/odoo#77890 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
yograj tandel authored
Currently when unistall the hr_timesheet and try to open the project menu it generates an traceback due to invalid field in domain of the action. so in this commit fix the traceback by adding the unistallation hook so domain will be replaced on unistallation of the hr_timesheet. also archive the internal project when unistalling the hr_timesheet. Task-2629395 closes odoo/odoo#76413 Related: odoo/enterprise#20807 Signed-off-by:
LTU-Odoo <IT-Ideas@users.noreply.github.com>
-
Joseph Caburnay authored
closes odoo/odoo#77892 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Mohammed Shekha authored
With this commit we display list selection box after all list header buttons, previously buttons were displayed before header buttons. task-2628038 closes odoo/odoo#75468 Signed-off-by:
FrancoisGe <fge@odoo.com>
-
Romain Derie authored
Without this commit, if you had: - 3 Qty for product P in WH1 - 10 Qty for product P in WH2 - no warehouse set on website - set show stock and prevent sales if not enough stock enabled And then: - Add 3 P in your cart - In cart, add more P, it would let you do it, while it shouldn't You would then be stuck on payment step as it would tell you only 3 are available. This commit improves 6b05fb2b by ensuring the warehouse_id used is the correct one (the one that will be used on the SO (required field)). That commit was fixing a case that was not supposed to happen[1], it is that case that should have been fixed (which is fixed by previous commit of this PR) [1]: it would fix the 'issue' when you add a product which has no stock available for the warehouse that will be used when creating the SO, by letting you through the warning, but you would then be stuck on the payment step as the qty check would be correctly done. The fix should have been to display the correct qty and prevent the add to cart in that case. closes odoo/odoo#77928 X-original-commit: 7823155d Signed-off-by:
Romain Derie (rde) <rde@odoo.com> Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com> Co-authored-by:
Romain Derie <rde@odoo.com> Co-authored-by:
Adrien Widart <awt@odoo.com>
-
Romain Derie authored
In multi-warehouses, the available quantities shown on product page is not the same one used to compute the max quantity that can be bought in the checkout. Indeed, a sale order has a required `warehouse_id` field, and the quantity that can be bought is computed based on that warehouse. But if the website has no warehouse set to it (in settings), the shown quantity on product page will be computed based on all available warehouses. It will then show an error on payment step, if the user has selected more quantities than there is available on the warehouse used for his order. Considering the structure of `sale.order`, displaying the quantities in several warehouses does not make sense. To reproduce the issue: 1. In Settings: - Enable 'Multi-Warehouses' - Make sure the option Website > Inventory > Warehouse in undefined 2. Create a second warehouse WH02 3. Update the quantity of "Storage Box": - 18 in first WH (should already be present) - 12 in WH02 4. Edit "Storage Box": - eCommerce > Availability: "Show inventory on website and prevent sales if not enough stock" 5. On the eShop, go on "Storage Box" - Note that there are 30 units available 6. Add 22 "Storage Box" to the cart 7. Process checkout Error: When trying to pay, a Server Error is raised: "We are not able to redirect you to the payment form. You ask for 22.0 products but only 18.0 is available." This is confusing since the available quantity on the product page is 30 opw-2630804 X-original-commit: e1fb4f69 Part-of: odoo/odoo#77928 Co-authored-by:
Adrien Widart <awt@odoo.com> Co-authored-by:
Romain Derie <rde@odoo.com>
-
- Oct 07, 2021
-
-
Mohammed Shekha authored
Before this commit: In res.config.settings form view when user change something in form and click on button in form then it will display to save the unsaved changes, when we click 'Save' button from dialog still dialog remain there it is not closed(while record is saved in background, just dialog is not closed) This is because we called 'clearUncommittedChanges' method before executing client action, 'Save' button on dialog returns client action for reload page but as we calling 'clearUncommittedChanges' so it will call 'canBeDiscarded' method of 'BaseSettingController' which again show dialog for unsaved changes. After this commit: unsaved changes dialog is closed on clicking 'Save' button from dialog, we called 'clearUncommittedChanges' method only if clientAction is instance of Component, i.e. if client action is type of function which is our case, reload is client action which type of function so in that case we do not need to call 'clearUncommittedChanges'. task-2662302 closes odoo/odoo#77839 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Simon Genin (ges) authored
Before: the company menu would disapear when the screen was smaller than some threshold. It is expected in enterprise, but not in community as it doesn't have the burger menu. After: The menu is set to always be displayed. To remove it becomes an enterprise reponsability. closes odoo/odoo#77721 Related: odoo/enterprise#21398 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Simon Genin (ges) authored
Before: the user menu would disapear when the screen was smaller than some threshold. It is expected in enterprise, but not in community as it doesn't have the burger menu. After: The menu is set to always be displayed. To remove it becomes an enterprise reponsability. closes odoo/odoo#77691 Related: odoo/enterprise#21386 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Aaron Bohy authored
With this, tooltips specified with the "data-tooltip" attribute in owl templates will be translated. closes odoo/odoo#78007 Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
Samuel Degueldre authored
closes odoo/odoo#78005 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Louis Wicket (wil) authored
Minor changes: - properly discard the rename when exiting an empty input - uniformize case: TopBar -> Topbar - update documentation - move avatarUrl from component to model closes odoo/odoo#77984 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Thanh Dodeur authored
Before this commit, the server could return outdated information to the client about the state of their own rtc session. The server should not return information about the client's own rtc session as the source of truth is the client-side state. A case in which this was causing an issue was when a user toggled their mute state right before their client pinged the server and received outdated session information before their most recent state could be sent to the server. This commit fixes this issue. closes odoo/odoo#77967 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Nathan Marotte (nama) authored
Issue: Sometimes, when changing the Maximum (seats_max) on one of the tickets of an event, it triggered a recompute for the other tickets Steps to reproduce : Install Events Settings > Event > Enable "Tickets" Create an event template (or use Sell Online default one) with Check "Ticketing" and set the line price to 0 Create an event : with that template and Autoconfirm checked Add a line for the Tickets: name: VIP price: 10 Save the event Create two attendees for the event, one for each Event Ticket (event_ticket_id) and confirm them (on the form, not Confirm Attendee) Change the Maximum (seats_max) of one ticket and save -> the Confirmed (seats_reserved) will be recomputed but the confirmed for the other ticket will increase as well Side-Note: I haven't been able to find a deterministic way to reproduce the bug but it seems that the bug appear the most when doing all the steps at once, and trying to not log out or refresh the page. Also it works best on a runbot or at least with runbot data. Without my modification, the new test passes on my local odoo server, but fails on a dump of a runbot on my computer, adding my modification makes it work on either case Why is that a bug: The recomputation seems to fail for some reason, we are setting all the event/ticket in self to 0, but only update the value of those by fetching a SQL query so there might be a desync there opw-2642555 closes odoo/odoo#77670 Forward-port-of: #76492 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Louis Wicket (wil) authored
This commit will change the way URLs are edited in discuss public view to preserve URL params in the resulting URL. Context: In order to avoid leaking invitation links, URLs are modified in discuss public view, but this can sometimes hide precious information such as the debug mode from the URL. closes odoo/odoo#77969 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Brieuc-brd authored
This commit fixes visual issues (pixel gap between shapes and bugs in colors) in some background shapes. task-2547435 closes odoo/odoo#76700 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Mohammed Shekha authored
Since wowl framework is merged pager hitbox area is reduced and harder to hit, with this commit we increase pager hitbox area. task-2610578 closes odoo/odoo#74904 Signed-off-by:
FrancoisGe <fge@odoo.com>
-
Christopher Ormaza authored
closes odoo/odoo#76771 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Christopher Ormaza authored
Part-of: odoo/odoo#76771
-
Christophe Monniez authored
Quick fix that need to be automated. Closes #77981 closes odoo/odoo#77988 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Oct 06, 2021
-
-
Romain Derie authored
*: mass_mailing, website, website_sale Before this commit, it was impossible to add `fa-fw` directly on a `we-button` as it would make the icon half invisible, since the whole `we-button` would have the font-awesome `.fa-fw` css rule applied on it; width: ~1.28em. Then, one would need to insert a `<i/>` tag inside the `we-button` for it to work. This commit improves that behavior by handling automatically such cases, and will preserve the purpose of the `fa-fw` class which is to have a fixed width for those icons. Note that the util class introduced in [1] (o_we_button_icon renamed here in o_we_icon_button) is still useful to handle the case of svg images, they are not allowed to shrink, the same way the fa buttons are. [1]: https://github.com/odoo/odoo/commit/e4233643b93b521454cc146c6a2ae876781fb9ba Related to task-2172311 closes odoo/odoo#77173 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by:
Younn Olivier <yol@odoo.com> Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
Paolo (pgi) authored
There is a test_mode to allow experimentation on the IAP server. To be able to switch between the two, we need to make the SERVER_URL configurable. closes odoo/odoo#77968 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Paolo (pgi) authored
When encoding a string or bytes with base64, the resulting byte string must be decoded to get the string back. * `addons/account_edi_proxy_client/models/account_edi_proxy_user.py` AccountEdiProxyUser._register_proxy_user() * `addons/l10n_it_edi/models/account_invoice.py` AccountMove._prepare_fatturapa_export_values() * `addons/l10n_it_edi_sdicoop/models/account_edi_format.py` AccountEdiFormat._l10n_it_post_invoices_step_1() Part-of: odoo/odoo#77968
-
lejeune quentin authored
Update the image of buster for the build of the IoT Update the version of rlated build closes odoo/odoo#77237 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
alt-odoo authored
We should rollback manually first to avoid concurrent access errors/deadlocks when trying to refresh microsoft calendar token. opw-2630601 closes odoo/odoo#77954 X-original-commit: 5cd27e3440efae06bee6a96aee39f4d2c509ede7 Signed-off-by:
Arnaud Joset <arj-odoo@users.noreply.github.com> Signed-off-by:
Alex Tuyls <alt-odoo@users.noreply.github.com>
-
Lucas Perais (lpe) authored
This commit just adds a comment to enlighten a developper on how the actual data of localization is loaded. closes odoo/odoo#77328 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Sébastien Theys authored
closes odoo/odoo#77953 Signed-off-by:
Samuel Degueldre <sdegueldre@users.noreply.github.com>
-
Aurélien (avd) authored
Slightly change the view of account_invoice_report to add a CTE to prefilter rows before joining with account_move_line. Add a multicolumn for (product_id, move_id) on account_move_line to speed-up cess_amount computation. closes odoo/odoo#77951 X-original-commit: 7b743fbb Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Audric Onockx (auon) authored
Reproduce : - Login to the latest runbot 14.0 (BASE, not the main!) with the admin user - Install the apps "contacts" and "calendar". - Go to contacts and create a new contact with an email - Make a new company "Company B" and make sure that this is set as default company for the administrator user. - Set two different logo's on these companies so you can differentiate them. - Create a new meeting invitation and add the contact you created in step 2 to it. - Use the "Send mail" option on the meeting invite to make sure it gets sent. Then check in mailhog (it only comes in here after executing the queue cron for mails). - Now copy the link behind the "accept" button and copy it in an incognito. Result : The logo shown on the calendar invitation page is wrong as it uses the company logo from the company with ID 1 (first created company) while your logo in the email is the right one from your default company. Solution : The logo shown on the calendar invitation page is the one from the default company of the organizer if any, otherwise the one from the default company of the creator. opw-2579398 closes odoo/odoo#77894 X-original-commit: ffcaca15 Signed-off-by:
Arnaud Joset <arj-odoo@users.noreply.github.com>
-
baa authored
Adding Chart of accounts, taxes and some translation for Saudi arabia accounting closes odoo/odoo#77673 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
baa authored
Part-of: odoo/odoo#77673
-
baa authored
closes odoo/odoo#77462 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Juan Jose Scarafia authored
If an invoice is posted, sended back to draft and the rate was change on res.currency, we preserve the value already existing on l10n_ar_currency_rate closes odoo/odoo#77186 X-original-commit: 820df9ee Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Tiffany Chang (tic) authored
In PR: #74540 the MO.date_planned_start default was updated to round up to the next hour. It was later decided this would be too confusing so this commit reverts it back to the original default of now (i.e. without any hour rounding) closes odoo/odoo#77905 Related: odoo/enterprise#21484 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Thibault Delavallée authored
Purpose is to assert current behavior as this may change in master. Two kind of tests are added: performance and multi company. This is done in stable to better see evolution of those tests in various stables. Prepares Task-36879 (MultiCompany Aliases) closes odoo/odoo#77793 closes odoo/odoo#77899 X-original-commit: odoo/odoo@04efd28a626b694a9460986fbb69e19a52d8b039 Related: odoo/enterprise#21432 Related: odoo/enterprise#21479 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Thibault Delavallée authored
Purpose of query counter tests is to try to match real life use cases. In mail those generally involve a correctly configured mail gateway. This is why we set those parameters in performance tests, leading to a small increase in some counters. This is done in stable to better see evolution of those counters in various stables. Task-2661036 Prepares Task-36879 (MultiCompany Aliases) X-original-commit: odoo/odoo@bc098e1917b87e74d55a8f71532927cdbd3d8fe8 Part-of: odoo/odoo#77899
-
Thibault Delavallée authored
A lot of counters are not up to date. Seems some optimizations were done allowing to lessen query counters. Task-2661036 (Performance tests data cleanup) Prepares Task-36879 (MultiCompany Aliases) Part-of: odoo/odoo#77899
-
Louis Wicket (wil) authored
Automatically create and open a new channel, then start a call, on click on the "Start a meeting" button. Part of task-2651831. closes odoo/odoo#77774 Signed-off-by:
Samuel Degueldre <sdegueldre@users.noreply.github.com>
-