diff options
Diffstat (limited to 'addons/account/static/src/xml/bills_tree_upload_views.xml')
| -rw-r--r-- | addons/account/static/src/xml/bills_tree_upload_views.xml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/addons/account/static/src/xml/bills_tree_upload_views.xml b/addons/account/static/src/xml/bills_tree_upload_views.xml index af9385a5780..93502ee9136 100644 --- a/addons/account/static/src/xml/bills_tree_upload_views.xml +++ b/addons/account/static/src/xml/bills_tree_upload_views.xml @@ -4,6 +4,7 @@ <t t-name="account.BillsHiddenUploadForm"> <div class="d-none o_vendor_bill_upload"> <t t-call="HiddenInputFile"> + <t t-set="multi_upload" t-value="true"/> <t t-set="fileupload_id" t-value="widget.fileUploadID"/> <t t-set="fileupload_action" t-translation="off">/web/binary/upload_attachment</t> <input type="hidden" name="model" t-att-value="'account.move'"/> @@ -19,11 +20,9 @@ r.push(context.engine.tools.call(context, 'ImportView.import_button', dict)); }; </t> - <t t-if="widget.initialState.context.journal_type === 'purchase'"> - <button type="button" class="btn btn-secondary o_button_upload_bill"> - Upload - </button> - </t> + <button type="button" class="btn btn-secondary o_button_upload_bill"> + Upload + </button> </t> </t> -</templates>
\ No newline at end of file +</templates> |
