Commit Graph
3136 Commits
Author SHA1 Message Date
OdooJeel 810db9794c [CLA] signature for jeelkhanpara
closes odoo/odoo#74531

X-original-commit: bd2d72c0a82d51652fa4b43447ade305843a4ef8
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-08-02 07:53:17 +00:00
Ahmad Khan 71f0779d75 [CLA] signature for aims-khan
closes odoo/odoo#74470

X-original-commit: d3508a9ec22f8775e0f1df36455526df0e3b9350
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-29 18:18:03 +00:00
odoomates ba27bb3a3f [CLA] Odoo Mates
closes odoo/odoo#74464

X-original-commit: 2c969004e57a7321315d4bfda8dbcf90c76b6d29
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-29 17:29:50 +00:00
Dishon Kadoh d5d38a149f [CLA] Dishon Kadoh
closes odoo/odoo#74463

X-original-commit: 84e2ec4011ca7d277404d862e2d547df09bbe474
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-29 17:28:16 +00:00
Luigys [Vauxoo] e8662f95c8 [CLA] Add desdelinux as new contributor in vauxoo
Incorporate Luigys TOro (desdelinux) as Vauxoo's contributor

closes odoo/odoo#74466

X-original-commit: f9682ecac4b7b34950ba70a78a550f0c050d0ce7
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-07-29 17:36:21 +00:00
Sergey Shebanin 4ed7217a9e [CLA] Sergey Shebanin 2021-07-12 10:23:42 +00:00
Stephan Keller d8706cde99 [CLA] Signature for skeller1
closes odoo/odoo#73739

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2021-07-15 09:34:09 +00:00
Robin Conjour 6687adbc43 [CLA] signature for demolium
Closes odoo/odoo#69217

closes odoo/odoo#73926

X-original-commit: 229f14c04d53e713af30a4a1077c954d284ff51d
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-16 17:49:17 +00:00
Eduardo f1029ab20d [CLA] signature for shide
closes odoo/odoo#73917

X-original-commit: 6dca24a0cd4140118c8ebef40bff4d04ccdc98e9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-16 16:40:11 +00:00
Matthieu Méquignon e554b758c8 [CLA] Add Matthieu Mequignon to C2C CLA
closes odoo/odoo#73887

X-original-commit: bc916ec3f27a9ea2275e80402bd6aa17bf5a1bf9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-16 13:53:25 +00:00
kerteszgergo 4fced20b81 [CLA] signature for kerteszgergo
closes odoo/odoo#73885

X-original-commit: 0a11e597d933e5b159c18752ef1b6a040dc23256
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-16 13:39:12 +00:00
Mashanz 9f22d0c43b [CLA] Signature for mashanz
X-original-commit: e8ef346d574a5f2e0525282d96d39390e13115dc
2021-07-16 13:29:54 +00:00
Amin Cheloh 134363f26c [CLA] Signature for amincheloh
closes odoo/odoo#73879

X-original-commit: 66bf02ba89ebc5b6d3f07e6716d060794cf62b6b
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-16 13:25:19 +00:00
Yann Papouin 7aa19d908d [CLA] Corporate signature for DEC
closes odoo/odoo#73090

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-01 14:51:58 +00:00
Ajroo 3ee601e1eb [CLA] Sign CLA Ajroo - Kasper Declercq
closes odoo/odoo#73802

X-original-commit: 092c92631071aaf207e1756d258d2021fab0a0c8
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2021-07-15 17:49:12 +00:00
Russell Briggs dfbe4ab655 [IMP] CLA signature
closes odoo/odoo#73196

X-original-commit: 8166e1ec1f134aa7d3538c82ed144d52e44f71ef
Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-07-04 20:00:10 +00:00
Fernanda Hernández beec2f9ccf [FIX] website_sale: use sudo to search account.fiscal.position to public user
Currently if public user has country_id, following traceback is raise
when /shop URL is opened:

Traceback (most recent call last):
File "/.repo_requirements/odoo/odoo/addons/base/models/qweb.py", line 331, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_website_sale_products_item_306
File "/.repo_requirements/odoo/addons/website_sale/models/product.py", line 294, in _get_combination_info
fpos = self.env['account.fiscal.position'].get_fiscal_position(partner.id).sudo()
File "/.repo_requirements/odoo/addons/account/models/partner.py", line 184, in get_fiscal_position
fp = self._get_fpos_by_region(delivery.country_id.id, delivery.state_id.id, delivery.zip, vat_required)
File "/.repo_requirements/odoo/addons/account/models/partner.py", line 141, in _get_fpos_by_region
fpos = self.search(domain_country + state_domain + zip_domain, limit=1)
File "/.repo_requirements/odoo/odoo/models.py", line 1708, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/.repo_requirements/odoo/odoo/models.py", line 4485, in _search
model.check_access_rights('read')
File "/.repo_requirements/odoo/odoo/models.py", line 3331, in check_access_rights
return self.env['ir.model.access'].check(self._name, operation, raise_exception)
File "<decorator-gen-33>", line 2, in check
File "/.repo_requirements/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/.repo_requirements/odoo/odoo/addons/base/models/ir_model.py", line 1792, in check
raise AccessError(msg)
odoo.exceptions.AccessError: You are not allowed to access 'Fiscal Position' (account.fiscal.position) records.

This operation is allowed for the following groups:
- Accounting/Advisor
- User types/Internal User
- User types/Portal

Contact your administrator to request access if necessary.

Error to render compiling AST
AccessError: You are not allowed to access 'Fiscal Position' (account.fiscal.position) records.

This operation is allowed for the following groups:
- Accounting/Advisor
- User types/Internal User
- User types/Portal

Contact your administrator to request access if necessary.
Template: website_sale.products_item
Path: /t/t[2]
Node: <t t-set="combination_info" t-value="product._get_combination_info(only_template=True, add_qty=add_qty or 1, pricelist=pricelist)"/>

Above was tested and reproduced in an instance of odoo runbot v14.0:

https://youtu.be/GgUnyna_EX8

That is due to public user has not permission to read model
account.fiscal.position and in fact in ACL, permission contains
'public' but is setting group_portal.

closes odoo/odoo#73117

X-original-commit: 53dc9f62b6d4c362292bf48df54b11c4852f6006
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-07-02 08:27:07 +00:00
mhabboush b92db00e7b [IMP] CLA signature
X-original-commit: d9c7b269a5a6a0b96774396836a00b08e41d9c70
2021-06-29 14:41:41 +00:00
Esam Hussein f5e748bb96 [FIX] point_of_sale: receipt printing available for offline mode
closes odoo/odoo#72331

X-original-commit: 5f7cd8e660c6e94baefa6ad586c73d389e09e011
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2021-06-21 06:28:09 +00:00
MANALIMALPANI 8a0dd29899 [FIX] auth_ldap: fix LDAP error handling
In order to ensure consistent results of all error conditions returned
    by the LDAP server, the _authenticate() method should return `False`
    for every kind of exception, not just for INVALID_CREDENTIALS.

    This is not actually relevant in 12.0 as the result is exactly the
    same, due to the way the `entry` variable is being initialized, but it
    will make the code path "visibly consistent" across all supported
    versions

closes odoo/odoo#72484

X-original-commit: 24a3f669e5199c35849dabbf7b0d37f43b684538
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2021-06-21 17:50:25 +00:00
fw-bot de5be74db5 [FIX] website_slides: allow to use only in POST
This method only expects to be called as POST and should not be called
with GET.
This commit enforces that.

[CLA] Signature for sushiwushi

closes odoo/odoo#71575

X-original-commit: 00f2eeee7aa514599b40e049be46eacdcc8332fa
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-06-01 17:22:18 +00:00
Krutarth Buch 0acac7eb74 [CLA] Corporate signature for Entrivis Tech Pvt Ltd.
closes odoo/odoo#71567

X-original-commit: f03b2d9f0e1ea57d1f94040786248e0d887c8afa
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-06-01 14:57:20 +00:00
Jeremy Cormier eaed74dec0 [FIX] stock: fixed singleton in picking write method
closes odoo/odoo#71535

