diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-05-07 13:39:40 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-05-07 13:39:40 +0200 |
| commit | 5bfc8cdfdc7afc32e66c9741bf88997a9c3289cb (patch) | |
| tree | f72a49c22e92f3069a63f25f35d63dbae85428cc /addons/website/static/src/js/website.editor.js | |
| parent | 883f695b6794e3b5ce6f938b4e04e4de45090a07 (diff) | |
| parent | 95ba80f174a71cbf14b1d94f1c02527fe8d04a9f (diff) | |
[FIX] warning: make blocking warning actually doing something (opw 607380)
Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way to forbid creating a record that uses this partner/product but it is not possible to select it through the web interface.
bzr revid: mat@openerp.com-20140507113940-d8iynfl1lcskht63
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
0 files changed, 0 insertions, 0 deletions
