Dolibarr ERP & CRM » Bugs » bug #1221 Cannot withdraw invoice when PRELEVEMENT_CODE_BANQUE or PRELEVEMENT_CODE_GUICHET are equal to 0001Snapshot Details |
Submitted by: | Javier J. Tallón Guerri (javitallon) | | Submitted on: | 2014-01-22 18:35 |
Last Modified On: | 2014-01-22 18:35 | |
Summary: | Cannot withdraw invoice when PRELEVEMENT_CODE_BANQUE or PRELEVEMENT_CODE_GUICHET are equal to 0001 |
Description: | If you try to withdraw invoices when PRELEVEMENT_CODE_BANQUE or PRELEVEMENT_CODE_GUICHET are equal to 0001 the system gives the error NoInvoiceCouldBeWithdrawed |
Step to reproduce bug: | The withdraw module is activated and configured. The spanish esEAB module is activated and configured (although not related).
The widhdraw account should have a bank code of 0001.
Create a new invoice and withdraw it. Go to bank new withdraw and push the withdraw all button.
The problem seems to be in the bonprelevement class, line 767 and 768. I think == should be ===...
|
Detected in version: | 3.4.1 | | Category: | Module: Accounting |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Open | | Assigned to: | None |
Resolution: | None | |
Answer now
|
|