- Mar 22, 2022
-
-
roen-odoo authored
Current behavior: When using a product kit that have a product kit in his BoM some move line where merging when they shouldn't. Because of this the delivered count wasn't correctly updated in any sale order using this product Steps to reproduce: - Create product B to manufacture with a BoM (type Kit) using component A and component B - Create product A to manufacture with a BoM (type Kit) using product B and component A - Create a sale order with product A - Confirm the sale order and validate the delivery - The delivered count of product A on the sale order stays at 0 opw-2777810 closes odoo/odoo#87000 X-original-commit: 0e648081 Signed-off-by:
Tiffany Chang <tic@odoo.com> Signed-off-by:
Engels Robin (roen) <roen@odoo.com>
-
Abdelouahab (abla) authored
To reproduce ============ - Using ldap server with Microsoft Active Directory - Set up ldap authentication on Odoo - Trying to log with a username/password from ldap on Odoo doesn't work Purpose ======= Because referral chasing is enabled by default, python-ldap ends up requesting a completely different unrelated server. Specification ============= To solve the issue, a system parameter `disable_ldap_chase_ref` must be created to have the possibility to disable referral chasing by setting its value to `True`. opw-2724800 closes odoo/odoo#86993 X-original-commit: f40a98ee Signed-off-by:
Olivier Dony <odo@odoo.com> Signed-off-by:
abla001 <abla@odoo.com>
-
Adrien Widart authored
To reproduce the issue: (Need a Windows machine) 1. Install Stock 2. Inventory > Products > Products 3. Try to write the diameter symbol (ALT + 155) in the search bar Error: When pressing the key '1' on the keyboard, the page is redirected to the Inventory Overview page Because of hotkeys, it is not possible to use the Windows feature that allows users to write ASCII characters with ALT+[numerical code from keypad]. OPW-2731632 closes odoo/odoo#86981 X-original-commit: a0f419c4 Signed-off-by:
Bruno Boi <boi@odoo.com> Signed-off-by:
Adrien Widart <awt@odoo.com> Co-authored-by:
Bruno Boi <boi@odoo.com>
-
Jérémy Hennecart authored
We should also use the tzinfo to display only the time of a datetime. task-2458013 closes odoo/odoo#86967 X-original-commit: 49604185 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Fabio Barbero authored
Purpose ======= The method find_or_create of res.partner overwritten in mail does not take into account the parameter assert_valid_email. This commit adds a simple check and test. Task-2799577 closes odoo/odoo#86943 X-original-commit: 7a07b365 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
qsm-odoo authored
This reverts commit [1] (in master only since XML change) which was a temporary fix. Indeed, the proper fix was merged at [2] since then. [1]: https://github.com/odoo/odoo/commit/886af1f328a9f1664b0d3e204bf984bfee28b215 [2]: https://github.com/odoo/odoo/commit/5e3c466e1b6a23a76807ab4f4d81bcf70105eedb closes odoo/odoo#86935 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Antoine Guenet authored
This adapts new code which uses `oe-zws-empty-inline` to use the new name `data-oe-zws-empty-inline` instead. closes odoo/odoo#86930 X-original-commit: c8d892496e78beea804c80091f4b06dc2e858b59 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Antoine Guenet authored
When inserting a format with a collapsed selection, we need to insert a zero-width space. It should not be saved so we need to isolate it and put the "oe-zws-empty-inline" attribute on its parent so it gets cleaned up by the sanitizer. X-original-commit: 4ce274ba39cd8046b9ef4e0b99df66913375f993 Part-of: odoo/odoo#86930
-
Antoine Guenet authored
Take `<p>a<b>bcde</b>f` and select the whole paragraph. If you click the "bold" button, you would expect the whole paragraph to become bold. Only if you only select "bcde" do you expect to unbold it. This is the behavior of other editors. Odoo-editor so far was unbolding as long as a part of the selection was bold. The same applies to other formats. Currently the format buttons are active when the closest start container is that format but it should be active when pressing it would undo the format, ie when the whole selection is that format. This harmonizes it with the browser defaults. task-2754127 X-original-commit: 69c5db26f81ace1a9a032b2ef7f488c997be00ad Part-of: odoo/odoo#86930
-
Antoine Guenet authored
When a background color is applied on an ancestor, while it's visibly there, `getComputedStyle` doesn't know. Because it did depend on it, the toolbar showed the wrong color in these cases. Eg: `<span style="background-color: red;"><b>a[]bc</b></span>` was showing no background color. task-2778416 X-original-commit: a125933b34500d51183bc5eb02a531fb3b293de5 Part-of: odoo/odoo#86930
-
Antoine Guenet authored
The link button was toggling its active state on every update of the toolbar because we weren't passing the toggle function a boolean. and if the element we were passing it was `undefined`, it triggered the default behavior which is to just toggle. Instead we want it to be false if the element is `undefined`. X-original-commit: 7aecd36a169033a89defeb00ba0ae53cd64cdcd5 Part-of: odoo/odoo#86930
-
Antoine Guenet authored
Underline and strikeThrough styles are special beasts in that they both are applied to the `text-decoration-line` property. Unlike `font-weight` or `color`, They behave like a border: setting `text-decoration-line: none` to an element won't undo the value of the parent and therefore the text will still show the decoration applied to its parent. Similarly, nested decorations will apply over each other: a text node whose parent has an underline decoration and whose grandparent has a line-through decoration will be both underlined _and_ struck through. Consequently, we can't treat these styles the same way we treat bold, italic and colors: 1. To undo the style, we have to split the text from its styled ancestor 2. To apply eg underline to a struck through text, we have to insert a new span. task-2778416 X-original-commit: 93102a7dcb3e2c1a5803ab99f2f924b0b24e44c2 Part-of: odoo/odoo#86930
-
Antoine Guenet authored
Consider the following situation: `<p>a[]b<span><zws></span>c</p>`, where `<zws>` is a zero-width space and `[]` is the collapsed selection. On pressing the `ArrowRight` key, we want to enter the `<span>` so we don't press once to be after the "b" then once again to be before the `<zws>`. The cases with a non-collapsed selection, and with the left arrow are analogous. This is what this commit allows us to handle. X-original-commit: 8e1d5ff3f3bdef8ca2f0eb069c62140260aad3f6 Part-of: odoo/odoo#86930
-
Antoine Guenet authored
When the selection is collapsed it was impossible to set a format (bold, italic, underline, strikethrough), a font-size or a color. This makes it possible by inserting and selecting a zero-width space first, then placing the caret to its left when we're done. task-2778416 X-original-commit: b4eb0fe69bce5ca18d8450cd7118740f1d31f780 Part-of: odoo/odoo#86930
-
Antoine Guenet authored
The bold format is overridden to use inline style on a <span> rather than a <b>. The other formats (italic, underline, strikethrough) continued to use the default browser behavior. This harmonizes them. X-original-commit: ce59bbd1c13d7fd4cc6971b89cc95386d95fcd75 Part-of: odoo/odoo#86930
-
Antoine Guenet authored
When pressing the italic or underline buttons, we pass through a command in the editor. Their corresponding keyboard shortcuts however were not intercepted by the editor and were therefore triggering the default browser behavior. As a result we had different behaviors when using the buttons and the shortcuts. X-original-commit: 2e3c3b3a15fa6ff4fa209fc7dbac10864f8898a2 Part-of: odoo/odoo#86930
-
Kevin Baptiste authored
Newly created taxes were missing the correct type_tax_use and price_include values, thus making them not working properly. closes odoo/odoo#86883 X-original-commit: 161208315c2bb6e49fae243ead680710c040b872 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86798 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86796 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86795 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86794 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86793 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86792 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86784 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86783 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86782 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86779 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Alexandre Kühn authored
Task-2797754 closes odoo/odoo#86777 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Samuel Degueldre authored
closes odoo/odoo#86875 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
tsm-odoo authored
Mock server's mail channel write method is incorrect. It assumes the id of the channel will always be 20 while it could be anything. closes odoo/odoo#86860 X-original-commit: 96e732f6 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
tsm-odoo authored
The res.fake model has a partner_ids fields which is a many2one but is used as a one2many. closes odoo/odoo#86849 X-original-commit: 02b34c6b Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Louis Wicket (wil) authored
Task-2759571 closes odoo/odoo#86802 Related: odoo/enterprise#25434 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Yolann Sabaux authored
Steps to reproduce: - create a contact with a very long name - create a quotation - in customer, type the first letter of the very long customer's name - try to use the horizontal scroll bar Issue: close window on horizontal scroll Solution: Discriminate an horizontal scroll from a vertical scroll A test has been added as well as the triggerScroll utility function to allow proper tests when scrolling on elements opw-2777443 closes odoo/odoo#86744 X-original-commit: e0b26496 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Iucapad <luvi@odoo.com>
-
Denis Ledoux authored
Add the possibility for portal users to manage API keys in the frontend portal interface. - Allow for portal users to manage their API keys if the system parameter `portal.allow_api_keys` is set. A settting in `res.config.settings` is added in order to enable or disable the feature (to add/remove the system parameter) through a compute field, to avoid adding a new database column in standard (as this revision targets stable 15.0). The setting appear only in debug mode. - Display the API keys in the portal in debug mode only (as in the back-end for regular users, in their profile) - The flow in the frontend is a mimic of the flow from the backend, the wording and the look and feel is from the back-end. closes odoo/odoo#86915 Signed-off-by:
Denis Ledoux (dle) <dle@odoo.com>
-
Raphael Collet authored
Models can be defined by an SQL table, an SQL view or an SQL query (with attribute _table_query). Counting records makes little sense when the model does not correspond to a table, and actually fails when it is defined by an SQL query. We fix the compute method by counting records only for models where _auto=True. closes odoo/odoo#86913 X-original-commit: 956a0a1c Signed-off-by:
Raphael Collet <rco@odoo.com>
-
Pierre-Yves Dufays authored
Correction that enables the display of the "unpublished" red label next to the track name that are not published for the user of the group event manager only. Task-2692907 closes odoo/odoo#86907 X-original-commit: 4d5f07dc Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Victor Feyens authored
unless there is another template to apply by default closes odoo/odoo#86899 Task-id: 2798588 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
tsm-odoo authored
website_slides was relying on a model that belongs to a module it does not depend on. This makes the single module builds fail. Moreover, it appears this model was not even used during tests. closes odoo/odoo#86876 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Benoit Socias authored
Since [1] illustration shapes are only obtained from their slug. Before they were obtained from their URL. After this commit the old behavior is restored as a fallback in case the illustration shape cannot be found from its slug. This is needed to allow importing shapes into the system from data files. [1]: https://github.com/odoo/odoo/commit/bde8abcfeb57c74438943e44215a7c8cb822329f task-2793073 closes odoo/odoo#86858 X-original-commit: 91f2a989ddd7961f92a377b1bf74cc741dcbd3d0 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Nicolas Bayet authored
task-2793106 closes odoo/odoo#86859 X-original-commit: e07a40f9 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-