Commit Graph

7469 Commits

Author SHA1 Message Date
Laurent Destailleur
54d1250887 Merge + Clean duplicate trigger code. We must use the context. 2023-03-02 02:19:24 +01:00
Laurent Destailleur
f6271d83db Debug v17 2023-03-01 19:28:32 +01:00
Laurent Destailleur
f740a039f7 Debug v17 2023-03-01 12:34:01 +01:00
Alexandre SPANGARO
1b77abcb8a Update official French list of legal form update in september 2022 2023-02-28 00:00:54 +01:00
Laurent Destailleur
14d6c5fbdb Add missing column for the bank account for SEPA payments 2023-02-27 15:02:01 +01:00
Alexandre Janniaux
3c883c4b31 NEW inc.php: handle parameters from argv
This commit adds support for --help and --config to provide a different
config file when running upgrade.php from commandline. The argv array
is patched afterwards as if the options were never given so that it
stays transparent for the code path that are not aware of those
arguments.

The intention behind is incrementally move the usage of argc/argv to
this location and force help/usage from there, in particular for
upgrading.

The rationale for the --config addition is to be able to provide a
different path for conf.php when multiple dolibarr instance are using
the same readonly htdocs folder, which is already possible by modifying
the `include_path` from PHP for the htdocs/ directory but not for the
htdocs/install directory since relative paths are used to fetch the
config file. Since the use-case is to upgrade/migrate a Dolibarr
instance from CLI, it makes sense to be able to select for which
instance (and database parameters) the upgrade should take place.
2023-02-26 19:32:20 +01:00
Laurent Destailleur
62c6178269 Work on SEPA Stripe Payments 2023-02-24 23:15:54 +01:00
Laurent Destailleur
fdf374fdee Add field to protect a file by a password 2023-02-24 11:15:17 +01:00
FLIO
29e56ab3cf fix (qodana) edit error and merge develop to be update 2023-02-21 17:51:24 +01:00
Laurent Destailleur
44da230012 Clean code 2023-02-21 12:57:36 +01:00
Laurent Destailleur
d89ccaeaad Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-19 18:18:38 +01:00
Laurent Destailleur
8a283f4de4 Fix missing extraparams column 2023-02-19 17:12:13 +01:00
Laurent Destailleur
0b4cacd291 Use dolChmod 2023-02-17 20:01:53 +01:00
Frédéric FRANCE
70d79f0d3f
Update llx_c_socialnetworks.sql 2023-02-16 22:17:52 +01:00
Laurent Destailleur
ebca6e5c0b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-15 20:47:45 +01:00
Laurent Destailleur
c31eec1d94 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-15 20:39:33 +01:00
Laurent Destailleur
94002bf85c Fix sql 2023-02-15 20:38:38 +01:00
Laurent Destailleur
4aed6c00cb Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-15 20:19:00 +01:00
Laurent Destailleur
c259ca09b8 Enhance script to repair database when stock by lot differ from stock 2023-02-15 20:14:48 +01:00
Laurent Destailleur
a0c53bc0bc Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-14 21:04:44 +01:00
FLIO
156922fc51 Fix (qodana) Incompatible return type 2023-02-14 14:09:56 +01:00
Laurent Destailleur
701c5b915f Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-13 14:01:32 +01:00
Laurent Destailleur
239f7a1eb0 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-02-13 13:58:03 +01:00
Laurent Destailleur
19bfb021e1 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-13 13:51:35 +01:00
Laurent Destailleur
954906ec48 Fix $dolibarr_main_restrict_os_commands applies also to antivir command 2023-02-11 16:05:40 +01:00
Benjamin Sonntag
ba1d3c9d8c Update llx_accounting_account_fr.sql
If you import this by hand, a key violation occurs. 
the 3352 account is named 3552, which collides which the 3552 below.
I propose to fix that easily ;)
2023-02-10 21:29:19 +01:00
Benjamin Sonntag
0115a63107
Update llx_accounting_account_fr.sql
If you import this by hand, a key violation occurs. 
the 3352 account is named 3552, which collides which the 3552 below.
I propose to fix that easily ;)
2023-02-10 19:49:51 +01:00
Laurent Destailleur
23b4e999fb Better sql for unique index 2023-02-10 19:44:34 +01:00
Laurent Destailleur
2a83487c46 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-09 19:37:33 +01:00
Laurent Destailleur
e5de31a7de Fix size of ref 2023-02-09 18:23:19 +01:00
Laurent Destailleur
693bdd437a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-09 18:01:25 +01:00
Laurent Destailleur
6fb24bfcc7 Add missing index 2023-02-09 18:00:25 +01:00
Florian HENRY
8bd6f070aa FIX: product ref fourn same size in supplier order/invoice as in product price fourn 2023-02-09 17:22:45 +01:00
Laurent Destailleur
69b690c45e Merge pull request #23817 from elcf/develop
Added key name to unique constraint
2023-02-09 11:36:41 -04:00
Laurent Destailleur
b65e3e4014 Fix all indexes must be named 2023-02-09 15:38:35 +01:00
Esteban L. Castro
0e301988a4 Added key name to unique constraint 2023-02-09 15:31:05 +01:00
Laurent Destailleur
c96513ac5d
Merge pull request #23817 from elcf/develop
Added key name to unique constraint
2023-02-09 15:29:07 +01:00
Laurent Destailleur
e82bf26e7a
Merge pull request #23832 from dolibit-ut/patch-656
Update llx_c_availability.sql
2023-02-09 15:08:17 +01:00
Laurent Destailleur
704faf734a NEW Auto activate some modules on install (export/import/wysiwyg editor) 2023-02-09 00:47:33 +01:00
UT from dolibit
81400b1fc5
Update llx_c_availability.sql
add 1-5 days
2023-02-08 11:14:53 +01:00
Esteban L. Castro
614a9c2a1e
Added key name to unique constraint 2023-02-06 18:29:50 -04:00
Laurent Destailleur
fe35f5ec28 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-06 14:21:25 +01:00
Laurent Destailleur
1be5145148 NEW Add more zip, town, country for owner of a bank account 2023-02-02 16:04:16 +01:00
Laurent Destailleur
be63736f87 Enhance repair by removing some bad named indexes 2023-02-02 13:03:30 +01:00
Laurent Destailleur
c78e2b11f9 Complete the repair to remove orphelins states and regions 2023-02-02 13:03:18 +01:00
Laurent Destailleur
088d783e03 Fix all indexes must have a name 2023-02-02 12:59:05 +01:00
Laurent Destailleur
fc64d78247 NEW The upgrade process can be done by creating a file upgrade.unlock 2023-02-02 12:58:12 +01:00
Laurent Destailleur
8f0f9af94a Enhance repair by removing some bad named indexes 2023-02-02 12:27:43 +01:00
Laurent Destailleur
2aa6868f13 Complete the repair to remove orphelins states and regions 2023-02-02 12:17:17 +01:00
Laurent Destailleur
40852a124d Fix doc 2023-02-02 12:15:22 +01:00
Laurent Destailleur
2c1e1a6126 Fix missing upgrade 2023-02-02 11:48:30 +01:00
Laurent Destailleur
c4245e2c05 Prepare use of upgrade.unlock 2023-01-27 11:52:58 +01:00
UT from dolibit
e1c3b61ce8
Update llx_10_c_regions.sql
add new Slovakia
2023-01-23 19:36:55 +01:00
Florian HENRY
fd676ca822 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_SQL_CONTRAINT_on_product_stock 2023-01-13 10:38:20 +01:00
Florian HENRY
59a541ab8e NEW: Add SQL contraint on product_stock table to allow only exsting product and warehouse#23543 2023-01-13 10:33:48 +01:00
Laurent Destailleur
5bbfdbb775 NEW Show counter of access of website in website list 2023-01-12 22:11:13 +01:00
Laurent Destailleur
3ae453136b Fix error 2023-01-12 18:06:26 +01:00
Laurent Destailleur
c50c553999 NEW Save date to invalidate other session into user table 2023-01-12 14:40:00 +01:00
Laurent Destailleur
714ec2ce48 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-10 22:11:40 +01:00
Laurent Destailleur
7f96c642f1 Doc 2023-01-10 14:09:20 +01:00
Laurent Destailleur
e110e7ed74 Fix vat rate for luxembourg 2023-01-09 19:46:16 +01:00
Laurent Destailleur
7ca337cf8b Add option MAIN_SALETAX_AUTOSWITCH_I_CS_FOR_INDIA for India 2023-01-09 13:40:02 +01:00
Laurent Destailleur
b3b0fe2444 Clean code 2023-01-06 20:12:58 +01:00
Laurent Destailleur
43a0ccce2b Clean code 2023-01-04 11:37:24 +01:00
Laurent Destailleur
ba6374e6be Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-03 15:31:00 +01:00
Laurent Destailleur
f5c59c39f9 Fix migration 2023-01-03 13:33:10 +01:00
Laurent Destailleur
f5792d692a Fix migration 2023-01-03 13:32:43 +01:00
Laurent Destailleur
f3bdecd111 Revert option ECM_AUTO_TREE_ENABLED into ECM_AUTO_TREE_HIDEN 2023-01-02 02:23:28 +01:00
Laurent Destailleur
0f763d2606 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-31 15:01:24 +01:00
Laurent Destailleur
1934db2dd1 Debug v17 2022-12-31 14:37:33 +01:00
Laurent Destailleur
41f35d5947 NEW Date for salary payment includes the hour/min 2022-12-30 00:04:47 +01:00
Laurent Destailleur
6824f82cc8 Fix warnings 2022-12-28 13:58:23 +01:00
Laurent Destailleur
fc1365daed Add prorata_discount 2022-12-27 20:45:49 +01:00
Laurent Destailleur
0ed1005867 Enhance install 2022-12-27 10:38:06 +01:00
Laurent Destailleur
9828d27a6a Merge branch
'14.0_fix_show_prospecting_level_on_contact_list_by_normalize_the_field_name'
of https://github.com/OPEN-DSI/dolibarr into
OPEN-DSI-14.0_fix_show_prospecting_level_on_contact_list_by_normalize_the_field_name
2022-12-27 00:46:07 +01:00
Laurent Destailleur
a863742eb5
Merge pull request #22841 from artemChernitsov/new-odt-abbility-to-supplier-invoices
NEW Add abbility of ODT support to supplier invoices
2022-12-27 00:33:25 +01:00
Laurent Destailleur
56257c86f3
Merge pull request #23328 from cybermo/patch-1
correction to the right apostrophe in tow occurrences
2022-12-26 23:40:42 +01:00
Laurent Destailleur
ce656c1cdc
Merge pull request #23330 from cybermo/patch-2
Add juridic form SARL-S for Luxembourg
2022-12-26 23:34:51 +01:00
sonikf
44c05ebca5
ADD Greek public holidays 2022-12-26 04:47:20 +02:00
Mo
e1747f342f
Add SARL-S for Luxembourg
The simplified limited liability company (Société à responsabilité limitée simplifiée – SARL-S) is a form of commercial company that is subject to rules that are somewhat different to those that apply to a conventional private limited liability company (Société à responsabilité limitée – SARL).

