Commit Graph
143667 Commits
Author SHA1 Message Date
William Braeckman 284daaeacf [IMP] hr_recruitment: improve meeting smart button
Change the text of the meeting smart button to be similar to the one
found in appraisals, it now also shows the date.

Closes odoo/odoo#72649

Task ID: 2578165

Related: odoo/upgrade#2642
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-07-13 13:41:10 +00:00
Jérôme Vanhaudenard 01fe17f1e7 [FIX] payment_payumoney: prevent clearing the session cookie
See commit https://github.com/odoo/odoo/commit/f7800a059a1e8ed52cf7ddfa81ab5df6867b78da
for details about this fix

OPW-2368473

closes odoo/odoo#73647

X-original-commit: c61a7d00e9d219fe710b206799c732f6cac51767
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2021-07-13 14:58:25 +00:00
Goffin Simon 261782d82e [FIX] hr_holidays: Rounding allocation_used_count and allocation_count
Steps to reproduce the bug:

- Let's consider an employee E with 8.00 hours as Average Hour per Day
- Create an Allocation for E with a Time-off Type in Hours
(be sure the number of hours is different from the average hour per Day)
- Open the form view of E

Bug:

The smart button Time Off(remaining leaves) was completely unreadable

opw:2441019

closes odoo/odoo#67849

X-original-commit: af8ce1d8891a4dcdeb80b069a114299d84e021f1
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2021-03-15 12:32:17 +00:00
nounoubensebia 017ecb37f2 [IMP] mail_plugin: enable enrichment and update of an existing company
Add an enrich and update endpoint allowing the user to update an existing
company if the company has no insights, as this can bring valuable information
for the user especially if the company has no infos.

Task-2563180

closes odoo/odoo#73658

X-original-commit: 72c35667d3e6f99cb4cfdbd1c93b877cc9fef750
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-07-13 16:42:10 +00:00
Sébastien Theys 0a452c528d [IMP] mail: use thread displayName instead of name
More often than not these 2 fields have the same value, but when they are
different it is `displayName` that holds the expected value (eg. for a DM,
`displayName` would be the custom name or the name of the correspondent).

This commit updates them to avoid confusion and having bad examples in the code.

closes odoo/odoo#73659

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-07-13 16:42:26 +00:00
Sébastien Theys 4b6fe8f000 [IMP] mail: clean up unused o-message-not-discussion
closes odoo/odoo#73657

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-07-13 16:38:28 +00:00
Sébastien Theys 86efd0aa86 [IMP] mail: remove heading color from message author name
Following design update with new web client, the heading color is too strong
to be kept on author. The default color now does just fine actually.

closes odoo/odoo#73656

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-07-13 16:35:10 +00:00
William Braeckman fb0e74d5e1 [FIX] hr_recruitment: fix calendar_events
When using the Add button on the calendar view introduced with
odoo/odoo#64948 the event would not be linked with the applicant.

After further investigation the method used to get the applicant id in
default_get was not flexible enough, the one from crm calendar has been
'copied'

Task ID: 2578165

closes odoo/odoo#73635

X-original-commit: f23e07dcb0606dbc4bf835b8266323d5a515662d
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: William Braeckman (wbr) <Williambraecky@users.noreply.github.com>
2021-07-13 13:14:15 +00:00
Nicolas Lempereur c900e40868 [FIX] hr_holidays: request date tz whole company
When setting the request_date_from and request_date_to when creating a
leave that will be used to show the range of days of the leaves, we are
using the current user timezone to determine it.

eg. in UTC+2 if the leave begins at midnight on the 6th, we will see 6
and not 5 which is the day in UTC.

When creating a leave in a mode different than employee, when it is
confirmed and a leave is created for each employee, we would use the UTC
day instead which is a little unexpected.

Without the fix, the added test fails with:

    AssertionError: datetime.date(2019, 5, 5) !=
    datetime.date(2019, 5, 6) : Timezone should be kept between company
    and employee leave

opw-2573730

closes odoo/odoo#73633