X-original-commit: 922ee844f699fdb230b32d3f8c06ff22476f99c3
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
2021-06-01 11:06:00 +00:00
fw-bot 5a5fdcebd6 [CLA] signature for janikvonrotz
closes odoo/odoo#71434

X-original-commit: 2b4ae68892bf963f5170651e4ca4a9983ea18af9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-05-28 15:58:58 +00:00
dosipchuk 24154294b2 [CLA] Dmytro Osipchuk
closes odoo/odoo#71389

X-original-commit: 68182733f8a625a13e44c6be2708a98ece20d80a
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-05-28 10:58:10 +00:00
newtratip a0529acd08 [CLA] newtratip signs Odoo's CLA
closes odoo/odoo#71200

X-original-commit: c49bcce249b9ffcbc98dded17b6dbe71a1c22552
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-05-25 08:21:06 +00:00
guimarc-br c328957c17 Adding the CLA Signature
closes odoo/odoo#70552

X-original-commit: 44e05cd802593f6d18dcdec41fe821e30d7ae893
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
2021-05-07 15:13:07 +00:00
Victor FeyensandAntoine Vandevenne 609082da2f [MOV] doc: move documentation to a dedicated repository
In odoo/documentation-user#945, the developer documentation is merged
with the user documentation in a single repository and build config.

This commit then removes source files for the developer documentation
from the odoo/odoo repository.

DOC PR: https://github.com/odoo/documentation-user/pull/945

task-2351938
task-2352371
task-2205684
task-2352544

Co-authored-by: Victor Feyens <vfe@odoo.com>
Co-authored-by: Antoine Vandevenne <anv@odoo.com>
2021-05-04 08:25:12 +00:00
Samuel Degueldre 557a24e4f4 [IMP] web: allow lazy-loading asset bundles' templates
Previously, lazy-loading xml templates was only possible by fetching the
xml file directly, this meant that it was impossible to lazy-load an
entire bundle's templates with a single request. Additionally,
requesting the xml files directly meant that no inheritance was applied,
causing the need for a separate inheritance system using t-jquery on the
client-side.

This commit alters the /web/webclient/qweb route so that it now takes a
bundle id, meaning that it is now possible to lazy-load the xml from
arbitrary bundles.

task-2497943

closes odoo/odoo#70084

Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-05-03 07:25:20 +00:00
Francois (fge) c1abb1841e [DOC] web: export an object containing a comment is not supported
closes odoo/odoo#69407

Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-04-23 10:01:41 +00:00
Simon Genin (ges) ecfe85db84 [REF] web: static/src/(img|fonts) => static/(img|fonts) 2021-04-29 07:34:40 +00:00
Xavier Morel 01875541b1 [CHG] core, web: deprecate t-raw
Add a big fat warning when the qweb compiler finds a `t-raw`.

`t-esc` should now be used everywhere, the use-case for `t-raw` should
be handled by converting the corresponding values to `Markup`
objects. Even though it's convenient, this constructor *should never
be made available in the qweb rendering context* (maybe that should be
checked for explicitely?).

Replace `werkzeug.escape` by `markupsafe.escape` in
`odoo.tools.html_escape`, this means the output of `html_escape` is
markup-safe.

Updated qweb to work correctly with escaping and `Markup`, amongst
other things QWeb bodies should be markup-safe internally (so that a
`t-set` value can be fed into a `t-esc`). See at the bottom for the
attributes handling as it's a bit complicated.

`to_text` needed updating: `markupsafe.Markup` is a subclass of `str`,
but `str` is not a passthrough for strings. So `Markup` instances
going through would be converted to normal `str`, losing their safety
flag. Since qweb internally uses `to_text` on pretty much
everything (in order to handle None / False), this would then cause
almost every `Markup` to get mistakenly double-escaped.

Also mark a bunch of APIs as markup-safe by default

