Commit Graph
155352 Commits
Author SHA1 Message Date
Damien Bouvy e647a2de09 [IMP] *: adapt to grid form views
The recent switch from tables to css grids for form views `group` nodes
has introduced several inconsistencies/issues with several views accross
modules - these will not be the last fixes.

closes odoo/odoo#102174

X-original-commit: 836568dfd59886a6d52f15e0e2109709903b6803
Related: odoo/enterprise#32295
Signed-off-by: Bouvy Damien (dbo) <dbo@odoo.com>
2022-10-11 13:15:12 +02:00
Damien Bouvy 0d683bf982 [IMP] web: clearer contrasts between readonly and editable form fields
X-original-commit: f86836af3d1bae533580bc901289a170f094bd9e
Part-of: odoo/odoo#102174
2022-10-11 13:15:12 +02:00
Damien Bouvy 3a09287357 [IMP] web: tooltips & copy
- remove redundant tooltips
- m2o links are internal, not external

closes odoo/odoo#101205

X-original-commit: 664c36af56e1cfc390d007f2ab2ef9eefef48bfb
Signed-off-by: Bouvy Damien (dbo) <dbo@odoo.com>
2022-10-11 13:15:06 +02:00
Michael (mcm) e19ba30650 [IMP] web: confirm on closing tab/browser
Before this commit, the user was not notified when he
closed the tab or the browser while modifying a record.
Now, the user will be asked to confirm the close if there
is at least one invalid field.

task id: 2994132

closes odoo/odoo#102990

X-original-commit: 3fcc36786453f3006974f5fd0fa395ad5d07d9a2
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-10-11 12:13:45 +02:00
Nicolas Bayet 530738870b [FIX] web_editor: deactivate collaboration conflict detection
For demo purpose, temporarily deactivate collaboration conflict
detection.

closes odoo/odoo#102980

X-original-commit: d8d23148c9a45e9a543e4d908ccb9eec0fd36e3b
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2022-10-11 12:13:42 +02:00
Antoine Guenet a101dfd35e [FIX] web_editor: prevent removal of trailing space on remove last char
This fixes a bug that occurred when using BACKSPACE to remove the last
character of a text node, if said character was preceded by a space and
said text node was succeeded by a <br>. The space was removed along with
the character. This was simply due to a missing state restoration rule
to handle this specific case.

task-2990229

closes odoo/odoo#102974

X-original-commit: 5e90529388095321da8b504ebf543c4c3054845e
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2022-10-11 12:13:39 +02:00
Antoine Guenet b731ae7bb1 [FIX] mass_mailing: prevent dropping snippets outside mailing
The fix at [1] had to be adapted anyway since the conversion to OWL. As
a result it was possible to drop snippets below the mailing area.

[1]: https://github.com/odoo/odoo/pull/77724/commits/65b67d66de72fab390b8887c12532b840d47c95f

task-3002441

closes odoo/odoo#102972

X-original-commit: fe4006997daeb5d323b364821fc2815a45e78495
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2022-10-11 12:13:37 +02:00
clesgow d31c94a780 [FIX] mrp: production wizards layouts
Adapts the layouts of the immediate production and the production's
backorder to match the new grid css for groups.

Part of task-2985735

closes odoo/odoo#102958

X-original-commit: 5b999ee40e02647c0d2edfbce7081f6f8cf05857
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2022-10-11 11:07:48 +02:00
Pierre Masereel f5c31545db [FIX] point_of_sale: fix electronic payment style
When an electronic payment is done in the POS, the payment lines
contains the status of the electronic payment and the corresponding
button to perform actions.

We are now correctly display those informations.

closes odoo/odoo#102957

X-original-commit: 7e237dd6282ecd9ebe95690e445466acbab26ca5
Signed-off-by: Masereel Pierre <pim@odoo.com>
2022-10-11 11:07:45 +02:00
oco-odoo 9ad7f2727b [IMP] account_reports: better helpers for report fields
closes odoo/odoo#102886

X-original-commit: 91e1c588cb4616af3f457191b787ca8e617f6d17
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
2022-10-11 11:07:42 +02:00
FrancoisGe d0e995ba61 [FIX] web: use the correct colspan in the group header
Before this commit, in a grouped list view with at least one
group_operator and optional fields, the aggregated values in the header
are shifted one column to the right.

Why is this?
Adding the +1 to the colspan in the group header for optional fields
is always added on the left side (group name).

