Laurent Destailleur
404ba88107
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-04-04 11:19:45 +02:00
Laurent Destailleur
cdf46276ac
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-04-04 11:06:46 +02:00
Laurent Destailleur
a15cb44096
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-04-04 11:06:19 +02:00
Laurent Destailleur
191ed21a91
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2024-04-04 11:02:04 +02:00
Laurent Destailleur
52b51b79ff
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2024-04-04 11:01:46 +02:00
Eric Seigne
71442efa03
remove check againts read access (and if that user create a thirdpart read access is implicit)
2024-03-13 12:19:01 +01:00
Eric Seigne
94dbde9cfd
fix default current user as commercial for the thirdparty
2024-03-12 15:28:35 +01:00
Laurent Destailleur
32d35d5443
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-02-22 00:18:42 +01:00
Laurent Destailleur
9874d008aa
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-02-22 00:16:59 +01:00
Laurent Destailleur
88da45d9dd
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-02-22 00:16:14 +01:00
Florian Mortgat
2b71c260d8
FIX 16.0 - parent company gets emptied when updating a third party from the card in edit mode ( #28269 )
...
This is because the field's value is set using GETPOST even when no corresponding <input> is present in the form.
2024-02-19 15:21:19 +01:00
Laurent Destailleur
cca01cbda4
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-01-23 22:15:36 +01:00
VESSILLER
0ce2d0179b
FIX several names for one const THIRDPARTY_CAN_HAVE_CUSTOMER_CATEGORY_EVEN_IF_NOT_CUSTOMER_PROSPECT
2024-01-19 17:50:15 +01:00
Laurent Destailleur
4ac88dac52
Fix #yogosha20013
2024-01-19 16:09:45 +01:00
Laurent Destailleur
e040219fdc
Fix phpcs
2023-12-13 12:45:07 +01:00
Laurent Destailleur
552e745908
Debug v19
2023-11-28 10:33:06 +01:00
Laurent Destailleur
075ee02901
Fix php8.2 warnings
2023-11-27 12:08:48 +01:00
sonikf
22e5ef6e18
fix fetch vat details not working for some use cases ( #26771 )
...
* fix not working for some use cases
* fix not working for some use cases
* use DOL_URL_ROOT
* fix travis
* Fix missing address
2023-11-23 17:47:17 +01:00
Laurent Destailleur
40898cac50
Close #26790
2023-11-21 23:05:40 +01:00
Christophe Battarel
455c061172
add hook tabContentEditThirdparty ( #26487 )
...
Co-authored-by: Christophe Battarel <christophe@altairis.fr >
2023-11-07 17:59:44 +01:00
Christophe Battarel
221f497e0f
add hook tabContentViewThirdparty ( #26488 )
...
Co-authored-by: Christophe Battarel <christophe@altairis.fr >
2023-11-07 17:59:05 +01:00
Christophe Battarel
57d6aee0d9
add hook tabContentCreateThirdparty ( #26489 )
...
Co-authored-by: Christophe Battarel <christophe@altairis.fr >
2023-11-07 17:58:52 +01:00
Laurent Destailleur
494908f1d2
Fix when using non standard action and canvas
2023-10-31 17:53:35 +01:00
Alexandre Janniaux
c3b3840f08
QUAL Refactor merging companies and fix #26272 with Reception objects ( #26320 )
...
* societe: add missing model_pdf field
The field is used by the class but wasn't declared.
* societe: expose Societe::mergeCompany
The code is directly copied from societe/card.php with as less changes
as possible.
The original code came from deb91ad7c1 .
* societe: remove fields from property copy
$phone_pro and $fk_project are not existing for societe. This was added
from deb91ad7c1 .
* SocieteTest: test the merge functionality
This test is a simple smoke test to check that the mergeCompany() will
work correctly on simple case and actually merge the details of the
company.
More complex deduplication pattern with objects referencing the deleted
Societe object, will be written for each of the different object class
in their respective test file.
* societe: card: use the new mergeCompany function
Since the code is almost the same, there should be no differences in
behaviour right now.
* societe: api_thirdparties: use Societe::mergeCompany()
* societe: fix issue when merging companies
When a Societe object is merged against another, its related objects are
supposed to reference the new Societe object so that the databse doesn't
raise foreign key errors.
The list references the objects that need to be transformed, and
Reception objects weren't part of this list.
Fix #26272
* ReceptionTest: check company merge hook
Before a Societe object is destroyed from the database, every object
referencing the FK should be destroyed or should reference another
object.
In the case of two companies being merged, the case arises and Reception
objects need to be moved to the new company. This commit brings a
non-regression test for this case.
Refs #26272
* Update societe.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2023-10-26 16:30:38 +02:00
Laurent Destailleur
455fb4417a
Look and feel v19
2023-10-20 12:57:58 +02:00
Laurent Destailleur
47dd99dd7c
Fix fatal error
2023-10-19 12:15:26 +02:00
Mohamed DAOUD
5b28ed0f4f
Replacing yes/no by checkboxes on thirdparty views ( #26236 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2023-10-17 16:46:02 +02:00
Laurent Destailleur
b8c8e903c2
Fix php8.2 warnings
2023-10-15 18:39:13 +02:00
Laurent Destailleur
c32fe8dc5f
QUAL: Use dol_clone with parameter 2 for ->oldcopy
2023-10-11 19:10:24 +02:00
Laurent Destailleur
aea0083abc
Better fix for #26124
2023-10-11 12:04:09 +02:00
Laurent Destailleur
39b6b34820
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-10-09 09:36:30 +02:00
Laurent Destailleur
ffbb05167a
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-10-09 09:28:51 +02:00
Dev2a
b76c402a09
Fix: Change access to $conf->global to function getDolGlobal (manual)
2023-10-08 23:25:46 +02:00
Dev2a
fcd4c4e429
Fix: Change access to $conf->global to function getDolGlobal (automatique)
2023-10-08 23:19:49 +02:00
Laurent Destailleur
0a46de7d81
Fix warning
2023-10-08 12:51:46 +02:00
sonikf
da92e4be32
fix remove unnecessary exposed service paramaters
2023-09-27 09:52:34 +03:00
sonikf
40238a5105
fix Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
2023-09-22 14:32:59 +03:00
sonikf
9199bce9da
Add test on !empty($u)
2023-09-22 12:56:40 +03:00
sonikf
ceaefa5b09
FIX use getDolGlobalString()
2023-09-13 12:29:22 +03:00
sonikf
fc26731025
fix CI errors
2023-09-12 21:27:22 +03:00
sonikf
e7d8f04187
fix ci errors
2023-09-12 21:04:32 +03:00
sonikf
ee09db0e55
Retrieve vat details from the Greek Ministry of Finance GSIS SOAP web service and autocomplete third party fields
2023-09-12 00:44:22 +03:00
Laurent Destailleur
6b94d60d9a
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-06-16 01:36:46 +02:00
Laurent Destailleur
00431c1ece
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-06-16 01:09:56 +02:00
Laurent Destailleur
886eaa9117
Fix error management and better merging behaviour
2023-06-15 12:48:12 +02:00
Frédéric France
eaad829b6f
use user hasRight
2023-06-12 20:31:34 +02:00
Alexandre SPANGARO
0aaf7988b1
FIX #24985 Societe - Function thirdparty merging not working with module whose tables are not deployed by default
2023-06-08 21:20:26 +02:00
Frédéric France
fd4c24e000
use user hasRight
2023-06-05 23:49:13 +02:00
Laurent Destailleur
ebfe632efe
Debug v18
2023-06-03 15:33:46 +02:00
Laurent Destailleur
e2ec34e1e5
Clean code
2023-05-01 14:33:08 +02:00