Commit Graph

2996 Commits

Author SHA1 Message Date
Frédéric FRANCE
7ea6a406bd NEW add geometrics extrafield (#28239)
* add extrafield point

* wip

* wip

* wip

* input

* input

* output values

* update values

* update values

* update values

* update values

* update values

* wip

* add geomapeditor

* add geomapeditor

* add linestring and polygon

* add linestring and polygon

* add linestring and polygon

* add linestring and polygon

* wip

* wip

* can store and retrieve linestring

* can store and retrieve linestring

* coordinates are inverted

* coordinates are inverted

* add multipoints

* use text instead binary

* auto center map

* wip

wip

* doc

* fix

* wip

* wip

* translation dynamic

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-24 15:27:38 +02:00
Laurent Destailleur
60c0fc2386 Fix warning PHP 8.2 2024-04-22 18:42:34 +02:00
Laurent Destailleur
f94d0cd907 Debug v20 2024-04-20 14:28:59 +02:00
Laurent Destailleur
1946b92da8 Debug v20 2024-04-19 16:32:56 +02:00
Laurent Destailleur
c5751a970a Fix CSS 2024-04-19 01:39:48 +02:00
Laurent Destailleur
0ee92c5a4b Doc 2024-04-17 12:42:33 +02:00
lvessiller-opendsi
b64df30cc6 NEW update price with auto to use const for rounding prices (#29350)
* NEW update price with auto to use MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND const for rounding prices

* Update price forced rounding mode redundant
2024-04-16 10:24:55 +02:00
Laurent Destailleur
c13cafab68 Doc 2024-04-14 04:45:29 +02:00
Laurent Destailleur
1a07a7f6c9 Doc 2024-04-14 03:21:17 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Frédéric FRANCE
00b2185813 fix phpstan (#29258)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-04-07 11:50:26 +02:00
Frédéric FRANCE
87b76db460 fix phpdoc (#29246) 2024-04-06 13:35:04 +02:00
thibdrev
2302708c98 typo 2024-04-04 20:51:46 +02:00
thibdrev
0dc1527064 Update commonobject.class.php 2024-04-04 20:49:16 +02:00
Laurent Destailleur
6004d3ae14 Merge pull request #29204 from mdeweerd/fix/projet_abs
Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
2024-04-03 02:06:52 +02:00
Laurent Destailleur
8b916b6269 Restore deprecation 2024-04-03 01:56:17 +02:00
Laurent Destailleur
d03a926238 Clean code. Reduce warning for deprecated field to a better blanced
level, as we should start soon the beta.
2024-04-03 00:51:18 +02:00
MDW
44f4261cf9 Fix phan notice by verifying value is array 2024-04-02 23:30:54 +02:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Laurent Destailleur
1d125bf9fa Merge pull request #29065 from mdeweerd/fix/dol_print_error
Fix arguments to dol_print_error
2024-03-28 13:35:44 +01:00
Laurent Destailleur
415e99606d Merge pull request #29091 from mdeweerd/fix/facturefournisseur/card
Fix card FactureFournisseur
2024-03-28 12:55:24 +01:00
Laurent Destailleur
0544670ac4 Merge pull request #28160 from mdeweerd/core/deprecationclass
NEW: DolDeprecationHandler for deprecations
2024-03-28 12:42:53 +01:00
MDW
b84281d285 Improve phpdoc typing 2024-03-27 19:26:27 +01:00
MDW
975243f1b5 Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
# Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible

Assign socid whenever fk_soc is assigned so that socid can be accessed
instead of fk_soc.
2024-03-27 18:07:51 +01:00
MDW
a99853efd3 Fix arguments to dol_print_error 2024-03-27 10:23:40 +01:00
Laurent Destailleur
92312ce4c2 Allow UFS syntax into load_previous_next_ref() 2024-03-25 20:11:24 +01:00
MDW
8f3b245dbd New: Use DolDeprecationHandler in CommonObject
# New: Use DolDeprecationHandler in CommonObject

Use deprecation handler for more efficient deprecations
2024-03-24 17:39:04 +01:00
Laurent Destailleur
072c3070b3 Add phpunit for Expedition 2024-03-24 06:23:56 +01:00
Laurent Destailleur
59c87c7cb6 Clean usage of ->origin_object instead of ->origin that was a string. 2024-03-24 06:12:18 +01:00
MDW
886b4c8cc1 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:39 +01:00
MDW
53c628f219 Cast DolEditor::Create to string to avoid mistyping as void 2024-03-20 23:54:33 +01:00
MDW
dacf116d07 Fix arg type for abs(), str_replace() with casts 2024-03-19 20:38:50 +01:00
MDW
7cc1894893 Fix type of param to fix strtoupper typing 2024-03-19 02:59:04 +01:00
MDW
f43fd7c934 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:19 +01:00
MDW
9730149fab Fix typing: childtables can also be list of strings 2024-03-19 00:32:07 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Laurent Destailleur
ebba438fbe Merge pull request #27528 from altairisfr/rdb
[DATA_MODEL] rename commande_fournisseur_dispatch into receptiondet_batch
2024-03-17 21:31:27 +01:00
Laurent Destailleur
a132f53311 Fix removed var_dump 2024-03-16 23:28:22 +01:00
Laurent Destailleur
d3262ace71 Fix phpunit error due to regression in removing the $conf 2024-03-16 23:22:12 +01:00
Laurent Destailleur
799ccf1a2f Merge pull request #28708 from atm-john/fix_element_type_part_05
NEW : Factoring and Fix external module elementType limit - Part 05
2024-03-15 15:29:03 +01:00
Laurent Destailleur
b658beab99 Merge pull request #28872 from mdeweerd/fix/PhanTypeMismatchReturnProbablyReal
Fix & enable PhanTypeMismatchReturnProbablyReal
2024-03-15 15:24:31 +01:00
Laurent Destailleur
1a722fa436 Merge branch 'develop' into fix/PhanTypeMismatchPropertyProbablyReal 2024-03-15 15:07:35 +01:00
MDW
3b0e83c533 Fix PhanTypeMismatchReturnProbablyReal 2024-03-15 14:20:57 +01:00
evarisk-micka
d43c3227db Add signed status CRUD to contract and fichinter 2024-03-15 12:12:21 +01:00
MDW
6a606bf7c1 Adjust typing for 'origin' & 'origin_object' 2024-03-15 10:12:46 +01:00
MDW
b57b4c8f17 Qual: Improve typing hints, in particular sendtoid 2024-03-15 10:11:55 +01:00
Laurent Destailleur
80e2e59373 Merge pull request #28862 from mdeweerd/fix/PhanTypeMismatchPropertyDefault
Fix & enable PhanTypeMismatchPropertyDefault
2024-03-15 09:33:40 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
27e89df94d Fix PhanPluginSuspiciousParamPosition 2024-03-14 19:39:33 +01:00
Laurent Destailleur
c867bc2706 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-13 22:36:45 +01:00