Viewed products
Stock synchronisation for composed...
Cumple con la Ley Antifraude de España con Total Garantía y prepara tu...
c27624d20240209150414
New
Availability date:
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)
- Français
- Anglais
Module version: auto
Publisher/Licence: Le Temple du Jeu / GPL-v3
User interface language: English / French
Help/Support: [email protected]
Prerequisites:
Install (For Dolibarr v19+):
(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');
}