mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
fix: if field is boolean in filedsarray, it bus be boolean as datatype fog PgSQL (#26335)
This commit is contained in:
@@ -43,13 +43,13 @@ CREATE TABLE llx_asset(
|
||||
acquisition_type smallint DEFAULT 0 NOT NULL,
|
||||
asset_type smallint DEFAULT 0 NOT NULL,
|
||||
|
||||
not_depreciated integer DEFAULT 0,
|
||||
not_depreciated boolean DEFAULT false,
|
||||
|
||||
disposal_date date,
|
||||
disposal_amount_ht double(24,8),
|
||||
fk_disposal_type integer,
|
||||
disposal_depreciated integer DEFAULT 0,
|
||||
disposal_subject_to_vat integer DEFAULT 0,
|
||||
disposal_depreciated boolean DEFAULT false,
|
||||
disposal_subject_to_vat boolean DEFAULT false,
|
||||
|
||||
note_public text,
|
||||
note_private text,
|
||||
|
||||
@@ -27,7 +27,7 @@ CREATE TABLE llx_asset_depreciation_options_economic(
|
||||
fk_asset_model integer,
|
||||
|
||||
depreciation_type smallint DEFAULT 0 NOT NULL, -- 0:linear, 1:degressive, 2:exceptional
|
||||
accelerated_depreciation_option integer, -- activate accelerated depreciation mode (fiscal)
|
||||
accelerated_depreciation_option boolean DEFAULT false, -- activate accelerated depreciation mode (fiscal)
|
||||
degressive_coefficient double(24,8),
|
||||
duration smallint NOT NULL,
|
||||
duration_type smallint DEFAULT 0 NOT NULL, -- 0:annual, 1:monthly, 2:daily
|
||||
|
||||
Reference in New Issue
Block a user