La société à responsabilité limitée simplifiée (SARL-S) est une forme de société commerciale qui déroge à certaines règles propres à la société à responsabilité limitée (SARL) classique.

https://guichet.public.lu/fr/entreprises/creation-developpement/forme-juridique/societe-capitaux/sarl-s.html
2022-12-25 03:19:14 +01:00
Mo
40f55e8f8e
correct to the right apostrophe in tow occurrences
no more message after this correction in Luxembourg plan comptable normalisé 2020 (PCN 2020) 
"Erreur lors du chargement du tableau de compte. Si certains comptes n’ont pas été chargés, vous pouvez toujours les entrer manuellement."
2022-12-24 03:19:12 +01:00
Eric Seigne
6edea2fe43 remove amount from llx_facture (sql migration) 2022-12-23 07:58:25 +01:00
Ferran Marcet
0a454dfa7a New: Register project closing automatically in the agenda 2022-12-20 12:44:38 +01:00
Laurent Destailleur
7eedcdd115 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2022-12-20 11:16:00 +01:00
Laurent Destailleur
63fe4615aa
Merge pull request #23065 from FHenry/dev_add_PropalNotificationTriggers
NEW: Notification for Sign or Refused Propal from Online Page
2022-12-17 02:15:02 +01:00
Laurent Destailleur
1670eb1d4f
Merge pull request #23198 from dolibit-ut/patch-625
Update llx_20_c_departements.sql
2022-12-17 01:37:11 +01:00
UT from dolibit
d97e4adbe8
Update llx_20_c_departements.sql
removed 'active' from UK
2022-12-12 20:38:43 +01:00
Laurent Destailleur
9a68d1df22 Debug v17 2022-12-11 22:39:30 +01:00
Laurent Destailleur
b1fedab447 Doc 2022-12-11 22:13:50 +01:00
hystepik
2242f89e19 Fix #23096 : add missing ip column on tables 2022-12-08 10:33:44 +01:00
Laurent Destailleur
60133805ee Fix field message must be mediumtext 2022-12-06 19:41:31 +01:00
Laurent Destailleur
5713bf025c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-01 17:38:17 +01:00
Florian HENRY
8202bc6930 NEW: Notification for Sign or Refused Propal from Online Page 2022-12-01 13:56:14 +01:00
Laurent Destailleur
5125e42a0c Tooltip
Try to fix blocking pb with country where default vat is not higher rate
2022-12-01 12:01:48 +01:00
Laurent Destailleur
62231d5b2f
Merge pull request #23042 from lamrani002/fix_issue_tooLong_reponse
fix issue #23027
2022-12-01 11:08:25 +01:00
Alexandre SPANGARO
c683fb318a Add template recruitment odt 2022-11-30 22:18:39 +01:00
Alexandre SPANGARO
bf3a5850bf Typo in proposal odt 2022-11-30 21:12:21 +01:00
Lamrani Abdel
9d59f0e038 add request migration to table opensurvey_user_studs 2022-11-30 11:32:13 +01:00
Lamrani Abdel
46d57f548d modify size of column responses 2022-11-29 17:48:05 +01:00
Laurent Destailleur
35ffe970a9 Fix sql migration 2022-11-29 10:09:29 +01:00
hystepik
da5a65019a add protection by month on public 2022-11-28 16:07:23 +01:00
Laurent Destailleur
a82f5c7a8c Fix tooltip 2022-11-26 11:24:41 +01:00
Laurent Destailleur
587daa77ea Better setup by default 2022-11-25 12:27:53 +01:00
Laurent Destailleur
e4a3126cf8 Fix bad value 'system' for AC_OTH 2022-11-25 10:42:33 +01:00
fboitel
00f5a2ddc8
Merge branch 'Dolibarr:develop' into FIX-SECURITY-Fail2ban-public-pages 2022-11-24 19:10:35 +01:00
Faustin
9a028c9137 Limit survey answer on public page by ip adress 2022-11-24 13:10:43 +01:00
Faustin
0901bf55c3 Limit eventorganization attendee on public page by ip adress + fix some bugs on that page 2022-11-24 10:58:43 +01:00
Laurent Destailleur
40bc26a666 NEW Ad the target to select attendees of event for emailings 2022-11-23 21:29:15 +01:00
Faustin
dfb10f7362 Limit booth suggest on public page by ip adress 2022-11-23 19:51:34 +01:00
Faustin
1e88704a14 Limit project creation on public page by ip adress 2022-11-23 17:32:32 +01:00
Laurent Destailleur
5ba80117ec FIX #22858 #22862 2022-11-22 23:53:00 +01:00
Artem Chernitsov
85e282b056
Merge branch 'Dolibarr:develop' into new-odt-abbility-to-supplier-invoices 2022-11-22 10:54:26 +02:00
Laurent Destailleur
c2d0f97063 Website 2022-11-20 15:13:40 +01:00
Laurent Destailleur
1aa304c758 Debug v17 2022-11-20 15:01:07 +01:00
Laurent Destailleur
1c43d40acf Debug v17 2022-11-20 14:37:31 +01:00
kkhelifa
97d2d4a17b Deplacement requete de migration 2022-11-18 11:03:05 +01:00
kkhelifa
5c67c37636 Merge branch 'develop' of github.com:Dolibarr/dolibarr into 14.0_fix_show_prospecting_level_on_contact_list_by_normalize_the_field_name 2022-11-18 11:00:05 +01:00
Laurent Destailleur
2f0d9e18bd Fix missing default bank account on form 2022-11-17 23:29:42 +01:00
Laurent Destailleur
259ff07bbd Add missing index 2022-11-17 01:19:31 +01:00
Artem Chernitsov
532627db15
Merge branch 'Dolibarr:develop' into new-odt-abbility-to-supplier-invoices 2022-11-16 15:22:45 +02:00
Laurent Destailleur
25c074668d Fix perf index 2022-11-15 22:24:30 +01:00
Laurent Destailleur
a17c9d5d36 Fix perf index 2022-11-15 22:23:10 +01:00
Laurent Destailleur
78e1e6be8c Remove default deprecated constant 2022-11-15 14:09:08 +01:00
Laurent Destailleur
a5aab68958 Fix duplicate data c_action_trigger and c_tva 2022-11-15 13:53:45 +01:00
Laurent Destailleur
1c287297c0 Fix duplicate data c_action_trigger and c_tva 2022-11-15 13:51:37 +01:00
Artem Chernitsov
bbd9f0bc8d
Merge branch 'develop' into new-odt-abbility-to-supplier-invoices 2022-11-14 18:44:54 +02:00
Artem Chernitsov
8ce49001a7 Add abbility of ODT support to supplier invoices 2022-11-14 18:10:31 +02:00
Laurent Destailleur
e84dd8d074 NEW Init module bookcal 2022-11-14 01:27:05 +01:00
Laurent Destailleur
ddf60b399e Fix better separation label journal and label transfer 2022-11-07 21:48:52 +01:00
Alexandre SPANGARO
a3e34f20e0 Merge remote-tracking branch 'upstream/develop' into 17b15 2022-11-06 17:07:38 +01:00
Alexandre SPANGARO
13c7ddddbf FIX Accountancy - the pages of generations of entries are not journals, this term must be removed 2022-11-06 16:51:12 +01:00
kkhelifa
60eb3340d1 FIX: Fix the prospecting level colomn on contact list by normalize the field namein the table with the name defined in the fields list of the contact class 2022-11-04 17:32:48 +01:00
Laurent Destailleur
a565b297fd
Merge pull request #22730 from frederic34/overwritetrans
add same translation in many entities
2022-11-02 16:10:51 +01:00
Frédéric FRANCE
ca77beeff6 add same translation in many entities 2022-11-02 14:32:14 +01:00
Laurent Destailleur
2e8f0b77be Add column for birth place 2022-11-02 02:20:48 +01:00
Laurent Destailleur
88273690c5 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/propal/card.php
2022-11-02 00:24:08 +01:00
Laurent Destailleur
bc2e226ef8 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
Conflicts:
	htdocs/comm/propal/card.php
	htdocs/societe/class/societe.class.php