* html_sanitize output.
* HTML fields content, sanitization is applied on intake (so stripped
  by the trip through the database) and if the field is unsanitised
  the injection is very much intentional, probably. Note: this
  includes automatically decoding bytes as a number of default values
  & computes yield bytes, which Markup will happily accept... by
  repr-ing them which is useless. This is hard to notice without `-b`.
* Script-safe json, it's rather the point (though it uses a
  non-standard escaping scheme).
* Note that `nl2br`, kinda: it should work correctly whether or not
  the input is markup-safe, this means we should not need to escape
  values fed to `nl2br`, but it doesn't hurt either.

Update some qweb field serialisations to mark their output as
markup-safe when necessary (e.g. monetary, barcode,
contact). Otherwise either using proper escaping internally or doing
nothing should do the trick.

Also update qweb to return markup-safe bytes: we want qweb to return
markup-safe contents as a common use-case is to render something with
one template, and inject its content in an other one (with Python code
inbetween, as `t-call` works a bit differently and does not go through
the external rendering interface).

However qweb returns `bytes` while `Markup` extends `str`. After a
quick experiment with changing qweb rendering to return `str` (rather
unmitigated failure I fear), it looks like the safest tack is to add a
somewhat similar bytes-based type, which decodes to a `Markup` but
keeps to bytes semantics.

For debugging and convenience reasons, MarkupSafeBytes does *not*
stringify and raises an error instead (`__repr__` works fine). This is
to avoid implicit stringifications which do the wrong thing (namely
create a string `"b'foo'"`).

Also add some configuration around BytesWarning (which still has to be
enabled at the interpreter level via `-b`, there's no way to enable it
programmatically smh), and monkeypatch `showwarning` to show warning
tracebacks, as it's common for warnings to be triggered in the bowels
of the application, and hard to relate to business logic without the
complete traceback.

`t-out`
=======

`t-esc` is a bit confusing for the new behaviour of "maybe escape
maybe not", so add a `t-out` alias with the same behaviour.

Unlike `t-raw`, `t-esc` is only soft-deprecated for now: there are
thousands of instances, so editing all the templates is not
great. Eventually we'll add a `ci/style` to prevent addition of new
ones, and eventually we might do a bulk-replace and hard-deprecate.

Attributes handling
===================

There are a few issues with respect to attributes. The first issue is
that markup-safe content is not necessarily attributes-safe
e.g. markup-safe content can contain unescaped `<` or double-quotes
while attributes can not. So we must forcefully escape the input, even
if it's supposedly markup-safe already.

This causes a problem for script-safe JSON: it's markup-safe but
really does its own thing. So instead of escaping it up-front and
wrapping it in Markup, make script-safe JSON its own type which
applies JSON-escaping *during the `__html__` call.

This way if a script-safe JSON object goes through `markupsafe.escape`
we'll apply script-safe escaping, otherwise it'll be treated as a
regular strings and eventually escaped the normal way.

A second issue was the processing of format-valued
attributes (`t-attf`): literal segments should always be markup-safe,
while non-literal may or may not be. This turns out to be an issue if
the non-literal segment *is* markup-safe: in that case when the
literal and non-literal segments get concatenated the literal segments
will get escaped, then attributes serialization will escape
them *again* leading to doubly-escaped content in attributes.

The most visible instance of this was the `snippet_options` template,
specifically:

    <t t-set="so_content_addition_selector" t-translation="off">blockquote, ...</t>
    <div id="so_content_addition"
        t-att-data-selector="so_content_addition_selector"
        t-attf-data-drop-near="p, h1, h2, h3, .row > div > img, #{so_content_addition_selector}"
        data-drop-in=".content, nav"/>

Here `so_content_addition_selector` is a qweb body therefore
markup-safe, When concatenated with the literal part of
`t-atff-data-drop-near` it would cause the HTML-escaping of that
yielding a new Markup object. Normal attributes processing would then
strip the markup flag (using `str()`) and escape it again, leading to
doubly-escaped literals.

The original hack around was to unescape() `Markup` content before
stringifying it and escaping it again, in the attribute serialization
method (`_append_attributes`).

