Rename javascript model `mail.sound_effects` to `SoundEffects` in order
to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81431
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.sound_effect` to `SoundEffect` in order to
distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81417
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_session` to `RtcSession` in order to
distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81416
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_peer_notification` to
`RtcPeerNotification` in order to distinguish javascript models from
python models.
Part of task-2701674.
closesodoo/odoo#81415
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_option_list` to `RtcOptionList` in
order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81414
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_layout_menu` to `RtcLayoutMenu` in
order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81413
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_controller` to `RtcController` in
order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81412
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_configuration_menu` to
`RtcConfigurationMenu` in order to distinguish javascript models from
python models.
Part of task-2701674.
closesodoo/odoo#81411
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_call_viewer` to `RtcCallViewer` in
order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81410
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc_call_participant_card` to
`RtcCallParticipantCard` in order to distinguish javascript models from
python models.
Part of task-2701674.
closesodoo/odoo#81409
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.rtc` to `Rtc` in order to distinguish
javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81408
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.popover_view` to `PopoverView` in order to
distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81407
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.model` to `Model` in order to distinguish
javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81390
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.messaging_notification_handler` to
`MessagingNotificationHandler` in order to distinguish javascript models
from python models.
Part of task-2701674.
* = im_livechat, website_livechat
closesodoo/odoo#81389
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.messaging_menu` to `MessagingMenu` in
order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81388
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.messaging_initializer` to
`MessagingInitializer` in order to distinguish javascript models from
python models.
Part of task-2701674.
* = crm_livechat, im_livechat, mail_bot
closesodoo/odoo#81387
Related: odoo/enterprise#22889
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.messaging` to `Messaging` in order to
distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81386
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.message_view` to `MessageView` in order to
distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81385
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.message_seen_indicator` to
`MessageSeenIndicator` in order to distinguish javascript models from
python models.
Part of task-2701674.
closesodoo/odoo#81384
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.device` to `Device` in order to
distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81332
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Rename javascript model `mail.chat_window` to `ChatWindow` in order to
distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81322
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Rename javascript model 'mail.activity_type' to 'ActivityType' in order
to distinguish javascript model from python model.
Part of task-2701674.
closesodoo/odoo#80600
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Rename javascript model 'mail.activity' to 'Activity' in order to
distinguish javascript model from python model.
Part of task-2701674.
closesodoo/odoo#80555
Related: odoo/enterprise#22593
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Rename javascript model `mail.channel_command` to `ChannelCommand` in
order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81320
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Rename javascript model `mail.attachment_viewer` to `AttachmentViewer`
in order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81317
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Rename javascript model `mail.attachment_image` to `AttachmentImage` in
order to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81315
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Rename javascript model `mail.activity_box_view` to ActivityBoxView in
order to distinguish javascript model from python model.
Part of task-2701674.
closesodoo/odoo#80605
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Purpose
=======
In the chatter, when we reply to an email, the parent email is folded
behind a "read more" button. Add capital letters to this button to make
it more visible.
Task-2656302
closesodoo/odoo#80571
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Rename javascript model 'mail.guest' to 'Guest' in order to distinguish
javascript model from python model.
Part of task-2701674.
closesodoo/odoo#80547
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Current behavior :
Quantity displayed on 'Detailed operations' block for a product lot isn't correctly displayed on the invoice sometimes.
Steps to reproduce :
- Install Sales and Stock
- Enable 'Units of Measure' in Settings
- Enable debug mode then go to Users and enable 'Display Serial & Lot Number on Invoices' for current user (i.e. Mitchell Admin)
- Create a new product
- Tracking set to 'By Lots'
- UoM set to 'g'
- Create a quotation with the previously created product and set the quantity to 3.07
- Confirm the quotation, go to the Delivery and confirm it too
- Go back to the SO and create the invoice, then go to the invoice and confirm it
- Print the invoice
OPW-2704307
closesodoo/odoo#81422
X-original-commit: 5a978bce24266ae35db4cfc2180cbaa61d21897f
Signed-off-by: Arnold Moyaux <arm@odoo.com>
Signed-off-by: Claude Thibault (thcl) <thcl@odoo.com>
This commit fixes#80080 where a bad field type has been used.
Fortunatelly the field is only used in conditions where it is checked as being Truthy.
closesodoo/odoo#81419
Signed-off-by: Xavier <xbo@odoo.com>
The commit ca7d5701c6a46f7781bdc9af9f2d26cca880eb93 fixes issue with
backorder being to quickly canceled but as it call `action_cancel`
before the condition who's looking on the SO state, the condition can
never be matched as the SO state will always be `cancel`.
So, the exception about the SO being cancelled will not be logged on
following documents.
How to reproduce:
- Create a product and enable route MTO + Manufacture on it and create
a BoM for this product;
- Create a SO for this product and confirm it;
- Cancel the SO and check the generated MO => There is no exception
about the cancellation of the SO.
This commit fixes this issue and doesn't impact the previous fix.
task-2657799
closesodoo/odoo#79215closesodoo/odoo#81178closesodoo/odoo#81401
Related: odoo/enterprise#22008
Related: odoo/enterprise#22814
Related: odoo/enterprise#22896
Signed-off-by: Arnold Moyaux <arm@odoo.com>
Rename javascript model `mail.composer_view` to `ComposerView` in order
to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81328
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Rename javascript model `mail.channel_invitation_form` to
`ChannelInvitationForm` in order to distinguish javascript models from
python models.
Part of task-2701674.
closesodoo/odoo#81321
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
It should be allowed to pay amount that are not rounded if the value is less than the rounding value.
Ex:
Rounding value: 0.05
Amount to pay: 0.04
The amount to pay should remain 0.04 and not be rounded to 0.05.
This fix allows the user to pay for values under the rounding value without applying the rounding.
closesodoo/odoo#81392
X-original-commit: 523bc2f9b26bbb51ededcb734fa4ec384671575b
Signed-off-by: Masereel Pierre <pim@odoo.com>
The requirement of having real_time valuation in product categories to use LC is not needed
at all, as the information is taken from stock.valuation.layer, but it was previously
enforced due to the leftovers of the previous algorithm.
We remove such requirement in this commit, and also not creating the LC journal entry in
such cases.
TT32954
closesodoo/odoo#81303
X-original-commit: 05af566f7cdbe36fa0a7e07da15b37bd1349ed80
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Arnold Moyaux <arm@odoo.com>
This solution is not perfect. In order to be, we would need to have a
sanitized function that is used to store the number in the database, and
to use the same function to search in it. This will most likely be done
in master with a refactoring of `base_vat`, on which `account` will
depend one way or another.
In the meantime, we need to support cases that were working before these
fixes:
https://github.com/odoo/odoo/commit/bfb2436b9d99bf9eea29ee44000e18197efa88b6https://github.com/odoo/odoo/commit/e24c5ba4efef466919735ec4304cfd46be5f0d3f
Since these, it was indeed impossible to detect a partner based on his
VAT for Swiss partners if `base_vat` was installed, which is the
default.
closesodoo/odoo#81263
X-original-commit: 04aa5cd79c6aca1615ba022c351054a390e6c0b5
Signed-off-by: Olivier Colson <oco@odoo.com>
Signed-off-by: William André (wan) <wan@odoo.com>
In owl 2, the t-on directive is no longer supported on components. The
way to handle events on components is to give them a callback as a prop.
This already works in owl 1, so this commit prepares the code for an
easier migration in the future by removing the "dropdown-item-selected"
event and converting the code that was using it to use the new paradigm.
closesodoo/odoo#80684
Related: odoo/enterprise#22722
Signed-off-by: Géry Debongnie <ged@odoo.com>
Currently, bare method calls in arrow functions in templates are bound
to the rendering context/scope. While this gives you access to most of
the things that exist on the component for reading, writing on 'this'
will not always work, and the rendering context can pollute the
component's name space. This commit fixes that by explicitly calling the
method on the instance of the components.
Part-of: odoo/odoo#80684
Rename javascript model `mail.attachment_card` to `AttachmentCard` in
order to distinguish javascript model from python model.
Part of task-2701674.
closesodoo/odoo#80604
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Purpose
=======
When presenting a live survey, the page does not give a
confirmation message when the survey ends and stays on the last slide.
A "Thank you!" message is now displayed when the presentation ends.
Task-2700222
closesodoo/odoo#80447
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
The http.addons_manifest is a map {module: manifest_dict} that is
populated upon the first http request. This map is basically a module
manifest cache with an extra `addons_path` key, the path of the module
on the file-system. This cache is eagerly populated upon the first http
request, the map is empty in non-http contextes (e.g. cron) which have
been a source of bugs (e.g. 50c8eb1).
A manifest cache is necessary because reading and parsing python files
from the file-system is not that cheap but there is no reason that cache
is located in `odoo.http`. A thin cache layer now wraps
`load_information_from_description_file()`/`load_manifest()` and is
lazily populated.
The `http.addons_manifest` have been removed. The extra `addons_path`
key is now present in the "normal" manifest. The `read_manifest()` was
hardly used so it has been deprecated. The only way to retrieve a
manifest is now `load_information_from_description_file()` which was
renamed `load_manifest()` (no cache) and `get_manifest()` (cache).
Side note about performances, the cache is necessary. Addons manifest
are read-only and reading + parsing python files from the file system is
not a cheap operation. Running the e-commerce tour
`@website_sale.test_04_admin_website_sale_tour` without cache on
`load_manifest()` requires 68,29 secs to complete on my laptop,
exceeding the default 1-minute time frame allowed in tests. Using a
cache the time is down to 36,53 secs. The performance impact is huge.
Part-of: odoo/odoo#79977
Rename javascript model `mail.media_preview` to `MediaPreview` in order
to distinguish javascript models from python models.
Part of task-2701674.
closesodoo/odoo#81373
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>