[FIX] account: search panel amount domain
In Language settings, change decimal separator to ',' Go to Journal Items In the search bar input '4,50' and search for 'Amount' Error: ValueError: could not convert string to float: '4,50' This occurs becuase when the search component assemble the domain for the orm we use the original string '4,50' and not the parsed value '4.5' opw-3700578 closes odoo/odoo#152075 Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
This commit is contained in:
@@ -317,7 +317,7 @@
|
||||
<field name="date"/>
|
||||
<field name="date_maturity" string="Due Date"/>
|
||||
<field name="discount_date" string="Discount Date"/>
|
||||
<field name="balance" string="Amount" filter_domain="['|', ('credit', '=', self), ('debit', '=', self)]"/>
|
||||
<field name="balance" string="Amount" filter_domain="['|', ('credit', '=', raw_value), ('debit', '=', raw_value)]"/>
|
||||
<field name="account_id"/>
|
||||
<field name="account_type"/>
|
||||
<field name="partner_id"/>
|
||||
|
||||
Reference in New Issue
Block a user