diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2019-12-10 15:35:21 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2019-12-12 09:00:18 +0000 |
| commit | c8e862249eba4b5f6cc9c3ac89167aec494c44f4 (patch) | |
| tree | 4058329084564c1de4895fc66961f7f97ae894ce /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 513f8e134e4d72505b93d47e0d97635816dc4850 (diff) | |
[IMP] account_check_printing: store check number also as int
Go to Accounting > Vendor Bill, pay via check, view the invoice and
click on 'Print Check'. The widget will popup but as the 'next check
number' will always display 1.
This append because the model of account_payment has changed
https://github.com/odoo/odoo/blob/13.0/addons/account_check_printing/models/account_payment.py#L28
and now check_number is a char so it will not sorted correcly by the
database.
To avoid doing a lot of strings manipulation it is convenient to
store the check number as integer, with proper default case
Followup of opw 2151242
closes odoo/odoo#41659
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
