[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-git] [Dolibarr/dolibarr] 80a442: Fix value cond_reglement_id &
From: |
Laurent Destailleur |
Subject: |
[Dolibarr-git] [Dolibarr/dolibarr] 80a442: Fix value cond_reglement_id & mode_reglement_id |
Date: |
Wed, 11 Apr 2018 08:30:02 -0700 |
Branch: refs/heads/develop
Home: https://github.com/Dolibarr/dolibarr
Commit: 80a4428955b3c3fb27352c6a2b435b987aaf51ce
https://github.com/Dolibarr/dolibarr/commit/80a4428955b3c3fb27352c6a2b435b987aaf51ce
Author: Gildas Rossignon <address@hidden>
Date: 2018-04-10 (Tue, 10 Apr 2018)
Changed paths:
M htdocs/supplier_proposal/class/supplier_proposal.class.php
Log Message:
-----------
Fix value cond_reglement_id & mode_reglement_id
I had a bug when trying to create a supplier proposal by this way :
$fournisseur = new Societe($db);
$fournisseur->fetch(1);
$supplierproposal = new SupplierProposal($db, $fournisseur->id);
if ($supplierproposal->create($user) < 1) {
echo $supplierproposal->error . '<br/><br/>';
echo $db->lastquery;
}
This would generate an insert query with an empty value :
INSERT INTO llx_supplier_proposal (fk_soc, price, remise, remise_percent,
remise_absolue, tva, total, datec, ref, fk_user_author, note_private,
note_public, model_pdf, fk_cond_reglement, fk_mode_reglement, fk_account,
date_livraison, fk_shipping_method, fk_projet, entity, fk_multicurrency,
multicurrency_code, multicurrency_tx) VALUES (1, 0, 0, null, null, 0, 0,
'2018-04-10 23:01:52', '(PROV)', '1', '', '', '', , , NULL, null, NULL, null,
1, 0, 'EUR', 1)
Commit: 9634f4c82a79f8f21ef90ee18f54aa181be4f163
https://github.com/Dolibarr/dolibarr/commit/9634f4c82a79f8f21ef90ee18f54aa181be4f163
Author: Laurent Destailleur <address@hidden>
Date: 2018-04-11 (Wed, 11 Apr 2018)
Changed paths:
M htdocs/supplier_proposal/class/supplier_proposal.class.php
Log Message:
-----------
Update supplier_proposal.class.php
Commit: e71ea882b360d40a8907883af2829b89d01aeeb1
https://github.com/Dolibarr/dolibarr/commit/e71ea882b360d40a8907883af2829b89d01aeeb1
Author: Laurent Destailleur <address@hidden>
Date: 2018-04-11 (Wed, 11 Apr 2018)
Changed paths:
M htdocs/supplier_proposal/class/supplier_proposal.class.php
Log Message:
-----------
Merge pull request #8556 from sadlig/develop
Fix value cond_reglement_id & mode_reglement_id
Compare:
https://github.com/Dolibarr/dolibarr/compare/693f0da2a6ae...e71ea882b360
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-git] [Dolibarr/dolibarr] 80a442: Fix value cond_reglement_id & mode_reglement_id,
Laurent Destailleur <=