Solution:
The +1 should be added on the left side (group name) if there is
no aggregated value otherwise on the right side (pager).

Before:
TH TH TH TH TH AGG AGG TH AGG AGG TH TH TH OP
0  1  2  3  4   5   6   7  8   9  10 11 12 13
[      TH 6      ][TH][TH][TH][TH][TH][ TH 3 ]
[   group name   ][ aggregate cells  ][ pager]

After
TH TH TH TH TH AGG AGG TH AGG AGG TH TH TH OP
0  1  2  3  4   5   6   7  8   9  10 11 12 13
[    TH 5    ][TH][TH][TH][TH][TH][  TH 4   ]
[ group name ][ aggregate cells  ][  pager  ]

closes odoo/odoo#102754

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Georis François (fge) <fge@odoo.com>
2022-10-11 11:07:40 +02:00
Adrien Widart 3036cad27d [IMP] stock_picking_batch: add tests
OPW-2976150

closes odoo/odoo#102943

X-original-commit: 794ce1bc1e5b15f666dbdb378b95e5a63e904850
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Adrien Widart <awt@odoo.com>
2022-10-11 09:09:59 +02:00
Atul Patel 8d18c9c2d9 [FIX] doc: link to the right repository
GitHub has changed the way it forms absolute URLs

closes odoo/odoo#102523

X-original-commit: 181a1a10451f20c7c0b44aba44addc7a9127c219
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-10-11 09:09:56 +02:00
Jorge Pinna Puissant 375b969e99 [FIX] crm: remove field crm_statusbar
Remove the field `crm_statusbar` as it dosen't have a specific
behaviour, and we can use the classic `statusbar` field instead.

closes odoo/odoo#102992

X-original-commit: 386fa0a5e448f149e75da68a02ad94dd88cc4d08
Related: odoo/enterprise#32669
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
2022-10-11 08:07:49 +02:00
Jorge Pinna Puissant f00e544930 [FIX] web, crm: override of form controller save function
Before this commit, some functions overrode the save function of the
form controller. The issue is that this function is only called when the
button save is clicked, and not when we save differently (for example,
when clicking on the breadcrumb).

To avoid this mistake the save function on the form controller was
renamed to: `saveButtonClicked`, and the code that overrode the function
now override the save function of the Record, that it's called at each
time a save is perform.

X-original-commit: b6e3d833e6131562084eb13b2955c22f50ad1e79
Part-of: odoo/odoo#102992
2022-10-11 08:07:49 +02:00
Younn Olivier d6bf2c0cbf [FIX] website, *: redirect to the WebsitePreview using ir.actions.client
*: website_forum, website_hr_recruitment, website_sale

Before this commit, most of the backend redirections to the
WebsitePreview, introduced in [1], were using ir.actions.url with the
get_client_action_url util, which was not optimal.

This commit changes that to use a new get_client_action method, which
returns the ir.actions.client record. It will execute the action
directly, avoid to redirect the router before, and improve performances.
Also, it allows to solve bugs, as:
- The back navigation from the WebsitePreview to the ListViews.
Going through the /web controller would add an entry in the history, and
going back on it would reload the client action.

