[FIX] l10n_ar_account: proper compare document numbers in vendor bills
When creating vendor bills, it was considering this two numbers as different but actually are the same invoice number
* 01234-00000001
+ 1234-00000001
To avoid this we remove the zero to the left always if the pos number > 4.
closes odoo/odoo#41196
Signed-off-by:
Josse Colpaert <jco@openerp.com>
Please register or sign in to comment