FIX extrafields for invoice too
This commit is contained in:
parent
29a4900d0b
commit
09a1118036
@ -749,7 +749,12 @@ class Facture extends CommonInvoice
|
||||
// Charge facture source
|
||||
$facture=new Facture($this->db);
|
||||
|
||||
foreach($this->lines as $line){
|
||||
$this->fetch_optionals();
|
||||
if(!empty($this->array_options)){
|
||||
$facture->array_options = $this->array_options;
|
||||
}
|
||||
|
||||
foreach($this->lines as &$line){
|
||||
$line->fetch_optionals();//fetch extrafields
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user