Skip to content

Commit

Permalink
Merge pull request #591 from LasLabs/bugfix/10.0/change-edit-accesskey
Browse files Browse the repository at this point in the history
[FIX] web_responsive: Change edit accesskey
  • Loading branch information
pedrobaeza committed Mar 28, 2017
2 parents 7e79fdb + 422ab5d commit 3edd9f8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web_responsive/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2016 LasLabs Inc.
# Copyright 2016-2017 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

{
Expand All @@ -19,4 +19,7 @@
'views/assets.xml',
'views/web.xml',
],
'qweb': [
'static/src/xml/form_view.xml',
],
}
15 changes: 15 additions & 0 deletions web_responsive/static/src/xml/form_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 LasLabs Inc.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
-->

<templates id="form_view" xml:space="preserve">

<t t-extend="FormView.buttons">
<t t-jquery="button[accesskey='a']" t-operation="attributes">
<attribute name="accesskey">e</attribute>
</t>
</t>

</templates>

0 comments on commit 3edd9f8

Please sign in to comment.