Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
e9687cbc
Commit
e9687cbc
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix the amount for entry price must use the format dedicated to amount.
parent
7d9856f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/3.7.0-3.8.0.sql
+2
-0
2 additions, 0 deletions
htdocs/install/mysql/migration/3.7.0-3.8.0.sql
htdocs/install/mysql/tables/llx_stock_mouvement.sql
+14
-14
14 additions, 14 deletions
htdocs/install/mysql/tables/llx_stock_mouvement.sql
with
16 additions
and
14 deletions
htdocs/install/mysql/migration/3.7.0-3.8.0.sql
+
2
−
0
View file @
e9687cbc
...
...
@@ -170,8 +170,10 @@ create table llx_bank_account_extrafields
ALTER
TABLE
llx_stock_mouvement
MODIFY
COLUMN
label
varchar
(
255
);
ALTER
TABLE
llx_stock_mouvement
MODIFY
COLUMN
price
double
(
24
,
8
)
DEFAULT
0
;
ALTER
TABLE
llx_stock_mouvement
ADD
COLUMN
inventorycode
varchar
(
128
);
ALTER
TABLE
llx_product_association
ADD
COLUMN
incdec
integer
DEFAULT
1
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_stock_mouvement.sql
+
14
−
14
View file @
e9687cbc
-- ============================================================================
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceofrge.net>
-- Copyright (C) 2003
Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2009
-2015
Laurent Destailleur <eldy@users.sourceofrge.net>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
...
...
@@ -21,18 +21,18 @@ create table llx_stock_mouvement
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
tms
timestamp
,
datem
datetime
,
fk_product
integer
NOT
NULL
,
batch
varchar
(
30
)
DEFAULT
NULL
,
eatby
date
DEFAULT
NULL
,
sellby
date
DEFAULT
NULL
,
fk_entrepot
integer
NOT
NULL
,
value
real
,
price
float
(
13
,
4
)
DEFAULT
0
,
type_mouvement
smallint
,
fk_user_author
integer
,
label
varchar
(
255
),
--
c
omment on movement
inventorycode
varchar
(
128
),
--
c
ode used to group different movement line into one operation (may be an inventory, a mass picking)
datem
datetime
,
-- Date and hour of movement
fk_product
integer
NOT
NULL
,
-- Id of product
batch
varchar
(
30
)
DEFAULT
NULL
,
-- Lot or serial number
eatby
date
DEFAULT
NULL
,
-- Eatby date
sellby
date
DEFAULT
NULL
,
-- Sellby date
fk_entrepot
integer
NOT
NULL
,
-- Id warehouse
value
real
,
-- Qty of movement
price
double
(
24
,
8
)
DEFAULT
0
,
-- Entry price (used to calculate PMP, FIFO or LIFO value)
type_mouvement
smallint
,
-- Type/Direction of movement
fk_user_author
integer
,
-- Id user making movement
label
varchar
(
255
),
--
C
omment on movement
inventorycode
varchar
(
128
),
--
C
ode used to group different movement line into one operation (may be an inventory, a mass picking)
fk_origin
integer
,
origintype
varchar
(
32
)
)
ENGINE
=
innodb
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment