Commit Graph
140847 Commits
Author SHA1 Message Date
svs-odoo 8999b3a37b [IMP] stock_picking_batch: demo data flux
Decreases the move lines qty to process for the picking batch #1 in
order to make the demo flux quicker.

closes odoo/odoo#58909

X-original-commit: 15cede0cbef24f7a1ec3a205aee8155e908a2404
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2020-09-30 17:15:03 +00:00
Goffin Simon caa4ca7cc1 [FIX] sale, sale_prodcut_matrix: Default customer Lead Time not set with Order Grid Entry
Steps to reproduce the bug:

- Let's consider a product P with three variants red, yellow and blue
- Let's set a customer lead time on P = 10 days
- Set Order Grid Entry on P
- Create a quotation Q and add P
- In the grid entry matrix add 1 red, 1 yellow and 1 blue

Bug:

The customer lead time of these three variants were not set on the lines.

opw:2337049

closes odoo/odoo#58675

X-original-commit: 0eae213d6c8a656ab2c045995e1f0643ff65df51
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2020-09-28 12:45:08 +00:00
Daniel Blanco 15d6e0f47b [ADD] l10n_cl: forward to 14.0
closes odoo/odoo#58889

X-original-commit: faea1fec6b0a8571e5f61c1a891cfa708b0a9075
Related: odoo/enterprise#13721
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-09-30 12:30:53 +00:00
Nicolas Martinelli 0ed098ae15 [FIX] purchase_stock: precision difference
- Create stockable product P: FIFO, Automated Valuation
- Set the price difference account
- Configure Decimal Accuracy for Product Price to 6 digits
- Create a PO
- Add a line with:
  Product P
  Quantity: 100,000
  Price unit: 0.005
- Confirm the PO, receive the product and create the invoice
- Set a price unit of 0.006 on the invoice line
- Post the invoice

No price difference booking is generated, while a price difference of
100 should be created.

It happens because we compare the price units with the currency
precision.

Comparing the price units, even with the proper Product Price precision,
is not a good idea. Indeed, in case discounts are applied the price
unit computed ends up with a larger precision.

As a solution, we check if the subtotal of the journal entry is
different from zero.

opw-2341181

closes odoo/odoo#58364

closes odoo/odoo#58888

X-original-commit: 654be58894c51d2c5384ead67a5a7c68fdebf0a7
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-09-30 10:45:28 +00:00
Nicolas Martinelli b1206adf0d [FIX] purchase_stock: small discount at invoicing
- Create stockable product P: FIFO, Automated Valuation
- Set the price difference account
- Configure Decimal Accuracy for Discounts to 5.
- Create a PO
- Add a line with:
  Product P
  Quantity: 10,000
  Price unit: 100
  A tax
- Confirm the PO, receive the product and create the invoice
- Set a discount of 0.92431 on the invoice line
- Post the invoice

The journal entries for the invoices contains the price difference move,
the amount must be 9,243.10 but is 9,200.00.

In case taxes are defined on the the invoice line, we call `compute_all`
which will round the `price_unit`. In this case, we don't want to round
it.

Fixes #56832
opw-2329028

X-original-commit: 286ea6b681e9ba77357f91b546052449f6342f20
2020-09-30 10:45:26 +00:00
Rémy Voet (ryv) 7c6f0d106f [FIX] mrp,stock: remove components_availability field from view
Like was done in 8d62eacfff for the
picking model, we remove the `components_availability`
and `components_availability_state` which
can leads to performance issue in case there are a lot of
productions/stock move. Replace by the old reservation_state field.

A performance quantification is required to reintroduced
these fields in views (task-2348553).
Also a fix is done in the stock_picking computation
of `products_availability` and `products_availability_state`
(same nature than these in `mrp.production`).

closes odoo/odoo#58856

X-original-commit: 0a19921e3a50faa8175e973a1edb49100826a9d9
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
2020-09-29 17:01:26 +00:00
Florimond Husquinet (fhu) e2cecc0454 [IMP] mail_client_extension: download the logo from the IAP
When creating a new company, it now downloads the logo from the
url retrieved from the IAP.

closes odoo/odoo#58885

X-original-commit: c1e52740d73cebe29e677c5247484aeb2c7d733f
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-09-30 09:19:16 +00:00
Nicolas Martinelli e0dbe61a20 [FIX] point_of_sale: VAT label on receipt
- Set the company country to India
- Open th POS, make a sale
- Print the receipt

The label for the VAT is 'VAT' while it should be 'GSTIN'.

