- Oct 08, 2021
-
-
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#78006 X-original-commit: ff788c20 Signed-off-by:
FrancoisGe <fge@odoo.com>
-
Samuel Degueldre authored
closes odoo/odoo#78030 X-original-commit: 913c33c3 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com> Signed-off-by:
Samuel Degueldre <sdegueldre@users.noreply.github.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#78023 Forward-port-of: #76492 X-original-commit: f4c936c9 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by:
Nathan Marotte <nmarotte@users.noreply.github.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#78013 X-original-commit: 861dba13657f1ca41c40304abd212c521a6615de Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
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#78035 X-original-commit: 5d8376a8 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#78034 X-original-commit: 039e24ea Related: odoo/enterprise#21535 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Simon Genin (ges@odoo) <ges@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#78033 X-original-commit: 3b18f1cf Related: odoo/enterprise#21534 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Simon Genin (ges@odoo) <ges@odoo.com>
-
- Oct 07, 2021
-
-
Aaron Bohy authored
With this, tooltips specified with the "data-tooltip" attribute in owl templates will be translated. closes odoo/odoo#78031 X-original-commit: 238f275e Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com> Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
dht-odoo authored
Before this commit: - UTM campaigns are accessible for all internal users, but with email marketing related modules installed, if user who does not have rights for email marketing tries to access the campaign, an AccessError is raised. It's because few fields related to email marketing are added in model `utm.campaign` which are accesible only to the marketing users. - When the user is having `mass_mailing.group_mass_mailing_campaign` group enabled but no rights for email marketing, the root menu of for the 'Email Marketing' app is visible to that user, which is not correct. With this commit: - While adding marketing related fields to the campaign, we provide the group("mass_mailing.group_mass_mailing_user") at field level whenever neccessary so it doesn't raise AcessError. Also, we show those fields on the campaign views only when `mass_mailing.group_mass_mailing_campaign` group is enabled for the user. To do this, a compute field has been introduced to make sure that user has rights to access email marketing as well as the feature to manage mass mailing from campaigns is enabled. The reason behind introducing a new compute field is, at view level, it is not possible to check that user is having multiple groups. - We've applied the group "mass_mailing.group_mass_mailing_user" on the root menu of Email Marketing app, so if the user has UI only group "mass_mailing.group_mass_mailing_campaign" and but no rights for email marketing, the root menu won't won't appear. TaskID-2417993 closes odoo/odoo#74113 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#78019 X-original-commit: 0a3b31c6 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Victor Feyens authored
closes odoo/odoo#77923 X-original-commit: 986efb96 Related: odoo/enterprise#21494 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com> Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
Victor Feyens authored
X-original-commit: c6e88614 Part-of: odoo/odoo#77923
-
Victor Feyens authored
X-original-commit: acc95ec2 Part-of: odoo/odoo#77923
-
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#77977 X-original-commit: 11be1b25 Signed-off-by:
Josse Colpaert <jco@openerp.com> Signed-off-by:
Paolo Gatti <lordkrandel@users.noreply.github.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() X-original-commit: 3a705d93 Part-of: odoo/odoo#77977
-
Sébastien Theys authored
closes odoo/odoo#77939 X-original-commit: 51eb2c9d Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Christopher Ormaza authored
closes odoo/odoo#77999 X-original-commit: 86edaaf0 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Christopher Ormaza authored
X-original-commit: 0f0402a8 Part-of: odoo/odoo#77999
-
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#77980 X-original-commit: e8ab9d76 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>
-
Christophe Monniez authored
Quick fix that need to be automated. Closes #77981 closes odoo/odoo#77994 X-original-commit: 0a07ddbc Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Nasreddin Boulif (bon) authored
Issue: Getting recurrence start date from self instead of current task. commit ref.: https://github.com/odoo/odoo/commit/b50f5f17ee7140160e72bd37241efb14e14a9484 opw-2628777 closes odoo/odoo#77985 X-original-commit: 864ae7d307dd192ada6f34b2685b5554b77a3756 Related: odoo/enterprise#21514 Signed-off-by:
LTU-Odoo <IT-Ideas@users.noreply.github.com>
-
- Oct 06, 2021
-
-
baa authored
closes odoo/odoo#77959 X-original-commit: aa9dd982 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
lejeune quentin authored
Update the image of buster for the build of the IoT Update the version of rlated build closes odoo/odoo#77973 X-original-commit: f9fc28a3 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
Tom De Caluwé authored
Some themes replace the website.template_header_default template in the website layout. This poses a problem when changing to another theme afterwards because of the interaction between the website templates and the _reset_default_config method: 1) Since version 15.0 the nav tag inside the header templates was abstracted into a separate template (website.navbar) and added to each header layout through t-call. 2) The _reset_default_config deactivates or reactivates views that were enabled or disabled by the currently active theme. However, when doing so, the default header is activated before the custom header is deactivated. As a consequence, after toggling the default header, there are temporarily two header extensions in the website.layout template. They both replace the //header//nav element. Because of the abstraction of the nav element into a separate template by the header extensions, only the first replacement will work. task-2662497 closes odoo/odoo#77917 X-original-commit: b83a2110 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.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#77966 X-original-commit: 73e7628f Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Sébastien Theys authored
closes odoo/odoo#77962 X-original-commit: 6020dba4 Signed-off-by:
Samuel Degueldre <sdegueldre@users.noreply.github.com> Signed-off-by:
Sébastien Theys (seb) <seb@odoo.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#77956 X-original-commit: 44c66cce Related: odoo/enterprise#21506 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com> Signed-off-by:
Tiffany Chang <tic@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#77955 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>
-
Nicolas Bayet authored
During the adaptation from jinja to qweb, the call to the master_input was commented, This commit uncomment the call. closes odoo/odoo#77918 X-original-commit: fae5e1c7 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.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#77952 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#77907 X-original-commit: ffcaca15 Signed-off-by:
Arnaud Joset <arj-odoo@users.noreply.github.com>
-
stefanorigano (SRI) authored
Prior to this commits note's kanban inner components were not aligned properly. Moreover followers' avatars and the activity widget button position were not visually consistent with the rest of the UI. This commit fixes the design and limits the maximum number of rendered avatars, adding a "+ [number]" label when the followers number crosses the threshold of 5 entries. task-2658852 closes odoo/odoo#77653 X-original-commit: 372c5287 Signed-off-by:
Arnaud Joset <arj-odoo@users.noreply.github.com>
-
yhu-odoo authored
Improve repair demo data Task-2657280 closes odoo/odoo#77945 X-original-commit: 24e31a3c Related: odoo/enterprise#21501 Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
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#77946 X-original-commit: cedc8e93 Signed-off-by:
Samuel Degueldre <sdegueldre@users.noreply.github.com> Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Joseph Caburnay authored
closes odoo/odoo#77903 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Joseph Caburnay authored
It is possible that the user can mistakenly delete a reward line which completely deactivates the program in that order. We provide a warning message to the user to make sure of his intent. Part-of: odoo/odoo#77903
-
Joseph Caburnay authored
For simplicity, when the order has single item (refundable quantity of 1) and has single line, we just assume that it's fully refundable. No need to ask the user how much they want to refund. Part-of: odoo/odoo#77903
-
Joseph Caburnay authored
Task-id: 2631220 Part-of: odoo/odoo#77903
-
Joseph Caburnay authored
1. Sell Product A with discount because of Automatic Promo on specific product. 2. Refund Product A with its discount. 3. Add Product A in the refund order. [BUG] No discount for the added Product A because the total count of Product A in the order is 0 (or less because of the discount line). In this fix, we don't count the refund orderlines, this way, when a product is added which qualifies the automatic promo, that new line will be properly discounted. Part-of: odoo/odoo#77903
-