NEW : Added of the field "include_sub_warehouse" in the table "llx_inventory"
This commit is contained in:
parent
3697cb9ca4
commit
7e7638792e
3 changed files with 5 additions and 2 deletions
|
|
@ -237,4 +237,6 @@ ALTER TABLE llx_advtargetemailing RENAME TO llx_mailing_advtarget;
|
|||
|
||||
ALTER TABLE llx_mailing ADD UNIQUE uk_mailing(titre, entity);
|
||||
|
||||
ALTER TABLE llx_inventory ADD COLUMN include_sub_warehouse boolean NOT NULL DEFAULT FALSE;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ CREATE TABLE llx_inventory
|
|||
fk_warehouse integer DEFAULT NULL,
|
||||
fk_product integer DEFAULT NULL,
|
||||
status integer DEFAULT 0,
|
||||
title varchar(255) NOT NULL,
|
||||
title varchar(255) NOT NULL,
|
||||
include_sub_warehouse boolean NOT NULL DEFAULT FALSE,
|
||||
date_inventory datetime DEFAULT NULL,
|
||||
date_validation datetime DEFAULT NULL,
|
||||
import_key varchar(14) -- import key
|
||||
|
|
|
|||
|
|
@ -37,13 +37,13 @@ if (empty($conf) || !is_object($conf)) {
|
|||
|
||||
// Other attributes
|
||||
if (!isset($parameters)) $parameters = array();
|
||||
|
||||
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $movement, $action); // Note that $action and $object may have been modified by hook
|
||||
print $hookmanager->resPrint;
|
||||
if (empty($reshook)) {
|
||||
$params = array();
|
||||
if (isset($tpl_context)) $params['tpl_context'] = $tpl_context;
|
||||
$params['cols'] = $parameters['colspanvalue'];
|
||||
var_dump($movement);
|
||||
print $movement->showOptionals($extrafields, 'create', $params);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue