Commit Graph

4233 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
49e7f0a215 Add ref_ext on project 2024-04-02 11:17:06 +02: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
da1b857f46 Fix removed ol table 2024-03-27 13:27:39 +01:00
Laurent Destailleur
7997db3eb9 Fix bad table 2024-03-22 02:50:12 +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
9ad120df6b Better alignment of llx_expeditiondet with llx_receptiondet_batch 2024-03-20 12:26:15 +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
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
evarisk-micka
d43c3227db Add signed status CRUD to contract and fichinter 2024-03-15 12:12:21 +01:00
Florian HENRY
2d051d2fd5 add BDD contraint on bar code 2024-03-15 10:38:07 +01:00
Florian HENRY
778f7b0fbf NEW: add column for barcode in ticket 2024-03-15 10:21:17 +01:00
Jonathan lescaut
5e5792d144 add import kit 2024-03-13 15:38:29 +01:00
John BOTELLA
0dd7aad04b Fix element type size (#28664) 2024-03-07 20:27:51 +01:00
Laurent Destailleur
4279478acd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-01 19:40:36 +01:00
Regis Houssin
2d936bf1c9 FIX postgresql error (#28542)
* FIX postgresql error

* FIX better index name
2024-03-01 12:38:06 +01:00
Laurent Destailleur
5a0ae16c18 PERF: Performance enhancement on Invoice/Paiement area page 2024-02-25 09:28:14 +01:00
Laurent Destailleur
f216c742cb Add phone_mobile for #28070 2024-02-24 19:19:25 +01:00
Laurent Destailleur
c79a4767eb Merge 2024-02-24 17:52:50 +01:00
Laurent Destailleur
1a25a086cb FIX quote in sql request 2024-02-24 17:49:11 +01:00
Alban Durrheimer
36d364fb2d Add sendEmailsRemindersOnSupplierInvoiceDueDate cron function (#28378)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-23 16:50:21 +01:00
Laurent Destailleur
85803c9dbf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-23 16:45:19 +01:00
Laurent Destailleur
8ad9dc5b44 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-23 16:41:33 +01:00
Laurent Destailleur
1dbfd164bb Fix corrupted data 2024-02-23 15:27:00 +01:00
Laurent Destailleur
7b1dc74b9e Fix corrupted data 2024-02-23 15:25:22 +01:00
Laurent Destailleur
2acfea2f0c Fix corrupted data 2024-02-23 15:24:47 +01:00
Laurent Destailleur
213cca0c8d Fix warning and migration error 2024-02-19 16:47:04 +01:00
Frédéric FRANCE
c2eeeabb4a fix field too short (#28238) 2024-02-18 15:17:02 +01:00
Mohamed DAOUD
0fed96d702 New Add alias field to socpeople table (#28253)
* add alias field to socpeople table

* change name of the field
2024-02-18 15:05:17 +01:00
Laurent Destailleur
66615477ae Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-17 20:58:40 +01:00
Laurent Destailleur
7f49fd355a NEW Add id of last page accessed in website 2024-02-17 14:35:57 +01:00
HENRY Florian
24b017fbc8 database: add field llx_contract.signed_status (and remane new llx_fichinter.signed to llx_fichinter.signed_status to avoid SQL reserved name use) (#28204) 2024-02-16 13:07:07 +01:00
Laurent Destailleur
a626b1b693 FIX migration missing 2 columns in llx_resource and 1 in llx_user 2024-02-14 14:14:16 +01:00
Laurent Destailleur
437bbc9064 Close #27068 2024-02-12 04:21:24 +01:00
Laurent Destailleur
a8309ef8ee Fix missing migration 2024-02-09 17:57:38 +01:00
MDW
7b54824d49 Fix #28071 - New branch to fix bad merge (#28083)
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Qual: Introduce getDataToShowPhoto to prepare generic code

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix missing trans

* Fix langs

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Remove useless files in web templates

* Clean code

* Fix duplicate translation key

* Fix duplicate translation key

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix duplicate key

* Fix $object

* Debug v19

* WIP SMSing

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP EMAILINGS_SUPPORT_ALSO_SMS

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP SMSing

* Debug the "validate" feature

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Clean code

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Enhance rector to fix empty($user->rights->modulex->perm1)

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Fix template to use v19 dev rules

* Fix use v19 dev rules

* Fix phpunit

* Debug v19

* Clean code

* Use rector to convert user->rights into user->hasRight

* Clean code

* Use rector to convert user->rights into user->hasRight

* Use rector to convert user->rights into user->hasRight

* Clean code

* Fix phpcs

* add editorconfig for sql files (#27999)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* add model_pdf field in llx_ticket-ticket.sql (#27996)

* add model_pdf field in llx_ticket-ticket.sql

* Update 19.0.0-20.0.0.sql

* Update 19.0.0-20.0.0.sql

* Improve wording in README (#27994)

* fix phpstan (#27989)

* fix phpstan

* Update UserRightsToFunction.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: Fix spelling/working in datapolicy translations (#28006)

# Qual: Fix spelling/wording in datapolicy translations

Fixed some spelling and wording in datapolicy translations.

* qual: phpstan for htdocs/ticket/class/ticketstats.class.php (#27986)

htdocs/ticket/class/ticketstats.class.php	98	Parameter #1 $year (string) of method TicketStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()

* Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix user with readonly perm on email template must be able to read.

* Fix doc

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Better message

* Add missing fields in merge of thirdparty

* Debug v19 selection of ticket printer per terminal

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Use constant

* NEW: Adding a recipient on emails sent, change status to sent partialy.

* fix travis (#28052)

* fix travis

* Update partnership.class.php

* fix php doc (#28047)

* fix undefined array key (#28048)

* Add region and departament for Cuba (#28046)

* Update llx_10_c_regions.sql

Add Cuba Regions (id_country=77)

* Update llx_20_c_departements.sql

Add Provinces Cuba (id country=77)

* Find the typo (#28050)

* Find the typo

* clean code

* add last_main_doc field to product (#28045)

* add las_main_doc field to product

* add field fetch

* NEW Add Categorie filter for ActionComm (#28041)

* New Add Categorie filter for ActionComm

New Add Categorie filter for ActionComm

* Fix space errors

Fix space errors

* Fix space errors 2

Fix space errors 2

* Update cunits.class.php (#28056)

FIX: error SQL when creating a Cunit

* Update codespell-lines-ignore.txt to avoid PR merge conflict

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: thibdrev <thibault.drevet@gmail.com>
Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
Co-authored-by: Ikarus <44511582+LeKarSol@users.noreply.github.com>
Co-authored-by: Anthony Damhet <73399671+EchoLoGeek@users.noreply.github.com>
Co-authored-by: Quentin-Seekness <72733832+Quentin-Seekness@users.noreply.github.com>
2024-02-09 15:58:49 +01:00
Lucas Marcouiller
14090f3515 New make replyto as origin_email email collector ticket part (#28040)
* New make replyto as origin_email email collector ticket part

* fix by adding a field

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-02-08 13:58:40 +01:00
Laurent Destailleur
66beccf6ae Fix sql error 2024-02-07 22:59:22 +01:00
Christophe Battarel
a2ae40e62a Merge branch 'develop' into rdb 2024-02-01 11:34:08 +01:00