Commit Graph

31 Commits

Author SHA1 Message Date
omogenot
cd9e54b1a2 FIX: Replenishment lib class does not extract data from already received supplier orders (#31440)
* Update replenishment.lib.php

* Fix wrong table column name from fk_command to fk_element for table receptiondet_batch
* use error free  getDolGlobalString to access global variable to replace $conf->global access.

* Update replenishment.lib.php

Fix typo

* Update replenishment.lib.php

Use getDolGlobalInt instead of getDolGlobalString for numeric constant

* Update replenishment.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:19:01 +02:00
Frédéric FRANCE
f1dc60dcc7 fix phan (#29514)
* Update product_lot.php

* Update replenishment.lib.php

* Update product.class.php

* Update product.class.php

* fix phan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-28 17:25:15 +02:00
Christophe Battarel
ab206910ab change to receptiondet_batch into scripts 2024-01-15 09:40:59 +01:00
MDW
0395718521 Qual: Spelling htdocs/p[b-z]* (#27436)
# Qual: Fix spelling htdocs/p[b-z]*

Highlight:

Probably fixes a bug:
htdocs/product/stock/replenish.php: empty(->variants->eabled) corrected to ...enabled.
'eabled' could not be found elsewhere in the codebase.
2024-01-12 17:55:52 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +01:00
Laurent Destailleur
6717d53b11 FIX dolDispatchToDo return was always false since several years 2023-10-15 21:51:10 +02:00
Laurent Destailleur
d138e7410b Clean code 2021-04-26 19:12:23 +02:00
Laurent Destailleur
6e422d26f3 FIX #yogosha5746 - next step (wip) 2021-03-30 16:20:18 +02:00
Frédéric FRANCE
fa7cd70052 code syntax product directory 2021-02-26 14:25:17 +01:00
Frédéric FRANCE
b41ac00b98 add new rule 2020-05-21 15:05:19 +02:00
Frédéric FRANCE
a25ed0e041 add new rule 2020-05-21 01:56:06 +02:00
Scrutinizer Auto-Fixer
444c293c01 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-10 08:59:32 +00:00
Scrutinizer Auto-Fixer
e8083e2a65 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-03-23 14:54:02 +00:00
Frédéric FRANCE
e1386faa59 doxygen 2019-12-15 10:53:03 +01:00
Frédéric FRANCE
c269229aab doxygen 2019-12-13 08:12:55 +01:00
Alexandre SPANGARO
02dbc11f98 Move Gnu.org to https 2019-09-23 21:55:30 +02:00
Laurent Destailleur
f30a3d59ba Merge branch 'develop' into toomanylines 2019-01-27 17:59:13 +01:00
Frédéric FRANCE
496fa9b0fb PSR2.Files.EndFileNewline.TooMany 2019-01-27 14:10:35 +01:00
Frédéric FRANCE
6e91b3cefc PSR2 usage of else if is discouraged 2019-01-27 10:49:34 +01:00
Laurent Destailleur
fa2e57eaa3 pcpcs 2015-03-04 01:10:23 +01:00
Laurent Destailleur
8a00109baf Fix: Several bugs int replenishment feature. 2015-03-01 16:05:20 +01:00
Marcos García de La Fuente
7e1cf124b8 Merge branch 'develop' into syslog
Conflicts:
	htdocs/commande/class/commande.class.php
	htdocs/compta/facture/class/facture.class.php
	htdocs/core/class/commonobject.class.php
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/product/class/product.class.php
	htdocs/product/stock/lib/replenishment.lib.php
	htdocs/societe/soc.php
2014-07-02 21:20:02 +02:00
Laurent Destailleur
71ee974ddb Merge remote-tracking branch 'origin/3.5' into 3.6
Conflicts:
	htdocs/fourn/class/fournisseur.commande.class.php
2014-06-28 14:53:28 +02:00
Raphaël Doursenaud
f5980a1d20 Fix database prefix usage 2014-06-26 15:52:31 +02:00
Laurent Destailleur
e1a461b3d6 Fix: [ bug #1436 ] réapprovisionnement sur plusieurs pages
Removed also strange image (no way to understand meaning).
2014-06-20 14:34:13 +02:00
Marcos García de La Fuente
56abf1cd72 Removed duplicated SQL error logging 2014-06-13 02:28:30 +02:00
Raphaël Doursenaud
f8f502d013 Removed closing php tag
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Cédric Salvador
413d76ce51 fixed error level 2013-09-06 09:56:07 +02:00
Laurent Destailleur
9da5f7f47a Qual: Doxygen 2013-08-22 16:49:23 +02:00
Cédric Salvador
44bde866ee link to go to the second tab and only display orders related to a certain product 2013-07-29 12:31:17 +02:00
Cédric Salvador
6bf95db95e checkbox + improve order detection 2013-07-29 12:31:16 +02:00