2022-11-02 00:19:23 +01:00
Laurent Destailleur
c28e6a46e2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/comm/propal/card.php
	htdocs/install/step5.php
2022-11-02 00:15:21 +01:00
Laurent Destailleur
ff16d74bd2 FIX install wizard error management 2022-11-02 00:00:02 +01:00
Laurent Destailleur
840428200c Add fields to allow SEPA payments of salaries 2022-10-31 08:27:25 +01:00
Laurent Destailleur
18c9685051 Rename table to prepare need of direct debit for non invoices 2022-10-28 17:51:25 +02:00
Laurent Destailleur
06fcf5312f Close #22512 manually due to error in sticket (missing space after cast) 2022-10-25 17:30:50 +02:00
Laurent Destailleur
1a2347ff60
Merge pull request #22649 from fappels/develop_fix_migration
Fix migration script when running on mysql 8
2022-10-25 14:44:41 +02:00
Laurent Destailleur
4eeb73276a Close #22650 2022-10-24 19:38:38 +02:00
Laurent Destailleur
6b2cc119ed
Merge branch 'develop' into develop_fix_migration 2022-10-24 19:14:24 +02:00
Maxime Kohlhaas
cb2f940718 Fix SQL error on install llx_establishment 2022-10-23 12:20:11 +02:00
Laurent Destailleur
ce494354e2 NEW Finish removal of code using adodbtime 2022-10-22 01:54:50 +02:00
Laurent Destailleur
c1213cfde8 Fix missing code for triggers 2022-10-21 16:34:13 +02:00
Laurent Destailleur
fc64bcf56f Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-10-21 13:22:27 +02:00
Laurent Destailleur
1d21d73400 NEW Add date event (!= date project) and location on event organization 2022-10-21 13:19:21 +02:00