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
99a28a9d
Commit
99a28a9d
authored
9 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Patches
Plain Diff
Fix Travis error introduced in commit '
236ecf01
'
parent
a5d7c303
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/product/stock/replenish.php
+3
-2
3 additions, 2 deletions
htdocs/product/stock/replenish.php
with
3 additions
and
2 deletions
htdocs/product/stock/replenish.php
+
3
−
2
View file @
99a28a9d
<?php
<?php
/* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
/* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
* Copyright (C) 2013-201
5
Laurent Destaileur <ely@users.sourceforge.net>
* Copyright (C) 2013-201
6
Laurent Destaileur <ely@users.sourceforge.net>
* Copyright (C) 2014 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2014 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es>
*
*
* This program is free software: you can redistribute it and/or modify
* 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
* it under the terms of the GNU General Public License as published by
...
@@ -73,7 +74,7 @@ if (!$sortorder) {
...
@@ -73,7 +74,7 @@ if (!$sortorder) {
$virtualdiffersfromphysical
=
0
;
$virtualdiffersfromphysical
=
0
;
if
(
!
empty
(
$conf
->
global
->
STOCK_CALCULATE_ON_SHIPMENT
)
if
(
!
empty
(
$conf
->
global
->
STOCK_CALCULATE_ON_SHIPMENT
)
||
!
empty
(
$conf
->
global
->
STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER
)
||
!
empty
(
$conf
->
global
->
STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER
)
||
!
empty
(
$conf
->
global
->
STOCK_CALCULATE_ON_SHIPMENT_CLOSE
)
||
!
empty
(
$conf
->
global
->
STOCK_CALCULATE_ON_SHIPMENT_CLOSE
)
)
{
{
$virtualdiffersfromphysical
=
1
;
// According to increase/decrease stock options, virtual and physical stock may differs.
$virtualdiffersfromphysical
=
1
;
// According to increase/decrease stock options, virtual and physical stock may differs.
}
}
...
...
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