Update facture.class.php (#32013)

Incoterms and location are missing when invoice is auto gen from an order (when WORKFLOW_ORDER_AUTOCREATE_INVOICE is active for instance)
This commit is contained in:
Quentin-Seekness 2024-11-20 20:50:49 +01:00 committed by GitHub
parent 9f56bfe5b7
commit a9b2e7bde1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1472,6 +1472,8 @@ class Facture extends CommonInvoice
$this->fk_account = $object->fk_account;
$this->cond_reglement_id = $object->cond_reglement_id;
$this->mode_reglement_id = $object->mode_reglement_id;
$this->fk_incoterms = $object->fk_incoterms;
$this->location_incoterms = $object->location_incoterms;
$this->availability_id = $object->availability_id;
$this->demand_reason_id = $object->demand_reason_id;
$this->delivery_date = $object->delivery_date;