mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX Prices didn't update when clone a propale with update prices
This commit is contained in:
parent
f885d1e05b
commit
231fdd50e2
|
|
@ -224,7 +224,7 @@ if (empty($reshook)) {
|
|||
}
|
||||
}
|
||||
|
||||
$result = $object->createFromClone($user, $socid, (GETPOSTISSET('entity') ? GETPOSTINT('entity') : null), (GETPOSTINT('update_prices') ? true : false), (GETPOSTINT('update_desc') ? true : false));
|
||||
$result = $object->createFromClone($user, $socid, (GETPOSTISSET('entity') ? GETPOSTINT('entity') : null), (GETPOSTISSET('update_prices') ? true : false), (GETPOSTISSET('update_desc') ? true : false));
|
||||
if ($result > 0) {
|
||||
$warningMsgLineList = array();
|
||||
// check all product lines are to sell otherwise add a warning message for each product line is not to sell
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user