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
b61f7c01
Commit
b61f7c01
authored
7 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into 6.0
parents
9d0cb07f
65ea0fc2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/install/mysql/migration/repair.sql
+8
-0
8 additions, 0 deletions
htdocs/install/mysql/migration/repair.sql
with
8 additions
and
0 deletions
htdocs/install/mysql/migration/repair.sql
+
8
−
0
View file @
b61f7c01
...
...
@@ -327,6 +327,14 @@ DELETE FROM llx_c_shipment_mode where code IN (select code from tmp_c_shipment_m
drop
table
tmp_c_shipment_mode
;
-- Restore id of user on link for payment of expense report
drop
table
tmp_bank_url_expense_user
;
create
table
tmp_bank_url_expense_user
(
select
e
.
fk_user_author
,
bu2
.
fk_bank
from
llx_expensereport
as
e
,
llx_bank_url
as
bu2
where
bu2
.
url_id
=
e
.
rowid
and
bu2
.
type
=
'payment_expensereport'
);
update
llx_bank_url
as
bu
set
url_id
=
(
select
e
.
fk_user_author
from
tmp_bank_url_expense_user
as
e
where
e
.
fk_bank
=
bu
.
fk_bank
)
where
bu
.
url_id
=
0
and
bu
.
type
=
'user'
;
drop
table
tmp_bank_url_expense_user
;
-- Clean product prices
--delete from llx_product_price where date_price between '2017-04-20 06:51:00' and '2017-04-20 06:51:05';
-- Set product prices into llx_product with last price into llx_product_prices
...
...
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