Commit Graph
137522 Commits
Author SHA1 Message Date
stefanorigano (SRI) 8d5003db99 [IMP] web_editor: make some color adjustments for editor panel
Part of https://github.com/odoo/odoo/pull/55645
task-2157252
2020-08-07 22:13:17 +00:00
Victor Feyens c80f74b004 [FIX] delivery: missing api.model decorator on default_get override
Finetuning of addffca423

closes odoo/odoo#55639

Related: odoo/enterprise#12307
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-08-07 15:09:18 +00:00
william eaa7f93c0f [IMP] l10n_*: update the module categories
Task 2309613

We have a new hierarchy:
* Accounting
  * [Generic, not changed]
  * Localization
    * Account Chart
    * Check
    * EDI
    * Point of Sale
    * Purchase
    * Reporting
    * Sale

This helps in displaying only the chart of accounts when clicking on
"Install more Packages" from the accounting settings in the Fiscal
Localization section.
We can also refine the search in the _auto_install_l10n post init hook
of account.

closes odoo/odoo#55384

Related: odoo/enterprise#12179
Related: odoo/upgrade#1568
Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2020-08-07 08:30:41 +00:00
Samuel Degueldre b84e0af742 [IMP] web_editor, website: add background shapes snippet option
This commit adds a new snippet option allowing the user to choose one of
a series of SVG shapes as their background, or to be overlaid over the
background image of a snippet and to customize the colors of those
shapes.

Part of https://github.com/odoo/odoo/pull/53017
task-2210790

closes odoo/odoo#53017

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-08-07 15:34:45 +00:00
Samuel Degueldre c3dacfea05 [IMP] web_editor, website, *: create background-type toggler option
*: website_blog

Previously, background colors, images, and videos could all be applied
on the same section, such that the image can be used as a fallback for
the video, and the color as a fallback for the image. However, if you
wanted to change the background color behind the background image, the
background image would be removed. The background image and background
video also shared the same widget to pick the image or video.

This commit adds a background-type toggler, where the user can toggle
the background color, image and video individually. It also makes the
video picker into its own UserValueWidget, such that the user can pick
both an image and video without overriding the other.

Part of https://github.com/odoo/odoo/pull/53017
task-2210790
2020-08-07 15:34:45 +00:00
qsm-odoo 5c05592032 [IMP] web_editor: remove check icon for default active buttons
Before this commit, the enabled state of we-button element was a
"pressed-like" background + a check icon. This check icon was then
explicitely removed for we-button extension such as checkboxes and
button groups' buttons. Now, the enabled state does not contains that
check icon by default and it is explicitely added for selects' buttons.

Part of https://github.com/odoo/odoo/pull/53017
task-2210790
2020-08-07 15:15:52 +00:00
Samuel Degueldre 995b20fd6a [REF] web_editor: move normalizeColor function to we-utils for reuse
Part of https://github.com/odoo/odoo/pull/53017
task-2210790
2020-08-07 15:15:52 +00:00
Hiral Bhavsar 8bf5381d13 [FIX] mail: traceback while going to close dialog
Before this commit:

Traceback appearing while going to close subtypes dialog from followers or
closing the attachment viewer dialog.

This is happening because the dialog manager doesn't have a close function
after https://github.com/odoo/odoo/commit/9216bdcb6f0bbb20900a33bbf7283e6e4fda1b2c

After this commit:

Able to close the dialog without any traceback as fix it by call the delete
function.

LINKS

Task-2314898

closes odoo/odoo#55636

X-original-commit: f2186ceefe23cd1a45adc72089c8e828e9b75cc8
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-08-07 14:34:35 +00:00
Andrea Grazioso (agr-odoo) dda65902c2 [FIX] account: fix send sample invoice
With company country and localization set to Peru
Go to invoice dashboard
Click on 'Send sample'

User will receive the warning
'If you want to use "Off-Balance Sheet" accounts, all the accounts of the
journal entry must be of this type'
and the action will abort because the first account fetched for the
operation is an 'Off Balance' account

opw-2300813

closes odoo/odoo#55509

