Commit Graph

8276 Commits

Author SHA1 Message Date
Laurent Destailleur
a63614593b Removed deprecated line 2024-04-11 11:04:42 +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
Regis Houssin
68eb5e409a NEW module user rights enhancement (#29150)
* NEW module user rights enhancement

* FIX syntax error

* FIX fuck

* FIX syntax error

* FIX Add label with the current language (key or with PermissionXXX)

* FIX wrong test

* FIX optimize

* FIX doc

* FIX add class "Rights" for constant

* FIX replace with constants

* FIX missing constant

* FIX wrong check

* TODO sql error : data too long for column 'libelle'

* FIX syntax error

* FIX synax error "the return"... i'll be back

* FIX use operator with double question mark

* FIX add comment

* FIX just remplace integer with constant

* FIX remove unused code

* FIX add an example

* FIX remove the possibility to have entity = 0 (too complicated)

* FIX perms must not be empty

* FIX sql syntax error

* FIX phpstan undefined property DolibarrModules::$modules

* FIX same fix of frederic34

* Update llx_rights_def.sql

* Update DolibarrModules.class.php

* Update DolibarrModules.class.php

* Update DolibarrModules.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 11:40:02 +02:00
Laurent Destailleur
b17788ab5c Add missing ; 2024-04-05 10:38:40 +02:00
G-ladal
12ee6d2820 Add entity to bookcal (#29212)
* [New] prepare bookcal DB for multicompany

Add entity to calendar and availability tables

* Fix propagate bookcal mods to main tables

add entity field for bookcal to install scripts (not only migration)

* add entity to bookcal_calendar only

as per requested, add entity to bookcal_calendar only

	modified:   htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	modified:   htdocs/install/mysql/tables/llx_bookcal_calendar-bookcal.sql

* Revert changes on availabilities table
2024-04-05 10:36:30 +02:00
Laurent Destailleur
50f99a51bb Remove trigger BILLREC_CREATEBILL that should not exists as it is
duplicate of BILL_CREATE.
This trigger was not a CRUD event. If you used it, you can already use
the trigger BILL_CREATE and test that ($object->fac_rec > 0) to know if
creation trigger is from a recurring invoice or not. Also this old
trigger was never enabled into table llx_c_action_trigger.
2024-04-03 02:37:30 +02:00
Laurent Destailleur
6bdbdb1348 Merge pull request #29161 from Vaadasch/patch-4
FIX & ADD llx_accounting_account_fr : PCG14-DEV corrections et impot sur revenu
2024-04-02 14:56:04 +02:00
Laurent Destailleur
49e7f0a215 Add ref_ext on project 2024-04-02 11:17:06 +02:00
Vaadasch
68f4752ae8 FIX & ADD llx_accounting_account_fr : correction coquilles et ajout de l'impot sur le revenu 2024-04-01 02:10:54 +02:00
Vaadasch
cfaf0b54fd Update llx_accounting_account_fr.sql
Correction coquilles PCG14
2024-03-31 18:20:09 +02:00
jyhere
18eba71973 FIX: supplier proposaldet ref_fourn size
on create table too
2024-03-29 13:19:32 +01:00
jyhere
e3073490cd FIX: supplier proposaldet ref_fourn size
supplier_proposaldet ref_fourn size should match product_fournisseur_price ref_fourn size (128)
2024-03-29 11:53:31 +01:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
Laurent Destailleur
da1b857f46 Fix removed ol table 2024-03-27 13:27:39 +01:00
Laurent Destailleur
f52e57f796 Debug v20 2024-03-25 12:14:25 +01:00
Laurent Destailleur
a8d50df131 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-24 15:34:38 +01:00
Laurent Destailleur
ef9c6aa04c Try to FIX #28482 2024-03-24 15:34:19 +01:00
MDW
20582bd9ec PHPdoc typing 2024-03-24 11:03:06 +01:00
Laurent Destailleur
7997db3eb9 Fix bad table 2024-03-22 02:50:12 +01:00
Laurent Destailleur
fd1322c095 Fix warning 2024-03-21 16:33:57 +01:00
Laurent Destailleur
922f30eceb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-21 15:38:11 +01:00
Laurent Destailleur
4b416327a7 Merge pull request #28974 from mdeweerd/fix/PhanTypeMismatchInternal5
# Fix PhanTypeMismatchInternal notifications (part 5)
2024-03-20 12:42:08 +01:00
Laurent Destailleur
9ad120df6b Better alignment of llx_expeditiondet with llx_receptiondet_batch 2024-03-20 12:26:15 +01:00
Laurent Destailleur
e6f7ace4be Update llx_expeditiondet.sql 2024-03-20 12:08:52 +01:00
Laurent Destailleur
277acdd523 Update llx_expeditiondet.sql 2024-03-20 12:07:42 +01:00
Zephyriony
4a1ef921af Update llx_expeditiondet.sql 2024-03-20 08:09:40 +01:00
Zephyriony
121f2aaa5f Update llx_expeditiondet.sql 2024-03-20 08:09:18 +01:00
Zephyriony
b061b6309a Update llx_expeditiondet.sql 2024-03-20 08:08:27 +01:00
MDW
bb1fe8bd10 Fix arg type to preg_replace by forcing type definition 2024-03-20 04:09:34 +01:00
Laurent Destailleur
9796dd38bc Doc 2024-03-20 01:17:24 +01:00
Christophe Battarel
e3a5977274 Merge branch 'develop' into rdb4 2024-03-19 15:58:40 +01:00
Christophe Battarel
446b574de5 renaming of columns impact db access 2024-03-19 15:49:42 +01:00
Christophe Battarel
815a2e231f fix mysql old version rename 2024-03-19 15:31:22 +01:00
Christophe Battarel
f94d282c17 renam fk_commande and fk_commandefourdet 2024-03-19 15:24:08 +01:00
MDW
4257a50e9c Fix json_encode()'s second argument which was true by removing it 2024-03-19 02:59:28 +01:00
MDW
8a889f9ae5 Fix type of arg to mt_rand with cast to string 2024-03-19 02:59:26 +01:00
MDW
c543f1b002 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:46 +01:00
MDW
3e1aaf8195 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:45 +01:00
MDW
a9ac98f6c7 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:44 +01:00
MDW
702976afab Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:43 +01:00
Laurent Destailleur
57e2aea255 Update llx_ticket-ticket.sql 2024-03-19 01:52:03 +01:00
Laurent Destailleur
67e5e95fde Update 19.0.0-20.0.0.sql 2024-03-19 01:51:35 +01:00
Hystepik
d82729e49d New data struture for references field in ticket 2024-03-18 15:11:50 +01:00
Laurent Destailleur
d73d27466b Update 19.0.0-20.0.0.sql 2024-03-18 14:40:47 +01:00
Frédéric FRANCE
9913778da0 fix migration for postgresql 19.0.0 -> 20.0.0 2024-03-18 14:04:51 +01:00
Laurent Destailleur
ebba438fbe Merge pull request #27528 from altairisfr/rdb
[DATA_MODEL] rename commande_fournisseur_dispatch into receptiondet_batch
2024-03-17 21:31:27 +01:00
Laurent Destailleur
c4b16e996e Clsoe #23147 2024-03-17 12:26:40 +01:00
Laurent Destailleur
487a55750a Fix warnings 2024-03-16 22:13:00 +01:00
Jon Bendtsen
4f879f2c01 fix spelling mistake 2024-03-15 20:59:35 +01:00
evarisk-micka
d43c3227db Add signed status CRUD to contract and fichinter 2024-03-15 12:12:21 +01:00