diff options
| author | Denis Ledoux <dle@odoo.com> | 2018-06-22 15:23:53 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2018-06-22 15:36:28 +0200 |
| commit | 6edf49e36f09c01c61a1dbdb878c5faabf0aef3f (patch) | |
| tree | 98a7d9675146455c9fd8744a866d57c04089a02a /addons/base_setup | |
| parent | cb047ae69def37ebc9208454b73ebd0ac77609ef (diff) | |
[IMP] ir_qweb: provide a clean way to ovverride the AssetsBundle to use
This revision follows revisions
- 9cd982bcc811cacb42f5c08db139043d2734b891
- df4072b0b493000ccfa4e453d785bcea27659e5c
We noticed modules implementing multi-websites features
override `_get_asset` to be able to provide their
own overriden `AssetsBunble` class.
Private methods are meant for internal usage of the code/module,
overriding is never a good idea given the fact their signature
can change. As this is the case in commit
9cd982bcc811cacb42f5c08db139043d2734b891.
That said, we understand their was no other way to go.
We therefore decide to provide one,
by adding a method that can be overriden to pass
their own AssetsBunble class instance.
opw-1860136
Diffstat (limited to 'addons/base_setup')
0 files changed, 0 insertions, 0 deletions