The `VAT:` label is hardcoded in the receipt template. It is expected to
be adapted to the localization thanks to the translation. However, in
this case it doesn't work: since we keep the English language, there is
no translation applied.

We use the country `vat_label` and fall back on the `VAT` string.

opw-2343652

closes odoo/odoo#58864

X-original-commit: bfe3a127f5535e11cc87ebd0fff4a5cfe5039a23
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-09-29 17:53:08 +00:00
Andrea Grazioso (agr-odoo) 470f7f1b4b [FIX] l10n_ch: No amount on section titles
The tax report should not display any amount on Section Titles

opw-2329278

closes odoo/odoo#58845

X-original-commit: 1367d12102aebc56f8c89d3011bfc183a954609d
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-09-29 15:16:16 +00:00
Florimond Husquinet (fhu) 13df70cb54 [FIX] mail_client_extension: checks for empty list in iap data
Instead of not returning the key, the IAP returns an empty list
when there is no phone number or no email.

closes odoo/odoo#58880

X-original-commit: e497fa0f6de6ae3c0ab3ffe3c3dec43037944d17
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-09-30 07:49:26 +00:00
Xavier Morel c8d9f18612 [FIX] base_automation: incorrect namespacing
closes odoo/odoo#58863

X-original-commit: a8c847808ca624614becc2958bcc13f4739eee24
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-09-29 17:52:46 +00:00
Sébastien Theys 739c1eb300 [IMP] mail: add files in preparation of task-2282322
The task will require adding new files which we don't want to do in stable.

closes odoo/odoo#58876

X-original-commit: 5580a0e4e44744d13ec9bed03f2116c043c611b1
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-09-29 22:44:06 +00:00
Benjamin Vray fcd5e6896c [FIX] website: fix table of content navbar links when scrolling
Before this commit active navbar links were not correctly updated with
the scroll position.

task-2312878

closes odoo/odoo#58871

X-original-commit: a0ef5b0ea5e6025d6121849c2c98c077d86e237b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 21:00:41 +00:00
Sébastien Theys 1e1627001a [FIX] mail: reintroduce auto scroll on receiving message
task-2336251

closes odoo/odoo#58868

X-original-commit: f732980b2e5e83bcf2fdc8d3ce756f256cacbd4f
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-09-29 20:11:16 +00:00
Sébastien Theys b6b0a436f0 [REF] mail: remove unused nonOriginThreads
This field was only used to compute the `threads` field.

X-original-commit: 8089b521aee89eb70ad0c951a1aaf76763c66098
2020-09-29 20:11:14 +00:00
Benjamin Vray c73b03a663 [FIX] website: fix snippet blockquote with display cover
Adapt the snippet with the new color filter layer and fix the padding

Part of https://github.com/odoo/odoo/pull/58850
task-2312878

closes odoo/odoo#58865

X-original-commit: ec880af6aa091ba5f5cc39e754c7266d2488cba7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 18:36:12 +00:00
Benjamin Vray 4aa8e4913a [FIX] website, *: fix background layer elsewhere than in a section
*: web_editor

Before this commit, the elements (other than section) and with the
background layer options avaible (shape, color filter, etc.) did not
have the relative position added on their children. So all the
children were hidden behind the layer element which is in absolute
position.

Part of https://github.com/odoo/odoo/pull/58850
task-2312878

X-original-commit: 9c08e119b125b82e2c42dc944920dd8a96789e25
2020-09-29 18:36:11 +00:00
Benjamin Vray 3ab3afcc91 [FIX] website_blog, web_editor: fix tag layout issue in blog
Before this commit the layout of the front-end edition of tags in blog
was broken. And the default value of the select element was not filled.

We fixed those design issues and also improve some small design
details. And for the select issue, we add a return value in the
computeWidgetState of the addTag method because even if the value will
still be empty we need to return something because we want the select
to be filled by the default value of setValue() wich is "/".

task-2312878

closes odoo/odoo#58860

X-original-commit: 9a04c8146c799ecd5efa6ba42582d4664a1a3a51
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 17:51:04 +00:00
qsm-odoo 10131f8ebd [FIX] website: update main padding top before making the header affixed
When the header goes affixed, a compensating padding-top is added on
the content so that the scroll does not flicker. That padding-top was
added a bit too late and was enough to mess up the scroll on pages where
the content is about the height of the viewport: the header goes affix,
the scrollable content becomes smaller, the padding top is added, a
scroll is detected, the header is un-affixed since above scroll point
-> bug. If the padding top is added first, then there is no problem.

