|
|
@ -1,7 +1,7 @@ |
|
|
|
<templates xml:space="preserve"> |
|
|
|
|
|
|
|
<t t-inherit="web.FormView" t-inherit-mode="extension"> |
|
|
|
<xpath expr="//button[contains(@class, 'o_form_button_create')]" position="after"> |
|
|
|
<xpath expr="//t[@t-if='canCreate']" position="after"> |
|
|
|
<t t-if="!canEdit"> |
|
|
|
<button type="button" class="btn btn-outline-primary o_form_button_edit" t-on-click="edit">Edit</button> |
|
|
|
</t> |
|
|
|