mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG]web_m2x_options: Migration to 17.0
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<templates xml:space="preserve">
|
||||
|
||||
|
||||
<t
|
||||
t-name="web_m2x_options.AutoComplete"
|
||||
t-inherit="web.AutoComplete"
|
||||
@@ -15,32 +14,17 @@
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t
|
||||
<t
|
||||
t-name="web_m2x_options.Many2ManyTagsField"
|
||||
t-inherit="web.Many2ManyTagsField"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath expr="//Many2XAutocomplete" position="attributes">
|
||||
<attribute name="nodeOptions">props.nodeOptions</attribute>
|
||||
<attribute name="searchLimit">props.searchLimit</attribute>
|
||||
<attribute name="fieldColor">props.fieldColor</attribute>
|
||||
<attribute name="fieldColorOptions">props.fieldColorOptions</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
<t t-name="web_m2x_options.Many2OneField.CreateConfirmationDialog" owl="1">
|
||||
<Dialog title="title" size="'md'">
|
||||
<div>
|
||||
You are creating a new <strong t-esc="props.value" /> as a new <t
|
||||
t-esc="props.name"
|
||||
/>, are you sure it does not exist yet?
|
||||
</div>
|
||||
<t t-set-slot="footer">
|
||||
<button class="btn btn-primary" t-on-click="onCreate">Create</button>
|
||||
<button
|
||||
class="btn btn-primary"
|
||||
t-on-click="onCreateEdit"
|
||||
>Create and Edit</button>
|
||||
<button class="btn" t-on-click="() => props.close()">Discard</button>
|
||||
</t>
|
||||
</Dialog>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user