X-original-commit: eb5c4e9b8d32a10e460ac089794bf1ceb9b7b71a
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2021-07-13 12:46:38 +00:00
qsm-odoo f34e944c2a [FIX] web_editor: use linter on snippets.editor.js file
Sorry but not sorry, I have to fix this file's "codestyle" (unread
variable, missing or extra ";" characters, etc) post-editor merge...
hard to work inside of it in the current state.

closes odoo/odoo#73629

X-original-commit: dbf245891099b506f21a66ea8e7a9146f6c9e28b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-13 12:13:33 +00:00
nounoubensebia 035afeb94e [ADD] project_mail_plugin: add support for project's tasks in mail plugin
Add support for tasks for the mail plugins via the new project_mail_plugin
module.

The new module provides the following new features:

- Enables the user to see tasks related to the selected contact, tasks where the
  contact is the customer

- Enables the user to log an email directly to a task as this can be useful when
  the user finds important information in the email

- Enable the user to create a task with the email message being directly set
  in the description field, as the user would probable want the email
  message to be included in the created task, this is done through the
  "create_task" method, which the plugins will use in order to
  create the task and send the related information, the plugin would then
  directly redirect the user to the task form view realted to the created
  record in edit mode.

Purpose is to allow users to connect their tasks to their mailbox.

Which allows for example to create a task from an email received,centralize data
regarding a customer on its task, check ongoing tasks for a customer, ...etc

UPG-PR: https://github.com/odoo/upgrade/pull/2488
Task-2518640

closes odoo/odoo#70943

Related: odoo/upgrade#2488
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-07-13 11:02:51 +00:00
jbw fd471c7096 [FIX] account: fix partner mapping with notes on reconcile models
On reconcile models, a rule can be set to map a partner to a bstline if
the bstline "Notes" matches a regex. This "Notes" field is actually
the "narration" field inherited from move. In commit 0f3c7f153e8bd20f83b7d1df031634996d36935b
this field is converted from Text to Html. This breaks the regex match.
The fix converts back the field value to text for the regex check.

closes odoo/odoo#73618

Task: 2427089
X-original-commit: 8e9616034678a627f92740487f20cf66e60c0f30
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: jbw-odoo <jbw-odoo@users.noreply.github.com>
2021-07-13 10:16:02 +00:00
jbw 4aa41f54a4 [FIX] account: Prevent editing bst line values when bst not new
One could edit bank statement line values with new from a bstline modal. This
is due to new quick edit behaviour. This prevent the editiing of bst lin values
if bst is not new.

closes odoo/odoo#73617

Task: 2427089
X-original-commit: c9e220d0276f59834baeae3196560a7f893ff337
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: jbw-odoo <jbw-odoo@users.noreply.github.com>
2021-07-13 10:15:29 +00:00
Hardik Prajapati c3e12ee644 [FIX] web: centered event name while dragging in month mode
before this commit, the name of the event and hour is not
correctly centered while dragging the pill in month mode.

This commit fixes the issue by adding the CSS property.
after this commit, the name of the event and hour should be
correctly centered while dragging the pill in month mode.

TaskID-2506060

closes odoo/odoo#73553

X-original-commit: 59156daa150bf285626600f0a999dfe9838e1344
Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com>
2021-07-12 13:08:45 +00:00
Jeremy Kersten 9240ac8eb5 [REV] website_sale_blog: add related products/blog posts carousel
You can do same (with matching on name, instead of rel) with dynamic snippet

Else you can create one Ecommerce category by blog, and hide this category on
shop page, and have a lot a useless record, and have a 'bordel' in your categs
and from this way use a product snippet linked to this category.

Or install a module from the community that do the same that this one: a simple
way to link your product to blog, and show them without string matching or fake
categ.

closes odoo/odoo#73403

Related: odoo/upgrade#2632
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-07-13 09:25:10 +00:00
Francois (fge) 9d120653e3 [FIX] web: issue on firefox with the overlay
When hotkey overlays are removed, we now prevent default on keyup,
as this may cause some browsers to display their menu bar
(as the overlay key we use is ALT). e.g. Firefox.

closes odoo/odoo#73343

