Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG : Not possible to activate ant mask for Payments #17363

Closed
ksar-ksar opened this issue Apr 21, 2021 · 1 comment
Closed

BUG : Not possible to activate ant mask for Payments #17363

ksar-ksar opened this issue Apr 21, 2021 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@ksar-ksar
Copy link
Contributor

ksar-ksar commented Apr 21, 2021

Bug

Not possible to activate ANT mask for Payments.
When you click on the enable switch, the page reload but cicada is still selected.

No error messages displayed or in the log.

Environment

  • Version: 13.0.2
  • PHP: 7.2
  • URL(s): admin/payment.php

image

2021-04-21 14:57:36 INFO --- Access to GET /doli/13/htdocs/admin/payment.php - action=setmo, massaction= NOTOKENRENEWAL=
2021-04-21 14:57:36 DEBUG sql=SELECT transkey, transvalue FROM llx_overwrite_trans where lang='en_US' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2021-04-21 14:57:36 DEBUG sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM llx_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2021-04-21 14:57:36 DEBUG sql=SELECT rowid, title, url, target FROM llx_bookmark WHERE (fk_user = 12 OR fk_user is NULL OR fk_user = 0) AND entity IN (1) ORDER BY position
2021-04-21 14:57:36 DEBUG functions2::get_next_value mode=next
2021-04-21 14:57:36 DEBUG sql=SELECT MAX(SUBSTRING(ref, 4, 4)) as val FROM llx_paiement WHERE ref LIKE 'PAY____' AND ref NOT LIKE '(PROV%)' AND entity IN (1)
2021-04-21 14:57:36 DEBUG functions2::get_next_value return PAY0001
2021-04-21 14:57:36 DEBUG functions2::get_next_value mode=next
2021-04-21 14:57:36 DEBUG sql=SELECT MAX(SUBSTRING(ref, 4, 4)) as val FROM llx_paiement WHERE ref LI...
2021-04-21 14:57:36 DEBUG functions2::get_next_value return PAY0001
2021-04-21 14:57:36 DEBUG sql=SELECT MAX(CAST(SUBSTRING(ref FROM 9) AS SIGNED)) as max FROM llx_paie...
2021-04-21 14:57:36 INFO mod_payment_cicada::getNextValue return PAY2104-0011

@ksar-ksar ksar-ksar added the Bug This is a bug (something does not work as expected) label Apr 21, 2021
@DGNCH
Copy link

DGNCH commented Apr 22, 2021

Dear everyone,

I confirm that the Ant mask cannot be selected for Payments on the following Dolibarr install:
Dolibarr version: 13.0.2
PHP version: 7.3
Language: French
Module: Invoices and Credits (FR: Factures et avoirs)
Tab: Payments (FR: Règlements)
Section: Payments numbering model (FR: Modèle de numérotation des factures et avoirs)
Ant Mask: PAY-DI01CHXX{yyyy}{mm}-{000000@1}

I have two questions (if it is OK to ask them here):

  • Will there be issues (technical, accounting, etc) if I start using Cicada now and then switch to Ant (after the bug is solved) ?
  • When I switch to Ant (after the bug is solved), can the Cicada payments be renamed automatically and without counter issues ?

Thank you very much for all the programming work.

Best regards

DGNCH

ksar-ksar added a commit to ksar-ksar/dolibarr that referenced this issue Apr 22, 2021
@ksar-ksar ksar-ksar mentioned this issue Apr 22, 2021
eldy added a commit that referenced this issue Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants