Commit Graph
154749 Commits
Author SHA1 Message Date
Soukéina Bojabza d6ce5157ab [FIX] web_editor: fix the resizing history
This commit fixes the issue where the undo of the resizing of an
element is not done in one step.

Steps to reproduce:
- drop a snippet (like text-image)
- resize the image
- undo
=> you have to click multiple times before going back to the initial
size.

task-2968749

closes odoo/odoo#101693

X-original-commit: c4b8a2a6a7548e8a81d1ded58e6bc0e309b02975
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-09-30 13:35:59 +02:00
Laurent Stukkens (LTU) be207ca132 [FIX] hr_timesheet: add a space between calendar icon and the date.
task-3000399

closes odoo/odoo#101674

X-original-commit: 4d42ce44b6a1d00490a35ee5ebed6c23e8e30233
Related: odoo/enterprise#32052
Signed-off-by: Xavier <xbo@odoo.com>
2022-09-30 13:35:53 +02:00
Vishnu Vanneri 3f5f534edd [CLA] Vishnu Vanneri
closes odoo/odoo#101649

X-original-commit: 0dd3bfc1f973a71c0e889a3b5c5807c066875422
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-09-30 11:36:16 +02:00
Nicolas (vin) 84ac486524 [IMP] account: Add a form view for tax groups
The tax group model doesn't have a form view leading to a left side
bigger than the right side and some fields showing that we don't
want to see.
Thus, we add a form view and hide the field country_code, that is
not needed here since we already see the country_id.

closes odoo/odoo#101519

Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
2022-09-30 11:36:13 +02:00
Odoo's Mergebot 197332697b [FW][MERGE] web(_editor): prepare knowledge embed views support
Prepare support of embed views and complete owlification of commands by
adding preparatory commits. See sub commits for more details.

Prepares Task-2796156
Prepares https://github.com/odoo/enterprise/pull/29423

closes odoo/odoo#101694

Forward-port-of: odoo/odoo#101566
Related: odoo/enterprise#32062
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-09-30 10:33:03 +02:00
abd-msyukyu-odoo e6497fb0e8 [IMP] web_editor: ignore data-behavior-props for sanitize
DOMPurify.sanitize removes an attribute that contains a ">" for security
reasons. Make an exception for `data-behavior-props`.

That exception allows Embedded views in Knowledge to store a JSON object
containing the act_window data used to render it as an attribute of the
HTMLElement where it is supposed to be rendered (The view contents are
not saved in the html_field value).

More generally, data-behavior-props should be used when storing properties for a
Behavior Component (see Knowledge module) is required.

Prepares Task-2796156
Prepares odoo/enterprise#29423

X-original-commit: aeb9df5247a3936b1397d8056c1725a1de660b6a
Part-of: odoo/odoo#101694
2022-09-30 10:33:02 +02:00
abd-msyukyu-odoo 62a8aec2b5 [IMP] web_editor: embedded_view requirements
Add a custom class in web_editor to prevent the selection in an embedded view
(or another bloc using that class) from being moved out in multiple situations.
(onselectionchange, onkeyup, onmouseup, ...).

This is related to the block being contentEditable=False.

Prepares Task-2796156
Prepares odoo/enterprise#29423

X-original-commit: 86c14110294c5ff986ee88bb010dbc7513bf8b01
Part-of: odoo/odoo#101694
2022-09-30 10:33:01 +02:00
Nicolas Bayet d8cf028714 [IMP] web_editor: do not alter code pasted from editor
Purpose

Allow users to copy/paste specific elements that are generated by Odoo instead
of sanitizing it on paste. It allows to keep structured data in DOM.

Prepares Task-2796156
Prepares odoo/enterprise#29423

