diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-12-21 17:43:35 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-12-21 17:43:35 +0100 |
| commit | 5727e989c5a75df304ed86fb6705f0062445cb1a (patch) | |
| tree | 0711fac8e2aa50fcbc01e27e4e38b3d86285630e /addons/web/static/src/xml/base.xml | |
| parent | 96dbcce7ce678c38a62f8e31ecda695c4ad14e65 (diff) | |
[ADD] Add 'Create' button in o2m's formviews
bzr revid: fme@openerp.com-20111221164335-vy7zh9w3b7l1b0pa
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 7fcee86537e..20664ad082a 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -713,6 +713,11 @@ </div> <t t-raw="frame.render()"/> </t> +<t t-name="One2Many.formview" t-extend="FormView"> + <t t-jquery=".oe_form_buttons" t-operation="replace"> + <button type="button" class="oe_button oe_form_button_create">Create</button> + </t> +</t> <t t-name="PageView" t-extend="FormView"> <t t-jquery=".oe_form_buttons" t-operation="inner"> <button type="button" class="oe_button oe_form_button_edit">Edit</button> |