That's pretty disgusting, after some more consideration & testing it
looks like a much better and safer fix is to ensure the
expression (non-literal) segments of format strings always result in
`str`, never `Markup`, which is easy enough: just all `str()` on the
output of strexpr. We could also have concatenated all the bits using
`''.join` instead of repeated concatenation (`+`).

Also add a check on the type of the format string for safety, I think
it should always be a proper str and the bytes thing is only when
running in py2 (where lxml uses bytestrings as a space optimization
for ascii-only values) but it should not hurt too much to perform a
single typecheck assertion on the value... instead of performing one
per literal segment.

Note: we may need to implement unescape anyway, because it's still
possible to get double-escaping with the current scheme: given an
explicitly escape-ed `foo` and `t-att-foo="foo"`, `foo` will be
re-escaped.

fixup! [CHG] core, web: deprecate t-raw
2021-04-29 05:34:19 +00:00
Alessandro Fiorino 4bd87b8375 [CLA] add Digital Domus
closes odoo/odoo#69855

X-original-commit: 16c09f3964ef32f0729efd815ba5f397e07c8925
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-26 15:12:33 +00:00
ram ddf7195ae3 [IMP] rating, project, im_livechat: improve handling of ratings
RATING

Rating texts currently have a negative skewness. Indeed apart top rating
all ratings have a negative feeling. In this commit we update them
to match more closely a 1-5 range from dissatisfied to satisfied, ok being
the middle value.

PROJECT

Filter customer rating were taking in account ratings from first e-mail
instead of current satisfaction.

IM LIVECHAT

Livechat did not catch feedbacks without comment.

Task ID-2439720
COM PR odoo/odoo#66992
ENT PR odoo/enterprise#16757
2021-04-26 14:10:20 +00:00
fw-bot 4da5f2eaba [FIX]account_edi_ubl : fix finding of partner using vat identification
closes odoo/odoo#69226

X-original-commit: 66c7ee23320c595e71c1183a3bd439530ace13c9
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2021-04-19 07:35:25 +00:00
Simon Genin (ges)andjeh-odoo 0774459f5d [IMP] web: prepare calendar view to ease modifications
The calendar renderer used a template for events.
Now moved as a configurable template to ease futur calendar changes.

This commit adds also a custom event to the calendar renderer so that custom
implementations have a way to re-render the event items within the calendar
after making internal changes to the event records.

We introduce also a new option for a field "filter_field" which allows to specify
the field of the model in which we will save the status of a filter.

This is preliminary changes in order to make the calendar view able to modify
the attendance status of a meeting and refresh the events to visually display
if the user is attending or not.

Task ID 2196775
COM PR: odoo/odoo#55190
ENT PR: odoo/enterprise#12196
UPG PR: odoo/upgrade#1532

Co-authored-by: Simon Genin (ges) <ges@odoo.com>
Co-authored-by: jeh-odoo <jeh@odoo.com>
2021-04-15 14:05:10 +00:00
Ivan Yelizariev 5ddf7c6fde [IMP] doc: replace pyflame with py-spy
pyflame is archived and not maintained since July 2018
https://github.com/uber-archive/pyflame/commits/master

closes odoo/odoo#69128

X-original-commit: 9864fb6a159f5f145421b4e51b6125e25a69e7c9
Signed-off-by: Adrian Torres (adt) <adt@odoo.com>
Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
2021-04-12 13:51:16 +00:00
emilkholod 3d5101fa18 [CLA] Signature for emilkholod
X-original-commit: 58649ef6ab7476b90c7deb5a9a2acc2553e1bb62
2021-04-11 11:56:14 +00:00
root 905d2963ff [CLA] add CLA for Mainframe Monkey
closes odoo/odoo#68995

X-original-commit: d81973ab79dec066b3b6f98b473e73c6d41f0d34
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-08 15:44:41 +00:00
Leonardo Gavidia fab70f4a09 [CLA] signature for leogavidia
closes odoo/odoo#68948