X-original-commit: 36ed4db2b378543d51e6e3eb03962707dbf15b1d
Part-of: odoo/odoo#101694
2022-09-30 10:33:01 +02:00
Damien Abeloos 1f6005070f [IMP] tools: keep additional data when sanitizing
Purpose is to allow to have ``data-behavior-props`` and ``data-prop-name``
on HTML nodes and keep it even when HTML content is sanitized. Those attributes
will be used notably in Knowledge application to store some structured content
e.g. used to populate props.

Prepares Task-2796156
Prepares odoo/enterprise#29423

X-original-commit: 7ddb4685567c115ca4e14fa7e5f845b0cb33fd7c
Part-of: odoo/odoo#101694
2022-09-30 10:33:01 +02:00
Damien Abeloos 7871c75f75 [FIX] mail, web_editor: fix image download links
dowload is actually download.

Prepares Task-2796156
Prepares odoo/enterprise#29423

X-original-commit: d1c130386cbf79c721793c866fcdec47fdaef2bf
Part-of: odoo/odoo#101694
2022-09-30 10:33:00 +02:00
Romain Estievenart 63e3afb783 [FIX] web: DnD a record increment the width of a folded kanban columns
When we introduced the `useSortable` hook [1] and [2], the kanban column
fit the size of the kanban record when the DnD record hovers the column.
This behavior is not desired when the record is hovering over a folded
column, so we apply now a `display:none` value on the record to avoid
the resize of the column.

Steps to reproduce:

1. Go to project
2. Open Office design
3. Try to drag and drop a record to a folded column
   The width of the folded column is incremented to the width of the
   record => bug

Links:
1. https://github.com/odoo/odoo/commit/ebb410accbe3aac051e73031384f640a40544efc
2. https://github.com/odoo/odoo/commit/cf4a8f198fd2daa2b4d9f9f69c5c769c21ff13c5

closes odoo/odoo#101690

X-original-commit: 94e4d6fb432fe64dedf1e65a6ab021855d4c955e
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-30 09:32:34 +02:00
Ahmad Khanalizadeh 91a3bfc34a [FIX] base: use time zone aware display field for currency rates
Steps to reproduce:

1. change system and admin's time zone to one with a different
date than UTC
2. enable multi-currency in the accounting module
3. add rates for the current date in local time zone and UTC
4. go to settings > currencies
5. the rate for the UTC date is displayed

To fix this, we should use a time zone aware field in `res_currency`.

opw-2945108

closes odoo/odoo#101686

X-original-commit: 2f1d8d6db4efab86d35f362138e80e03692537dd
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Khanalizadeh Ahmad (khah) <khah@odoo.com>
2022-09-30 09:32:29 +02:00
Ricardo Gomes Rodrigues (rigr) 6d20a149cc [FIX] account_edi_ubl_cii: fallback on item name if no description
If a user imports a FacturX where an item has a name but no description, the invoice is not created.

We now use the item name as a fallback in case there is no description.

opw-2951705

closes odoo/odoo#101682

X-original-commit: 8826993ffb658d6df513a3ce4a316c1aa09d428e
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Ricardo Gomes Rodrigues (rigr) <rigr@odoo.com>
2022-09-30 09:32:27 +02:00
William Braeckman bca87fd5ab [IMP] hr_fleet: migrate hr_fleet_kanban to wowl2
closes odoo/odoo#101681

X-original-commit: 443123b64e2984026541c44c524f20c7f08eda0b
Signed-off-by: Kevin Baptiste <kba@odoo.com>
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-30 09:32:23 +02:00
aliya 4e07c2c788 [FIX] account: accrued entries width should be 100%
Preview of accrued entries should occupy full width.

closes odoo/odoo#101680

X-original-commit: 046dbe3ed48054b0c390ae1edb2e1dea9315acfb
Signed-off-by: Cedric Snauwaert <csn@odoo.com>
2022-09-30 09:32:20 +02:00
Bruno Boi 7e1304c137 [FIX] web: color edition of many2many_tags_field
Before this commit
Can display the color list picker event if no color_field has been set.
This could lead to a traceback if a color is selected.

