Commit Graph

126990 Commits

Author SHA1 Message Date
Alexandre Janniaux
c2c99ab2b8 FIX: ContratTest: fix create when no societe exists
The testContratCreate() is using the default value for Contrat::socid,
which is defined by Contrat::initAsSpecimen to `0`. But if no companies
have been created, the test will fail with the following error:

    Failed asserting that 0 is less than -1.

Or with the additional logging:

    UnknownError: ERROR:  23503: insert or update on table "llx_contrat" violates foreign key constraint "fk_contrat_fk_soc"
    DETAIL:  Key (fk_soc)=(1) is not present in table "llx_societe".                                                        
    SCHEMA NAME:  public                                                                                                    
    TABLE NAME:  llx_contrat                                                                                                
    CONSTRAINT NAME:  fk_contrat_fk_soc                                                                                     
    LOCATION:  ri_ReportViolation, ri_triggers.c:2596 -,                                                                    
    Failed asserting that 0 is less than -1.

The test doesn't really depends on specific test data so we can create
the company directly instead.
2023-12-17 16:06:05 +01:00
Laurent Destailleur
d4f61dcf59 Fix nusoap bug 2023-12-17 13:23:06 +01:00
Laurent Destailleur
55f5c6663d Fix regression on css lost on flags 2023-12-17 13:11:58 +01:00
Laurent Destailleur
b99fcbb5ad Remove deprecated files in migration 2023-12-16 20:14:47 +01:00
Laurent Destailleur
78d5e71a8f FIX #yogosha19506 2023-12-16 19:24:41 +01:00
Laurent Destailleur
91e53f9434 FIX #yogosha19474 2023-12-16 17:05:32 +01:00
Laurent Destailleur
b7a48691df Fix #yogosha19473 2023-12-16 16:50:53 +01:00
Laurent Destailleur
9765a18265 Debug v19 2023-12-16 16:26:38 +01:00
Laurent Destailleur
eda3ec4d04 Fix menu. Debug v19. 2023-12-16 14:50:54 +01:00
Laurent Destailleur
2cb4dd29f8 Fix td balance 2023-12-15 19:06:21 +01:00
Laurent Destailleur
540c69e303 Debug v19 2023-12-15 19:02:53 +01:00
Laurent Destailleur
f9a9b3610e Fix missing total 2023-12-15 18:53:55 +01:00
Laurent Destailleur
2a5fbe3537 Fix language 2023-12-15 17:31:58 +01:00
Laurent Destailleur
3c7745cc71 Fix analyses of file code 2023-12-15 14:44:50 +01:00
Laurent Destailleur
d560dfc2c6 Fix analyses of file code 2023-12-15 14:41:03 +01:00
Laurent Destailleur
37dcaf4dee css 2023-12-15 14:21:51 +01:00
Laurent Destailleur
f5a58e7693 Fix warnings 2023-12-15 14:20:54 +01:00
Laurent Destailleur
ec9c0a0a88 Fix regression 2023-12-15 14:18:30 +01:00
Laurent Destailleur
88efa1cd61 Tipo 2023-12-15 14:17:20 +01:00
Laurent Destailleur
5720f295be Fix warning 2023-12-15 13:58:48 +01:00
Laurent Destailleur
a515ceedda Fix warnings 2023-12-15 13:54:56 +01:00
Laurent Destailleur
44f24746ed Fix warnings 2023-12-15 13:49:09 +01:00
Laurent Destailleur
05db4b9f8e Sync transifex 2023-12-15 13:34:39 +01:00
Laurent Destailleur
71f721fbd9 Fix warning 2023-12-15 12:31:07 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Laurent Destailleur
957c483890 Swith phpstan level to 2 2023-12-15 11:18:04 +01:00
Laurent Destailleur
dae7bb5e80 Fix phpstan 2023-12-15 11:02:50 +01:00
Laurent Destailleur
dc134cddba FIX Remove useless code line that make phpstan hang with not enough
memory
2023-12-15 10:46:49 +01:00
Laurent Destailleur
3487b76052 Fix phpcs 2023-12-15 10:28:16 +01:00
Laurent Destailleur
03c05b4fd8 Debug v19 2023-12-14 18:05:46 +01:00
Laurent Destailleur
80576444f7 Debug v19 2023-12-14 16:00:05 +01:00
Laurent Destailleur
20a934d724 Fix sql error 2023-12-14 15:32:23 +01:00
Laurent Destailleur
68d89d4421 Fix pgsql install 2023-12-14 15:29:20 +01:00
Laurent Destailleur
6ca736e8a5 Debug v19 2023-12-14 15:16:11 +01:00
Laurent Destailleur
2aced0faaa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-12-14 14:52:34 +01:00
Laurent Destailleur
14ba1138c4 Fix payment SEPA for salary 2023-12-14 14:51:30 +01:00
Laurent Destailleur
33dd878f9e Fix payment SEPA for salary 2023-12-14 14:48:22 +01:00
Laurent Destailleur
1a7f674bd5 Fix add tms field to help debug v19 and sepa payment pbs 2023-12-14 14:01:28 +01:00
Laurent Destailleur
d5722ee4b2 Fix payment SEPA for salary 2023-12-14 13:50:29 +01:00
Laurent Destailleur
63328fc246
Merge pull request #27062 from altairisfr/fixamountht
fix missing declaration
2023-12-14 10:27:36 +01:00
Christophe Battarel
2a48d3497d better fix 2023-12-14 09:36:08 +01:00
Laurent Destailleur
880fc534b8
Merge pull request #27040 from fappels/19_fix-warehouse_list
Fix warehouse list
2023-12-14 02:43:41 +01:00
Laurent Destailleur
2c4a6b645a
Merge pull request #27061 from cfoellmann/19/PR/string
improve translation string for action generation on email sent
2023-12-14 02:37:51 +01:00
Laurent Destailleur
e145a087fb
Merge pull request #27084 from altairisfr/MAIN_IGNORE_CONTACTS_ON_CLONING
add constant MAIN_IGNORE_CONTACTS_ON_CLONING
2023-12-14 01:49:43 +01:00
Laurent Destailleur
df47acdbd7
Merge pull request #27086 from altairisfr/PROPAL_DISABLE_AUTOUPDATE_ON_CLOSE
add constant PROPAL_DISABLE_AUTOUPDATE_ON_CLOSE
2023-12-14 01:47:44 +01:00
Laurent Destailleur
0fc4be5d2b
Merge pull request #27067 from alexandre-janniaux/commande-error-forward/1
Qual: command: forward database error on failure
2023-12-14 01:39:59 +01:00
Laurent Destailleur
bd8333d712
Merge pull request #27069 from msoula/develop
FIX SQL query construction using category as filter.
2023-12-14 01:39:21 +01:00
Laurent Destailleur
72d6e0063c
Merge pull request #27074 from ATM-NicolasV/missing_dol_hash
FIX : missing require_once .'/core/lib/security.lib.php' for dol_hash()
2023-12-14 01:35:33 +01:00
Laurent Destailleur
c58cc0bbc4 Debug look and feel 2023-12-14 00:35:14 +01:00
Laurent Destailleur
b266c26781 Debug css v19 2023-12-14 00:29:57 +01:00