diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-09-27 12:09:20 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-27 13:47:07 +0200 |
| commit | c952e1fc55e6b2dfae948a92f191fba9537519d5 (patch) | |
| tree | dd424b4319e4ee172fdcbee78940b22963e257d4 /addons/mail/wizard/mail_compose_message.py | |
| parent | 6490bdc26323423c9a6b3fe11ea362401c5c0ba9 (diff) | |
[FIX] website_sale: fix shop list view publish buttons
Publish buttons appeared in list view item in /shop with commit
5a5dd1e100bb2e5bc2a6e215a963322bbfbe98b1.
They however never worked for some reasons:
* The publish buttons were unclickable as the around style was badly
implemented: the section title was over the publish button
* Even if it was clickable, the publish button handler had no prevent
default, thus it submitted the form it is in -> crash when no cart
button or added to cart on click on publish button if there was a cart
button...
Note: the style should be reviewed in next versions, this commit, as
a 9.0 fix, fixes the style with the minimum code and so that it does
not break any theme.
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
0 files changed, 0 insertions, 0 deletions