After this commit
The field does not allow to show the color list without a color_field.

closes odoo/odoo#101679

X-original-commit: 160ba4b4edfde052d9881a23294ceafc0ceec278
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-30 09:32:18 +02:00
Didier (did) e62c11bafa [FIX] mail: avoid generation link preview on internal link
If website is installed, the login page of Odoo has opengraph meta that will be
used to create link preview on mention and channel link.
This PR add a xpath condition to always ignore mention and channel link in the
message body.

Part of task-3000274

closes odoo/odoo#101678

X-original-commit: eb032a5c36af6402b79ae768ce29b3d84eacf3b7
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Debondt Didier (did) <did@odoo.com>
2022-09-30 09:32:15 +02:00
Aaron Bohy ba82155b8a [IMP] web: add legacy view logging in debug mode
This helps tracking views that still need to be converted, like we
already do for fields.

closes odoo/odoo#101676

X-original-commit: aea1b4af1d88b19392eb9f42a42fd970017d5630
Signed-off-by: Géry Debongnie <ged@odoo.com>
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-30 09:32:11 +02:00
Didier (did) 3bef7380e0 [FIX] mail: fix link preview delete dialog size
part of task-3000274

closes odoo/odoo#101675

X-original-commit: e3773fe78f0cd652cecef0500611ac6988648e87
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Debondt Didier (did) <did@odoo.com>
2022-09-30 09:32:08 +02:00
Renaud Thiry be53351746 [FIX] web_editor: Invalid import in test
Imported unsplash in web_editor when it was not a dependency.
This caused the test to fail when web_unsplash was not installed.

As it is necessary to import it when the module is installed,
this test is moved to test_website as both modules are installed there.
(Also updated to ES6 import syntax + odoo-module style test)

task #3000801

closes odoo/odoo#101672

X-original-commit: d85ba585ec4642a507d24ab94606a65970c635f3
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
2022-09-30 09:32:03 +02:00
svs-odoo 780c00dd28 [FIX] stock: warehouse delivery steps
Since that commit: dd7f4d501a4d23b04a1899be8fd51cc583673c9d
A picking type cannot make the scan of the source location mandatory if
the scan of the destination source is optional.
An error is raised in case the user tries to edit and save a picking
types with this erronous config but there is also an issue if the user
tries to set the outgoing shipments in 2 or 3 steps.
The method `_create_or_update_sequences_and_picking_types` was the cause
of this issue because of an `update` on the `stock.picking.type`.
We try to update `restrict_scan_source_location` to "mandatory" and
`restrict_scan_dest_location` to "no" for the pick operation, the issue
is with `update`, each field is write one by one, and so, it will write
on `restrict_scan_source_location` first while `restrict_scan_dest_location`
is still set on "optional".

To fix that, we replace the `update` by a `write`.

closes odoo/odoo#101663

X-original-commit: 07fb4af8c68ae1296e796c2f3714823ed828e680
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
Signed-off-by: Steve Van Essche <svs@odoo.com>
2022-09-30 09:31:57 +02:00
Rémi Rahir 8f379d8ae5 [FIX] spreadsheet: Fix Odoo chart duplication
Odoo charts have a specific need of dataSources for their runtime data
(in oppostion to standard graphs). In order to link the chart with its
datasource, we injected the chart id inside its definition in order to
be able to fetch the corresponding datasource. Unfortunately, this
approach require that we can access the chartId from anywhere which is
unfortunately not the case when we copy/cut/paste a chart. The current
implementation would copy the chart while keeping a reference to the
same datasource, thereby keeping the same data and be submitted to the
same filters as the original chart dataSource.

Note that a chart should not be aware of its own id; that is, its place
in the mapping of a plugin.

This commit changes the approach to set the dataSource inside the chart
directly through a method only available on OdooChart instances.

This problem would also arise on sheet duplication but was due to a
problem in the library itself.

