Frédéric France
b3bcdeafe5
rename method
2024-01-18 18:55:53 +01:00
MDW
a04f2bf4e7
Qual: Spelling fixes that newly appeared. ( #27495 )
...
* Qual: Spelling fixes that newly appeared.
# Qual: Fix spelling erros that appeared since the bulk updates.
These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)
* Update modulebuilder.lib.php
* Update pdf_standard.modules.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
Laurent Destailleur
c15627016a
Fix bad test for disabling TCPDI. Add more phpunit
2024-01-10 21:51:32 +01:00
Laurent Destailleur
9d1f991759
Clean code
2024-01-09 14:24:21 +01:00
Laurent Destailleur
910a541c60
Clean code
2024-01-09 13:08:22 +01:00
Laurent Destailleur
4501872f17
Clean code with rector 2
2024-01-05 04:33:58 +01:00
Laurent Destailleur
b3020923b7
Merge pull request #27186 from Hystepik/fix-php-warnings-code-smell
...
Fix some php code smell
2023-12-22 11:07:07 +01:00
Hystepik
d08f91e4cb
Fix some phpstan warnings
2023-12-21 13:43:19 +01:00
Hystepik
5e4a4da130
Fix some php codce smell
2023-12-20 14:22:45 +01:00
Alexandre Janniaux
d9e81cbabe
command: forward database error on failure
...
If the database triggered a failure, it wasn't reported in the tests
because $this->error was not set. Conversely, the error was always
printed through dol_print_error() whose documentation explicitely states
that it should not be used for class and $this->error should be used
instead.
2023-12-12 19:18:16 +01:00
Frédéric FRANCE
61b79fda17
avoid phpstan error with phpdoc
2023-12-06 15:46:39 +01:00
Laurent Destailleur
ba10d60a0b
Fix with php-cs-fixer
2023-12-04 12:02:35 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan ( #26905 )
2023-12-01 19:51:32 +01:00
Laurent Destailleur
53dab922fd
Fix php8.2 warnings
2023-11-27 11:39:32 +01:00
Laurent Destailleur
5c1a7e7541
Debug v19
2023-11-18 23:50:35 +01:00
Laurent Destailleur
7659bba97a
Fix bad delete of lines into llx_ecm_files
2023-11-13 12:24:47 +01:00
Mohamed DAOUD
a1597e6eb1
Fix some warnings -technical debt- ( #26466 )
...
* fix warnings 1
* fix previous commit 1
* Update facture-rec.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-06 16:00:24 +01:00
Laurent Destailleur
127de7e7d8
FIX On object validation, ecm index are not updated for uploaded files
2023-11-01 16:17:54 +01:00
Laurent Destailleur
74e1ec4099
FIX On object validation, ecm index are not updated for uploaded files
2023-10-31 19:28:11 +01:00
Laurent Destailleur
a318031034
QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id
2023-10-24 11:37:29 +02:00
Laurent Destailleur
e1bf377f20
QUAL: Removed deprecated field remise, remise_percent, remise_absolute
2023-10-20 10:47:08 +02:00
Lucas Marcouiller
42865a975a
Fix some code smell ( #26277 )
...
* Fix some code smell
* Update commande.class.php
---------
Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-20 02:20:26 +02:00
Laurent Destailleur
b37a438067
The property ->user_validation to store ID of user validating has been
...
renamed into ->user_validation_id.
2023-10-17 11:10:25 +02:00
Laurent Destailleur
f18529f944
Clean code
2023-10-17 10:52:19 +02:00
Laurent Destailleur
fb8b4acdbf
The duplicated and deprecated property ->date_livraison that was renamed
...
into ->delivery_date has been completely removed.
2023-10-17 10:36:11 +02:00
Laurent Destailleur
bf7a8725a5
Debug v19
2023-10-15 22:08:09 +02:00
Laurent Destailleur
1f38e54e78
Clean code
2023-10-15 15:32:35 +02:00
Dev2a
b76c402a09
Fix: Change access to $conf->global to function getDolGlobal (manual)
2023-10-08 23:25:46 +02:00
Laurent Destailleur
d3dc6615db
Remove deprecated use of ->modelpdf (good is ->model_pdf)
2023-10-02 21:49:08 +02:00
Laurent Destailleur
55b91f00d2
Look and feel v19
2023-09-25 11:44:46 +02:00
Laurent Destailleur
e8edd115f1
Fix status
2023-09-19 21:16:32 +02:00
Laurent Destailleur
492b726da9
Fix regression with label of order
2023-09-19 20:32:23 +02:00
Laurent Destailleur
91fa48199a
Fix warnings
2023-09-10 17:41:22 +02:00
Laurent Destailleur
d91ce60ab4
Merge pull request #25819 from frederic34/setascustomer
...
deprecate set_as_client
2023-09-08 11:23:06 +02:00
Frédéric FRANCE
26dff90658
deprecate set_as_client
2023-09-06 14:38:35 +02:00
Laurent Destailleur
3343a47244
NEW billing on shipment+reception. Can be done before or after delivery.
2023-09-03 21:38:11 +02:00
Laurent Destailleur
247ab6a93e
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-09-02 20:54:10 +02:00
Laurent Destailleur
bc53cd7643
Merge pull request #25313 from kubajznik/extrafields-support-selectForForms
...
NEW #25312 Support extrafields in selectForForms
2023-09-02 18:40:14 +02:00
Laurent Destailleur
aea21bc413
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-15 15:54:55 +02:00
Laurent Destailleur
119c3fb20d
Debug v18
2023-08-15 14:44:03 +02:00
Laurent Destailleur
f21c168a84
Removed $brouillon property
2023-08-06 01:16:12 +02:00
Laurent Destailleur
e3e73d9096
Work on renaming libelle into label
2023-08-06 01:14:36 +02:00
Laurent Destailleur
0076ec69b8
The property ->brouillon has been removed from all classes. It was not
...
reliable and was a duplicate of ->status == self::STATUS_DRAFT.
2023-08-06 00:16:25 +02:00
Laurent Destailleur
ea364ff1a3
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-05 13:47:17 +02:00
Laurent Destailleur
bef9146bb1
Fix warnings
2023-08-05 12:50:09 +02:00
Laurent Destailleur
9302a427a9
Debug v19
2023-07-31 03:29:45 +02:00
Maxime Kohlhaas
bcce9da09d
New : add a dashboard showing number of orders to bill #17963 ( #18600 )
...
* New : add a dashboard showing number of orders to bill #17963
* Fix orders statuses for dashboard and list
* Fix label in dashboard
2023-07-31 02:36:10 +02:00
Jakub Stříbrný
a73024bec8
add extrafieldmanaged in commande.class.php
2023-07-26 14:54:58 +02:00
jyhere
3681486fe8
FIX: misleading phpdoc ( #25342 )
2023-07-12 12:27:12 +02:00
Laurent Destailleur
02ca89cf52
Merge pull request #25234 from FHenry/16_fix_calc_update_price_on_update
...
FIX: VTA rounding calc option must be the same on update line as on create line
2023-06-29 17:41:09 +02:00
Florian HENRY
505ea31c30
FIX: TVA calc option must be the same on update line as on create line
2023-06-29 16:50:21 +02:00
hystepik
597b36e57c
Fix : php8.1 warnings with strict mode
2023-06-10 10:47:36 +02:00
Laurent Destailleur
80f6af9f4e
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2023-06-04 19:07:37 +02:00
Laurent Destailleur
89e378bc78
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-06-04 19:07:04 +02:00
Je2fb
735ad3d533
Update commande.class.php
...
Change function hasdelay and showdelay to use the variable 'delivery_date'
2023-05-31 21:36:11 +02:00
Frédéric FRANCE
8c0f7f4b65
Update commande.class.php
2023-05-31 13:53:41 +02:00
Frédéric FRANCE
544e82b60c
fix picto tooltip
2023-05-31 13:35:47 +02:00
Georgios Papadakis
844524769e
Add missing loading of Societe Class
...
Current code relies on Societe Class being already imported by code executed previously, thus in some cases you get a fatal error. I have fatal error of undefined Societe class when i try to sign a Proposal that does not already have an order !!
2023-05-16 10:07:43 +03:00
Laurent Destailleur
fe816445f5
Fix warnings
2023-05-01 13:09:09 +02:00
Laurent Destailleur
46e3413e8a
Fix tooltips
2023-04-27 15:55:21 +02:00
Laurent Destailleur
2f3cefcc09
Clean code
2023-04-26 11:41:02 +02:00
Laurent Destailleur
c891196b5b
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-04-25 21:02:01 +02:00
Laurent Destailleur
0bc8227f48
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-04-25 20:54:15 +02:00
Laurent Destailleur
2e3e6f6899
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2023-04-25 20:51:40 +02:00
Laurent Destailleur
10e38ec7f9
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2023-04-25 19:14:33 +02:00
Frédéric FRANCE
6f351d5481
load translation for tooltip
...
translation was not loaded when using ajax tooltip
2023-04-25 09:46:12 +02:00
Aloïs Micard
5ec6b29345
Fix order line origin/origin_id when creating from proposal
2023-04-23 14:01:52 +02:00
Laurent Destailleur
8898a1a432
Debug ajax tooltip
2023-04-03 19:51:40 +02:00
Laurent Destailleur
66eb668965
Merge pull request #24164 from frederic34/multidiroutput
...
use a fonction to get multidir output
2023-03-18 10:56:25 +01:00
Frédéric FRANCE
c93d615e42
enhance tooltip ajax info
2023-03-14 22:27:35 +01:00
Frédéric FRANCE
1da5de8326
fetch thirdparty in order tooltip only in ajax request
2023-03-13 09:55:47 +01:00
Frédéric FRANCE
a551919f90
fetch thirdparty in order tooltip only in ajax request
2023-03-13 09:54:19 +01:00
Frédéric FRANCE
7fe885fefc
Merge remote-tracking branch 'upstream/develop' into multidiroutput
2023-03-09 16:13:19 +01:00
Frédéric FRANCE
a9b9812b7e
try to use function
2023-03-08 21:39:05 +01:00
Laurent Destailleur
3f264989ce
Merge pull request #23906 from FliyFly/qodanaincompatible
...
Fix (qodana)
2023-03-08 13:21:14 +01:00
Laurent Destailleur
46945ec44c
Merge pull request #24073 from hregis/fix_multicompany_compatibility2
...
TODO remise_percent is a deprecated field for object parent
2023-03-02 16:31:51 +01:00
Laurent Destailleur
9fd9b0cfa0
Merge branch 'develop' into fix_multicompany_compatibility2
2023-03-02 13:42:40 +01:00
Regis Houssin
ebf766c2e0
FIX deprecated just for remise_percent !
2023-02-28 16:19:22 +01:00
Regis Houssin
d3c65e390b
TODO remise_percent is a deprecated field for object parent
2023-02-28 15:47:33 +01:00
Frédéric FRANCE
2daa9b2dba
user hasRight
2023-02-27 10:34:28 +01:00
Frédéric FRANCE
e836cc4f55
use hasRight
2023-02-27 10:24:24 +01:00
Laurent Destailleur
ed5c890769
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-02-25 20:12:48 +01:00
Laurent Destailleur
cbb6ca071a
Fix #yogosha15157
2023-02-25 19:51:05 +01:00
Frédéric FRANCE
652a215a07
set errors from object
2023-02-24 16:57:39 +01:00
FLIO
29e56ab3cf
fix (qodana) edit error and merge develop to be update
2023-02-21 17:51:24 +01:00
Frédéric FRANCE
ae48571135
use user->hasRight
2023-02-14 22:56:12 +01:00
FLIO
156922fc51
Fix (qodana) Incompatible return type
2023-02-14 14:09:56 +01:00
Frédéric FRANCE
8a5e983d7e
clean code
2023-02-06 22:21:54 +01:00
Frédéric FRANCE
b238830c82
keep original label
2023-02-05 23:19:56 +01:00
Frédéric FRANCE
19631fef74
fix tooltip
2023-02-05 20:41:29 +01:00
Frédéric FRANCE
04610763aa
Merge remote-tracking branch 'upstream/develop' into ajaxtooltip
2023-02-04 18:31:40 +01:00
Laurent Destailleur
1f195a3be5
Fix #yogosha14963
2023-02-04 14:04:25 +01:00
Frédéric FRANCE
41dd574b16
clean js
2023-02-02 22:59:54 +01:00
Frédéric FRANCE
7eb0b71252
work on ajax tooltip
2023-01-31 22:47:30 +01:00
Frédéric FRANCE
993c1d28c4
work on ajax tooltip
2023-01-31 22:08:32 +01:00
Frédéric FRANCE
823a7ee72b
fix undeclared properties
2023-01-18 22:37:08 +01:00
Laurent Destailleur
80d46a22f1
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-01-18 21:36:57 +01:00
Laurent Destailleur
cd5009d8a4
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-01-18 21:21:49 +01:00
Laurent Destailleur
283ad1abcf
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2023-01-18 20:54:16 +01:00
Laurent Destailleur
2a299068ad
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2023-01-18 20:45:44 +01:00
stickler-ci
4ee0ede6d8
Fixing style errors.
2023-01-18 08:53:28 +00:00
Noé Courtier
d344e108c9
FIX: Errors Handling for CreateFrom Hooks
2023-01-18 09:44:23 +01:00
Laurent Destailleur
8ced29cb00
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-01-11 21:32:41 +01:00
Laurent Destailleur
4f350d878c
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-01-11 21:07:43 +01:00
Laurent Destailleur
577ef4a8a1
Merge pull request #23501 from aspangaro/18a4
...
Use isModEnabled()
2023-01-11 10:29:37 +01:00
Alexandre SPANGARO
8f5edcab02
Use isModEnabled()
2023-01-11 06:11:41 +01:00
Laurent Destailleur
ccf231bc44
Fix sql error
2023-01-09 16:01:20 +01:00
Laurent Destailleur
5280d070e3
Fix technical debt
2023-01-06 19:24:57 +01:00
Laurent Destailleur
43a0ccce2b
Clean code
2023-01-04 11:37:24 +01:00
Laurent Destailleur
00fa438c05
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-01-03 02:40:22 +01:00
Laurent Destailleur
96f44ab5f8
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-01-03 02:37:14 +01:00
Laurent Destailleur
deb110d556
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2023-01-03 02:35:13 +01:00
Laurent Destailleur
10674a59bb
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2023-01-03 02:33:59 +01:00
Laurent Destailleur
6824f82cc8
Fix warnings
2022-12-28 13:58:23 +01:00
Laurent Destailleur
77d6b9510b
Clean code
2022-12-28 13:04:11 +01:00
Gauthier PC portable 024
2c7e0afabd
FIX : travis
2022-12-21 17:17:33 +01:00
Gauthier PC portable 024
69b0cf9bcf
FIX : include class multicurrency
2022-12-21 14:05:54 +01:00
stickler-ci
3b9d39c1d2
Fixing style errors.
2022-12-21 10:00:26 +00:00
Gauthier PC portable 024
0582653a67
FIX : get multicurrency infos of propal when create order from propal with "WORKFLOW_PROPAL_AUTOCREATE_ORDER" conf
2022-12-21 10:55:03 +01:00
Francis Appels
b3aef891e2
FIX trigger LINEORDER_DELETE, extrafields should be removed after delete trigger.
2022-12-20 10:24:43 +01:00
Laurent Destailleur
ce5bb5cd64
Fix warning
2022-11-24 22:49:37 +01:00
Laurent Destailleur
08985fbe62
Merge pull request #22792 from noec764/14_FIX_Add_Missing_LibStatut_Hooks
...
FIX: Add Missing "LibStatut" hooks in propal, commande, facture
2022-11-09 15:39:43 +01:00
stickler-ci
89876d8d52
Fixing style errors.
2022-11-08 15:24:05 +00:00
Noé Courtier
73b857c1b3
FIX: Add Missing "LibStatut" hook in propal, commande, facture
2022-11-08 16:21:32 +01:00
Laurent Destailleur
290d02c0df
Merge pull request #22627 from noec764/14_FIX_Invoice_Order_FetchLines
...
FIX: Missing return 0 if object not found
2022-10-24 19:45:41 +02:00
Noé Courtier
477f5e2890
FIX: Missing return 0 if object not found
2022-10-19 11:53:17 +02:00
Laurent Destailleur
9fa00c1771
Fix trans in comments
2022-10-12 15:29:30 +02:00
Alexandre SPANGARO
58ac8d196c
Use isModEnabled
2022-09-25 06:01:40 +02:00
Philippe GRAND
fb9db96ecc
update code toward php8 compliance
2022-09-24 14:37:57 +02:00
Laurent Destailleur
e1b5e5033f
Clean code of deprecated field
2022-09-23 09:35:17 +02:00
Laurent Destailleur
6fb9a4713c
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop
2022-09-21 01:30:40 +02:00
Regis Houssin
a3a973466f
FIX broken feature, wrong fk_parent_line after cloning object
2022-09-13 15:16:17 +02:00
Laurent Destailleur
209bf00b69
Trans
2022-09-13 00:12:57 +02:00
Laurent Destailleur
7c7ccc2393
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop
2022-09-09 01:45:59 +02:00
Laurent Destailleur
fb60c100e5
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2022-09-09 01:39:52 +02:00
Laurent Destailleur
3177a065cd
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2022-09-09 01:31:43 +02:00
Alexandre SPANGARO
9a5927d833
FIX Column label
2022-09-06 05:30:35 +02:00
Laurent Destailleur
760c6e581e
Merge pull request #22060 from grandoc/new_branch_03_09_2022
...
Update code
2022-09-03 11:44:36 +02:00
Philippe GRAND
7997776cbb
Update code
2022-09-03 11:12:52 +02:00
Frédéric FRANCE
9150f5102e
Merge remote-tracking branch 'upstream/develop' into pr/grandoc/22009
2022-09-02 11:44:45 +02:00
Philippe GRAND
9ba54b502d
update code
2022-09-01 09:41:59 +02:00
Frédéric France
8e66b7207e
replace ! empty by !empty
2022-08-31 22:14:20 +02:00
Philippe GRAND
81c13bcc4c
update code
2022-08-31 22:03:33 +02:00
UT from dolibit
c6c5ddd485
Update commande.class.php
2022-08-27 13:55:27 +02:00
Frédéric France
4bef0f5745
use isModEnabled
2022-08-23 20:01:34 +02:00
Laurent Destailleur
bd28a7e038
Debug v16
2022-07-03 12:54:58 +02:00
Laurent Destailleur
4c4e081997
Debug v16
2022-06-28 13:09:53 +02:00
BENKE Charlene
710e556845
fix $fk_product instead $this->fk_product
...
$fk_product not present on $commande object
2022-06-20 16:07:22 +02:00
Laurent Destailleur
28234c6f44
Merge pull request #21276 from badre-agtaib/scru4
...
FIX bug :The properties product_tosell & product_tobuy do not exist on OrderLine
2022-06-15 11:05:34 +02:00
bagtaib
22152dd254
declaring the propreties product_tosell & product_tobuy
2022-06-15 00:50:34 +02:00