2
0
forked from Wavyzz/dolibarr
Commit Graph

5787 Commits

Author SHA1 Message Date
William Mead
6d07c6336c Fixed get. Improved error message. (#34150) 2025-05-14 16:57:44 +02:00
Charlène Benke
4a58d0c640 allow empty mode (choice 0) on api call (#34142) 2025-05-14 12:50:45 +02:00
Frédéric FRANCE
e1de1edbe6 fix picto (#34123)
* fix picto

* Update societe.class.php
2025-05-13 10:53:35 +02:00
Frédéric FRANCE
c1f8d7ff4a fix translation existing twice (#34102)
* fix translation existing twice

* fix translation existing twice

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-12 20:25:02 +02:00
ldestailleur
9b84a7c3e4 Fix CI 2025-05-12 20:24:10 +02:00
Jyhere
a9727760cf NEW: add hooks on societe consumption page (#34112)
* NEW: add hooks on societe consumption page

Add all necessary hooks to modify query and add more columns on the societe consumption page

* FIX : redefine $parameters array between each hook call

* FIX: php cs errors
2025-05-12 19:39:31 +02:00
ldestailleur
13ee6e6c7d Fix trans 2025-05-12 19:39:16 +02:00
Laurent Destailleur
da982d1106 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-12 01:44:04 +02:00
Laurent Destailleur
ceeb5b7a50 Clean code 2025-05-12 01:38:55 +02:00
Laurent Destailleur
7dd95914e8 Clean code 2025-05-12 00:02:59 +02:00
ldestailleur
f0ad845711 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-11 12:32:45 +02:00
ldestailleur
a9a2ff560a FIX Can set the default value of nature of thirdparty 2025-05-11 12:26:36 +02:00
ldestailleur
a674676ded Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-10 13:33:53 +02:00
ldestailleur
1ec8036cc6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-05-07 11:32:25 +02:00
ldestailleur
b555aed819 The API to create a website account /idthirdparty/accounts/site is now
POST (instead of PUT) and to update is PUT (instead of PATCH).
2025-05-07 11:28:30 +02:00
William Mead
384a4f3984 QUAL Updated third party API PHPDoc (#34077)
* Updated and cleaned PHPDoc. Added contributor details.

* Updated and cleaned PHPDoc

* Cleaned PHPDoc

* Cleaned PHPDoc

* Cleaned PHPDoc

* Cleaned PHPDoc

* Cleaned PHPDoc

* Cleaned PHPDoc

* Added contributor details
2025-05-07 11:20:14 +02:00
sonikf
17f6158fb1 fix trans for non latin languages (#34059) 2025-05-05 20:13:19 +02:00
Josep Lluís
dfe997fa07 Update paymentmodes.php (#34044)
Fix multicompany signatures on sepamandate
2025-05-02 22:42:15 +02:00
Frédéric FRANCE
57aa02f0f4 Fix missing translation (#34014)
* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation
2025-04-29 10:53:52 +02:00
William Mead
6ddc9926fa QUAL Updated Contacts API PHPDoc (#34005)
* Updated and cleaned PHPDoc

* Added comment
2025-04-29 06:54:56 +02:00
ThomasNgr-OpenDSI
149bb14202 NEW Move right from advance to normal for thirdparty information payment page (#33885)d
Co-authored-by: Alexandre SPANGARO <aspangaro.dolibarr@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-26 21:23:08 +02:00
Frédéric FRANCE
de763b4b43 clean code of order (#33880)
* clean code of order

* clean code of order

* clean code of order

* clean code of order
2025-04-16 21:09:45 +02:00
ldestailleur
a18284b829 Debug v22 2025-04-11 17:36:05 +02:00
Eric - CAP-REL
be1948e1eb better fields definition with full objects reference (#33798) 2025-04-09 16:36:42 +02:00
ThomasNgr-OpenDSI
b431b1bc90 FIX sales representatives can affect contacts from thirdparties they are not allowed to see (#33353)
* introduce method User::getAffectedThirdparties()

* Forbid to display thirdparties on contact tab is user has no right to see them

* add control in add_contacts

* fix precommit

* fix phan, phpstan

* fix travis + fix using wrong table

* Forbid to display thirdparties on contact tab is user has no right to see them (more secure way)

* try to fix TRAVIS

* more efficient way to check user is allowed to ad a socpeople

* remove dead code
2025-04-06 19:51:30 +02:00
ldestailleur
30801a64e5 Debug v22 2025-03-29 15:20:28 +01:00
Lucas Marcouiller
0aa0588f52 New Implements findNearest for societe module (#33643)
* New Implements Find Nearest for societe module

* fix CI

* fix CI
2025-03-28 23:11:01 +01:00
ldestailleur
d9753254b1 Look and feel v22 for description/notes into lines 2025-03-26 14:39:42 +01:00
ldestailleur
ec0b487b28 NEW Can filter on public/private notes in list sale orders thirdparties 2025-03-26 14:12:55 +01:00
ldestailleur
14d9b4a9a6 NEW Can filter on field "Refuse emailing" in list of thirdparties. 2025-03-26 13:53:17 +01:00
ldestailleur
2efe17b3c4 Code comment 2025-03-26 13:18:55 +01:00
ldestailleur
6cae3878df Prepare emailing code for unsubcribing emails 2025-03-26 13:01:59 +01:00
ldestailleur
ae59c409f6 Modulebuilderization 2025-03-26 00:56:24 +01:00
ldestailleur
a0ec0002f6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 13:47:25 +01:00
ldestailleur
51d514ce21 FIX Add a new email for notification 2025-03-18 16:53:23 +01:00
Laurent Destailleur
395157d16c Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-17 19:46:08 +01:00
ldestailleur
cc9658fbb4 Fix address separator 2025-03-17 12:59:30 +01:00
Frédéric FRANCE
7767fdeb4f do not init specimen with deprecated properties (#33472) 2025-03-15 15:40:52 +01:00
MDW
2cd6459d10 Qual: Fix phan notices (*card) (#33450) 2025-03-14 17:25:11 +01:00
Jakub Stříbrný
890b24b17a Add hook when printing button for new card (#33408)
* Add hook for print New Card Button in societe/contact.php

If we use canvas on contact module, we need to add canvas into the URL of the "create" button.

* Add hook for print new card button in societe list

To be able to use contact canvas when clicking on create new contact from thirdparty list.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-12 20:41:39 +01:00
ldestailleur
a5a82bbb6e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-11 00:40:20 +01:00
ldestailleur
718ef9401a FIX #33360 2025-03-11 00:38:20 +01:00
ThomasNgr-OpenDSI
c9a27ae21d NEW : allow stock management by product (#32326)
* Code part

* Code part 2

* Fix : invert a const

* Fix : invert disable/enable stock values

* Fix

* Fix missing column from select inside sql request

* Fix input hidden missing name

* ajout d'un commentaire

* small fixes

* remove unrelated lines

* phpcs

* stickler fix

* pre-commit fixes

* pre-commit fixes

* pre-commit fix

* fix missing translation

* Fix phpstan

* fix winCI

* fix travis

* fix phpstan

* fix travis (hopefully)

* remove useless lines

* relaunch tests

* change stockable_product type from bool to int

* change test in Expeditin::addline() to allow adding a line for product with disabled stock management

* make stock management mandatory for products with batch number

* try to remove PHAN errors

* fix phpstan

* fix phpstan

---------

Co-authored-by: Alexandre SPANGARO <aspangaro.dolibarr@gmail.com>
Co-authored-by: mrozniecki <mrozniecki@easya.solutions>
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2025-03-10 10:49:53 +01:00
ldestailleur
37056d9420 FIX debug use of hook completeFieldsToSearchAll 2025-03-07 15:22:11 +01:00
ldestailleur
d42f6dff0e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-06 03:34:56 +01:00
ldestailleur
b058a2c270 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-05 18:15:07 +01:00
Jyhere
973a11e1e9 FIX: Warning when getNomUrl is called before top_httphead
If Societe::getNomUrl() is called before top_httphead, this triggers a Cannot modify header warning
2025-03-05 15:10:46 +01:00
Laurent Destailleur
35d0a62085 Merge pull request #33334 from jyhere/patch-27
FIX: Warning when getNomUrl is called before top_httphead
2025-03-05 15:09:52 +01:00
MDW
f625f8de60 Qual: Fix api phan notices 2025-03-05 13:22:08 +01:00
MDW
eac44b164a Qual: Fix phpdoc index(), FIELDS 2025-03-05 13:21:05 +01:00