Note: the scroll effects code could probably use some refactoring.

Part of https://github.com/odoo/odoo/pull/56936
task-2312878

closes odoo/odoo#58859

X-original-commit: bb77cd2961e71deaf048cbaad20f8cb72a646cab
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 17:50:38 +00:00
Benjamin Vray 887d19f378 [FIX] website: disable effects with sidebar header
Part of https://github.com/odoo/odoo/pull/56936
task-2312878

X-original-commit: 328a3459971ab18dd8b1b654eec57311034dec17
2020-09-29 17:50:36 +00:00
Xavier Dubuc 607ac6e912 [FIX] mail: do not show new messages separator for own messages
Also fix compute of local counter in some specific situations.

task-2341740

closes odoo/odoo#58866

X-original-commit: 0df66708defd0fcb288979b1431d8180831e43d3
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-09-29 18:36:38 +00:00
Xavier Dubuc 52dfe6a4e1 [IMP] mail, website_livechat: bring back visitor banner in discuss
task-2276589

closes odoo/odoo#58858

X-original-commit: 65dbe1c4760e2ffe104426f9aa41007a10dc32f0
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-09-29 17:39:13 +00:00
Didier (did) 5be44732cb [FIX] mail: guard the thread name and test the fallback
task-2343800

closes odoo/odoo#58848

X-original-commit: 13d78eda1243a5a625473adbae981b2891221ffc
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-29 15:36:10 +00:00
Didier (did) 91f9520ef0 [FIX] mail: avoid loading state when a new message is posted
task-2346786

closes odoo/odoo#58849

X-original-commit: cfc280f5386de44ffac1c1c27e8a0a7d928a8424
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-09-29 15:37:39 +00:00
Benjamin Vray 9530af25d4 [FIX] web_editor: fix remove btn z-index in media dialog
Add a z-index on remove btn in media dialog because before that the
button was hidden behind images. Also review a little bit the style of
the button.

task-2312878

closes odoo/odoo#58839

X-original-commit: 4a8239c86e3fdf2830bd4f52d2424fe0f83d4639
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 14:55:41 +00:00
Sébastien Theys 45818cc1aa [FIX] mail: fix tour to allow public or private channel selection
task-2313321

closes odoo/odoo#58838

X-original-commit: 07ef748c542cb20fdab4f0d9c02a87fb07bede3c
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-29 14:55:17 +00:00
Rémy Voet (ryv) 55fdd74587 [IMP] (sale_)stock: forecast button with warehouse
In case of multi-warehouse, the forecast button won't
take in account the related warehouse and redirect to the
forecast report of first warehouse of the company.
To ease the understand of the forecast report redirect
with the right warehouse in the context.

closes odoo/odoo#58837

X-original-commit: 53468d71b913211b38f4856f2bdb62594ee24ea8
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
2020-09-29 14:54:50 +00:00
Rémy Voet (ryv) f636d337ec [FIX] stock: bad warehouse forecast
In the forecast data computation of `stock.move`,
the warehouse wasn't take in account in the call of `_get_report_lines`
for the quantity available computation. Add the `location` key to the
context with all location related to the warehouse in
the `_get_report_lines`.

X-original-commit: 1aa6a323e04232d24175593718637c6dac295eb9
2020-09-29 14:54:49 +00:00
David Beguin 4149380de8 [FIX] website_event_track_session: jump to unfinished session after an ended talk
This commit adds a condition to the algorithm that redirects the track viewers
to another talk when the one they looked at ended up.
The next talk must be still ongoing. It avoids to redirect to a talk that
started less than 10 minutes ago but that is already done.

Task ID: 2344522

closes odoo/odoo#58836

X-original-commit: e047fc2c7f5d2440adce30ce81a2c10a3b133083
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-29 14:54:24 +00:00
Andrea Grazioso (agr-odoo) 73db202930 [FIX] stock_account: take default credit/debit accounts from journal
Create a product category with automated inventory valuation but no
accounts defined for expense/income
Create a stored product with such category but again without expense/income
accounts.
Create an invoice with such product and a jounral on which default
credit/debit accounts are defined.
Save and Post the invoice.

Journal entries related to the inventory move (COGS) are not created
because the accounts are missing, but the system should take the default
defined on the jounral instead of skipping the operation

opw-2339168

closes odoo/odoo#58662

X-original-commit: 3019828c1c101cdbf2f7d61a751ed6d73e40005f
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
2020-09-29 12:45:14 +00:00
oco-odoo fbcab23164 [IMP] account: usability improvements
closes odoo/odoo#58826

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-09-29 14:12:57 +00:00
Sébastien Theys 5d3686556f [FIX] mail: properly clear chatter id on new record
task-2348372

closes odoo/odoo#58824

X-original-commit: 189ff0af0ac209624910a7674f543d2d58ecb94f
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-29 14:09:35 +00:00
Dharmraj Jhala 34f05c2218 [FIX] crm: fix randomly broken crm tour
While running 'crm_tour' in test mode and quick creating record on
crm kanban, adding a partner and moving to another field from
tour opens a confirmation dialog asking whther or not you want to
create a new record. This dialog remains open sometimes, breaking
the further flow of tour.

This commit fixes the issue by selecting or creating the record from
drop-down after adding a partner (and before going to further steps),
thus avoiding the confirmation dialog.

Note:
- Because we create/select the partner, the 'name' field is auto filled
  and we don't have to set anything in there. So this step is not needed
  anymore in the tour.

TaskID - 2323196

closes odoo/odoo#58823

X-original-commit: a592ba14f82028487cee0b060a86881f0175aeda
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-29 14:08:33 +00:00
William Henrotin c8fa51330d [FIX] stock_account: empty move valuation
The validation of a stock move without quantity done create an empty
stock valuation layer. This is not a wanted behavior as :
1. it create record without useful information (0 value, 0 remaining
qty, 0 remaining value)
2. The landed cost value is set on a wrong layer in case of complete
backorder.

This commit bypass the valuation process on a move if it is validated
without any quantity.

opw : 2328258

closes odoo/odoo#58776

X-original-commit: 01e21735dbf3ac2fe975323cee2f4bb93e4ca747
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-09-29 09:47:44 +00:00
fw-bot 1c77b833d6 Cherry pick of 2b65a7c111232d31d5113565bb6a114486f0123c failed
stdout:

stderr:

closes odoo/odoo#58605

Error: could not apply 2b65a7c1112... [IMP] l10n_ar: Accounting Tour adaptation
Hint: after resolving the conflicts, mark the corrected paths
Hint: with 'git add <paths>' or 'git rm <paths>'
Hint: and commit the result with 'git commit'
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-09-29 13:46:59 +00:00
std-odoo e01269b5b7 [FIX] website_event_track_exhibitor: fix the hour displayed in the connect modal
Bug
===

On website, we can join the room of an exhibitor. If we are not in the right
time range a popup is displayed. If the exhibitor room starts at 10h30
it currently displays 10.5 instead.

Technical
=========

The option "float_time" only work in the python templates.
Here, it was used in a JS template.

Task ID-2345894
PR #58516

closes odoo/odoo#58809

X-original-commit: 2296ee82e4d719b734731b67013ca652d1fb92f6
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-29 12:08:35 +00:00
std-odoo 873e1dedf5 [FIX] website_event_{meet, track_exhibitor}: show a warning message when the event is finished
Bug
===

If the event is finished, we should not display the warning message "The
Event starts on...". Instead, we should say that the event is over.

We therefore better handle timeframes.

Task ID-2345894
PR #58516

X-original-commit: 7a41dadd9fbfb4643d981d9e9eba90befad3e013
2020-09-29 12:08:34 +00:00
std-odoo bee0b4b6ad [FIX] website_jitsi: fix participant count update
Bug
===

When we implemented `website_jitsi` we didn't need to enter a pseudo. Users
automatically joined the room. But now we have one more step about entering
Jitsi username. During this step the room can become full so we need to check
one more time if room reached its full capacity.

Correctly use the option `check_full` in `website_event_track_exhibitor`.

Do not wait for participant update if the room become full.

Task ID-2345894
PR #58516

X-original-commit: 4aae31a7497b9f80b3c3f3d63a22bde646e09f0b
2020-09-29 12:08:34 +00:00
LuisMalave2001 b952b92221 [CLA] signature for LuisMalave2001
closes odoo/odoo#58808

X-original-commit: 5c771f5dc52eb1f18ae032b44d96c7bd94f96c9e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-29 12:08:10 +00:00
Aaron Bohy c4bddd6ba2 [IMP] web: qunit: always log name of failing test
After each test, a check is done that there is no leftover in the
DOM. If there are, the suite fails, but there is no indication on
the test that left elements in the DOM.

This commit logs that missing information. We also stop dumping
the DOM when this happens, as it was rather creating noise than
providing useful information (the remaining elements are still
logged though).

