Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
Conflicts: htdocs/compta/facture/card.php
This commit is contained in:
commit
2b317120d3
@ -1208,7 +1208,7 @@ if (empty($reshook))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add link between credit note and origin
|
// Add link between credit note and origin
|
||||||
if (!empty($object->fk_facture_source)) {
|
if (!empty($object->fk_facture_source) && $id > 0) {
|
||||||
$facture_source->fetch($object->fk_facture_source);
|
$facture_source->fetch($object->fk_facture_source);
|
||||||
$facture_source->fetchObjectLinked();
|
$facture_source->fetchObjectLinked();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user