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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
e824078f
Commit
e824078f
authored
Sep 8, 2010
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Doc
parent
c42b7b7b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/install/mysql/tables/llx_product.sql
+9
-9
9 additions, 9 deletions
htdocs/install/mysql/tables/llx_product.sql
with
9 additions
and
9 deletions
htdocs/install/mysql/tables/llx_product.sql
+
9
−
9
View file @
e824078f
...
@@ -26,10 +26,10 @@ create table llx_product
...
@@ -26,10 +26,10 @@ create table llx_product
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
datec
datetime
,
datec
datetime
,
tms
timestamp
,
tms
timestamp
,
virtual
tinyint
DEFAULT
0
NOT
NULL
,
--
v
alue 0 for physical product, 1 for virtual product
virtual
tinyint
DEFAULT
0
NOT
NULL
,
--
Not used. Used by external modules. V
alue 0 for physical product, 1 for virtual product
fk_parent
integer
DEFAULT
0
,
--
v
irtual product id
fk_parent
integer
DEFAULT
0
,
--
Not used. Used by external modules. V
irtual product id
ref
varchar
(
32
)
NOT
NULL
,
ref
varchar
(
32
)
NOT
NULL
,
entity
integer
DEFAULT
1
NOT
NULL
,
--
m
ulti company id
entity
integer
DEFAULT
1
NOT
NULL
,
--
M
ulti company id
label
varchar
(
255
)
NOT
NULL
,
label
varchar
(
255
)
NOT
NULL
,
description
text
,
description
text
,
note
text
,
note
text
,
...
@@ -39,7 +39,7 @@ create table llx_product
...
@@ -39,7 +39,7 @@ create table llx_product
price_min_ttc
double
(
24
,
8
)
DEFAULT
0
,
price_min_ttc
double
(
24
,
8
)
DEFAULT
0
,
price_base_type
varchar
(
3
)
DEFAULT
'HT'
,
price_base_type
varchar
(
3
)
DEFAULT
'HT'
,
tva_tx
double
(
6
,
3
),
tva_tx
double
(
6
,
3
),
recuperableonly
integer
NOT
NULL
DEFAULT
'0'
,
-- Fr
a
nch NPR VAT
recuperableonly
integer
NOT
NULL
DEFAULT
'0'
,
-- Fr
e
nch NPR VAT
localtax1_tx
double
(
6
,
3
)
DEFAULT
0
,
-- Spanish local VAT 1
localtax1_tx
double
(
6
,
3
)
DEFAULT
0
,
-- Spanish local VAT 1
localtax2_tx
double
(
6
,
3
)
DEFAULT
0
,
-- Spanish local VAT 2
localtax2_tx
double
(
6
,
3
)
DEFAULT
0
,
-- Spanish local VAT 2
fk_user_author
integer
,
fk_user_author
integer
,
...
@@ -50,9 +50,9 @@ create table llx_product
...
@@ -50,9 +50,9 @@ create table llx_product
seuil_stock_alerte
integer
DEFAULT
0
,
seuil_stock_alerte
integer
DEFAULT
0
,
barcode
varchar
(
255
)
DEFAULT
NULL
,
barcode
varchar
(
255
)
DEFAULT
NULL
,
fk_barcode_type
integer
DEFAULT
0
,
fk_barcode_type
integer
DEFAULT
0
,
accountancy_code_sell
varchar
(
15
),
--
code compta vent
e
accountancy_code_sell
varchar
(
15
),
--
Selling accountancy cod
e
accountancy_code_buy
varchar
(
15
),
--
code compta achat
accountancy_code_buy
varchar
(
15
),
--
Buying accountancy code
partnumber
varchar
(
32
),
partnumber
varchar
(
32
),
-- Not used. Used by external modules.
weight
float
DEFAULT
NULL
,
weight
float
DEFAULT
NULL
,
weight_units
tinyint
DEFAULT
NULL
,
weight_units
tinyint
DEFAULT
NULL
,
length
float
DEFAULT
NULL
,
length
float
DEFAULT
NULL
,
...
@@ -61,10 +61,10 @@ create table llx_product
...
@@ -61,10 +61,10 @@ create table llx_product
surface_units
tinyint
DEFAULT
NULL
,
surface_units
tinyint
DEFAULT
NULL
,
volume
float
DEFAULT
NULL
,
volume
float
DEFAULT
NULL
,
volume_units
tinyint
DEFAULT
NULL
,
volume_units
tinyint
DEFAULT
NULL
,
stock
integer
,
-- physical stock
stock
integer
,
--
Current
physical stock
(dernormalized field)
pmp
double
(
24
,
8
)
DEFAULT
0
NOT
NULL
,
pmp
double
(
24
,
8
)
DEFAULT
0
NOT
NULL
,
canvas
varchar
(
32
)
DEFAULT
'default@product'
,
canvas
varchar
(
32
)
DEFAULT
'default@product'
,
finished
tinyint
DEFAULT
NULL
,
finished
tinyint
DEFAULT
NULL
,
hidden
tinyint
DEFAULT
0
,
-- Need permission see also hidden products
hidden
tinyint
DEFAULT
0
,
-- Need permission see also hidden products
import_key
varchar
(
14
)
--
i
mport key
import_key
varchar
(
14
)
--
I
mport key
)
type
=
innodb
;
)
type
=
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