Synchro Stock Kits

c27624d20240209150414

New

Stock synchronisation for composed products (kits) and force awp to 0 for those virtual products.

More details


19,92 €

More info

Synchro-Stock-Kits POUR [DOLIBARR ERP CRM](https://www.dolibarr.org)

Description

Automatic calculation of the stock of a kit regarding the children actual stock.

This module enhance the native function of product Kits to allow incrementation and decrementation of children stocks when the stock of a parent is changed. Now we manage also the stock of the parent when children stock has changed.

Minimum version of Dolibarr : V 19.0.0

For older versions, please refer to install part

Two main features : 

- Synchro father stocks (default : enabled) :

- Each stock move of a child product triggers the sync.

- When a kit comopsition is updated

- Disable the transfer and correct stock for kits

- AWP = 0 (default : enabled):

- Cause the AWP to be always set to 0 (in order to avoid double counting for stock value) 


Langues

- Français
- Anglais

Module version: auto

Publisher/Licence: Le Temple du Jeu / GPL-v3
User interface language: English / French
Help/Support: [email protected]

Prerequisites:

  • Dolibarr min version: auto
  • Dolibarr max version: auto

Install (For Dolibarr v19+):

  • Go into menu Home - Setup - Modules - Deploy an external module and submit the zip file
  • Module or skin is then available and can be activated.

(Only if you know what you're doing)
Advanced Installation for Dolibarr v16+ (Warning, upgrading Dolibarr to

Modify manually this file : htdocs/product/composition/card.php

and add this part


// ALREADY THERE near line 88
/*
* Actions
*/
if ($cancel) {
$action = '';
}
// PART TO ADD (added on 19.0+ official versions)
$reshook = $hookmanager->executeHooks('doActions', [], $object, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}