X-original-commit: 73430f2cf2dd9ffa128ad192dc586cc6e647bccc
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-08 10:35:16 +00:00
Julien Mougenot 3e3dce0eb8 [REF] *: rename assets 'glob' to 'path'
Rationale:
The majority of cases where an ir.asset is manually declared
outside of manifest files is to specifically add a single asset file.
This means developers are specifying a single asset *path*, and not a
glob expression. In this context, it seems better to name the filepath
field `path`, and document that it can be specified with a glob
expression when (seldom) needed, rather than making the exception appear
to be the norm - possibly puzzling many developers (What's a glob and
why do I need one?)

The doc is updated as well, and some spell-checking and wording
improvements were done too.

This required some adaptations to the existing `ir.asset` declarations:
- odoo/enterprise#17465
- odoo/design-themes#459

closes odoo/odoo#68695

Related: odoo/upgrade#2348
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2021-04-07 20:39:10 +00:00
Andres Calle 7f62aae8ee [CLA] corporate signature for trescloud
closes odoo/odoo#68752

X-original-commit: 3de6216b5bb0fd423faf5c40a3e9811a1ffc9d42
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2021-04-03 10:18:26 +00:00
27166ff9df [REM] web_editor, website: remove Summernote wysiwyg rte library
Co-authored-by: David Monjoie <dmo@odoo.com>
Co-authored-by: Antoine Guenet <age@odoo.com>
Co-authored-by: Nicolas Bayet <nby@odoo.com>
Co-authored-by: Sébastien Geelen <sge@odoo.com>
Co-authored-by: Emilien Durieu <edu@odoo.com>
2021-04-01 12:49:47 +00:00
Tymoteusz Motylewski f1ea45c402 [IMP] doc: add missing command line options
- fixes some typos
- adds command parameters which are present when running odo-bin --help
- updates some descriptions, e.g. regarding configuration file and data-dir

closes odoo/odoo#67778

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-01 15:48:47 +00:00
Julien Mougenot 38561b9c97 [FIX] doc: Clean Assets Management documentation
A few changes to the layout and texts of the "Assets Management" part of
the javascript reference documentation.

closes odoo/odoo#68649

Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-04-01 13:53:44 +00:00
8cc066173d [IMP] *: Improve assets management
This commit changes the way assets are declared in Odoo modules.

Before: assets were declared in template files. Template bundles were
generated from primary templates, so technically any qweb template could
have been called as an asset bundle, with the 't-call-assets' directive.

Being standard qweb templates, they had access to standard HTML tags
(script, link, with or without raw scripts or style definition), qweb
directives (t-call, t-raw, etc.) and could be inherited by other
templates.

Now: assets are defined in the module's manifest and generated by the
't-call-assets' directive.

More information on the new system can be found on the updated user
documentation (see the "JavaScript Reference" section).

Task: 2352566

Co-authored-by: Bruno Boi <boi@odoo.com>
Co-authored-by: Julien Mougenot <jum@odoo.com>
Co-authored-by: Lucas Perais <lpe@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Co-authored-by: Raphael Collet <rco@odoo.com>
Co-authored-by: Simon Genin <ges@odoo.com>
2021-03-31 13:57:17 +02:00
Khalid El Haji 5dee24c670 [CLA] signature for khalidelhaji
closes odoo/odoo#68558

X-original-commit: 610e1cea4b158c9fa28e63ab33cf7c7fa76873bf
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-03-30 16:40:03 +00:00
Qaidjohar 163f7acb2c [CLA] signature for QaidjoharBarbhaya
closes odoo/odoo#68551

X-original-commit: 6fa6d67531408ce51a3a762575f5c576fe916866
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-03-30 13:21:14 +00:00
Ossi Mantylahti 5d250cdef3 [CLA] signature for ossimantylahti
closes odoo/odoo#68544

X-original-commit: f9cdaa3deef305ce45aba7e9102ac23ef6f5fac1
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-03-30 12:37:21 +00:00
Bilal el Attar ef9431aae5 [CLA] Signature for bilalattar
closes odoo/odoo#68531

X-original-commit: a281aafecb043fb935b69f2f7f2c13fdf41cae62
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-03-30 09:58:23 +00:00