- Jan 06, 2022
-
-
Achraf (abz) authored
When we create a record with a very long continuous title (without spaces) the string comes out of the kanban block. Reproducible on several applications such as Notes, CRM, etc. opw-2680915 closes odoo/odoo#82306 Signed-off-by:
Samuel Degueldre <sad@odoo.com>
-
- Jan 02, 2022
-
-
Odoo Translation Bot authored
-
- Dec 30, 2021
-
-
Martin Trigaux authored
Before that, uploading a file from a kanban was adding res_id=0 Was missing from 5e81850e closes odoo/odoo#82089 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
qsm-odoo authored
*: web_editor, point_of_sale, pos_restaurant The grab cursor is currently not working on all browsers (at least Chrome Linux). The fallback rule does not even work, meaning that if you type: ``` cursor: move; cursor: grab; ``` Those browsers does not even use "move" as they see "grab" as valid but use the "default" cursor. This commit replaces our "grab" uses with a local cursor ensuring it works. Related to task-2431469 closes odoo/odoo#82071 X-original-commit: c8e4e1e9 Related: odoo/enterprise#23182 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Yannick Tivisse authored
Backport of 3891ab34 to 14.0 following f2c1ee5a It was not possible to print payslip report Purpose ======= If the user doesn't have access to ir.ui.view (aka no admin or website access rights), printing a report with a configured external layout will lead to a traceback, as it's forbidden for the use to read on the field "key" on the related ir.ui.view. As we only want to retrieve the view key, this is safe to use sudo at that point. Fixes odoo/odoo#81960 closes odoo/odoo#82050 Related: odoo/enterprise#23159 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Dec 26, 2021
-
-
Odoo Translation Bot authored
-
- Dec 21, 2021
-
-
nurefexc authored
Problem 1: The context was not passed when calling the resequence function. Problem 2: Also, the subsequent read operation did not pass the full context, but only the context of the user, not the context of the action. A test has been added for the basic model to check that the context is properly given after a resequence. closes odoo/odoo#81477 X-original-commit: 9b665ba8 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Luca Vitali <luvi@odoo.com>
-
- Oct 02, 2021
-
-
Olivier Dony authored
Using an explicit list of sign up parameters will avoid polluting the context with unrelated values, and make debugging easier.
-
- Dec 10, 2020
-
-
Xavier Morel authored
-
- Dec 19, 2021
-
-
Odoo Translation Bot authored
-
- Dec 12, 2021
-
-
Odoo Translation Bot authored
-
- Dec 07, 2021
-
-
Samuel Degueldre authored
Release notes: https://github.com/odoo/owl/releases/tag/v1.4.10 closes odoo/odoo#80981 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Samuel Degueldre authored
Release notes: https://github.com/odoo/owl/releases/tag/v1.4.9 closes odoo/odoo#80949 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Dec 05, 2021
-
-
Odoo Translation Bot authored
-
- Dec 02, 2021
-
-
Adrien Widart authored
To reproduce the issue: (Need stock. Use demo data) 1. Login as admin 2. Go again on the DB, but using another URL 3. Login as demo 4. Consult the Forecasted Report of [FURN_7800] Desk Combination 5. Try to open "WH/OUT/00009" Error: Nothing happens although the page should be redirected to the order. In the browser console, an error message is displayed: "Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://localhost:8069') does not match the recipient window's origin ('http://yourcompany.com:8069')." When logging in as admin, the config parameter `web.base.url` is defined with the URL used (URL01): https://github.com/odoo/odoo/blob/4736344a57e176ed38f4b22cd100b3957d122818/odoo/addons/base/models/res_users.py#L717-L724 Then, when logging in as demo with another URL (URL02), since he's not an administrator, the config parameter is not overwritten. So, when clicking on the delivery order (step 5), an action is executed: https://github.com/odoo/odoo/blob/b492bde6a121be1c15ed90ce0827fcfd72a12f5c/addons/web/static/src/js/report/report.js#L37-L41 where `trusted_origin` is based on `web.base.url`: https://github.com/odoo/odoo/blob/2dbe39aed5361341cdc87607e671ef19234e0196/odoo/addons/base/models/ir_actions_report.py#L580 This explains why `trusted_origin` is URL01 and thus why the error is raised. Also, suppose `trusted_origin` has a correct value (URL02), there is another issue: when the client action receives the message, a condition will ensure that the message origin and the origin of the action are the same: https://github.com/odoo/odoo/blob/d3854dbf7a6e0c0f9ac00c11716908bc175808d7/addons/web/static/src/js/report/client_action.js#L73-L76 Here, `this.trusted_origin` is also URL01 because of https://github.com/odoo/odoo/blob/62f2a62b7265645dee91c276c5171b402c0a44fa/addons/web/models/ir_http.py#L48 So this variable definition needs to be updated too. OPW-2615024 closes odoo/odoo#79238 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
Benjamin Vray authored
Before this commit, when we calculated the width of the scrollbar to compensate when a modal is open. We did not take into account the wrapwrap borders applied with some headers. (e.g. the sidebar header) task-2677132 closes odoo/odoo#78926 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Nov 28, 2021
-
-
Odoo Translation Bot authored
-
- Nov 26, 2021
-
-
fja-odoo authored
Issue: The way we generate the dayNamesMin is not compatible with the chineese translation provided by "moment.js". This is because the dayNamesShort contains an extra character in front 週 (week). Because of that the names of the days on the small calendar are all the character 週 (week). Solution: There is a variable (weekdaysMin) which is unused and contain a shorter version of the days this variable is consitent in the other languages so it should have no side effect and will fix the chinese translation as it only contains one character. Introduced by: 1fc33a63 task-2692910 closes odoo/odoo#80363 Signed-off-by:
Samuel Degueldre <sad@odoo.com>
-
- Nov 23, 2021
-
-
Mathieu Duckerts-Antoine authored
Before this commit, when comparing a period P of reference to another one, some rows with only data comming from P would not always be presented in the table. The problem used to manifest only when loading at least to level at the same time (starting from Total or any header via expand all). The reason is the following: - the data comming from P are processed first: starting from somewhere in the trees of headers, some nodes linked to the data comming from P are progressively created with no children at first, then the children (if any) are added later and so on progressively. - the data comming from the other period is processed and nodes are created with no children and so on in the same way, clearing possibly all the node children comming from P. For example, with a row groupby = [field_a, field_b], a group [v, v1] from P a group [v, v2] from the other period, a node corresponding to v would be added, then a node child for v1. Then the node for v would be recreated with no children, then a node child for v2 would be created. leading to a tree of row headers of the form Total > v > v2. Note that it was not affecting the measure values for the displayed rows since those measures are stored separately from the tree and are linked to the nodes via some ids. We fix the problem by avoiding the recreation of a node if it already exists. opw-2635113 closes odoo/odoo#79630 X-original-commit: 21eb4d1a Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by:
Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by:
Andrea Grazioso <agr@odoo.com>
-
- Nov 21, 2021
-
-
Odoo Translation Bot authored
-
- Nov 14, 2021
-
-
Odoo Translation Bot authored
-
- Nov 08, 2021
-
-
luvi authored
This commit fixes an issue of the webclient where the tab was missing the name of the action in the title after a fresh load of the page. e.g. after a reload or when duplicating a tab in sales, the title was 'Odoo' instead of 'S00001 - Odoo'. closes odoo/odoo#79518 X-original-commit: 842ffc41 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Lucas Perais (lpe) authored
When changing a value for a o2m (list) within a form, the _setValue returned a Promise that did not take into account the real rendering of the list renderer. The use case at hand is: - enable product configurator - have a product with options - add that product in a SO - add the option as well through the product configurator - confirm the configurator The configurator triggers an add_record event, with an onSuccess callback Before this commit, the onSuccess callback was called too early, when the previous rendering operations were not finished yet. After this commit, the onSuccess is executed when the list renderer is really ready opw-2580044 closes odoo/odoo#79441 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
- Nov 07, 2021
-
-
Odoo Translation Bot authored
-
- Nov 03, 2021
-
-
Géry Debongnie authored
Release notes: https://github.com/odoo/owl/releases/tag/v1.4.8 closes odoo/odoo#79324 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Nov 02, 2021
-
-
Hubert Van de Walle (huvw) authored
Steps to follow Edit the account.move view (with studio for example) Set the lines readonly property to [["partner_id","=",False]] Create a new move Add a partner Add a product Remove the partner -> A traceback appears: widget.$el is undefined Cause of the issue widget.$el is used after the widget has been destroyed The fix was already present in 14.0 (3fd7b200) but we still need to keep the test opw-2557142 closes odoo/odoo#79066 X-original-commit: 0bfc05c2 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com> Signed-off-by:
Hubert Van De Walle <huvw@odoo.com>
-
- Oct 31, 2021
-
-
Odoo Translation Bot authored
-
- Oct 26, 2021
-
-
Audric Onockx (auon) authored
Reproduce : (With timezone GMT+3) - Create any record R1 with previous day's date and time after 21:00. - Create any record R2 with today's date and time after 21:00. - Create a filter to show all todays records (Date is between "<TODAY'S DATE> 00:00:00 and <TODAY'S DATE> 23:59:59". Result : Even though R1 is in yesterday's date, it will show in the list. R2 will not show in this list. Explanation : This behaviour has been observed in several modules, for any timezone but UTC & only with custom filters default datetime values. The search was applied on [datetime(UTC) + 2 * offset] because the timezone wasn't correctly set. Solution : Timezone is now correctly set on default datetime values. closes odoo/odoo#75663 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Oct 24, 2021
-
-
Odoo Translation Bot authored
-
- Oct 22, 2021
-
-
Mohammed Shekha authored
before this commit: applying readonly attribute on toggle_button doesn't work, toggle_button still clickable and value is still changed even though widget is readonly, there is no effect of readonly attribute on toggle_button widget. after this commit: if toggle_button widget has readonly attribute then it will not be clickable, button of toggle_button will be disabled so that user can easily understand that element is not clickable. task-2339995 closes odoo/odoo#78793 X-original-commit: b153ded9 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Oct 19, 2021
-
-
Géry Debongnie authored
Release notes: https://github.com/odoo/owl/releases/tag/v1.4.7 closes odoo/odoo#78644 Fix: memory leak in some templates Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Oct 18, 2021
-
-
Nicolas Lempereur authored
There was a missing translation for apply/cancel button in daterangepicker widget. With this change, we provide the odoo translation to the library when initializing the picker. opw-2628117 closes odoo/odoo#78536 X-original-commit: 759d5aa3 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Achraf (abz) authored
If we set a date manually via the input while the datepicker widget is displayed and we click outside the widget while remaining in the dropdown custom filter, a traceback appears. Because two triggers on datetime-changed are done almost at the same time change.input hide.widget Now we ignore lib events for `_datetimepicker()` OPW-2591874 closes odoo/odoo#78394 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Oct 17, 2021
-
-
Odoo Translation Bot authored
-
- Oct 11, 2021
-
-
Mohammed Shekha authored
before this commit: custom filter on selection field shows database value while it should display user freidnly value. after this commit: custom filter on selection field will display UI value of selection attribute instead of database value. task-2363112 closes odoo/odoo#60161 Signed-off-by:
FrancoisGe <fge@odoo.com>
-
- Oct 10, 2021
-
-
Odoo Translation Bot authored
-
- Oct 05, 2021
-
-
Xavier Morel authored
51955505 mitigated an issue of being able to try and download files which don't exist yet, make the fix more reliable by clearing out the field completely and hiding the content if the (readonly) field has no value *or the record is not saved yet*. Also clean up the code: * an old-style forward port created a duplicate fixprovement (a8d01cbf) which seems less correct as it applies conditionally * and the code is branchier than necessary, we can make it simpler by judiciously leveraging jquery's API closes odoo/odoo#77756 X-original-commit: 05db9be15d75dc0794095aad75c80d0c2e540808 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
- Oct 04, 2021
-
-
Géry Debongnie authored
Release notes: https://github.com/odoo/owl/releases/tag/v1.4.6 - fix: crash in component render (in rare cases) - fix: build system now target ES2017 instead of ESNext - fix: remove useless log in prod mode https://github.com/odoo/owl/releases/tag/v1.4.5 - qweb: expose translatable attributes - ci/tests: update jest/rollup - doc: clarify tutorial - doc: update readme, add nice badges closes odoo/odoo#77728 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Oct 03, 2021
-
-
Odoo Translation Bot authored
-
- Oct 01, 2021
-
-
Nasreddin Boulif (bon) authored
Steps to reproduce : - Install Sales - Modify the report, use the theme "Clean" and the font "Open Sans" - Modify the company phone to: +41 26 322 01 02 - Print a quotation Issue : Company phone is on 2 lines Cause : CSS issue with wkhtmltopdf. Solution : Replace CSS display value `inline-block` by `inline`. ref commit: https://github.com/odoo/odoo/commit/5b022f433a44e627541d30ae21d7a867f4a3a6ff opw-2567836 closes odoo/odoo#75515 Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-