[FIX] account: Send&Print from list view
Task 2333152 The call to `ref` can not be done in py.js, it needs to be evaluated before, when creating the action. closes odoo/odoo#57770 X-original-commit: 1e9ddfbf9dbc8bbe86e3ebc183d5936b146cdf14 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com> Signed-off-by: wan <william-andre@users.noreply.github.com>
This commit is contained in:
@@ -80,10 +80,10 @@
|
||||
<field name="res_model">account.invoice.send</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="context">{
|
||||
<field name="context" eval="{
|
||||
'default_template_id': ref('account.email_template_edi_invoice'),
|
||||
'mark_invoice_as_sent': True,
|
||||
}</field>
|
||||
}"/>
|
||||
<field name="binding_model_id" ref="model_account_move"/>
|
||||
<field name="binding_view_types">list</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user