Related: odoo/enterprise#19627
Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-07-13 07:32:10 +00:00
Francois (fge) e95080792a [IMP] web, mail: Command palette
The purpose of this commit is to:
- Improve the design of the command palette
- Add few data-command-category and data-hotkey
- Scrolling through the command palette dropdown with the up/down arrows
should loop
- Moving the mouse over the palette command no longer causes scrolling

Task-2590390
2021-07-13 07:32:09 +00:00
Rémy Voet (ryv)andnouraellm ae7e5960f1 [IMP] mrp: update workorder readiness behavior
- The work order state changes based on the availability of the components
- So if all BOM components are available the state of the first WO is set to ready
- The color of ready in the WO tree editable view will stay blue as long as done reserves the green color
- If one or multiple components are not available, the state of the first WO is set to waiting
- The color of waiting in the WO tree editable view is set to orange
By default to launch takes workorder_ready_count so it counts only ready WOs
- The user can always process the WO without restrictions even if the WO state is waiting

Task-2426773

closes odoo/odoo#71250

Related: odoo/enterprise#18523
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Co-authored-by: nouraellm <nea@odoo.com>
2021-07-13 11:53:12 +00:00
Rémy Voet (ryv) 37e49780e2 [FIX] mrp: self instead of production 2021-07-13 11:40:58 +00:00
Rémy Voet (ryv) 0e08cb6630 [FIX] mrp: allow to cancel a 'to_close' empty MO
Issue: we can't canceled a MO without component to consume when the MO
is in the state 'to_close'. It is due to
bf5e1debf9 which now allows to confirm a
MO without component to consume.

Like for the 'done' state. the state 'cancel' can't be modify after to
be set.

task-2426773
2021-07-13 11:40:58 +00:00
william-andre 934b8b09ba [FIX] account: allow to change currency when posted before
There is no reason to forbid changing the currency when a move has been
posted before.
Was introduced in [1] without reason.

[1] https://github.com/odoo/odoo/commit/d1bbf11af27e4ce12b025ef22e397302ee6336c2

closes odoo/odoo#73623

X-original-commit: 9b0578766709b27c91d85bf6246b4bc5e43ca27d
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: William André (wan) <wan@odoo.com>
2021-07-13 11:18:26 +00:00
jbw 6adaec714a [IMP] account: Reversal on same journal type as original AccountMove
For data quality purposes and bug prevention, when I reverse an entry,
the reversal should always be postable on a journal having the same type
as the initial Journal Entry's journal.

closes odoo/odoo#72431

Task: 2497529
Related: odoo/enterprise#19543
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2021-07-13 10:00:38 +00:00
William Braeckman 01063d44cc [FIX] hr_{,holidays_}attendance: fix undeterministic error
Fixes an underterministic error during the holidays_attendance test.
Also speeds up both holidays_attendance and hr_attendance_overtime
significantly.

Task ID: 2599846

closes odoo/odoo#73570

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-07-12 12:56:41 +00:00
Tiffany Chang (tic) b75ada65d3 [IMP] stock_picking_batch: manage batches better
This commit loosens 2 things:
1. A batch can now be deleted for all statuses except 'done'
2. Cancelled batches will now remove links to any pickings assigned to
   it (so they can be more easily reassigned in barcode app)

closes odoo/odoo#68898

Task: 2486993
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2021-07-12 15:19:14 +00:00
qsm-odoo 508a7f9806 [IMP] web_editor: consider common colors as custom when used in the page
Before this commit, if the user chose the "red" color suggestion, "red"
did not appear as a custom color (but the color suggestion was marked
as selected). This made sense in the previous colorpalette widgets but
not anymore as the suggestions do not always appear in all colorpickers
anymore.

Now those colors are always considered custom when used in the page and
at worst appear as "common" and "custom" at the same time (the "common"
one being the one which can appear as selected in that case).

Part of https://github.com/odoo/odoo/pull/67545
task-2476601

closes odoo/odoo#67545

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-13 08:20:02 +00:00
qsm-odoo d8a632fbfc [IMP] web: ensure a fully transparent color is made opaque on edition
This allows the user to not have to understand that it has to decrease
the transparency by himself.

Part of https://github.com/odoo/odoo/pull/67545
task-2476601
2021-07-13 08:20:02 +00:00
Younn Olivierandqsm-odoo f383905616 [IMP] website, web_editor: improve the colorpicker tabs selection
It is now possible to initialize the colorpicker with a selected tab.

Part of https://github.com/odoo/odoo/pull/67545
task-2476601

Co-authored-by: qsm-odoo <qsm@odoo.com>
2021-07-13 08:20:02 +00:00
Younn Olivier 96ab729850 [IMP] web_editor: update color picker layout
In order to save space and gain clarity, the colorpicker elements are
now displayed in two separate tabs: "theme" and "custom".
It is still possible to display the combinations tab instead of the
theme one (for the background color option for example).

Part of https://github.com/odoo/odoo/pull/67545
task-2476601
2021-07-13 08:20:02 +00:00
Sébastien Geelen (sge) 1b90997324 [FIX] web_editor: allow deletion of unbreakable elements when empty
Unbreakable elements were being considered as unremovable in some deleteBackward cases.

With these changes it is now possible to remove a unbreakble element if it is empty.

task-2580158

(cherry picked from commit 18abf537f07bd9c504dc19c3fa8eda5b1f4d4e9e)

closes odoo/odoo#73592

Signed-off-by: Antoine Guenet <Zinston@users.noreply.github.com>
2021-07-13 07:39:27 +00:00
Sébastien Geelen (sge) 0d4a21bae5 [FIX] web_editor: ensure <font> colors are kept properly
Color and background-color styles on `<font>` tags were being wrongly overridden when applying another color or background color to the element.

Task-2580158

(cherry picked from commit a532d096faf55550ac6d01795aaa2b6843ebc988)
2021-07-13 07:38:49 +00:00
Jorge Pinna Puissant 1cd9660cfc [FIX] im_livechat: add session.js to manifest
Since 54e9527ec2, a new session module is
used to access the session info. The legacy session uses also this
module to access the session info. This means that if a module uses the
legacy session, the new session.js needs to be added to the manifest.

closes odoo/odoo#73500

Related: odoo/enterprise#19581
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-07-09 12:09:59 +00:00
Bruno Boi 962be132af [FIX] web: correct effect_hook typings
closes odoo/odoo#73435

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2021-07-12 06:27:49 +00:00
Bruno Boi 300ef9ac6f [FIX] web: dropdown must close when activeElement change
When the UI active element changes, a opened dropdown should close.

Before: dropdown do not close
After: it is
2021-07-12 06:27:49 +00:00
Nicolas Pierre 7d4dfeb0e2 [IMP] stock: revamp putaway rules screen
1. When creating a putway rule, default location_in_id is receipt
destination location (in case of single warehouse).
2. When changing location_in_id, copy value to location_out_id.
3. Allow to hide some fields and change of some labels.
4. Move location tab to a smart button.

closes odoo/odoo#69580

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2021-07-13 07:00:33 +00:00
Nicolas (vin) c1693581d7 [IMP] account: payment method improvements
To improve the payment method system, proceed to a few changes
such as changing the view a bit, making sure payment acquirers are not
linked to a journal by default and that only the manual payment method
type can be used multiple times in a single journal.

Task id #2573145

closes odoo/odoo#73596

X-original-commit: 9122b367baea10e59b66e45bf7c458a6f1e82efb
Related: odoo/enterprise#19623
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2021-07-12 18:10:36 +00:00
alt-odoo 0c8816cc2b [FIX] lunch: access rights error on ir.cron for lunch manager
Small fixup of recent commit https://github.com/odoo/odoo/commit/5b8eff9d771a9071327473d2185624f69e1057c1.

closes odoo/odoo#73587

X-original-commit: d98a005c88b932a459b634cf811fb320cbea1357
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Signed-off-by: Alex Tuyls <alt-odoo@users.noreply.github.com>
2021-07-12 15:09:18 +00:00
Ivan Yelizariev 5ed4559f6e [FIX] point_of_sale: fix error on reading multiple pos.session
Fixup for https://github.com/odoo/odoo/pull/69933