X-original-commit: 27a9eb3083e7938199ff047060135e030496eec0
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
2020-08-06 07:43:46 +00:00
Julien Mougenot 3178fb21b4 [FIX] web: Deep copy state exported by search panel
Having maps in its state, the search panel has to serialise its state
before sending it via exportState. Before this commit, this was done
on the state object in place, causing issues if the model was restored
without an imported state (no re-serialisation hence having a wrong
state).

Now, the exported object is deep-copied from the original state.

Task 2312131

closes odoo/odoo#55393

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-08-04 14:04:56 +00:00
asa-odoo 71289ea819 [FIX] website_mass_mailing: make website popup content visible/editable
View rendering from javascript has recently been made to check
permission(through PR #44993).

Some assets required by the iframe editor are rendered in JS so that they
can be injected into the iframe, but their permissions had not been updated.
It causes a crash while creating website popup and resulting into an empty
html field ('Website Popup Content').

This commit fixes that by adding groups="base.group_user" to the
required template.

Task Id : 2292026
PR #54798

closes odoo/odoo#55626

X-original-commit: c4fed6350f0024e809a2fc632891aab8be05d25e
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-07 11:12:42 +00:00
Nicolas Martinelli da8de7cfa0 [FIX] point_of_sale: name not translatable
A POS payment method should be translatable.

opw-2314353

closes odoo/odoo#55623

X-original-commit: 84cb31f8632785caf9a313c8423550b5ca51ed11
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-07 11:02:36 +00:00
Pedro M. Baeza 255e880c2c [IMP] l10n_es: Unfold account 746 in 2
According to what has been discussed in https://github.com/OCA/l10n-spain/issues/1434, there's a problem with
this account, that can be put in 2 places in the balance sheet, depending on its
nature.

Unfolding it in 2 using same prefix, we can guide users in which account they
should book their balances according the nature, and define reports according
these accounts without the need of modifying them each time.

Closes OCA/l10n-spain#1434

closes odoo/odoo#55619

X-original-commit: d8a9fc8b5ef858942c6529e09cb75a11225519d3
Related: odoo/enterprise#12295
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-08-07 10:01:17 +00:00
qsm-odoo 201e10b338 [FIX] web_editor: remove useless snippet preview notification
Before this commit, the 'snippet_option_update' event was triggered
whether or not it was a preview update. In the preview update case,
nothing was done, ever. This commit removes the preview notification.
If it ever becomes useful, it can be restored at that moment.

This commit actually solves a bug introduced by [1]: that snippet update
notification is now triggered after a setTimeout delay to allow events
to bubble before the UI update it will trigger (in non preview mode).
The side effect this had was that, between each preview, the execution
chain was deferred of a setTimeout delay between each step (even though
previews do not update the UI). This was enough to allow for a paint
refresh.
So before this commit, if option C was selected, then the user hovered
option A then option B, the option C was visually re-enabled between A
and B. This won't be the case anymore after this commit.

Long story short: restore no-flickering when previewing options.

[1]: https://github.com/odoo/odoo/commit/2616c8950fd615561e720660bcc39e018f4061e4

Part of https://github.com/odoo/odoo/pull/55588

closes odoo/odoo#55588

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-08-07 08:52:19 +00:00
qsm-odoo 315ba1cfeb [IMP] web_editor, *: simplify UserValueWidget updates
*: website

Before this commit, editor widgets were updated by 3 successive calls
to methods 'setValue', 'updateUI' and '_updateUI'. The last two were
in charge of updating the UI depending of the value that was set, only
in specific condition (like "if the widget is not focused", "or not
previewed", ...).

This is now in fact useless: 'setValue' can be in charge of the UI
update. Indeed, when a value is set on a widget there is no reason to
not update its UI anymore. This was useful when the UI was updated on
preview, which is not the case anymore. This could also be useful for
widget with multiple options attached to them... but in those rare cases
updating the UI multiple times (one time per option method) should not
be a problem.

Part of https://github.com/odoo/odoo/pull/55588
2020-08-07 08:51:23 +00:00
Thibault Delavallée 7385ac9e41 [IMP] hr_holidays: remove dead code
_read_from_database was removed in the ormpocalypse of 13.0 . It was used in
hr leaves report to make leave name (holding description) anonymous for
people not belonging to HR groups. Since 13.0 _read_from_database has been
removed. A security has been added in read_group itself, preventing to try to
read name through read_group.

In this commit we therefore simply remove dead code as the feature itself
is still alive.

Task ID-2285881

closes odoo/odoo#55610

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-07 08:45:45 +00:00
Florent de Labarre da040be14f [FIX] snailmail: get_param return a string
timeout should be an integer

closes odoo/odoo#55103

closes odoo/odoo#55586

X-original-commit: 9dbc3e3807750ae471b8ede61674ce05ca30c0cf
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-06 15:36:11 +00:00
Anh Thao Pham (pta) 637232a8c9 [FIX] base_vat: fixes format of Switzerland VAT
- Install Contacts and Belgium - Accounting (l10n_be)
- Go to Contacts and create a new Contact:
  * Select Switzerland as Country
  * Enter "CHE-123.456.788 TVA" ad VAT
The VAT is auto-updated to "CHE123456788TVA", removing all special characters.

The entered VAT is converted to its minimal representation, stripping whitespaces and seperators.
And it is this compacted value that is stored.

As defined here (https://www.estv.admin.ch/estv/fr/home/mehrwertsteuer/fachinformationen/steuerpflicht/unternehmens-identifikationsnummer--uid-.html),
the Swiss VAT format should be CHE-XXX.XXX.XXX TVA.
Therefore, the VAT will be automatically formated to the official format.

opw-2291581

closes odoo/odoo#55582

X-original-commit: d75614e22f5b0b72e6bebd9cafba36fe32b9eb51
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-06 15:07:11 +00:00
xO-Tx a2ed3bda2e [IMP] website: add mobile visibility option on columns
Allow the user to indicate if a column should be visible or not on
mobile viewport.

task-2308828

closes odoo/odoo#55195

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-08-07 09:16:32 +00:00
Patrick Hoste f8e804a377 [REF] website_slides: remove unused template
PURPOSE

Remove an unused template that was never called. Let us clean it.

LINKS

Task ID-2241513 (eLearning onboarding and testing)
PR #55567

closes odoo/odoo#55583

X-original-commit: 0f160586afdf139781049fd95c8c56e80c5522da
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-06 15:07:37 +00:00
Patrick Hoste 8c0bc4f4b8 [FIX] web: fix image widget when record name is ..
PURPOSE

Before this commit, when you used the 'image' widget when the record name was
``..`` (double dots) it couldn't retrieve the image since the double dots was
decoded as the parent directory shortcut. After this commit, the double dots
will be replaced by -- with the downside to loose the true record name.

SPECIFICATIONS

Replace the .. (double dots) with -- in the filename.

Using .. may seem like a strange use case but if you actually try to find
a partner called ".." in a production database, you might be surprised ...

LINKS

Task ID-2241513 (eLearning onboarding and testing)
PR #55567

X-original-commit: dcb7a924c36cd3f3aeef891ddd8830bd66322025
2020-08-06 15:07:37 +00:00
Patrick Hoste 15d2611003 [FIX] portal_rating: fix rating_avg calculation
PURPOSE

The rating_avg calculation wasn't correct. It divides by 100 instead of
multiplying by 100.

Followup of e4a4ffb974

LINKS

Task ID-2241513 (eLearning onboarding and testing)
PR #55567

X-original-commit: 35e286b9295d692bbeadea3e65708de4376924db
2020-08-06 15:07:36 +00:00
Laurent Smet 71aa83beed [FIX] account: Fix traceback when refunding invoice with tax on_payment
- Create an invoice using a tax exigible on_payment.
- Refund the invoice with 'Full refund'.
=> Traceback: The lines are already reconciled.

Explanation:
Odoo tried to reconcile all lines having a reconcile account, including the one set on taxes.
- The first reconciliation is made on the receivable account triggering the cash basis entries that will be reconcile with the tax account.
- The second reconciliation fails because the account has been reconciled to the cash basis entries.

closes odoo/odoo#55594

X-original-commit: 01f2a4c3d95b4ea762ef34ae56ee717a9614cb1a
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-08-06 21:28:00 +00:00
Martin Trigaux 7742f0b42b [FIX] tools: skip inexistant model
When trying to generate translation for a model that is not present in
the registry (leftover of migration?), the code used to return
self.browse(), expecting an empty recordset.

self was however a TranslationModuleReader that has no browse method
return empty recordset with no model specified

closes odoo/odoo#55574

X-original-commit: c004f00bdec83b7c56664425011db53db85da53a
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-06 14:16:08 +00:00
Xavier Dubuc c9e25aab34 [FIX] mail: allow folded chat windows to be shifted
task-2313414

closes odoo/odoo#55593

X-original-commit: 609dab84c6085af1ab27ee142c6ee674d7d321e9
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-06 21:27:15 +00:00
Jorge Luis Juarez 9637de2f9e [CLA] signature for JorgeJuarezM
closes odoo/odoo#55505

X-original-commit: 3183a68002ce490eb2c821e8c7e0923b64cd2a18
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-06 07:18:23 +00:00
Sébastien Theys 9216bdcb6f [FIX] mail: clean up JS relations by storing records
Remove the support and the conversion from record to localId and back from
localId to record.

Part of task-2308312

closes odoo/odoo#55481

X-original-commit: fc5e8be4e65518770a281f0dffae07854d20073a
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-08-05 15:09:34 +00:00
Alexandre Kühn 9432d54705 [FIX] mail: redirect to origin thread
Before this commit, redirection to non-channel/non-partner origin
thread was opening the form view of partner with matching id with
origin thread.

This happened because such redirections used hard-coded model
'res.partner' instead of the actual origin thread model.

task-2312993

closes odoo/odoo#55463

X-original-commit: 773cb5ddfd4c63fb9387623494d344e20520acba
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-08-05 12:51:29 +00:00
Sébastien Theys 6f9d97dbfa [FIX] mail: ensure ChatWindowManager is re-rendering after init
This fix non-appearing chat windows if messaging becomes initialized after
ChatWindowManager was first mounted.

closes odoo/odoo#55592

X-original-commit: 96f5bfb9da21668eadaa7bbe81d10d0bfd4f4483
Related: odoo/enterprise#12286
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-06 20:48:20 +00:00
Didier (did) 4366b88d60 [FIX] mail: hide rating button in chatter
Before this commit, the rating buttons were displayed inside the
chatter an could be used to "rate" from there. Intend is to display
these buttons only on email: the message in chatter should not have
these buttons.

This commit fixes the problem similarly to what has been done in
13.3. Note that this solution is quite poor, because it could remove
content from other messages that inadvertently hit this CSS selector,
but at least it works for all existing rating messages.

task-2282414

closes odoo/odoo#55591

X-original-commit: 4474adef45be3289728edc289ecc71c38abcf1b8
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-06 19:22:26 +00:00
Sébastien Theys bab2093109 [FIX] mail: process result of init messaging asynchronously
Part of task-2308312

closes odoo/odoo#55562

X-original-commit: bdc2a9f516562c854837248e7d0898e5cfc8dec1
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-06 13:27:38 +00:00
jvm-odoo 7b51aaa1ca [FIX] purchase: fix bill ref replaced by PO ref when using auto complete
Issue

	- Accounting & Purchase
	- Create a PO for wood corner
	- Create a bill for wood corner, add a ref
	  and auto complete with the previous PO

	The ref is replaced by the PO's one

Cause

	In purchase account_invoice _onchange_purchase_auto_complete
	we update all the bill values with the PO values including
	the PO ref (empty or not)

Solution

	Exclude the ref of fields to be updated

OPW-2313418

closes odoo/odoo#55560

X-original-commit: ae0c3b600403a21a196e51ce88fa6b25990f2b64
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-06 13:11:22 +00:00
Andrea Grazioso (agr-odoo) feafc67280 [FIX] report: Font size decrease when adding too much content
From the Sale app create a new Quotation with a long customer
reference. Click on "Save" and then Print.

In the generated report the fields relative to the order details are not
correctly displayed: the general font size is scaled down to make the
text fit the page which is not the correct behavior.
The font size should remain fixed and all the element
should be visible, eventually spanning over multiple lines.

This is due to the broken bootstrap support of QtWebKit, used by
wkhtmltopdf to generate pdf reports.
In particular the new flexbox style introduced in the library is not
supported and every element based on it will be ill-displayed.

The solution is to fall back to the subset of supported features to
implement a different solution, which keep everything on one line but
avoid the font resizing and every possible overflow.

opw-2261573

closes odoo/odoo#55555

X-original-commit: 2dd3ed327aad6fecdcfd4b53c4338bf47e44401b
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-06 12:29:29 +00:00
Mark Robinson 1f87150da2 [CLA] signature for Mark Robinson
closes odoo/odoo#55540

X-original-commit: cfde4bc8b7f0f7edcae6f33ed2ce6569fcc46ca0
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-06 10:45:44 +00:00
wan b13f40c83e [FIX] account: use context_today instead of today
The problem of using fields.Date.today() instead of
fields.Date.context_today() arose with the recent changes in the
account.move._post() method used in the POS tests, around 1 am.

This commit changes all occurences of today to context_today.

closes odoo/odoo#55511

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-08-06 10:07:28 +00:00
Jorge Pinna Puissant 09bfca4d0c [FIX] hr_timesheet: wrong uom factor in widget
- Install hr_timesheet and sales;
- Create a product, set it as a service product with units of
  measurement in days.
- Set the product as a task will be created from SO;
- Add a timesheet for one day to a task in a project (8 hours for
  instance);
- The smart button on the sales order shows the time logged for that
  project.

Before this commit, when the timesheet encoding unit is 'Hours', the
smart button shows the correct logged time (8 hours). But, when the
timesheet encoding unit is changed to 'Days', the samrt button shows
0.125 Days instead of 1 Day. This occurs because the uom used to create
the uom factor for the widget is not the Timesheet encoding unit.

opw-2301510

closes odoo/odoo#55544

X-original-commit: 2a7ec79c6a4563b608a4525ebccdea5978799caa
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
2020-08-06 11:00:12 +00:00
Jeremy Kersten 7e8a1f7a06 [FIX] tools: LRU doesn't have keys() method anymore
Since commit 1b30a78b, LRU is now based on OrderedDict and keys can be found
on dictionnary 'd' directly.

closes odoo/odoo#55541

X-original-commit: 3f093da75765d66ed1e2d828e8b41ed05d936d0b
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-08-06 10:54:07 +00:00
Laurent Smet d6141b0777 [REF] account: Make 'test_portal_attachment' independant to any demo data
--task: 2290120

closes odoo/odoo#55091

Related: odoo/enterprise#12083
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-08-06 11:22:13 +00:00
Laurent Smet e2f81f182d [REF] account: Make the render report tour independant to any demo data
--task: 2290120
2020-08-06 11:22:06 +00:00
Laurent Smet 34d53ebc87 [REF] account: Add generic 'AccountTestInvoicingHttpCommon' class
Thanks to this setup, we will be able to run the tours independently to any demo data.
To do so, the HttpSavepointCase is born to do the same as HttpCase but with a setUpClass.

--task: 2290120
2020-08-06 11:20:27 +00:00
jbm-odoo 9dc3057e8e [ADD] calendar_microsoft: Synchronize Microsoft calendar with Odoo
TaskID 2223219

closes odoo/odoo#54936

Related: odoo/upgrade#1557
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-05 13:47:42 +00:00
qsm-odoo 78ef2ec813 [FIX] website: restore sub-headings edition toggling
Since [1], the sub-headings edition was not possible anymore in the
'options' tab of the editor panel. This is because the visibility of
rows is now automatic, depending of the visibility of the inner widgets.
The custom code for that row visibility, controlled by the user, was
thus not working anymore.

Note: this fix solves the problem with big hacks. Better code will
handle foldable zones generically.

[1]: https://github.com/odoo/odoo/commit/8d57f21d7df2033f462ead60fcb5abba4546213e

Part of https://github.com/odoo/odoo/pull/55529

closes odoo/odoo#55529

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-08-06 09:46:48 +00:00
qsm-odoo 6a258db1e9 [IMP] website, *: review the 'options' tab of editor panel
*: web_editor

This will more probably change again in the future but this is a first
step towards a hierarchized 'options' tab for the editor panel.

Part of https://github.com/odoo/odoo/pull/55529
2020-08-06 09:42:48 +00:00
Nicolas Martinelli 88fa6f774b [FIX] account: domain on product
- Create a product P which cannot be sold (purchase only)
- Create a customer invoice

The product can be select on the invoice.

The `sale_ok` (as well as the `purchase_ok`) field is not taken into
account in the domain.

The solution is a bit hacky but has the advantage to be safe in regards
to customizations.

opw-2308897

closes odoo/odoo#55442

X-original-commit: 88b0b664606bb42acf26165e2b7fdda44a15e0a7
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-05 09:06:12 +00:00
Loan (lse) cfc066c323 [FIX] website_sale: Wrong terms and conditions in created SO
To reproduce (V12) using a fresh database with demo data:
 1. Install eCommerce and Sales
 2. Change Mitchell Admin settings so that he can see the 3 companies
 3. Go into Settings and set a distinct "Terms and Conditions" text for each companies
 4. Go the Website > Configuration, set "My website" to "Company_1" and save
 5. Go to the website shop and buy any items
 6. Find its corresponding Sale order (should be on Company_1)
=> "Terms and Conditions" used in the SO is the one of "YourCompany"

Analysis:
The terms and conditions are not specified in the SO creation,
so it runs the default value code to determine its value.
However the default code just ask to use the OdooBot company "Terms and Conditions".
https://github.com/odoo/odoo/blob/b6bf91d26b8fb45997b266c16be620d834a97cc7/addons/sale/models/sale.py#L121

OPW-2297114

closes odoo/odoo#55424

X-original-commit: 60565b5cd42da080e36fee5a94bcf8eafd15934d
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-04 16:32:08 +00:00
Anh Thao Pham (pta) 87be1ab6c4 [FIX] snailmail: allow to configure timeout for snailmail
When sending a letter with a PDF containing pictures, it could happen that the default timeout of 15s is too short.

Parameter "snailmail.timeout" has been added to allow configuration of this timeout.
Also a default value of 30s has been set instead of 15s.

opw-2276125

closes odoo/odoo#55415

X-original-commit: 796373ae674248cb96c576ccb968d7f19a732317
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-04 15:23:16 +00:00
Bruno Zanotti (ADHOC) 44fb324f7a [CLA] add new member to Adhoc CLA
closes odoo/odoo#55527

X-original-commit: ac8d173064f033136f33272a8724e937e73b1b85
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-08-06 09:34:00 +00:00
Nasreddin (bon) cc1e7dce25 [FIX] mail: User following task can't add another follower
Issue

	- Login as Mitchell Admin
	- In Projects module, Create a new project
	- Set Visibility to 'Invited employees'
	- Create new task and assign it to Mitchell Admin
	- Edit the task and add Marc Demo as follower
	- Login as Marc Demo
	- Go to the task previously created
	- Add an other follower

	IrRule Error

Solution

	Use sudo() to find all followers of a document.

opw-2303443

closes odoo/odoo#55521

X-original-commit: e0d064ffe4013ed727bdc780a3d0a7c6b16e6e9c
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
2020-08-06 08:54:18 +00:00
Martin Trigaux 7879179204 [I18N] base: export source terms
Some module description had changed without updating the .pot

closes odoo/odoo#55503

X-original-commit: ae3c28fe189468e91872971c397e62bad30e28f0
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-06 07:09:15 +00:00
jvm-odoo 5bccaaad87 [FIX] web: fix autocomplete over datepicker
Issue

	- Sales > Create a quotation
	- Click on quotation date or start
	  writing in it

	On chrome, if addresses autocomplete is enable
	and have data to show, a dropdown will overflow
	on the datepicker

Cause

	This is mainly a chrome issue and the only way
	to solve it without a fix is to disable the
	autocomplete totally which is not really a
	solution since we want the autocomplete on
	adresses

Solution

	Add the autocomplete off on datepicker field

OPW-2308278

closes odoo/odoo#55470

X-original-commit: b40fef968ab000870574ae45ba482288cdf94ad1
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-08-05 13:51:32 +00:00