[1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b

task-2687506

closes odoo/odoo#102991

X-original-commit: 30fb11e479fb7b3db3649e55fcbdb06bfcdb398c
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-11 08:07:46 +02:00
qsm-odoo 2f53a7e7b5 [FIX] website: restore creating special pages via "add page" dialog
Commit at [1] factorized some code and in the process used a service
that was not declared. This prevented to use the "add page" dialog
(which allows to create pages via the "+ New" button) to create special
pages ".js", ".css". That feature will likely be removed or reworked
in a future update though.

[1]: https://github.com/odoo/odoo/commit/58698f848703395ff680bc7586ecc8eec4fb61ae

X-original-commit: 21b90ff8bdad22b6beea1b6b5a6d70276817c00e
Part-of: odoo/odoo#102991
2022-10-11 08:07:45 +02:00
Josse Colpaert c6279f31b4 [FIX] l10n_it_edi: detect fatturapa also if extension in upper case
Before: it won't work with extension in uppercase: .XML or .XML.P7M

We put ?i: in the regex so that part would be matched case insensitively

opw-2703669

closes odoo/odoo#102766

X-original-commit: 397e9f49c1806d2188a2e0d2e3cf32eeedf91e4b
Signed-off-by: Quentin De Paoli <qdp@odoo.com>
Signed-off-by: Josse Colpaert <jco@odoo.com>
2022-10-11 08:07:40 +02:00
Soukéina Bojabza 3485779e04 [IMP] website: improve the Masonry snippet templates
Since [1], the Masonry snippet is in grid mode only and its templates
have been modified to allow this mode. However, some of them don't look
good and have to be improved.

This is what this commit does:
- some text blocks were too small so their height has been increased
- the Masonry second default image has been replaced by another one
that looks better.

[1]: https://github.com/odoo/odoo/commit/85b352af319edec84407f2046cf795b4e5503460

task-3013055

closes odoo/odoo#102984

X-original-commit: ad8926eafd34c2743e1a5247f6171fd183e6e506
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-10 21:50:43 +02:00
Rémi Rahir fc520504a9 [FIX] spreadsheet: Ingore Pivot.HEADERS with measure field
Field `measure` in `PIVOT.HEADER` functions are not actual res.model
fields but are used to display the fieldName of the measured field.

closes odoo/odoo#102979

X-original-commit: 6de4b2c4c058babb4e3ee0b60212aa4a9ccec119
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
2022-10-10 20:52:25 +02:00
Adrien Dieudonné 7dcdf09a48 [FIX] web: add space above group separators
This commit reverts https://github.com/odoo/odoo/commit/0e0a2014b31e2fc6423e80971ac451a2dfe89de9

Before this commit, the string separator was too close to the
previous label/field.

We now have the same margins as in 15.3.

Steps to reproduce:
- Sales -> Orders -> customers
- Choose any
- Sales	& Purchase tab

closes odoo/odoo#102978

X-original-commit: 0510f5ed80bbffbee249e709d1df90192ee08f02
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2022-10-10 20:52:22 +02:00
Nshimiyimana Séna 6a3ab85c4f [FIX] mail: remove fallback to find a company for currency in mail tracking
BUE

Steps to reproduce
- go to Apps, switch to studio and create and create a new app.
- on the form view, add a Many2one field related to 'Sales Order'.
- add a Ralated Field, related to 'Sales Order > Total'. You will be
  presented with a prompt informing you that you need a currency field
  on the model. Click 'OK' to add the currency field.
- again, add a Ralated Field, related to 'Sales Order > Total'.
- close Studio, fill the form you just created and save.
- switch back to studio and, again, add a Ralated Field, related to
  'Sales Order > Total'.

You will be met with a traceback.

FIX

Actually defining a currency field on currency fields is mandatory. We
don't have to provide a fallback, hence we don't have to fix the fallback.
Simply remove it.

Task-3012648
opw-2951697
Closes odoo/odoo#94831
Closes odoo/odoo#94962

closes odoo/odoo#102918

X-original-commit: 899f3b4897f34576d502cf442ab7059c489870dd
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-10-10 20:52:17 +02:00
Antoine Vandevenne (anv) f4ad4f857e [FIX] payment_demo: use a custom module icon rather than Stripe's
closes odoo/odoo#102973

X-original-commit: 96836566c8e8b3a7d5545d228f47a9e19290d363
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-10-10 19:55:45 +02:00
Valentin Vallaeys (vava) 9979334703 [FIX] sale_product_matrix: fix colspan of variant selection
closes odoo/odoo#102971

X-original-commit: f65044bf6ce753f9cab52a2b8a68e03728bc068f
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-10-10 19:55:43 +02:00
Victor Feyens 9ded78ede0 [IMP] core: docstring improvements
* clean and improve docstrings in orm
* fix typos found with codespell
* rely on the Environment class docstring instead of doc content (and
therefore move part of the doc inside the class docstring)

closes odoo/odoo#102969

X-original-commit: 8250cd4b210005d223a4cdb8afa4014425ca6fa3
Related: odoo/documentation#2803
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-10-10 19:55:37 +02:00
Anna Janiszewska e4f81af515 [IMP] website_sale: create hook for website_sale.product rendering values
closes odoo/odoo#102956

X-original-commit: 7ccb3380becfe7ff5a36f93288935ab3882c4542
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-10-10 19:55:31 +02:00
Bruno Boi b82787b4ea [FIX] web: display fewer for m2x autocomplete menu
In legacy, an m2x autocomplete would not display extra lines
received from the server inside the dropdown menu.

This commit reintroduce that behavior as it was lost in the
wowl conversion.

closes odoo/odoo#102954

X-original-commit: 1b2686aeadfac97f060a07de86e5a0eb2051eee2
Signed-off-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2022-10-10 19:55:25 +02:00
luvi ed57d1cfad [FIX] website: redirect to new page after action create
This commit fixes the behavior of the website app when creating content.
Since commit (1), once a new record was created, it was no longer
redirected to the correct page. Now, this behavior is reintroduced and
works as expected.

(1): https://github.com/odoo/odoo/commit/916a5bebb3e74047a66503ddc59299540c252831

closes odoo/odoo#102959

X-original-commit: 7cfe4523d18989b0273a026000109617bbfb2d13
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-10 19:03:33 +02:00
Romain Derie 33def9a755 [FIX] website_sale: fix tag mismatch
Commit [1] introduced a mismatch in tags, `<xpath>` is closed with
`</t>`.

[1]: https://github.com/odoo/odoo/commit/85905934c2ad2507cfc6f74428db61ac97a3bc41

closes odoo/odoo#102955

X-original-commit: 0a129f61ce2e3c3c19be16eb547c211f1c81d9de
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-10 19:03:31 +02:00
Didier (did) 190f4bf416 [FIX] im_livechat: use the currentPartnerId from livechat
Current code can't work since session doesn't contain partner_id.

task-3010650

closes odoo/odoo#102952

X-original-commit: dcf9aa612e76ea71429725e12a819678c09cf449
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-10 19:03:25 +02:00
Horacio Tellez 4c51ab0048 [FIX] payment, payment_custom: uninstall crash of payment modules
Before this commit a constraint between the `ir_ui_view` and
`payment_provider` view made impossible for providers to be
uninstalled. After this commit the constraint is correctly treated.

A similar issue is found on a constraint on the `payment_custom`
module. To fix this and future possible problems we added the
possibility to modify the way providers are uninstalled following
each provider needs.

Task - 3002532

closes odoo/odoo#102951

X-original-commit: 56318826b758f09782c8f67c05a7a46789cff47d
Related: odoo/documentation#2802
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-10-10 19:03:23 +02:00
Horacio Tellez 39c5904b4a [FIX] payment_custom: avoid empty pending message
If `payment_custom` is installed before `account`, not bank account
information is set up and the `pending_msg` remains `False`. This
implies that no pending message is shown on the portal after transaction
confirmation.

After this commit, if `payment_custom` is installed before the `account`
module, then the pending message falls back to the default message
defined in the `payment` module.

Task - 3000442

closes odoo/odoo#102931

X-original-commit: 84439f66e8b2c1615431d9c6cb9e60b742a57fc0
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-10-10 19:03:17 +02:00
xO-Txandqsm-odoo 4c2f3389aa [REM] *: remove new content controllers
*: website_event, website_event_sale, website_forum, website_sale,
   website_sale_slides, website_slides, website_slides_forum

This commit removes the remaining controllers that are no longer used
since the use of form views on website new content dialogs (following
the website in backend merge at [1] and the many iterations afterwards).

With the website in backend work, a feature was lost for the creation of
events: dummy tickets were created. This commit actually removes the
feature for good. Events default values are managed by templates.
Moreover there are links in frontend to edit the event when being
allowed to edit it (event groups), notably when there is no ticket in
registration page. So it makes no sense to create dummy tickets, without
price, for 1000 seats. Those values are random so they will have to be
edited. Better let users create real tickets if necessary, than editing
and/or removing dummy tickets.

[1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b

task-2687506

closes odoo/odoo#102928

X-original-commit: d559ce5d1518ac1293db1c4f52efb8094daf5b49
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
2022-10-10 19:03:15 +02:00
Julien Mougenot 301f69e2f3 [FIX] website: Restore correct xpath in kanban layout
In PR https://github.com/odoo/odoo/pull/101763 the page_kanban template
in website has been changed because it was thought that the xpath was
meant to be inserted in the default slot.

However this wasn't the case (we want it applied to the Layout) so it
crashed the view.

This commit restores the proper xpath.

closes odoo/odoo#102942

X-original-commit: 631d552fc6d6279fd2564fffeb30d099abd767c8
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-10-10 18:09:08 +02:00
Romeo Fragomeli 1f4be12781 [FIX] mail: the subject field is not correctly aligned
The field was not correctly aligned because the invisible rule was not
the same on the field and the sibling's DIV. So in some case, we can
have an empty DIV present with no label (e.g. when `is_log = false` and
`composition_mode = mass_mail`).

Note that now with grid, we need two filled columns otherwise we will
have a shift for the next following labels/fields, because grid will try
to fill the empty space.

Steps to reproduce:
* Open Helpdesk
* Select a Team
* Select the list view
* Check a row (line)
* Click on "Action" menu
* Click on "Send Email" => BUG

closes odoo/odoo#102941

X-original-commit: 52c8a8f4c16fe5765d64265f718164162f1cf172
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2022-10-10 18:09:06 +02:00
Mathieu Duckerts-Antoine fa9e74574d [FIX] im_livechat: separation icon/text in channels kanban
closes odoo/odoo#102939

X-original-commit: c55e567210fb643ac0de34df8538adca2cccd328
Signed-off-by: Michaël Mattiello <mcm@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-10 18:09:03 +02:00
sofiagvaladze b7eaff5ecd [FIX] hr_holidays: show delete button on wizard in validate and refuse states
One should be able to delete time off from the calendar view in validate
and refuse states.

task - 2857233

closes odoo/odoo#102938

X-original-commit: d8d4f2d39658c1a2dc24510e9e3f0bf75f590663
Signed-off-by: Kevin Baptiste <kba@odoo.com>
2022-10-10 18:09:00 +02:00
Sébastien Theys 7dd6124807 [FIX] mail: avoid losing chatter record when changing container
Form view has multiple containers that are exclusive, before this commit
switching from one container to the other would lose all current chatter state.

closes odoo/odoo#102934

X-original-commit: a3d151d0c9c84c2dcffc28a342c40f38d0b28370
Related: odoo/enterprise#32644
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-10 18:08:55 +02:00
Odoo's Mergebot 35f2de06c5 [FW][MERGE] project: refactor the list and form views in project sharing in OWL
Purpose
=======

Convert the remaining legacy views in OWL. Before this PR, the list and form views are still in legacy in Project Sharing feature. The goal of this PR is to convert those views to have all views in OWL in Project Sharing.

Details implementation
----------------------

- Convert the list view in OWL
- Convert the chatter portal in OWL to be able to convert the form view in OWL
- Convert the form view in OWL and integrate the chatter into it.
- Review the assets used in Project Sharing to reduce the size of the assets since all components and views existing in the backend are not used (only the list, kanban and form views are used)
- Review the rows attribute set on `textarea` HTML element in`TextField` to be able to altered it with a props.
- Change the `FileInput` component to be able to override it to be able to use it when the route is different than the one set by default.
- Fix the `useInputField` hook to be able to use the `TextField` component without any `record` set on its props (since this prop could be optional).

task-2947516

closes odoo/odoo#102932

Forward-port-of: odoo/odoo#102130
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
Signed-off-by: Xavier <xbo@odoo.com>
2022-10-10 18:08:53 +02:00
Alexandre Kühn 36346eb1d0 [IMP] im_livechat, *: Show Livechat Button with notification
*: mail, website_livechat

This commit adds new option in Livechat Button visibility
"Show with notifcation", which allow to see livechat button
and also display a customizable floating text next to button.

This text appears 1 second after the livechat button become visible.

Task-2937993

closes odoo/odoo#102930

X-original-commit: 785356f46b49d1b3d9b975319c87f39266694b82
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2022-10-10 18:08:48 +02:00
Louis Wicket (wil) bfc1d414db [IMP] mail: forbid default values on identifying fields
There is no strong need to have default values on identifying fields,
while allowing it adds overhead to every insert. The trade-off is not
worth it, therefore this commit removes the support for identifying field
default values and simplifies the code of findFromIdentifyingData
accordingly.

closes odoo/odoo#102912

Related: odoo/enterprise#32634
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-10 18:08:43 +02:00
Louis Wicket (wil) 3e3b43e597 [IMP] mail: merge path and filename fields of SoundEffect
Context:
We want to get rid of default values on identifying fields, and
SoundEffect/path is currently the only field to present this pattern.

Merging path and filename fields together makes the default value no
longer meaningful, as there is no full path that is shared by multiple
records and which would therefore consist of a relevant default value.

The point of removing default values from identifying fields is to
simplify the code of findFromIdentifyingData, which is called by every
single insert, so that we no longer have the overhead of looking for
default values.

This commit modifies the SoundEffect model in order to enable the
simplification (and therefore, optimization) of findFromIdentifyingData.

Part-of: odoo/odoo#102912
2022-10-10 18:08:42 +02:00
Romain Estievenart ab1254e4a1 [FIX] web: restore form and chatter width size
In 15.3, the width was applied on `o_form_sheet_bg`.
As the form view has been refactored in 16, we have to apply
it on the new parent `o_form_view_container`.

We also restore the chatter width to the same value as in 15.3:
```scss
.o_FormRenderer_chatterContainer {
    &.o-aside {
        width: $o-chatter-min-width;
    }
}
```

Steps to reproduce:
- Open Helpdesk on screen at 1534x657
- Open a vip support
- Unfold 'Done'
- Click on 'Ugly Chair', the chatter take a lot of space => bug

Steps to reproduce
- Open Sales
- Open a quotation
- Switch between Order lines, Other info, Customer Signature
  notebook tabs a flicker occurs => bug

closes odoo/odoo#102911

X-original-commit: 3e71df358caf878409947af1619378fbfeb2be4b
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2022-10-10 18:08:39 +02:00
Arnold Moyaux 1aac1196bf [FIX] stock: multi warehouse doesn't setup multi location
Use case to reproduce:
- Create a new db
- Go to warehouse and create a new one.

Expected behavior (same than enable location options from settings):
- Internal location has been enable
- It's possible to create locations

It happens because during the warehouse create call, the multi warehouse
and multi locations groups are set. However `res.config.settings`
contains a hook on `set_values` that enable some views and internal
location. Write directly on the groups won't go throuhg this code.

closes odoo/odoo#102913

X-original-commit: 6f965fa75d3cf4283482f597712010d09044736f
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2022-10-10 17:11:41 +02:00
Jacky (trj) 1b6b4420d7 [FIX] loyalty, pos_loyalty: download, print, mail gift card
- Gift cards can now be sent alongside the receipt via mail in the Receipt Screen.
- The gift card report no longer show n² gift cards
- Properly download all PDF files for the gift cards when there are multiple gift card programs

closes odoo/odoo#102910

X-original-commit: 5b269ebb3e725ff84c437e204874c14251ed1d78
Signed-off-by: Masereel Pierre <pim@odoo.com>
Signed-off-by: Trinh Jacky (trj) <trj@odoo.com>
2022-10-10 17:11:39 +02:00
rhe-odoo 0c97713ceb [FIX] pos_loyalty: prevent gift card settings error.
It was possible to sell gift cards without mail template or report link to the gift card program.
Thus, it was impossible to get the info related to the card unless you have backend access rights.

We now make sure the gift card program have a template and a report when starting the session.

closes odoo/odoo#102885

X-original-commit: e81db2e6e1a3179f9cb6c8410111201d311a97ab
Signed-off-by: Masereel Pierre <pim@odoo.com>
2022-10-10 17:11:36 +02:00
William Braeckman 48b476f337 [FIX] website_sale: fix base_unit_price and pricelists
Prior to this commit the base_unit_price was computed using the price of
the template instead of the list price displayed on the eCommerce, so it
sometimes made no sense when compared to another currency.
It will now be converted properly and use the list_price instead of
template price to compute the base_unit_price.
Some other issues with the base_unit_price display in the form view have
also been fixed (mainly mobile stuff)

TaskId-3006015

closes odoo/odoo#102884

X-original-commit: 7701033a4d480881d9e1d2c3c842150ca8f55aec
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-10-10 17:11:33 +02:00
Christophe Monniez 37a8f27944 [FIX] packaging: set fedora 36 as base for rpm
Also, as the rpm is not built from the deprecated bdist_rpm anymore, it's
time to remove useless requires from the `setup.cfg` file.

On the other hand, the soft requirements in the `setup.py` are now
synchronized with the hard requirements.

closes odoo/odoo#102849

X-original-commit: 20920ae968d6d5d2e51c970e9a2536e55965c53b
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2022-10-10 17:11:31 +02:00
Michael (mcm) cc138a684e [FIX] web,web_editor: better manage borderless inputs
This commit refactors the style for borderless inputs and
adds a special class to better manage where they should be used.

closes odoo/odoo#102848

X-original-commit: 6b45cd5f3fbe0986e36401308d19214b689adc45
Related: odoo/enterprise#32609
Signed-off-by: Bruno Boi (boi) <boi@odoo.com>
Signed-off-by: Michaël Mattiello <mcm@odoo.com>
2022-10-10 17:11:28 +02:00
Atul Patel e90d07771e [CLA] Sigining CLA Atul Patel
closes odoo/odoo#102772

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-10-10 17:11:22 +02:00