mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] float parsing in paypal import
In English version of the files, paypal uses ',' as thousands separator and '.' as decimal separator -> the previous code would populate the bank statement with wrong values without complaining. We fix this by allowing to configure the separators in the paypal map.
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="paypal_map" model="account.bank.statement.import.paypal.map">
|
||||
<field name="name">Paypal Monthly Statement</field>
|
||||
<field name="name">Paypal Monthly Statement</field>
|
||||
<field name="float_thousands_sep">comma</field>
|
||||
<field name="float_decimal_sep">dot</field>
|
||||
</record>
|
||||
|
||||
<record id="paypal_map_line_date" model="account.bank.statement.import.paypal.map.line">
|
||||
|
||||
Reference in New Issue
Block a user