[FIX] account: Fix wrong attrs
Fix wrong attrs introduced by: https://github.com/odoo/odoo/commit/ef9e266c86cbc4abc24e2a6f597a2014e6e3439a Comparing a Many2one with True is wrong. closes odoo/odoo#125443 X-original-commit: 21fb1869e42874667bc369688af4185e7cf3ec12 Signed-off-by: John Laterre (jol) <jol@odoo.com> Signed-off-by: Laurent Smet <las@odoo.com>
This commit is contained in:
@@ -582,7 +582,7 @@
|
||||
<button name="action_invoice_sent"
|
||||
type="object"
|
||||
string="Send & Print"
|
||||
attrs="{'invisible':['|', '|', ('state', '!=', 'posted'), ('invoice_pdf_report_id', '=', True), ('move_type', 'not in', ('out_invoice', 'out_refund'))]}"
|
||||
attrs="{'invisible':['|', '|', ('state', '!=', 'posted'), ('invoice_pdf_report_id', '!=', False), ('move_type', 'not in', ('out_invoice', 'out_refund'))]}"
|
||||
class="oe_highlight"
|
||||
data-hotkey="y"/>
|
||||
<button name="action_invoice_sent"
|
||||
|
||||
Reference in New Issue
Block a user