Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
- Correction d'une synchro du site vers dolibarr de produit avec crea…
Browse files Browse the repository at this point in the history
…tion lorsque le codebare est obligatoire, il est generé maintenant automatiquement
  • Loading branch information
kkhelifa-opendsi committed Aug 14, 2024
1 parent ccce2ba commit 73ce352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [14.0.8] - 14-08-2024
- Correction du nettoyage des id distants en doublons par site
- Precision lors d'un message d'erreur lors de la synchro des categories
- Correction d'une synchro du site vers dolibarr de produit avec creation lorsque le codebare est obligatoire, il est generé maintenant automatiquement

## [14.0.7] - 01-08-2024
- Correction de la synchro des modes de paiements
Expand Down
1 change: 1 addition & 0 deletions class/business/eCommerceSynchro.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3526,6 +3526,7 @@ public function synchronizeProduct($product_data, $object_origin = null)
$product->accountancy_code_buy_intra = isset($this->eCommerceSite->parameters['default_account']['accounting_service_buy_intra_account']) ? $this->eCommerceSite->parameters['default_account']['accounting_service_buy_intra_account'] : $conf->global->ACCOUNTING_SERVICE_BUY_INTRA_ACCOUNT;
$product->accountancy_code_buy_export = isset($this->eCommerceSite->parameters['default_account']['accounting_service_buy_export_account']) ? $this->eCommerceSite->parameters['default_account']['accounting_service_buy_export_account'] : $conf->global->ACCOUNTING_SERVICE_BUY_EXPORT_ACCOUNT;
}
$product->barcode = -1;

$product->error = '';
$product->errors = array();
Expand Down

0 comments on commit 73ce352

Please sign in to comment.