Commit Graph

134293 Commits

Author SHA1 Message Date
Laurent Destailleur
b5ca87bc31 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-10 13:40:19 +02:00
Laurent Destailleur
cd6aeb34ac trans 2024-04-10 13:39:55 +02:00
Anthony Berton
fed71b035c NEW - Font param Look and Feel (#29302)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2024-04-10 12:11:11 +02:00
Jon Bendtsen
f7eb0b9fde NEW: API setup update extrafields from name, elementtype and json (#29273)
* NEW: API setup update extrafields from name, elementtype and json

* default_value

* fix SQL injection

* more SQL injection prevention

* Sanitized

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-10 12:02:57 +02:00
Laurent Destailleur
6c26562140 Debug v20 2024-04-10 03:14:59 +02:00
Christophe Battarel
d591289e53 NEW : TakePOS - add buttons to allow keyboard usage for discounts (#24819)
* NEW : TakePOS - add buttons to allow keyboard usage for discounts

* modern html

* remove useless code

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-04-10 02:59:10 +02:00
Laurent Destailleur
31e09f134b Fix warnings 2024-04-10 02:52:39 +02:00
Laurent Destailleur
efaccbc519 Remove duplicate graph 2024-04-10 01:50:29 +02:00
Laurent Destailleur
e974cf2dd3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-10 01:41:11 +02:00
Laurent Destailleur
132595f10f CSS customreport 2024-04-10 01:38:36 +02:00
Regis Houssin
9fa6a77723 FIX multiple problems when MULTICOMPANY_TRANSVERSE_MODE (#29287)
* FIX can not show group when MULTICOMPANY_TRANSVERSE_MODE

* FIX wrong permissions with multicompany MULTICOMPANY_TRANSVERSE_MODE

* FIX better check for the "read" permission

* FIX only a superadmin can manage users in transverse mode

* FIX this is not "create" but "write"

* FIX use the new function hasRight

* FIX wrong check

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-09 23:55:07 +02:00
MDW
bec5ff4749 Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num, fix hooks typings (#29298)
* Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num

* Fix typing in hookmanager class

* Improve DolHooksCollector phpdoc

* Fix PhanTypePossiblyInvalidDimOffset by testing index's existence

* Ignore PhanTypePossiblyInvalidDimOffset that phan can not detect

* Allow  to be null, initialise instead of unset
2024-04-09 23:21:28 +02:00
Laurent Destailleur
55ae5ccedd Fix phpcs 2024-04-09 20:41:28 +02:00
Laurent Destailleur
690d156e5b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-09 20:35:07 +02:00
Laurent Destailleur
66dd9d503a Fix doxygen 2024-04-09 20:34:47 +02:00
Vincent Maury
50458efffa NEW : display product and qty in stock_movement table in project overview (#29296)
NEW : in project overview, stock movement section, we only stock movement ref, but not the product and not the quantity
This PR solve this
2024-04-09 20:19:38 +02:00
Vincent Maury
6212868aca regl_mode on new command not set (#29293)
When creating a new supplier order, even if the default reglement_mode is set for this supplier, the reglement_mode for the new order is not set.
As It is for the cond_reglement
I don't understand why my update is ok, but IT IS !
2024-04-09 20:09:45 +02:00
Regis Houssin
2eefffd36f NEW possibility to define a completely inactive module (#29289) 2024-04-09 20:08:32 +02:00
Laurent Destailleur
ac63bd9b56 Debug v20 2024-04-09 19:36:39 +02:00
Laurent Destailleur
ce2b69a1ab Trans 2024-04-09 19:17:59 +02:00
Laurent Destailleur
3ad4fdc44e Trans 2024-04-09 19:10:22 +02:00
Laurent Destailleur
082195b249 Fix #yogosha21569 2024-04-09 18:49:48 +02:00
Laurent Destailleur
ebe8f25193 Fix #yogosha21561 2024-04-09 17:46:13 +02:00
Laurent Destailleur
e293dc6cad Fix example 2024-04-09 16:21:15 +02:00
Laurent Destailleur
3f5c5e3f68 More complete example 2024-04-09 15:35:57 +02:00
Laurent Destailleur
605e07ca3a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-09 15:30:01 +02:00
Laurent Destailleur
345a315b50 Fix example of security options 2024-04-09 15:29:43 +02:00
Laurent Destailleur
4bcbe4ebb1 CSS 2024-04-09 04:03:23 +02:00
Laurent Destailleur
46e21a0b2d Removed dead code 2024-04-09 03:50:46 +02:00
Laurent Destailleur
b172640ae5 Debug v20 2024-04-09 03:38:38 +02:00
jyhere
4880ec1b77 NEW: Hooks tab in debugbar (#24992)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-09 03:09:10 +02:00
Bradley Jarvis
58e0837a7a FIX Add CSV download link to stock at date table (#29016)
* FIX Add CSV download link to stock at date table

* Update array values to strings for joining

* Fix array and string formatting

* Fix space after comma

* FIX stock at date csv download

Removed .htaccess and requirement for modrewrite
Added output url parameter which takes csv as argument
updated GETPOST(,'int') calls to GETPOSTINT()

* FIX stock at date csv download

Removed .htaccess and requirement for modrewrite
Added output url parameter which takes csv as argument
updated GETPOST(,'int') calls to GETPOSTINT()

* FIX removed extra 'int' parameter from GETPOSTINT()

* Fix wrapped stock values in price(price2num($stock,'MS'))

* Fix error in php code

* Fix missed wrapping some stock levels tin price(...)

* Update stockatdate.php

---------

Co-authored-by: brad <brad@endurotags.com.au>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-09 02:37:30 +02:00
Jon Bendtsen
56c198992d Fix #29279 Not admin that can create group have disabled button for group creation (#29286)
* Fix #29279 Not admin that can create group have disabled button for group creation

* Update eldy.lib.php

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-09 02:26:07 +02:00
Lucas Noirie
4aca06174c CLOSE|Close #29274 Add possibility to have different mail for autocopy for holiday (#29275)
* Add handdling of multiple autocopy mail to in CMailFile class __construct function

* Change mail to autocopy to for leaves

* Remove new param and set $sendtobcc to MAIN_MAIL_AUTOCOPY_HOLIDAY_TO
2024-04-08 23:13:04 +02:00
Francis Appels
e23ccabf36 Fix PR #28989, create shipment line (#29281)
* Fix PR #28989, create shipment line

* Fix Phan

* Update changelog

* Fix stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 23:10:58 +02:00
Regis Houssin
1f512873ff FIX phan error (#29283) 2024-04-08 22:48:33 +02:00
Lucas Marcouiller
232800d776 NEW feature to merge 2 tasks (#29214)
* first push select not saved

* add working merge

* ass merge of contact for task

* fix typo

* add of merge timespent

* Fix integration error + use of good SelectTasks

* fix precommit

* Fix CI

* fix CI

* fix bad change

* fix to make merge only an update

* remove useless field update

* fix empty array

* fix CI

* fix unused code

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-04-08 20:50:16 +02:00
sonikf
672ba6f47d QUAL: feature parity between vendor and customer template invoice (#26588)
* NEW: Add invoice subtype

* Add subtype, propagate extrafields and clean up

* fix empty line

* fix phan error
2024-04-08 20:36:12 +02:00
Laurent Destailleur
39491976e1 Fix title 2024-04-08 19:26:37 +02:00
Laurent Destailleur
7ca303888d Look and feel v20 2024-04-08 19:20:07 +02:00
Laurent Destailleur
9771370fc1 FIX Color must not be saved with the # char 2024-04-08 18:47:41 +02:00
Laurent Destailleur
dc77cf736d Fix css 2024-04-08 18:42:11 +02:00
Laurent Destailleur
b6822272b3 Look and feel 2024-04-08 16:37:33 +02:00
Laurent Destailleur
1a007c7cbd Clean code 2024-04-08 15:13:19 +02:00
Laurent Destailleur
f1a3df108f Fix thumbs replace by opencollective 2024-04-08 14:59:21 +02:00
Laurent Destailleur
3215fa1184 Try to add stats fro ossinsight 2024-04-08 14:30:44 +02:00
Laurent Destailleur
1cced0d841 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-08 14:00:28 +02:00
Laurent Destailleur
ea1c9ad11d Fix grouping of security alerts 2024-04-08 14:00:13 +02:00
Zephyriony
6f524405af QUAL Rename column fk_origin_line on shipment lines into fk_elementdet to match a generic use. (#28989)
* Update expedition.class.php 

Adapting the query and code to the new table format

* Update llx_expeditiondet.sql

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update llx_expeditiondet.sql

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update expedition.class.php

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
2024-04-08 12:44:49 +02:00
Laurent Destailleur
35908a2aad Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-08 12:35:09 +02:00