diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-02-22 16:40:42 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-03-17 17:26:38 +0100 |
| commit | 2c904509a359bebeeccce457f0c817fdcf92febd (patch) | |
| tree | 3a596726425ab83da39c7538a3e4c4d67adc2783 /addons/web/static/src/js/framework/session_instance.js | |
| parent | a1339c5aad07fc0cb1cb1fd3efdd36450fd0b8d6 (diff) | |
[IMP] website_sale: cleaning of outdated code
- remove field complete_name
is the same as the ORM field display_name, compute the name_get
- website_publish_button is duplicated
- write outdated, according to TODO (field color already renamed)
- Instead of open_website_url, should use website_publish_button
- styles, style_in_product, attrib_encode: are no longer used in templates
- remove unnecessary rebrowse
This check was added at d3678bf5 either
- to prevent browsing as public user (wrong as always browsed with SUPERUSER_ID)
- to refresh fields of the record (I find your lack of faith in the cache
invalidation distrubing)
- remove get_pricelist method
equivalent to call request.website.get_current_pricelist
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
