diff options
| author | qsm-odoo <qsm@odoo.com> | 2015-07-28 16:25:04 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2015-07-29 15:00:07 +0200 |
| commit | ca6064f1557d1f216479c6393e60084bcc9ebc7d (patch) | |
| tree | aba1d285bbebee288f735bf28b9e0ab2498a39c4 /addons/google_calendar/views | |
| parent | 82e166bb6fbd63635b7a1cf98f26b98274c9e076 (diff) | |
[FIX] google_calendar: Refresh code
- Google sync was dropped with new design
- Use new API alert/confirm dialogs
- The user was able to click on the button... by clicking next to it
(remove the button template, create it in JS)
- Fix some exceptions in routes
- Convert CSS to LESS
- Update google tutorial
(google_calendar module needs some improvments, especially to give
meaningful error messages to the user when the google server sends
back errors)
Diffstat (limited to 'addons/google_calendar/views')
| -rw-r--r-- | addons/google_calendar/views/google_calendar.xml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/addons/google_calendar/views/google_calendar.xml b/addons/google_calendar/views/google_calendar.xml index 430e8bd48d5..f258b8f0c5c 100644 --- a/addons/google_calendar/views/google_calendar.xml +++ b/addons/google_calendar/views/google_calendar.xml @@ -1,11 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> -<openerp> - <data> - <template id="assets_backend" name="google_calendar assets" inherit_id="web.assets_backend"> - <xpath expr="." position="inside"> - <link rel="stylesheet" href="/google_calendar/static/src/css/google_calendar.css"/> - <script type="text/javascript" src="/google_calendar/static/src/js/calendar_sync.js"></script> - </xpath> - </template> - </data> -</openerp> +<odoo> + <template id="assets_backend" name="google_calendar assets" inherit_id="web.assets_backend"> + <xpath expr="." position="inside"> + <link rel="stylesheet" href="/google_calendar/static/src/less/google_calendar.less"/> + <script type="text/javascript" src="/google_calendar/static/src/js/calendar_sync.js"></script> + </xpath> + </template> +</odoo> |
