diff --git a/views/account_invoice.xml b/views/account_invoice.xml index ce763ecc15b2669690f2be7683dcfae345c770db..69e2f1dfe6656ba2d460d27a319916ea30f84804 100644 --- a/views/account_invoice.xml +++ b/views/account_invoice.xml @@ -32,7 +32,7 @@ <field name="res_model">account.invoice</field> <field name="view_mode">tree,form,kanban,calendar,graph,pivot</field> <field name="domain" eval="[('type','in', ['out_invoice', 'out_refund']), ('is_contribution', '!=', False)]"/> - <field name="context" eval="{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale', 'default_is_contribution': True,}"/> + <field name="context" eval="{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale', 'default_is_contribution': True, 'create': False,}"/> <field name="search_view_id" ref="account.view_account_invoice_filter"/> </record> <record id="action_invoice_scop_cotisation_view1" model="ir.actions.act_window.view">