Commit graph

127081 commits

Author SHA1 Message Date
Alexandre SPANGARO
644bf76c18 NEW : llxHeader body css for donation 2023-12-17 23:08:08 +01:00
Laurent Destailleur
98009ea6be Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/compta/bank/class/account.class.php
	htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
	htdocs/langs/en_US/recruitment.lang
	htdocs/master.inc.php
	htdocs/projet/contact.php
2023-12-17 22:17:14 +01:00
Laurent Destailleur
64b9414271 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/modulebuilder/template/myobject_list.php
2023-12-17 22:08:40 +01:00
Laurent Destailleur
8cb9bdd852 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
Conflicts:
	htdocs/comm/action/list.php
	htdocs/compta/facture/list.php
	htdocs/modulebuilder/template/myobject_list.php
	htdocs/product/stock/movement_list.php
	htdocs/product/stock/productlot_list.php
	htdocs/ticket/list.php
2023-12-17 22:06:48 +01:00
Laurent Destailleur
438e922a75 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/master.inc.php
2023-12-17 21:49:42 +01:00
Laurent Destailleur
21b7d68f49 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
Conflicts:
	htdocs/comm/action/list.php
	htdocs/compta/facture/list.php
	htdocs/modulebuilder/template/myobject_list.php
	htdocs/product/stock/movement_list.php
	htdocs/product/stock/productlot_list.php
2023-12-17 21:49:08 +01:00
Laurent Destailleur
a342ef5ecf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-12-17 21:37:44 +01:00
Laurent Destailleur
9160d49625
Merge pull request #27125 from atm-lena/17.0_FIX_Issue26045
17.0 fix issue 26045
2023-12-17 21:36:55 +01:00
Laurent Destailleur
2b6ec12218
Merge pull request #27127 from Hystepik/fix-funnel-graph
Fix funnel of prospection display
2023-12-17 21:33:17 +01:00
Laurent Destailleur
0b3f93930d
Merge pull request #27129 from jyhere/patch-7
FIX: product association clone
2023-12-17 21:29:01 +01:00
Laurent Destailleur
6802c0f364
Merge pull request #27131 from frederic34/patch-8
fix phpdoc
2023-12-17 21:28:14 +01:00
Laurent Destailleur
de69e82c0a
Merge pull request #27133 from frederic34/patch-13
fix initAsSpecimen values
2023-12-17 21:27:57 +01:00
Laurent Destailleur
c128bd02aa
Merge pull request #27134 from frederic34/patch-14
fix return value
2023-12-17 21:27:35 +01:00
Laurent Destailleur
ca16b212dc
Merge pull request #27135 from frederic34/patch-15
fix set values
2023-12-17 21:25:24 +01:00
Laurent Destailleur
fd1e723b6e
Merge pull request #27136 from frederic34/patch-16
add phpdoc in subclass
2023-12-17 21:24:55 +01:00
Laurent Destailleur
8157b7a334
Merge pull request #27137 from frederic34/patch-17
fix phpdoc
2023-12-17 21:23:40 +01:00
Laurent Destailleur
a00099ed16 Fix sql standard 2023-12-17 21:20:11 +01:00
Laurent Destailleur
9f621d0ff5
Merge pull request #27138 from frederic34/patch-18
fix phpdoc
2023-12-17 20:58:05 +01:00
Laurent Destailleur
afdb24324a
Merge pull request #27140 from frederic34/patch-20
fix defaults values
2023-12-17 20:57:34 +01:00
Laurent Destailleur
44b2f9067d
Merge pull request #27142 from frederic34/patch-22
fix default value
2023-12-17 20:56:28 +01:00
Laurent Destailleur
f38fad5023
Merge pull request #27143 from frederic34/patch-23
fix default value
2023-12-17 20:55:44 +01:00
Laurent Destailleur
625aa2fa6b
Merge pull request #27146 from atm-john/issue_265856_part_002
NEW : llxHeader body css for modulebuilder see #26856
2023-12-17 20:55:20 +01:00
Laurent Destailleur
b3762798a7
Merge pull request #27149 from alexandre-janniaux/commande-test-create-soc/1
FIX: CommandeTest: fix create when no company exists
2023-12-17 20:54:23 +01:00
Laurent Destailleur
a9bdab922b
Merge pull request #27150 from alexandre-janniaux/companybankaccounttest-societe/1
FIX: CompanyBankAccountTest: fix create when no societe exists
2023-12-17 20:54:07 +01:00
Laurent Destailleur
f6d1d61d69
Merge pull request #27151 from alexandre-janniaux/contrattest-create-societe/1
FIX: ContratTest: fix create when no societe exists
2023-12-17 20:53:50 +01:00
Alexandre Janniaux
f728bda625 ContratTest: add more error context 2023-12-17 16:06:06 +01:00
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
Alexandre Janniaux
da3b4d10df FIX: CompanyBankAccountTest: fix create when no societe exists
The testCompanyBankAccountCreate() is using the default value for
CompanyBankAccount::socid, which is defined by
CompanyBankAccount::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:

    ERROR:  23503: insert or update on table "llx_societe_rib" violates foreign key constraint "llx_societe_rib_fk_societe"                                                   
    DETAIL:  Key (fk_soc)=(1) is not present in table "llx_societe".                                                                                                          
    SCHEMA NAME:  public                                                                                                                                                      
    TABLE NAME:  llx_societe_rib                                                                                                                                              
    CONSTRAINT NAME:  llx_societe_rib_fk_societe                                                                                                                              
    LOCATION:  ri_ReportViolation, ri_triggers.c:2596, ERROR:  23503: insert or update on table "llx_societe_rib" violates foreign key constraint "llx_societe_rib_fk_societe"
    DETAIL:  Key (fk_soc)=(1) is not present in table "llx_societe".                                                                                                          
    SCHEMA NAME:  public                                                                                                                                                      
    TABLE NAME:  llx_societe_rib                                                                                                                                              
    CONSTRAINT NAME:  llx_societe_rib_fk_societe                                                                                                                              
    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 15:55:26 +01:00
