Dolibarr ERP & CRM » Bugs » bug #1221 Cannot withdraw invoice when PRELEVEMENT_CODE_BANQUE or PRELEVEMENT_CODE_GUICHET are equal to 0001Latest modifications
Answer now
Snapshot Details |
Last Modified On: | 2014-01-22 18:35 | | Submitted by: | Javier J. Tallón Guerri (javitallon) |
Submitted 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: | Fixed | |
Comments- Laurent Destailleur 2014-02-08 02:52
- The bug has been corrected inside GIT sources
(http://www.github.com/Dolibarr/dolibarr).
So fix should be available with next stable release. |
|
(http://www.github.com/Dolibarr/dolibarr).
So fix should be available with next stable release.
None→ Fixed