closes odoo/odoo#58806

X-original-commit: 598d036b59012af0a95894d759fe3b6276fc8ccb
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-09-29 12:03:40 +00:00
xO-Tx 63d7d97415 [IMP] web_editor: add tooltips on editor panel labels if overflow
task-2312878

closes odoo/odoo#58805

X-original-commit: 937e018ee35ca0f63c96442a11bb8f0d2d03471a
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 12:03:13 +00:00
qsm-odoo f1c09c7769 [FIX] web_editor: restore background and foreground color previews again
This was fixed in 13.0 and forward-ported twice in 14.0 with [1] and [2]
But the combination of the two commit were messed up.

[1]: https://github.com/odoo/odoo/commit/225ec35e50b5d71fa795f64cb9a9a6c2ceda7631
[2]: https://github.com/odoo/odoo/commit/19be84634d394f47ceb882c5ddd24585f31b50ae

closes odoo/odoo#58788

X-original-commit: 202c192cad16d2353603e3875ea9ee490eafb5bb
Related: odoo/enterprise#13672
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 11:14:37 +00:00
qsm-odoo 81ca8647aa [FIX] web_editor: make we-input full-width if unit is large
The design was made considering the units would not be bigger than 2 or
3 characters... but it is currently used with translated texts like
"products". In those cases, force the input to be full-width.

task-2312878

closes odoo/odoo#58787

X-original-commit: b1f9057af0d38176985ecfbe125ae992422b9744
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 11:14:12 +00:00
Florian da Costa 85379ce2a7 [FIX] stock: Allow to override _get_available_quantity on stock move
This allows to restrict the reservation of a move to a specific lot, location, pack or owner
and for instance implement back the restrict_lot_id feature, among others

closes odoo/odoo#58786

X-original-commit: 8459c9dae1a83b7f1d827ee40991778c9bb9d9cd
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2020-09-29 11:13:50 +00:00
Benjamin Vray aa375d940f [FIX] website: fix full height snippet option
Before this commit the height of a snippet with the full height option
enabled was not correctly updated.

task-2312878

closes odoo/odoo#58782

X-original-commit: b371cb42cb67115692464c102813b7ebd54785d9
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-09-29 10:28:45 +00:00
Sébastien Theys a409fbdc5a [FIX] mail: prevent sync fold state for non-channels
task-2346650

closes odoo/odoo#58801

X-original-commit: f5b6e78e77eac27af3b3812ac3818a67acaa1c85
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-29 11:45:53 +00:00
Ankit Sathvara 0fb77cf0d5 [FIX] crm: sequence CRM tour
This commit adds sequence to CRM tour so that it can be prioritized over other
apps.

Task ID-2302572

closes odoo/odoo#58799

X-original-commit: 7372d9995aaad2fd8a259cbdea6e176bac6017b0
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-29 11:44:20 +00:00
Ankit Sathvara c075dfe44d [FIX] mail: allow to create next activities when not having a clear model as context
Before this commit, when we tried to launch next activity from the already
scheduled actvity's popover on chatter (activity that do have a next activity
set on it), it resulted into a traceback. This was due to a recent commit[1]
trying to set the default activity type.

This commit fixes the issue by improving method setting the default activity
type and thus allowing to schedule next activity from popover.

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

Task ID-2302572

X-original-commit: e341980b191d0b044662b3de5f3bbc78cf3a0876
2020-09-29 11:44:19 +00:00
asa-odooandD J 9e647230a3 [IMP] crm: display avatar for user_id
This commit improves the salesperson(user_id) field with many2one_avatar_user
widget that will display avatar before user name.

Task Id : 2302572
PR #565013

closes odoo/odoo#58781

X-original-commit: ec05118e85d7e3d4611c5688f3c4a572c86d0afa
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Co-authored-by: D J <dja@odoo.com>
2020-09-29 10:28:18 +00:00
e3069655d3 [FIX] account, mail: properly evaluate and clean xml context
Before this commit, there were some traceback while performing
several actions due to context that was not properly evaluated.

This commit fixes those traceback by evaluating the context and
thus enabling user to perform those actions without traceback.

We also clean some badly-configured email actions in accounting.

Task Id : 2302572
PR #56501

X-original-commit: 71a39c6650e18b71a212bf21150fece683ae01c7
Co-authored-by: D J <dja@odoo.com>
Co-authored-by: Thibault Delavallée <tde@odoo.com>
2020-09-29 10:28:18 +00:00