Alexandre Janniaux
0cc1cfc1ee FIX: CommandeTest: fix create when no company exists
The testCommandeCreate() is using the default value for Commande::socid,
which is defined by Command::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:

    ERROR:  23503: insert or update on table "llx_commande" violates foreign key constraint "fk_commande_fk_soc"
    DETAIL:  Key (fk_soc)=(1) is not present in table "llx_societe".                                            
    SCHEMA NAME:  public                                                                                        
    TABLE NAME:  llx_commande                                                                                   
    CONSTRAINT NAME:  fk_commande_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 15:45:25 +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
Frédéric FRANCE
35c58da5c4
Merge branch 'develop' into patch-17 2023-12-16 17:50:21 +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
ATM john
00cba14e99 Add llxHeader body css for modulebuilder 2023-12-16 14:38:13 +01:00
Frédéric FRANCE
93de531f37
fix default value 2023-12-16 11:09:26 +01:00
Frédéric FRANCE
8d39f4c149
fix default value 2023-12-16 11:07:09 +01:00
Frédéric FRANCE
2e543ddf82
fix defaults values 2023-12-16 10:12:35 +01:00
Frédéric FRANCE
5dc443b202
fix phpdoc 2023-12-16 10:00:21 +01:00
Frédéric FRANCE
188bf6f959
fix when actioncode is array 2023-12-16 00:13:56 +01:00
Frédéric FRANCE
64b7f55825
fix phpdoc 2023-12-15 23:59:39 +01:00
Frédéric FRANCE
86a4ae9236
add phpdoc in subclass 2023-12-15 22:54:40 +01:00
Frédéric FRANCE
f11dc69bea
fix set values 2023-12-15 22:50:02 +01:00
Frédéric FRANCE
7099cf530f
fix return value 2023-12-15 22:47:00 +01:00
Frédéric FRANCE
565a9eb191
fix initAsSpecimen values 2023-12-15 22:31:32 +01:00
Frédéric FRANCE
e9aa68e3fa
fix phpdoc 2023-12-15 20:36:10 +01:00