task 2998207

closes odoo/odoo#101660

X-original-commit: 47f7cc08bec749301001c6c4567cafbcea8bd552
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2022-09-30 09:31:55 +02:00
Martin Trigaux e856beb782 [I18N] *: export 16.0 source terms
closes odoo/odoo#101659

Related: odoo/enterprise#32040
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-09-30 09:31:52 +02:00
Lucas Lefèvre f07cd645c9 [FIX] tools: don't extract missing spreadsheet data source name
Previous versions of spreadsheet files don't have a name
for list and pivot datasources.

The spreadsheet template "pipeline dashboard" in `document_spreadsheet_crm`
is such a file.
As a consequence, exporting the source terms from this module fails
with a `KeyError: 'name'`

Part-of: odoo/odoo#101659
2022-09-30 09:31:52 +02:00
Martin Trigaux e1af8cd69c [IMP] *: correct tyspo and erors
Also clarify messages

Part-of: odoo/odoo#101659
2022-09-30 09:31:52 +02:00
sofiagvaladze 39efb6116a [FIX] hr_skills: Skill history report
Prior, by default Skill history report goes to stacked view.
Which is not informative for the kind of information that is displayed.

task - 2993831

closes odoo/odoo#101656

X-original-commit: 1951b56d91dc17ec8d81257e8c431f7a24420e2b
Signed-off-by: Kevin Baptiste <kba@odoo.com>
2022-09-30 09:31:45 +02:00
Adrien Schoffeniels d50589fd08 [IMP] web_unsplash: allow to specify image orientation
Purpose:
========
Knowledge allows to search images from unsplash when selecting a cover
for an article. One would like to show only images with a landscape
orientation when selecting a cover, since images with other orientations
do not fit properly.

Also made "UnsplashError" component exportable so that it can be used
in Knowledge,'s Cover Selector.

Specs:
======
Modified unsplash_service and image_selector so that one can specify
the orientation of the images to fetch from unsplash.
Added the orientation as cache key so that images in cache are not shown
when using the same query word but with another orientation (eg. in
knowledge, search an image for the body of the article then searching a
cover using the same query term).

Task-2852916

closes odoo/odoo#101671

X-original-commit: e65d5d617bd13cf0381b372205a07a4a3bef2963
Related: odoo/enterprise#32050
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-09-30 08:07:49 +02:00
luvi 8912bb4dfb [FIX] web: add binaryFormatter for files
This commit fixes the display of files in list and in the BinaryField,
which was displaying the complete file value instead of a human readable
size.

A new formatter has been added, and the isBinSize utils has been added
to its own utils file instead of depending from the field.

A test has been added to verify the correct visibility of a file in a
list view instead of showing the file content.

closes odoo/odoo#101673

X-original-commit: ff8485b2289a1157cdae608bd4223012fc67b77c
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-29 20:51:18 +02:00
Aaron Bohy f026c8a4d4 [FIX] web: convert iframe_wrapper field to owl
This field has been forgotten in the PR converting all web fields
to wowl.

closes odoo/odoo#101661

X-original-commit: 2e1c78b3818cdcb97afe4cd1496e0da6f8bac1b7
Related: odoo/enterprise#32041
Signed-off-by: Géry Debongnie <ged@odoo.com>
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-29 20:51:07 +02:00
Aaron Bohy 98a5c543c7 [REF] hr_timesheet: remove dead code
This commit removes an unused widget from the field, formatter
and parser registries.

X-original-commit: 6f88435e792fdefe17e0684308482b8c2821c361
Part-of: odoo/odoo#101661
2022-09-29 20:51:06 +02:00
Aaron Bohy 4f4fae261b [FIX] web: stop using legacy Many2one field in kanban
Before this commit, if there was a kanban view with a field with
widget="many2one" explicitely set, the legacy KanbanMany2oneField
was used. That field simply displays the name of the related
record, with no link.

