diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-04-07 17:23:46 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-05-16 15:23:14 +0200 |
| commit | f9a8c53e485445bc8e3474eb3978b0f83d5645c7 (patch) | |
| tree | 7a1d256b33a6c1dcd9284fdf67240ccb336ce821 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 0a523a16cd21eec7e6fc713e8d1e6901da89250b (diff) | |
[REF] website_sale(_delivery): correctly set data processing methods for payment in controllers instead of model
Currently /shop/payment controller perform some data processing. It calls
model methods _get_errors and _get_website_data that are defined on sale
order model only to be inherited in website_sale_delivery.
This commit proposes instead to have a data processing method in sale
controllers that is inherited in website_sale_delivery. There is no need
to have model methods only to format data.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