Standard deployment is not affected, because the computed fields is used in form
only, so `self==session` there, but it may be not the case with customization

Thanks @mahmoudfakhereldin for pointing the problem

closes odoo/odoo#73584

X-original-commit: 0a57e10accfa12dae5fea5bb8cb65b90bdf6e839
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
2021-07-12 14:45:23 +00:00
Aaron Bohy 4b3dc07b52 [FIX] web: better handle error in actions
Before this commit, if there was a crash in a view or client
action during an update (i.e. the action is already in the DOM,
but an update triggers a re-rendering), the error was caught by
the action service, it wasn't displayed to the user, and the
action was re-rendered again (which could obviously result in the
same error being thrown again and again).

With this commit, we properly show the error, and we do not try
to re-render the action.

closes odoo/odoo#73507

Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-07-12 13:40:26 +00:00
Aaron Bohy a8976144fe [FIX] web: correctly call dialog service 2021-07-12 13:40:26 +00:00
William Henrotin 7e83421308 [FIX] purchase_stock: merge PO in predefined date range
Before this commit, two POs are merged if their scheduled date is set on
the same day. To relax a little bit this constrain, this commit adds a
system parameter to extend the delta days between two scheduled dates of
POs to be merged.

closes odoo/odoo#73068

Opw: 2557125
X-original-commit: 883112c8db1d3c5cc87715e6b2028e84d09512de
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
2021-07-01 10:51:52 +00:00
Ivan Yelizariev c5b91225c6 [FIX] mrp: fix backorder name generation
backorder name is generated in `_get_name_backorder`, which tries to change last
numbers first or adds new number to the end. The problem comes when we need to
generate more than 1000 backorders (e.g. on using mrp_subcontracting with
products tracked by serial): in that case the name would be

> WH/XXX/00001-1000-1001-1002-1003-1004-1005-1006-1007-1008-1009-...

Which is not user friendly and may lead to postgres constrain errors:

> psycopg2.errors.ProgramLimitExceeded: index row size 2712 exceeds btree version 4 maximum 2704 for index "mrp_production_name_uniq"

Fix it by using `re.sub`

STEPS:
Create a few test products (4 or 5) with route Buy + Resupplier subcontractor
from order.
Then make product which:
- has BoM and BoM type = subcontracting with components test 2, test 3, test 4, ...
- has costing method = FIFO , inventory valuation = automated, Tracking = unique SN
Now Create a receipt transfer of 4000 units. Click "Validate" and use "Create backorder" option.

---

opw-2579461

closes odoo/odoo#73578

X-original-commit: 9220ff89659898df2a1e1951b0466fc5adaa2c97
Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
2021-07-12 13:26:19 +00:00
Martin Trigaux 6758868731 [I18N] *: export saas-14.4 source terms
Without demo data

closes odoo/odoo#73560

X-original-commit: 802e46541117573e028b711ea33dad9df9075a39
Related: odoo/enterprise#19602
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-12 10:57:37 +00:00
xO-Txandqsm-odoo 92b184f6e2 [FIX] web_editor: set style for selected color combination
Part of https://github.com/odoo/odoo/pull/69857
task-2431484

closes odoo/odoo#73562

X-original-commit: 6e6adad730956c6ddceb1f2461a0eb341edf7433
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
2021-07-12 11:21:02 +00:00
xO-Txandqsm-odoo 54fbee30c7 [FIX] web_editor: fix shapes snippet option
- Exclude '.o_we_pager_header' from click behaviour so clicking on the
  shape dropdown does not close it if an user misclicks next to a pager
  button.

- Add borders on navigation buttons in shapes option to improve
  visibility.

- Cut the last visible option in the shapes list, this way the user
  will understand that he can scroll.

Part of https://github.com/odoo/odoo/pull/69857
task-2431484

X-original-commit: 0d8e4368775bf7fd1aca1376e57c5847b283bded
Co-authored-by: qsm-odoo <qsm@odoo.com>
2021-07-12 11:21:00 +00:00
Víctor Martínez 5e6fe19455 [FIX] sale: group invoices by partner as expected
Steps to reproduce the problem:

- Create 2 partners A and B.
- Create sales orders in this order: Order Partner A + Order Partner B + Order Partner B + Order Partner A + Order Partner B
- Select all that orders.
- Invoice them.

Current behavior: 4 invoices are created.

Expected behavior: Only 2 invoices are created: Invoice Partner A + Invoice Partner B

This is because itertools.groupby expects elements to be pre-sorted by
the grouping key, so we sort them accordingly.

closes odoo/odoo#73559

X-original-commit: 3b0bd35c6c9e54b7b0c21cc28f55f520c884d9ad
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2021-07-12 10:57:07 +00:00
Adrien Widart cc5ff7ac8c [FIX] sale_stock: set invoice_status value when delivery is canceled
Suppose the option "Lock Confirmed Sales" enabled and a product with the
invoicing policy set to "Delivered quantities". When cancelling the
delivery of such a product, the invoice status of the associated SO
should be 'Nothing to Invoice'

To reproduce the error:
1. In Settings, enable "Lock Confirmed Sales"
2. Create a product P:
    - Type: Consumable
    - Invoicing policy: Delivered quantities
3. Create a SO with one P
4. Confirm the SO
5. Cancel the SO's delivery
6. Check the invoice status (`invoice_status`)
    - 12.0: Either by modifying the view, or by adding the field with
studio or directly via PSQL
    - 13.0+: The field can be enabled thanks to the options of the tree
view

Error: The invoice status is "Fully Invoiced" but the product hasn't be
delivered and no invoice has been created

OPW-2464343

closes odoo/odoo#73558

X-original-commit: b87d06da379abff8fc40352192699f6b44727797
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Signed-off-by: Adrien Widart <adwid@users.noreply.github.com>
2021-07-12 10:56:37 +00:00
Yannick Tivisse 56d8c387ba [IMP] hr_contract: Display first contract date on employee public form
Purpose
=======

The "first contract date" is a usefull information for anybody who onboards
new colleagues. Issue: this information is not on the "public employee" and so,
visible only by hr officer (minimum).

With this task, we would like make this field public and visible by any internal
user in the system. In this way, we don't have to provide too many access rights
to any employees.

closes odoo/odoo#73552

Taskid: 2584098
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-07-12 10:07:17 +00:00
Thibault Delavallée 38bf2c2de5 [REF] mail: remove plus addressing on bounce alias
Starting from this commit bounce addresses set in emails will not use any
plus addressing. They will always be ``bounce_alias#@alias_domain`` and
not ``bounce_alias+<mail_id>-<mail_model>-<mail_res_id>@alias_domain``.

Reasons are

  * this plus addressing adds information we do not use anymore since a long
    time as bounced messages are found using their message ID and not any
    information coming from this bounce address;
  * this generates unnecessary noise;
  * not all email providers really support plus addressing as a mean to
    generate "fake" additional email addresses;

This is the followup of odoo/odoo#71244 where a solution to avoid plus
addressing was done in table. We can now safely remove this feature in
master as a cleaning step.

Task ID-2577328

closes odoo/odoo#73363

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-07-07 10:36:36 +00:00
qsm-odoo c8c6e38f97 [FIX] website: restore overlay for timeline cards edition
With [1], not all overlays are displayed anymore but we rather show the
parent one in some cases. The timeline cards were considered as one of
those cases while it should not, as it prevents to use the overlay
buttons allowing to switch the cards order.

[1]: https://github.com/odoo/odoo/commit/9bbe5be3fb0d995374a369851df3641979d8e553

Discovered while working on task-2431484

closes odoo/odoo#73515

X-original-commit: 26708e168c717ae7e3a29c7705c80679b8e45f7d
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-12 08:26:28 +00:00
Robin Heinz 0ddb06b5ec [FIX] pos_restaurant: Fix bill receipt
When bill printing, the order was done instead of just going back to the order.
Now we don't validate the order anymore when showing the printbill receipt screen anymore.

closes odoo/odoo#72142

X-original-commit: 0e8d86238e56d7a248af340e13036444b0e49d4e
Related: odoo/enterprise#19007
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2021-07-12 07:49:00 +00:00