diff options
| author | Katherine Zaoral <kz@adhoc.com.ar> | 2020-01-23 21:02:35 +0000 |
|---|---|---|
| committer | Katherine Zaoral <kz@adhoc.com.ar> | 2020-01-31 19:17:29 +0000 |
| commit | a2af0ea898ab76d4a3057d6f921d23b89cb6ec25 (patch) | |
| tree | c2a56c78e8de40d464d1043434f5f84958864f8e /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f4026cb2d1f8589135fce1156dbd74c57843a44a (diff) | |
[IMP] l10n_ar: extend constraint on pos number to ensure max 5 digits
Before this change we were letting the user to create a journal with a
AFIP POS Number they like, and where they try to post an invoice in that
jounrals they receive an error message telling that the document has not
valid POS Number.
In order to avoid this we add as part of the constraint where we check
the validity of the AFIP POS Number which is: should be greater that 0,
and should be 5 digits max.
closes odoo/odoo#44433
X-original-commit: 3e991fb4ceb02eeb41ed6579ac409f9595663c41
Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
