Dolibarr ERP & CRM » Bugs » bug #846
Create a supplier invoice (without project)Latest modifications
Answer now
Snapshot Details |
Submitted by: | David A. G. (braito) | | Submitted on: | 2013-04-23 16:58 |
Last Modified On: | 2013-04-26 06:34 | |
Summary: | Create a supplier invoice (without project) |
Description: | This is the error in dolibarr:
Cannot add or update a child row: a foreign key constraint fails (`dolibarr`.`llx_facture_fourn`, CONSTRAINT `fk_facture_fourn_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`))
And this in the log:
INSERT INTO llx_facture_fourn (ref, ref_supplier, entity, libelle, fk_soc, datec, datef, fk_projet, note_private, note_public, fk_user_author, date_lim_reglement) VALUES ('(PROV)', 'a', 1, '', 393, '20130423163618', '20130423120000', 0, '', '', 2,null) DB_ERROR_1452
Also, I tried add a project, and it worked (after that I unlist the project) |
Step to reproduce bug: | |
Version: | develop | | Category: | Module: Projects |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Closed | | Assigned to: | Marcos García (marcosgdf) |
Resolution: | Fixed | |
Comments- Marcos GarcĂa 2013-04-26 06:33
- The bug has been corrected. Pull request send inside GIT sources
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch.
|
|
Open→ Closed