In the wowl kanban view, we only use a FieldComponent if the
field is explicitely set, and we use a formatter otherwise. For
that reason, this commit simply removes the kanban special case
instead of re-introducing it. So by default, a many2one will be
displayed in a span, and if someone wants the link in the kanban
card, he has to set widget="many2one" (this wasn't possible before).

Temporarily, until we remove the fallback on the legacy field
registry, we need to add a "fake" entry in the wowl registry, to
prevent from fallbacking on legacy.

X-original-commit: a3cd97c5c81422e33a5715ecc4dd017cf5172ea8
Part-of: odoo/odoo#101661
2022-09-29 20:51:06 +02:00
Aaron Bohy 85bbbd2381 [FIX] web: re-introduce many2one_reference field and formatter
This field type has been forgotten in the PR that converts web
fields to wowl, probably because it wasn't tested. This commit
defines a Component and a formatter to use for that field type,
in wowl views, s.t. we no longer rely on the legacy implementation.

X-original-commit: 540e113d107b59af23dc9726a55f5b8376248247
Part-of: odoo/odoo#101661
2022-09-29 20:51:06 +02:00
Aaron Bohy 77b120d367 [FIX] web_kanban_gauge: convert gauge field to owl
This commit introduces the wowl version of the `gauge` field.

X-original-commit: e857e8d7a6ccb51adf3d328dc5539d4d5d166f2d
Part-of: odoo/odoo#101661
2022-09-29 20:51:05 +02:00
Aaron Bohy e81c93380b [FIX] web: convert CopyClipboardButton field to owl
There are several versions of the CopyClipboard field (char, text,
url). There's also the version where the field's value isn't
displayed (only the copy button is), aka `CopyClipboardButton`.
This one has been forgotten during the owl conversion. This commit
restores it.

X-original-commit: 3dfbfb5b9568b72ebbe7c376cd56ebf056a86c75
Part-of: odoo/odoo#101661
2022-09-29 20:51:05 +02:00
Kevin Baptiste f90e5a5300 [IMP] hr_holidays: migrate calendar views to Owl
task-2991495

closes odoo/odoo#101658

X-original-commit: fb2dfd438c240848c4410b040d2177e4ff6a71b3
Signed-off-by: Kevin Baptiste <kba@odoo.com>
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-29 20:51:00 +02:00
Leonardo Pavan Rocha 9d4f2624df [IMP] hr_work_entry_contract: convert calendar views to owl
Converts calendar views in hr_work_entry_contract to owl.

task-2992657

closes odoo/odoo#101657

X-original-commit: 9ffd5bba4b02df35fcd18908d21fa3bc95974f1e
Related: odoo/enterprise#32039
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-29 20:50:57 +02:00
Odoo's Mergebot 0983db73e4 [FW][REF] web: FormView, replace tables with grids
This PR replaces the FormView group tables with css grids.
Part of the overall v16 SCSS optimization/restyle, task-2704984

task-2918464

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

closes odoo/odoo#101655

Forward-port-of: odoo/odoo#98911
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2022-09-29 19:54:50 +02:00
Brieuc-brd a1c59a0aa8 [FIX] hr: adapt size of o_work_employee_main
Since commit ae7bd570e13fe19367f86a1519b23747b3b0b73e, the size of
`o_work_employee_main` has been reduced.

This commit fixes this issue.

task-2918464

X-original-commit: 99d13b4b3a5efabff9f71f0cfe1b9cf72bb47ccd
Part-of: odoo/odoo#101655
2022-09-29 19:54:49 +02:00
Adrien Dieudonné 98d093b3c2 [IMP] web: FormView, remove unnecessary mixin
task-2918464

X-original-commit: a1f4f8ea930425c9556691d518905b2fe5ee6da2
Part-of: odoo/odoo#101655
2022-09-29 19:54:49 +02:00
Brieuc-brd 929769ecdd [REF] web: FormView, replace tables with grids
This commit replaces the FormView group tables with css grids.
Part of the overall v16 SCSS optimization/restyle, task-2704984

task-2918464

X-original-commit: a2b894989ea33364dd29a7d412e4bd4260c1f5ef
Part-of: odoo/odoo#101655
2022-09-29 19:54:49 +02:00
Brieuc-brd 139e0e257c [IMP] web: add d-[device]-contents classes
This commit extends the `display` class with a new value to fine-tune
the layout in several circumstances. Classes added:
- 'd-[device]-contents'

task-2918464

X-original-commit: 1c871cc847f305649a4329b653540109596fa149
Part-of: odoo/odoo#101655
2022-09-29 19:54:49 +02:00
Alexandre Kühn 83395160ca [IMP] mail: move code to models (FollowerListMenu)
Task-3000317

closes odoo/odoo#101604

X-original-commit: 89e60f414b88def011dc5b8b63444b12edb5d824
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2022-09-29 15:27:11 +02:00
William Braeckman 6095eff9e2 [IMP] project: migrate project_calendar to wowl2
closes odoo/odoo#101603

X-original-commit: fb7c615fcec3743f31d34ebb79664f8a8eb5a50f
Related: odoo/enterprise#32012
Signed-off-by: Xavier <xbo@odoo.com>
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-09-29 15:27:06 +02:00
William Braeckman 286eee3320 [FIX] web: prevent selecting an invalid scale in calendar
By pressing the date in the calendar's date picker, a function computes
a new scale to be used depending on the previous focused date and scale,
for example clicking on the focused date in month scale will switch to
week and so on.
However it bypasses the scales that are available on the calendar's
definition.
It is now prevented.

X-original-commit: a9059b0bee02f635d563b45ee94f04bab5532fe4
Part-of: odoo/odoo#101603
2022-09-29 15:27:05 +02:00
Alexandre Kühn e01275265f [IMP] mail: move code to models (DialogManager)
Task-3000287

closes odoo/odoo#101577

X-original-commit: 9623548e3778cd90a148a32ff5dadad5601ecc20
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-09-29 13:23:20 +02:00
Alexandre Kühn b4750008fa [IMP] mail: move code to models (ComposerSuggestionView)
Task-3000269

closes odoo/odoo#101576

X-original-commit: 66734b6c187e78e039f7f32c8adf105cb32aa2d6
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-09-29 13:23:17 +02:00
Alexandre Kühn 1f78b1608d [IMP] mail: move code to models (CallSettingsMenu)
Task-3000249

closes odoo/odoo#101575

X-original-commit: bfd592e79e77db879eb70b5eed6e224b0525dfb8
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-09-29 13:23:15 +02:00
Alexandre Kühn d1fc179486 [IMP] mail: move code from component to models (CallMainView)
Task-3000210

closes odoo/odoo#101574

X-original-commit: 65ff5abcaab5e10f06c872ba300ff24a6b00ded2
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-09-29 13:23:12 +02:00
FrancoisGe f360965dc2 [FIX] web: group a list view with a date field
Before this commit, in a grouped list view, if a date field is between
two fields with an operator_group then the view crashes.

Why is this?
The view will try to format the aggregated date value but the date does not have one.

Solution:
Use the value false if there is no aggregated value for a field.

closes odoo/odoo#101573

X-original-commit: c9485ea3dd377f486fb7543fc1092175006fc987
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-29 13:23:09 +02:00
Valentin Vallaeys (vava) a8b46857ea [FIX] sale: remove link between optional products and variants
The "optional products" feature is only accessible when the "variants"
settings is activated although there is no functional reason for
linking these two features.

Optional products are now available as soon as the product configurator
 is installed.

task-2987894

closes odoo/odoo#101572

X-original-commit: 869d73547730c93e264afc284e7e9d1efc033d99
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
2022-09-29 13:23:07 +02:00