FIX_next_situation_keep_extrafields
This commit is contained in:
parent
f3ceedfe38
commit
29a4900d0b
@ -749,6 +749,10 @@ class Facture extends CommonInvoice
|
|||||||
// Charge facture source
|
// Charge facture source
|
||||||
$facture=new Facture($this->db);
|
$facture=new Facture($this->db);
|
||||||
|
|
||||||
|
foreach($this->lines as $line){
|
||||||
|
$line->fetch_optionals();//fetch extrafields
|
||||||
|
}
|
||||||
|
|
||||||
$facture->fk_facture_source = $this->fk_facture_source;
|
$facture->fk_facture_source = $this->fk_facture_source;
|
||||||
$facture->type = $this->type;
|
$facture->type = $this->type;
|
||||||
$facture->socid = $this->socid;
|
$facture->socid = $this->socid;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user