2
0
forked from Wavyzz/dolibarr

Compare commits

...

4628 Commits

Author SHA1 Message Date
Laurent Destailleur
05f0f1733d Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-18 21:52:33 +01:00
Laurent Destailleur
bd58cf1b37 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-18 21:52:18 +01:00
Laurent Destailleur
b0f538387e Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/accountancy/class/bookkeeping.class.php
	htdocs/core/modules/import/import_csv.modules.php
	htdocs/core/modules/import/import_xlsx.modules.php
2022-02-18 21:50:08 +01:00
Laurent Destailleur
e948db69f2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-02-18 21:46:01 +01:00
Laurent Destailleur
28d8a28be6 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-02-18 21:45:54 +01:00
Laurent Destailleur
959aa0ce59 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2022-02-18 21:44:34 +01:00
Laurent Destailleur
c770e232ff Merge pull request #20120 from RomainDeschamps/14.0
Add ticket page in user personal landpage
2022-02-18 21:09:23 +01:00
Laurent Destailleur
1c129fd3ea Merge pull request #20038 from atm-quentin/FIX_12_sort_ht_amount
FIX sort amount ht on cabyprodserv.php
2022-02-18 21:04:52 +01:00
Laurent Destailleur
3e4279f37b Merge pull request #20083 from ATM-Consulting/FIX_VacantPosition
FIX : HRM | Vacant position option
2022-02-18 20:47:54 +01:00
Laurent Destailleur
72df61b175 Merge pull request #20107 from henrynopo/patch-2
Fix bug - List of supplier order - to show total line
2022-02-18 20:42:30 +01:00
Laurent Destailleur
f295fa8ad4 Merge pull request #20108 from atm-maxime/fix_15_missing_hooks
Fix : add missing formobjectoptions hook on 3 cards
2022-02-18 20:23:09 +01:00
Laurent Destailleur
91eafaea98 Merge pull request #20109 from aspangaro/14p33
FIX Accountancy - On manual transaction with multicompany - Function transformTransaction can validate & delete transaction of an other entity
2022-02-18 20:21:43 +01:00
Laurent Destailleur
19f51347ea Merge pull request #20111 from atm-greg/Fix_14.0_price_extrafields_rounding_and_currency
fix rounding for price and display currency
2022-02-18 20:19:02 +01:00
Laurent Destailleur
d27a530173 Merge pull request #20119 from Easya-Solutions/14.0_fix-fec-import-rule-compute
FIX compute rule in FEC import
2022-02-18 20:14:23 +01:00
Romain DESCHAMPS
5eb4d3408c Update param_ihm.php 2022-02-18 19:31:42 +01:00
lvessiller
1107a60b58 FIX compute rule in FEC import 2022-02-18 16:53:55 +01:00
Laurent Destailleur
3d9cdbf136 FIX Debug v15 2022-02-18 16:24:11 +01:00
Laurent Destailleur
cd9c1acafe Fix missing token 2022-02-18 16:09:23 +01:00
Laurent Destailleur
f4f03d03f2 Fix link 2022-02-18 15:23:13 +01:00
Laurent Destailleur
87a5defbd3 Comment 2022-02-18 15:11:54 +01:00
Laurent Destailleur
e41e0f069a Fix creator in PDF. Add log to help to find strange bug 2022-02-18 15:09:52 +01:00
Atm-Gregr
30cde100ff trad us 2022-02-18 14:41:29 +01:00
Laurent Destailleur
61e91656e0 FIX setup of member module
FIX generation of business cards
2022-02-18 14:14:34 +01:00
Laurent Destailleur
694ea8830b Fix missing name and type into template 2022-02-18 13:46:12 +01:00
Laurent Destailleur
3ab2308124 Clean code 2022-02-18 12:36:05 +01:00
Laurent Destailleur
aec2579c41 Clean code 2022-02-18 12:22:53 +01:00
stickler-ci
b5afa27774 Fixing style errors. 2022-02-18 10:09:38 +00:00
atm-greg
12c825ba84 fix rounding for price and display currency 2022-02-18 10:50:00 +01:00
Alexandre SPANGARO
3f109aa911 FIX Accountancy - On manual transaction with multicompany - Function transformTransaction can validate & delete transaction of an other entity 2022-02-18 09:24:12 +01:00
Maxime Kohlhaas
7a457478d5 Fix : add missing formobjectoptions hook on 3 cards 2022-02-18 08:23:12 +01:00
Henry
c32cc660a3 Update list.php 2022-02-18 08:16:56 +08:00
Laurent Destailleur
b01fbba039 Fix packages 2022-02-17 23:41:31 +01:00
Laurent Destailleur
d19aca7192 # WARNING: head commit changed in the meantime
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2022-02-17 20:50:03 +01:00
Laurent Destailleur
28e6acdae3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-02-17 20:46:36 +01:00
Laurent Destailleur
aacd439765 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/api/class/api_setup.class.php
2022-02-17 20:46:20 +01:00
Laurent Destailleur
80f1cd8857 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2022-02-17 20:43:51 +01:00
Laurent Destailleur
edc984c6e3 # WARNING: head commit changed in the meantime
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
2022-02-17 20:43:22 +01:00
Laurent Destailleur
120a4a608e Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-17 20:41:20 +01:00
Laurent Destailleur
b013c9a15f Fix duplicate div 2022-02-17 20:37:39 +01:00
Laurent Destailleur
64ddead1b5 Merge pull request #20051 from ptibogxiv/patch-3
FIX API REST for setup values
2022-02-17 20:05:17 +01:00
Laurent Destailleur
2f3411a31b Merge pull request #20044 from atm-arnaud/FIX_societe_create_user_author
FIX wrong user author
2022-02-17 19:54:53 +01:00
Laurent Destailleur
7e33794f66 Merge pull request #20047 from simicar29/14-dolistore
Fix urlencode breaking links in Market Place page
2022-02-17 19:54:04 +01:00
Laurent Destailleur
ea7051f6a0 Merge pull request #20052 from ptibogxiv/patch-4
FIX API REST setup
2022-02-17 19:53:19 +01:00
Laurent Destailleur
511aee6005 Merge pull request #20057 from aspangaro/14p31
FIX Accountancy - Order by accounting account on summary page
2022-02-17 19:44:59 +01:00
Laurent Destailleur
f1d84f5728 Merge pull request #20060 from hregis/fix_missing_default_or_current_value
FIX missing default or current value
2022-02-17 19:43:29 +01:00
Laurent Destailleur
97575854d0 Merge pull request #20094 from thomas-Ngr/12_fix_ticket_public_email_wrong_custom_url
fix ticket: wrong link sent to customer
2022-02-17 19:18:36 +01:00
Laurent Destailleur
2e744a4517 Update create_ticket.php 2022-02-17 19:18:22 +01:00
Laurent Destailleur
c529af90c6 Fix trans 2022-02-17 12:06:48 +01:00
Thomas Negre
1ad8700810 empty commit to force travis try rebuild 2022-02-17 11:08:23 +01:00
Atm-Gregr
8d14d18638 Merge branch '15.0' of github.com:Dolibarr/dolibarr into FIX_VacantPosition 2022-02-17 09:59:36 +01:00
Thomas Negre
1c8c98ac0f fix ticket public interface:
When sending an email to the customer,
If a custom URL had been provided for ticket public interface,
the link provided in the email did lead to the index of the public interface.
We want it to lead to /view.php
2022-02-17 09:53:36 +01:00
Laurent Destailleur
626a5b90f1 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-16 21:23:45 +01:00
Laurent Destailleur
c3733a92e1 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
	htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php
2022-02-16 21:22:49 +01:00
Laurent Destailleur
eb8caf7419 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2022-02-16 21:17:19 +01:00
Laurent Destailleur
c16e013b99 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
	htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php
2022-02-16 21:13:49 +01:00
Laurent Destailleur
92cb95a184 Merge pull request #20064 from ATM-Consulting/FIX_uniformize_pdf_logo_behaviour
Fix uniformize pdf logo behaviour for supplier orders
2022-02-16 21:09:45 +01:00
lvessiller
9b1d800311 NEW add triiger and event on totally received status 2022-02-16 20:52:01 +01:00
lvessiller
690a91d546 NEW automatically set totally received status in reception 2022-02-16 20:51:47 +01:00
Laurent Destailleur
5cf8fae151 Merge pull request #20072 from fappels/15_fix_barcode_viewimage
Fix barcode viewimage regression on yogosha8628
2022-02-16 20:36:59 +01:00
Laurent Destailleur
ed10db668d Merge pull request #20073 from atm-quentin/FIX_13_combinations
FIX weight is lost if it's comma on combinations card
2022-02-16 20:34:24 +01:00
Laurent Destailleur
73e2b13418 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-16 20:32:30 +01:00
Laurent Destailleur
2a18bce2f3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/api/index.php
	htdocs/langs/en_US/productbatch.lang
	htdocs/langs/fr_FR/productbatch.lang
	htdocs/ticket/list.php
2022-02-16 20:31:55 +01:00
Laurent Destailleur
906651d404 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-02-16 20:27:26 +01:00
Laurent Destailleur
e0563d2bef Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-02-16 20:27:07 +01:00
Laurent Destailleur
7029bb7000 Merge pull request #20077 from AlexisLaurier/bugfix/paymentByBankTransfertIndexTabEntity
add missing entity check on list of withdraws on index of paymentbyba…
2022-02-16 20:26:39 +01:00
Laurent Destailleur
a33ca21151 Merge pull request #20079 from AlexisLaurier/bugfix/fixPrelevmentLineDetails-ForBankPaymentTransfert
manage details of prelevment line for bank transfer
2022-02-16 20:22:54 +01:00
Laurent Destailleur
645bf9564e Merge pull request #20084 from altairis-noe/stock_doc14
FIX: correct warehouse document location
2022-02-16 20:18:43 +01:00
Laurent Destailleur
357f6e234a Merge pull request #20086 from altairis-noe/duplicate_serial_move_trans
FIX : translation string instead of error message text
2022-02-16 20:18:01 +01:00
Laurent Destailleur
b3d71b2a12 Merge pull request #20087 from ATM-Consulting/FIX_job_card_button_add_event
FIX : HRM | Change button and add title on job card
2022-02-16 20:17:10 +01:00
Laurent Destailleur
190d8d6143 Merge pull request #19076 from inovea-conseil/FIX_ISSUE_DB_ERROR_SYNTAX-#18921
FIX ISSUE DB_ERROR_SYNTAX #18921
2022-02-16 20:15:25 +01:00
Laurent Destailleur
e1bf1a54f7 Merge pull request #20089 from thomas-Ngr/14_fix_ticket_return_list_db_error_syntax
fix: ticket return list creates db error syntax
2022-02-16 20:14:27 +01:00
Laurent Destailleur
1ede8a30b2 Missing NOSESSION 2022-02-16 17:49:05 +01:00
Florian
aa2a57ff95 Check that the value is not an array 2022-02-16 17:00:54 +01:00
Florian
7ed6ca6ec6 FIX ISSUE DB_ERROR_SYNTAX-#18921 2022-02-16 17:00:50 +01:00
Atm-Gregr
30d3a782de precommit stickler 2022-02-16 16:30:54 +01:00
Atm-Gregr
5f09ac61b2 insert precommit1 2022-02-16 16:27:47 +01:00
Atm-Gregr
1f2659d411 insert precommit 2022-02-16 16:26:57 +01:00
Atm-Gregr
038298a638 change button and add title 2022-02-16 16:10:48 +01:00
Noé Cendrier
98c50f531c translation string instead of error message text 2022-02-16 15:57:39 +01:00
Atm-Gregr
dbcbda642a fix sticker 1 2022-02-16 15:53:06 +01:00
Atm-Gregr
7868aa305b fix filter 2022-02-16 15:48:23 +01:00
Atm-Gregr
1a41232181 add vacant position option 2022-02-16 15:24:35 +01:00
Alexis LAURIER
ff8dcdc4b7 manage details of prelevment line for bank transfer 2022-02-16 10:52:20 +01:00
Alexis LAURIER
8b0280a9d2 add missing entity check on list of withdraws on index of paymentbybanktransfert 2022-02-16 10:26:44 +01:00
Francis Appels
95c0e72956 Fix barcode viewimage regression on yogosha8628 2022-02-15 11:37:24 +01:00
Quentin VIAL-GOUTEYRON
82b3d89923 FIX wieght is loose if it's comma on combinations 2022-02-15 11:31:09 +01:00
Laurent Destailleur
0e664cc969 Fix API call from ajax 2022-02-15 11:12:08 +01:00
Laurent Destailleur
9173eec8ac Fix input lost 2022-02-14 23:02:43 +01:00
Laurent Destailleur
54bf8ed1ed Fix link 2022-02-14 22:53:24 +01:00
Laurent Destailleur
b6879d7953 css 2022-02-14 22:38:45 +01:00
atm-greg
96c7a9f77c fix pdf_cornas 2022-02-14 15:16:36 +01:00
atm-greg
3ebdb89133 fix pdf_mucadet 2022-02-14 15:11:26 +01:00
Laurent Destailleur
05bd37a921 Fix menu "New" when using paranoiac MAIN_SECURITY_CSRF_WITH_TOKEN = 3 2022-02-14 12:29:00 +01:00
Laurent Destailleur
ff17fe5ae7 Fix reponsive 2022-02-14 12:28:19 +01:00
Laurent Destailleur
dce996a53f Reponsive 2022-02-14 12:28:11 +01:00
Laurent Destailleur
5d90a00728 Debug v15 2022-02-14 12:27:35 +01:00
Regis Houssin
15b7f37027 FIX missing default or current value 2022-02-14 09:14:06 +01:00
Alexandre SPANGARO
9349e2df7c FIX Accountancy - Order by accounting account on summary page 2022-02-13 21:11:45 +01:00
Laurent Destailleur
d5e5e8d436 Debug v15 2022-02-13 17:09:40 +01:00
Laurent Destailleur
1097111706 Fix autofocus 2022-02-13 16:37:08 +01:00
Laurent Destailleur
cafdcb7206 Show translation value 2022-02-13 16:13:38 +01:00
ptibogxiv
8d3e97bab9 Update api_setup.class.php 2022-02-12 19:21:07 +01:00
ptibogxiv
a5a8f30939 FIX API REST setup
bad words
2022-02-12 17:08:43 +01:00
ptibogxiv
11e15255bd FIX API REST for setup values 2022-02-12 16:59:29 +01:00
Laurent Destailleur
b98f547c4a Fix autoselect 2022-02-12 12:12:50 +01:00
Laurent Destailleur
8000adb694 Fix test 2022-02-11 18:50:12 +01:00
Laurent Destailleur
eff2fc1e9e Complete option MAIN_FREE_PRODUCT_CHECKED_BY_DEFAULT 2022-02-11 18:19:50 +01:00
Laurent Destailleur
b623b88674 css 2022-02-11 18:06:39 +01:00
Marc GUENNEUGUES
c552030b69 Fix urlencode breaking links in Market Place page 2022-02-11 15:18:38 +01:00
Laurent Destailleur
271e9da425 Add option MAIN_STORE_FULL_EVENT_IN_GMT to fix TZ pb with full day event 2022-02-11 15:15:50 +01:00
Laurent Destailleur
89ffe5baba Clean code for param of dol_stringtotime() 2022-02-11 14:07:10 +01:00
Laurent Destailleur
32af067e1e Code comment 2022-02-11 13:01:29 +01:00
Laurent Destailleur
b84fd3ec3d Clean code 2022-02-11 12:46:45 +01:00
atm-arnaud
455247565d FIX wrong user author 2022-02-11 11:40:45 +01:00
Laurent Destailleur
27df3cc02c FIX events on several days may missing the last day in calendar view.
FIX the drag and drop was not available on some events
2022-02-11 11:27:50 +01:00
Laurent Destailleur
30d7f807e4 Fix url 2022-02-10 21:03:10 +01:00
Noé Cendrier
664860863e correct warehouse document location 2022-02-10 17:59:12 +01:00
Laurent Destailleur
fc36849093 css 2022-02-10 17:31:55 +01:00
Quentin VIAL-GOUTEYRON
d819d427c3 FIX sort amount ht 2022-02-10 16:46:19 +01:00
Laurent Destailleur
10d2e0cec0 Fix link to reconcile 2022-02-10 16:27:40 +01:00
Laurent Destailleur
2b65ba4a45 FIX insert free price using price without tax on order 2022-02-10 15:03:41 +01:00
Laurent Destailleur
535c04e86e Fix region of LIVORNO 2022-02-10 14:18:13 +01:00
Laurent Destailleur
ff3fbd1cf8 Fix preselected field 2022-02-10 13:06:51 +01:00
Laurent Destailleur
1d6a7ebe03 Fix pb with bulk payment feature 2022-02-10 13:01:47 +01:00
Laurent Destailleur
760b8caa31 Fix migration 2022-02-10 11:26:36 +01:00
Laurent Destailleur
a295725368 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-10 11:23:45 +01:00
Laurent Destailleur
8db6152a4d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-02-10 11:23:00 +01:00
Laurent Destailleur
6c8fafddf6 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/fourn/class/fournisseur.commande.class.php
2022-02-10 11:22:31 +01:00
Laurent Destailleur
7a1c4172a6 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/fourn/class/fournisseur.commande.class.php
2022-02-10 11:20:09 +01:00
Laurent Destailleur
d0f3274570 Merge pull request #19979 from ATM-Consulting/FIX_14.0_error_converttoreduc_with_multicurrency
fix bad array index for multicurrency
2022-02-10 10:56:42 +01:00
Laurent Destailleur
a257d0b3e6 Merge pull request #20035 from hregis/fix_wrong_div_name
FIX broken feature, wrong div name again
2022-02-10 10:26:49 +01:00
Laurent Destailleur
7cd9c6b7ba Merge pull request #20003 from ptibogxiv/patch-2
FIX api product with subproduct
2022-02-10 10:25:40 +01:00
Laurent Destailleur
e901949531 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-10 10:23:52 +01:00
Laurent Destailleur
06fe8c391e Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/core/lib/pdf.lib.php
	htdocs/install/mysql/tables/llx_propaldet.sql
2022-02-10 10:23:42 +01:00
Regis Houssin
faec54ba3b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into fix_wrong_div_name 2022-02-10 10:18:45 +01:00
Regis Houssin
3eabeb2380 FIX broken feature, wrong div name again 2022-02-10 10:18:06 +01:00
Laurent Destailleur
65b81eddf4 Merge pull request #20000 from aspangaro/14p31
FIX Propal - Missing field import_key in import propal line
2022-02-10 10:17:41 +01:00
Laurent Destailleur
9ec7b204c1 Merge pull request #20033 from hregis/fix_broken_feature_wrong_div_name
FIX broken feature, wrong div name
2022-02-10 09:58:26 +01:00
Laurent Destailleur
d5d34930a8 Update card.php 2022-02-10 09:58:08 +01:00
Regis Houssin
8dffa020b4 FIX broken feature, wrong div name 2022-02-10 09:54:09 +01:00
Laurent Destailleur
3c49dddc02 Merge pull request #20026 from cfoellmann/PR/fix-vat-double
fix vat double in commande PDF
2022-02-10 09:31:27 +01:00
Laurent Destailleur
db81b32a5d Merge pull request #20028 from noec764/12.0_Fix_Double_CommandeFournisseurDet
Change of SQL request when fetching CommandeFournisseurLigne
2022-02-10 09:30:36 +01:00
Laurent Destailleur
793e43c7c6 Update fournisseur.commande.class.php 2022-02-10 09:29:11 +01:00
Laurent Destailleur
0b63ac638e FIX API caan now be used in a preflight mode by Ajax. 2022-02-09 21:12:06 +01:00
Laurent Destailleur
5a37b2c649 Fix API call 2022-02-09 18:10:21 +01:00
Laurent Destailleur
fe01f75e97 Fix API_ENDPOINT_RULES with api of external modules 2022-02-09 17:50:26 +01:00
Laurent Destailleur
c7f99f140e Fix remove validator 2022-02-09 17:41:32 +01:00
noec764
d9bac75a63 Merge branch '12.0' into 12.0_Fix_Double_CommandeFournisseurDet 2022-02-09 15:33:45 +01:00
Laurent Destailleur
7055d326e4 FIX rtl languages 2022-02-09 13:24:11 +01:00
Noé Courtier
e4c1978e12 Change of SQL request when fetching CommandeFournisseurLigne 2022-02-09 12:24:33 +01:00
atm-greg
4c6fd42e3a fix with eldy recommendations 2022-02-09 09:47:48 +01:00
Christian Foellmann
e0a3820b9c fix double VAT line in commande PDF template 2022-02-09 08:01:24 +01:00
Laurent Destailleur
a91bdad8de Fix responsive 2022-02-08 12:01:48 +01:00
Laurent Destailleur
c496e6eb51 doc 2022-02-07 20:53:13 +01:00
Laurent Destailleur
cea124b73b Merge pull request #20015 from FHenry/14_fix_captial_footer
fix: if capital is not numeric just display input value
2022-02-07 20:45:02 +01:00
Florian HENRY
30779be77e fix: if capital is not numeric just display input value 2022-02-07 16:36:47 +01:00
Florian HENRY
228142684b fix: if capital is not numeric just display input value 2022-02-07 16:33:27 +01:00
Laurent Destailleur
5d23e448a6 Prepare 15.0 2022-02-07 15:46:59 +01:00
Laurent Destailleur
fc3b8e3b01 Hide password in dialog 2022-02-07 15:46:02 +01:00
Laurent Destailleur
7f04b7dc3d Fix button Cancel 2022-02-07 15:26:03 +01:00
Laurent Destailleur
53bac7ae0f Fix menu 2022-02-07 15:16:11 +01:00
Laurent Destailleur
02ec11ff64 css 2022-02-07 15:07:03 +01:00
Laurent Destailleur
21db3c19dd Trans 2022-02-07 14:49:10 +01:00
Laurent Destailleur
fafe41294a Clean install 2022-02-07 14:29:59 +01:00
Laurent Destailleur
31ca78acda Sync transifex.
Fix install.
2022-02-07 14:25:20 +01:00
Laurent Destailleur
e8acb551f9 Fix section of attached files for salaries 2022-02-07 09:50:07 +01:00
Laurent Destailleur
856b83a202 CSS 2022-02-07 09:26:03 +01:00
Alexandre SPANGARO
3e4150fbc2 Translation 2022-02-07 05:02:59 +01:00
ptibogxiv
b18b049dca FIX api product with subproduct 2022-02-06 22:55:37 +01:00
Alexandre SPANGARO
ea83b9c11c FIX Propal - Missing field import_key in import propal line 2022-02-06 13:56:57 +01:00
Laurent Destailleur
cd491280cf Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-06 13:06:27 +01:00
Laurent Destailleur
bd3218b460 Fix remove dead code 2022-02-06 13:06:12 +01:00
Laurent Destailleur
3b36465210 Fix missing allowed_in_frames 2022-02-06 12:17:42 +01:00
Laurent Destailleur
dcfaa977bc Merge pull request #19996 from atm-john/15.0_fix_logic
FIX : logic for form setup
2022-02-05 19:02:17 +01:00
ATM john
ba46d04d6e Fix logic for form setup 2022-02-04 21:51:33 +01:00
Laurent Destailleur
ba795310b5 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-04 20:32:39 +01:00
Laurent Destailleur
7ade138590 Fix phpcs 2022-02-04 20:30:45 +01:00
Laurent Destailleur
4e7ad489b2 Merge pull request #19995 from bb2a/patch-2
FIX - Hide ref subpruct
2022-02-04 20:14:52 +01:00
Laurent Destailleur
836ffc2b02 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-04 19:06:32 +01:00
Anthony Berton
07c7209c0c Update pdf.lib.php 2022-02-04 19:05:22 +01:00
Laurent Destailleur
63d35ecffd Fix phpcs 2022-02-04 19:05:11 +01:00
BENKE Charlene
5f3c81daee FIX if we have PRODUCT_USE_UNITS, task fail
we need 	public function getLabelOfUnit($type = 'long') fonction or printlineOriginLine fail
2022-02-04 15:35:03 +01:00
Laurent Destailleur
e85051aaaa Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-04 15:32:50 +01:00
Laurent Destailleur
8da089b4c1 Merge pull request #19993 from atm-gauthier/15.0_hrm_fix_position_extrafields
FIX : extrafields are not used yet + fix ihm
2022-02-04 15:30:04 +01:00
Gauthier PC portable 024
accf426f19 FIX : extrafields are not used yet + fix ihm 2022-02-04 15:14:30 +01:00
Laurent Destailleur
5249840402 FIX #yogosha8628 2022-02-04 15:14:10 +01:00
Laurent Destailleur
f99e19e729 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-04 13:19:55 +01:00
Laurent Destailleur
e57bc01466 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/product/class/product.class.php
2022-02-04 13:02:45 +01:00
Laurent Destailleur
7410d50b6b Merge pull request #19986 from el-dge/13.0
Issue on stock virtuel : fix Dolibarr/dolibarr#18634
2022-02-04 12:56:05 +01:00
Laurent Destailleur
3f87db08d4 Update product.class.php 2022-02-04 12:55:31 +01:00
Laurent Destailleur
4324558d67 FIX backup fails 2022-02-04 12:34:42 +01:00
El-dge
d09303d27c Issue on stock virtuel : fix Dolibarr/dolibarr#18634 2022-02-04 12:31:40 +01:00
Laurent Destailleur
a7021008ba Update pdf.lib.php
Conflicts:
	htdocs/core/lib/pdf.lib.php
2022-02-04 12:27:13 +01:00
Laurent Destailleur
15dca77330 Fix filter on search_categ 2022-02-04 11:00:16 +01:00
Laurent Destailleur
95833135f4 FIX #19974 2022-02-04 10:44:19 +01:00
Laurent Destailleur
ff39bcb058 Merge pull request #19975 from ksar-ksar/patch-13
FIX #19974 : llx_onlinesignature.sql allready exist
2022-02-04 10:35:56 +01:00
Laurent Destailleur
3a9564ed88 Merge pull request #19976 from bb2a/patch-1
FIX - Trigger in setPaymentMethods for order
2022-02-04 09:23:11 +01:00
Laurent Destailleur
840e3b5bc3 Fix url 2022-02-03 19:21:59 +01:00
Laurent Destailleur
ef62cd0b18 css 2022-02-02 18:24:30 +01:00
Laurent Destailleur
0259f094bd Fix trans 2022-02-02 18:04:11 +01:00
Laurent Destailleur
73474a1cea Fix css 2022-02-02 17:57:20 +01:00
atm-greg
6035a374b7 fix bad array index 2022-02-02 14:44:38 +01:00
Laurent Destailleur
e813de1595 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-02 14:08:54 +01:00
Laurent Destailleur
5a89da8876 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-02-02 14:08:19 +01:00
Laurent Destailleur
815dd74de0 Fix missing information propagated to trigger 2022-02-02 14:07:31 +01:00
Anthony Berton
da91c5f5ef Update commonobject.class.php 2022-02-02 12:38:22 +01:00
ksar
0d534f0c37 FIX #19974 : llx_onlinesignature.sql allready exist
FIX #19974 : llx_onlinesignature.sql allready exist
2022-02-02 10:56:32 +01:00
Laurent Destailleur
1ca1f111b3 Fix warnings 2022-02-01 16:12:51 +01:00
Laurent Destailleur
6ddc4ba3a0 Fix bad value for total VAT on PDF 2022-02-01 13:23:52 +01:00
Laurent Destailleur
9db0b7d0ef Fix look and feel v15 2022-02-01 11:57:33 +01:00
Laurent Destailleur
3a40078149 Fix length of list 2022-01-31 14:03:40 +01:00
Laurent Destailleur
f9cb209262 Fix max nb of lines in supplier index page 2022-01-31 12:18:04 +01:00
Laurent Destailleur
d167e022eb Debug v15 2022-01-31 12:08:51 +01:00
Laurent Destailleur
648f1b7d1f Doc 2022-01-30 20:25:10 +01:00
Laurent Destailleur
723b9d101a FIX #yogosha8604 2022-01-30 17:24:10 +01:00
Laurent Destailleur
6a719f6d83 CSS 2022-01-30 16:41:07 +01:00
Laurent Destailleur
87de9a8a23 Fix #yogosha8590 2022-01-30 16:30:19 +01:00
Laurent Destailleur
045cd5e810 Fix phpcs 2022-01-30 02:05:07 +01:00
Laurent Destailleur
b1728a2129 css 2022-01-30 01:58:29 +01:00
Laurent Destailleur
9e86e5ce93 Fix creation of page 2022-01-30 01:46:14 +01:00
Laurent Destailleur
87f05067ca Fix rounding price 2022-01-29 16:47:29 +01:00
Laurent Destailleur
23eda44ba7 Debug v15 2022-01-29 16:43:51 +01:00
Laurent Destailleur
d75dd51bb7 Clean code to debug fulldayevent 2022-01-29 00:39:20 +01:00
Laurent Destailleur
266fc808af Fix trans 2022-01-29 00:15:55 +01:00
Laurent Destailleur
38e39cfa96 CSS 2022-01-28 19:57:07 +01:00
Laurent Destailleur
2fa1b01e21 Fix dark theme 2022-01-28 19:51:59 +01:00
Laurent Destailleur
05ef2c714e Update supplier_proposal.class.php 2022-01-28 18:54:47 +01:00
Jay Yeo
8c403655a7 FIX supplier_proposal when line update price U.P change 0 modify 2022-01-28 18:54:38 +01:00
andreubisquerra
3ec2769a05 FIX pay value 2022-01-28 18:11:38 +01:00
Laurent Destailleur
38fd7f9b66 Merge pull request #19947 from aspangaro/14p30
FIX Invoice - Clone - Don't report contacts on an another thirdparty
2022-01-28 18:10:28 +01:00
Laurent Destailleur
c01e942a1c Merge pull request #19960 from fappels/15_reception_missing_translation_key
Fix missing reception module description translation key.
2022-01-28 17:08:17 +01:00
Laurent Destailleur
32bf4a993d Merge pull request #19955 from bb2a/patch-1
FIX - Holiday trigger
2022-01-28 17:07:59 +01:00
Laurent Destailleur
7333e98fc1 Merge pull request #19957 from bb2a/patch-2
FIX - VCard User
2022-01-28 17:07:31 +01:00
Francis Appels
8d75f575e5 Fix missing reception module description translation key. 2022-01-28 16:35:14 +01:00
Laurent Destailleur
7c9b97d035 css 2022-01-28 16:29:27 +01:00
Laurent Destailleur
ef70777cf1 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/reception/card.php
2022-01-28 15:57:09 +01:00
Laurent Destailleur
4b5792899e FIX Presentation of qty already order duplicated on reception card 2022-01-28 15:51:18 +01:00
Laurent Destailleur
bd2d7792f4 css 2022-01-28 13:52:42 +01:00
Laurent Destailleur
da744f5cb9 Fix link 2022-01-28 13:44:15 +01:00
Laurent Destailleur
34f3ec8a39 Try a fix with php that return a fatal error on some mysql 2022-01-28 11:11:36 +01:00
stickler-ci
adac1d3dbb Fixing style errors. 2022-01-28 09:34:52 +00:00
Anthony Berton
8c38125e79 Update vcard.php 2022-01-28 10:30:41 +01:00
Laurent Destailleur
5ff37febe3 Trans 2022-01-28 09:58:58 +01:00
Laurent Destailleur
047c55bd02 Fix look and feel v15 2022-01-28 08:49:47 +01:00
stickler-ci
1214ffaf3d Fixing style errors. 2022-01-28 01:32:44 +00:00
Anthony Berton
28e4cf5553 Update card.php 2022-01-28 02:30:49 +01:00
Anthony Berton
7fb0a78835 Update card.php 2022-01-28 02:30:04 +01:00
Anthony Berton
6fdbda93f8 Update 14.0.0-15.0.0.sql 2022-01-28 02:28:55 +01:00
Anthony Berton
dcb7e39bd2 Update llx_c_action_trigger.sql 2022-01-28 02:27:09 +01:00
Alexandre SPANGARO
5f0999665f FIX Invoice - Clone - Don't report contact on an another thirdparty 2022-01-27 02:27:36 +01:00
Laurent Destailleur
538c5f14d3 Fix phpcs 2022-01-26 19:56:02 +01:00
Laurent Destailleur
2e525a719d Fix selection of migration script 2022-01-26 19:12:02 +01:00
Laurent Destailleur
7ce6f13933 Fix php8 2022-01-26 14:07:13 +01:00
Laurent Destailleur
60fff852ab Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-01-26 12:53:06 +01:00
Laurent Destailleur
1c45104f38 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-01-26 12:43:00 +01:00
Laurent Destailleur
b4961c598b Merge pull request #19932 from ATM-Consulting/fix_14.0_export_html_tag_test
FIX : Replace restricthtml to nohtml in export .
2022-01-26 12:42:35 +01:00
Laurent Destailleur
42f252b636 Add one more test 2022-01-26 12:39:41 +01:00
jpb
23e5ff08eb change to alphawithlgt 2022-01-26 12:07:06 +01:00
jpb
ec1f784247 replace restricthtml to nohtml. 2022-01-26 11:43:44 +01:00
Laurent Destailleur
2c26cc7d6b Merge pull request #19925 from bb2a/patch-1
FIX - Trigger setPaymentMethods
2022-01-26 11:39:38 +01:00
Anthony Berton
4f54149555 Update commonobject.class.php 2022-01-25 22:28:47 +01:00
Laurent Destailleur
a7d3facf88 Fix tooltip for payment 2022-01-25 16:10:46 +01:00
Thomas Negre
311d6d666d fix ticket : an external user should be able to access only its own company tickets. 2022-01-25 16:07:56 +01:00
Laurent Destailleur
80e2c1c449 Merge pull request #19857 from cfoellmann/PR/tasks-fetch_optionals
getTasksArray() fetch_optionals to populate ExtraFields
2022-01-25 14:28:16 +01:00
Laurent Destailleur
4b00ddb0b5 Merge pull request #19866 from atm-gauthier/FIX_hrm_divers
FIX : rankorder + vacant positions
2022-01-25 14:02:44 +01:00
Thomas Negre
bab35fd97d Fix ticket module : security check would prevent automatic fill of thirdparty fields when creating a ticket from thirdparty card. 2022-01-25 13:42:03 +01:00
Laurent Destailleur
54e5b5d369 Fix reponsive 2022-01-25 13:40:22 +01:00
Christian Foellmann
15346d1c4a getTasksArray() fetch_optionals to populate ExtraFields 2022-01-25 09:17:30 +01:00
Laurent Destailleur
d560483875 Fix permission from group not found 2022-01-24 18:32:29 +01:00
Laurent Destailleur
bb11ab992b Trans 2022-01-24 17:50:35 +01:00
Laurent Destailleur
0e8b7ef656 Clean code 2022-01-24 16:38:25 +01:00
Laurent Destailleur
6b5c0769b8 FIX #19786 2022-01-24 14:09:53 +01:00
Laurent Destailleur
1eb4d76253 Clean code 2022-01-24 13:15:32 +01:00
Laurent Destailleur
00eabded6d Fix phpunit 2022-01-24 12:43:42 +01:00
Laurent Destailleur
053b402202 Fix for notes standardization #19835 2022-01-23 19:20:13 +01:00
Laurent Destailleur
2985c03f9f Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-23 18:53:50 +01:00
Laurent Destailleur
daca510fa6 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	build/docker/docker-compose.yml
2022-01-23 18:52:47 +01:00
Laurent Destailleur
307338e3f4 Merge pull request #19836 from atm-john/15.0_fix_validate_lang_and_test
FIX :  lang load in validate class and fix test for numeric values
2022-01-23 18:24:11 +01:00
Laurent Destailleur
67fa80cf18 Merge pull request #19841 from fappels/15_fix_dolibarr_export
Fix view after generate database export
2022-01-23 18:20:36 +01:00
Laurent Destailleur
909c974bad Merge pull request #19897 from smil2k/bug/19896
fix docker build setup
2022-01-23 17:53:44 +01:00
Cserveny, Tamás
adf7492575 migrate missing properties 2022-01-23 16:26:14 +01:00
Laurent Destailleur
acafc69baa Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-01-23 16:13:20 +01:00
Laurent Destailleur
07ef603c2c Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2022-01-23 16:12:37 +01:00
Laurent Destailleur
251609eb26 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2022-01-23 16:12:27 +01:00
Laurent Destailleur
e392d98beb Fix hook 2022-01-23 13:43:48 +01:00
Laurent Destailleur
a0154503f4 Merge pull request #19838 from OPEN-DSI/v12-fix-supplier-order-print-error
FIX replace print error with event message when error on update line …
2022-01-23 13:37:09 +01:00
Laurent Destailleur
8b826949f5 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-23 13:04:48 +01:00
Laurent Destailleur
0ee0bfed85 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/fourn/commande/card.php
	test/phpunit/testvirus.txt
2022-01-23 13:04:37 +01:00
Laurent Destailleur
b5a287875c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-01-23 12:59:44 +01:00
Laurent Destailleur
4888d127e0 Make virus file no more detected. 2022-01-23 12:59:15 +01:00
Laurent Destailleur
8dc9489c31 Merge pull request #19880 from atm-lena/14.0_FIX_CreateEventFromContract
14.0 fix create event from contract
2022-01-23 12:55:59 +01:00
Laurent Destailleur
6c78ba5c71 Merge pull request #19884 from smil2k/bug/17058
Check if the lines in create is type object (like supplier invoice)
2022-01-23 12:54:17 +01:00
Laurent Destailleur
698e7f4b54 Merge pull request #19889 from Hystepik/develop_v15#1
Fix : remove false positive on carriage return on inventory scan
2022-01-23 12:35:54 +01:00
Philippe GRAND
fefbaa739a fix : bad path 2022-01-23 12:21:15 +01:00
Laurent Destailleur
a16d47c78e Close #19890 2022-01-23 12:06:40 +01:00
Laurent Destailleur
bb6f571633 Doc 2022-01-23 12:01:50 +01:00
Cserveny, Tamás
ca588852df fix code review errors 2022-01-23 12:00:33 +01:00
stickler-ci
bd6fdbd3be Fixing style errors. 2022-01-23 12:00:24 +01:00
Cserveny, Tamás
93edbf1cda missing supplierorder api 2022-01-23 12:00:16 +01:00
Laurent Destailleur
4981f418e8 Merge pull request #19899 from atm-jpb/fix_15.0_modelMailWidth
FIX : 15.0 add minwidth to selectArray mail model
2022-01-23 11:58:09 +01:00
Laurent Destailleur
e06ca2ea08 css 2022-01-23 02:38:34 +01:00
Laurent Destailleur
0c8cdad1e9 css 2022-01-23 02:22:12 +01:00
Laurent Destailleur
e3cf5fecbe css 2022-01-23 02:06:47 +01:00
Laurent Destailleur
e0956c1765 Fix missing token, missing reposition, missing modulepart 2022-01-22 15:33:47 +01:00
Laurent Destailleur
14af64d143 NEW Can removed doc templates from setup page of thirdparty 2022-01-22 15:09:14 +01:00
Laurent Destailleur
caf7e7d7d5 FIX action must be protected with a permission check 2022-01-22 15:07:53 +01:00
Laurent Destailleur
284fcf3ad5 FIX Company logo not found in some cases on some templates 2022-01-22 13:19:29 +01:00
Laurent Destailleur
65e58943b3 FIX exclude the pdf png preview files from backup 2022-01-21 20:57:45 +01:00
Laurent Destailleur
38fcfd38f8 Fix trans 2022-01-21 19:16:29 +01:00
Laurent Destailleur
82305d7dd4 Fix bad position sorting of permission list 2022-01-21 16:34:09 +01:00
Laurent Destailleur
4ac62773ae Fix permissions on deletion on time spend line 2022-01-21 16:22:59 +01:00
Laurent Destailleur
bbb0864fd8 Look and feel v15 2022-01-21 15:45:09 +01:00
Laurent Destailleur
482efec536 Fix missing column 2022-01-21 15:40:37 +01:00
Laurent Destailleur
accc413596 Fix error management 2022-01-21 15:26:54 +01:00
Laurent Destailleur
20cc2c924e css 2022-01-21 14:02:26 +01:00
Laurent Destailleur
1dcfb88ad4 Debug v15 2022-01-21 13:44:40 +01:00
stickler-ci
3e84a99965 Fixing style errors. 2022-01-21 08:58:06 +00:00
jpb
15c39db35c add minwidth to selectArray 2022-01-21 09:55:14 +01:00
jpb
015cd543d6 add minwidth to selectArray 2022-01-21 09:52:52 +01:00
Laurent Destailleur
beee7fc5d3 Fix #yogosha8484 2022-01-20 20:03:58 +01:00
Laurent Destailleur
050b531403 Fix troubles in select_language when selected is array 2022-01-20 19:01:04 +01:00
Laurent Destailleur
d9b0af616e Fix the localtax were not saved on price when no code was set 2022-01-20 18:51:14 +01:00
Laurent Destailleur
8c3b28b0d0 Introduce method for future 2022-01-20 18:50:18 +01:00
Cserveny, Tamás
259c94e320 fix docker build setup 2022-01-20 17:57:21 +01:00
lmarcouiller
03af9ea3f3 remove false positive on carriage return 2022-01-20 14:54:54 +01:00
stickler-ci
400d28238c Fixing style errors. 2022-01-20 00:09:52 +00:00
Cserveny, Tamás
115f022ae9 Check if the lines in create is type object (like supplier invoice) 2022-01-20 00:55:52 +01:00
Laurent Destailleur
db903ad64d Fix #yogosha8457 2022-01-19 16:40:48 +01:00
atm-lena
db9a26f8d4 FIX error urlencode 2022-01-19 15:35:09 +01:00
atm-lena
c8589970af FIX : event created from contract not linked to object origin 2022-01-19 15:33:30 +01:00
Laurent Destailleur
60b90056c4 Fix #yogosha8450 2022-01-19 15:20:10 +01:00
Laurent Destailleur
ed2ca6af79 CSS 2022-01-19 14:32:15 +01:00
Laurent Destailleur
fc7e8ed720 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-19 02:02:03 +01:00
Laurent Destailleur
c469634101 Fix hook for emailcollector 2022-01-19 02:01:52 +01:00
Laurent Destailleur
499dd859ee Merge pull request #19853 from atm-maxime/new_hook_main_area
New hook printMainArea
2022-01-19 01:57:39 +01:00
Laurent Destailleur
20cec36a05 Merge pull request #19849 from atm-maxime/fix_ticket_messaging
Fix missing require class project
2022-01-19 01:50:19 +01:00
Laurent Destailleur
b88da24ba4 Merge pull request #19850 from ptibogxiv/patch-459
Fix stripe SetupIntent
2022-01-19 01:49:53 +01:00
Laurent Destailleur
7bc0f44e7c Merge pull request #19870 from fappels/15_fix_dispatchProduct
FIX: origin missing for supplier order dispatchProduct
2022-01-19 01:07:05 +01:00
Laurent Destailleur
bd1864fcd1 Merge pull request #19873 from bb2a/patch-1
Fix - User triger
2022-01-19 01:04:56 +01:00
Anthony Berton
f093e01cec Update 14.0.0-15.0.0.sql 2022-01-18 19:34:18 +01:00
Anthony Berton
16ca2d68b6 Update llx_c_action_trigger.sql 2022-01-18 19:31:51 +01:00
Laurent Destailleur
3eff894da1 Fix css 2022-01-18 19:27:06 +01:00
Laurent Destailleur
b3a8b56625 Fix typo 2022-01-18 19:01:51 +01:00
Laurent Destailleur
178f7b0ace CSS 2022-01-18 18:59:03 +01:00
Laurent Destailleur
22a3b5ea78 FIX deletion of supplier order when draft 2022-01-18 16:24:28 +01:00
Francis Appels
d4adeba1fc FIX: origin missing for supplier order dispatchProduct 2022-01-18 16:22:41 +01:00
Laurent Destailleur
200f796232 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-18 16:08:54 +01:00
Laurent Destailleur
75eb256589 Fix perm to delete a draft supplier order 2022-01-18 16:06:27 +01:00
Laurent Destailleur
01aa2deae6 Fix bad include 2022-01-18 15:27:43 +01:00
Laurent Destailleur
62882fd66d Migration 14 - 15 2022-01-18 13:16:59 +01:00
Laurent Destailleur
874bbca881 Doc 2022-01-18 12:24:19 +01:00
Laurent Destailleur
f91504b9c1 Add property 2022-01-18 12:16:13 +01:00
Gauthier PC portable 024
255d8ba753 FIX : rankorder + vacant positions 2022-01-18 10:59:10 +01:00
Laurent Destailleur
b5de132343 Fix responsive 2022-01-18 00:22:25 +01:00
Laurent Destailleur
e19994c756 Fix drag event on week view 2022-01-18 00:07:45 +01:00
Laurent Destailleur
254ed31fb1 Fix combo 2022-01-17 23:47:23 +01:00
Laurent Destailleur
70e4705149 Clean code 2022-01-17 22:52:56 +01:00
Laurent Destailleur
642f77e8f5 FIX Widget of stock alert does not report on purchase products. 2022-01-17 22:07:18 +01:00
Laurent Destailleur
2f7832ee44 css 2022-01-17 19:18:48 +01:00
Laurent Destailleur
812f12ccc4 Fix tz message 2022-01-17 19:09:18 +01:00
Laurent Destailleur
a072c8911a Fix tz of message on popup 2022-01-17 19:07:02 +01:00
Laurent Destailleur
0e44bfd4e4 Fix remove $_GET 2022-01-17 18:53:57 +01:00
Laurent Destailleur
9d067d74ab Fix responsive 2022-01-17 17:51:03 +01:00
Laurent Destailleur
7034ddf063 Freemono instead of freeserif 2022-01-17 13:56:32 +01:00
Laurent Destailleur
22ab3c03a1 Fix another way to write the preg_replace_callback 2022-01-17 09:12:09 +01:00
Laurent Destailleur
cfc39ebf0a Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-17 08:59:34 +01:00
Maxime Kohlhaas
8eeb0caa78 New hook printMainArea 2022-01-16 21:10:02 +01:00
Laurent Destailleur
6826b373fd css 2022-01-16 13:22:21 +01:00
Laurent Destailleur
3aedf6434b css 2022-01-16 13:11:12 +01:00
Laurent Destailleur
cdbcad9c4f Sync transifex 2022-01-16 12:51:08 +01:00
ptibogxiv
1ce7d3ad8b Fix stripe SetupIntent
Klarna not possible for SetupIntent
2022-01-15 23:26:46 +01:00
Maxime Kohlhaas
ea55712d1b Fix missing require class project 2022-01-15 23:04:56 +01:00
Laurent Destailleur
63df7ba0d4 Clean code 2022-01-15 21:10:33 +01:00
Laurent Destailleur
8e4c7efed5 Fix do not include file if url not correctly detected 2022-01-15 20:53:16 +01:00
Laurent Destailleur
2b19bcef54 Fix responsive 2022-01-15 13:08:15 +01:00
Laurent Destailleur
8cb5264928 Fix css 2022-01-15 12:56:19 +01:00
Laurent Destailleur
b3b1e82100 Change on column Assigned to on projet and task. 2022-01-15 12:30:41 +01:00
Francis Appels
89869a2485 Fix view after generate export 2022-01-15 12:09:36 +01:00
Laurent Destailleur
6acf59fe20 Fix responsive 2022-01-14 20:26:56 +01:00
Laurent Destailleur
22ef83ab67 Fix responsive 2022-01-14 20:05:43 +01:00
Laurent Destailleur
8c165aced2 Fix responsive 2022-01-14 20:05:39 +01:00
Laurent Destailleur
3d97888bc5 Comment 2022-01-14 17:46:06 +01:00
lvessiller
a9c76f2e44 FIX replace print error with event message when error on update line in supplier order 2022-01-14 16:09:30 +01:00
Laurent Destailleur
4200f2f195 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-14 14:02:30 +01:00
Laurent Destailleur
77c286b769 Fix permission 2022-01-14 14:01:50 +01:00
Laurent Destailleur
744296a43a FIX Permission on holiday and expensereport. 2022-01-14 13:52:08 +01:00
Laurent Destailleur
f04a07b6a7 FIX Pb with permission on holiday and expense report 2022-01-14 13:42:38 +01:00
ATM john
a394713f1b Fix doc comment 2022-01-14 11:51:07 +01:00
ATM john
8ace96f495 Fix validate class lang load and test for numeric values 2022-01-14 11:46:31 +01:00
Laurent Destailleur
02fc420c2a FIX #19817 2022-01-14 11:37:13 +01:00
Laurent Destailleur
91b2d59458 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-14 10:37:41 +01:00
Laurent Destailleur
e223fb1e7c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-01-14 10:36:56 +01:00
Laurent Destailleur
53e65095a7 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/commande/card.php
	htdocs/expedition/card.php
	htdocs/fourn/commande/card.php
	htdocs/fourn/commande/list.php
	htdocs/fourn/facture/card.php
2022-01-14 10:36:46 +01:00
Laurent Destailleur
9dde80dd52 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/expedition/card.php
	htdocs/fourn/commande/list.php
2022-01-14 10:30:39 +01:00
Laurent Destailleur
490f17d5a2 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-14 10:24:00 +01:00
Laurent Destailleur
5b6133ad62 Merge pull request #19821 from marc-dll/12.0_FIX_shipment_all_lines
FIX: order to shipment: debug hidden conf SHIPMENT_GETS_ALL_ORDER_PRODUCTS
2022-01-14 10:19:28 +01:00
Laurent Destailleur
5881e36ba6 Code comment 2022-01-14 10:15:46 +01:00
Laurent Destailleur
e365975b2f Merge pull request #19820 from frederic34/patch-1
fix warning
2022-01-14 10:04:42 +01:00
Laurent Destailleur
7d5c36ad02 Merge pull request #19823 from harrywinner/15.0
FIX Solving non-blocking bug in user login
2022-01-14 10:03:10 +01:00
Laurent Destailleur
71e470eb6c Merge pull request #19826 from atm-gauthier/FIX_hrm
FIX : several adaptations rank => rankorder and langs correction for HRM
2022-01-14 10:01:14 +01:00
Laurent Destailleur
b7aa152464 Fix trans 2022-01-14 09:55:13 +01:00
Laurent Destailleur
90c3c90864 Merge pull request #19829 from OPEN-DSI/v12-fix-supplier-order-list-search-user
FIX search by user in supplier order list
2022-01-14 09:45:06 +01:00
Laurent Destailleur
b29438167e Changlog 2022-01-14 09:29:16 +01:00
Laurent Destailleur
f51554fd4d Fix missing token 2022-01-13 20:40:42 +01:00
Laurent Destailleur
cb45f79ab0 Fix scrutinizer 2022-01-13 20:16:12 +01:00
Laurent Destailleur
fccddd7805 Fix property missing 2022-01-13 20:11:18 +01:00
Laurent Destailleur
965703e04a Fix missing var 2022-01-13 20:09:40 +01:00
Laurent Destailleur
3aea037889 FIX Debug level 3 of accounting account was using wront field 2022-01-13 19:49:38 +01:00
Laurent Destailleur
240958ace6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-13 19:21:28 +01:00
Laurent Destailleur
dbc2631d6a Fix scrutinizer warnings 2022-01-13 19:19:36 +01:00
Laurent Destailleur
b6dc7a3f19 Doc 2022-01-13 19:09:34 +01:00
Laurent Destailleur
7ccb1c94a1 Fix var not defined 2022-01-13 19:07:05 +01:00
Laurent Destailleur
f35fee0081 Prepare 16 dev 2022-01-13 18:55:49 +01:00
Laurent Destailleur
b82b89d519 Prepare 15.0 2022-01-13 18:54:46 +01:00
Laurent Destailleur
979b0a7b93 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	test/phpunit/CodingPhpTest.php
2022-01-13 18:48:14 +01:00
Laurent Destailleur
b9b45fb506 Fix #hunterf1d1ce3e-ca92-4c7b-b1b8-934e28eaa486
Conflicts:
	test/phpunit/CodingPhpTest.php
2022-01-13 18:46:29 +01:00
Laurent Destailleur
4fe3650736 Fix #hunterf1d1ce3e-ca92-4c7b-b1b8-934e28eaa486 2022-01-13 18:34:15 +01:00
lvessiller
cacff0c2d4 FIX cast int for search user 2022-01-13 16:18:57 +01:00
lvessiller
22f6d204a2 FIX search by user in supplier order list 2022-01-13 16:01:23 +01:00
Laurent Destailleur
dbce3cbfbe Clean code 2022-01-13 16:00:39 +01:00
Laurent Destailleur
52493b60fb Fix #yogosha8316 2022-01-13 15:52:41 +01:00
Gauthier PC portable 024
55389036d9 FIX : perms 2022-01-13 12:02:05 +01:00
Laurent Destailleur
054116900a Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-13 11:59:05 +01:00
Laurent Destailleur
cb03f88fbc Fix link 2022-01-13 11:58:10 +01:00
Gauthier PC portable 024
a77a2e9bcc FIX : several adaptations rank => rankorder and langs correction for HRM 2022-01-13 11:39:54 +01:00
Laurent Destailleur
13510b9929 Clean sortfield, sortorder 2022-01-13 11:17:25 +01:00
Laurent Destailleur
f51720879b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-13 11:05:57 +01:00
Laurent Destailleur
620a88b8d6 Fix param sortfield/order 2022-01-13 11:05:21 +01:00
Laurent Destailleur
dc3670bc91 Clean search_status 2022-01-13 11:00:52 +01:00
Harry Winner KF
67ab70f37d FIX Solving non-blocking bug in user login
When using the function check_user_password_dolibarr to authenticate a user, a call is made to the function dol_verifyHash which requires a pre-calculated hash. This hash is not available with programmatically-created never-used accounts. Hence, in suce cases we have the following warning:
Notice: Trying to access array offset on value of type null in .../htdocs/core/lib/security.lib.php on line 156

This fix solves that bug by avoiding that unnecessary call
2022-01-12 15:05:11 -05:00
Marc de Lima Lucio
b110ca6ead FIX: order to shipment: FIX hidden conf SHIPMENT_GETS_ALL_ORDER_PRODUCTS (still not working when not preselecting a warehouse) 2022-01-12 16:40:43 +01:00
Frédéric FRANCE
297d2ecfbd fix warning 2022-01-12 16:09:31 +01:00
Laurent Destailleur
08e313942d Merge pull request #19791 from ptibogxiv/patch-457
NEW add setup/establishments API (need for recruitment API)
2022-01-12 11:18:52 +01:00
Laurent Destailleur
3daf7d493c Merge pull request #19792 from ptibogxiv/patch-458
FIX bom.class.php
2022-01-12 11:18:29 +01:00
Laurent Destailleur
d7529e55b5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-12 11:18:06 +01:00
Laurent Destailleur
c024585ec9 Trans 2022-01-12 11:13:14 +01:00
Laurent Destailleur
5c4f521025 Merge pull request #19807 from DATUC/patch-14
Update companies.lang
2022-01-12 11:10:48 +01:00
Laurent Destailleur
8948d15930 Merge pull request #19798 from DATUC/patch-5
Update companies.lang
2022-01-12 11:10:31 +01:00
Laurent Destailleur
c400e3e5c1 Merge pull request #19796 from DATUC/patch-3
Update companies.lang
2022-01-12 11:10:05 +01:00
Laurent Destailleur
d3af00d4e6 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-12 10:58:24 +01:00
DATUC
e2306f5915 Update companies.lang 2022-01-12 00:41:05 +01:00
DATUC
89e509b251 Update companies.lang 2022-01-12 00:30:11 +01:00
DATUC
3384632005 Update companies.lang 2022-01-12 00:28:26 +01:00
ptibogxiv
61e6e33387 FIX bom.class.php 2022-01-11 20:37:20 +01:00
ptibogxiv
63611ab717 NEW add setup/establishments API (need for recruitment API) 2022-01-11 20:24:23 +01:00
Laurent Destailleur
2f249e9a7d Add Open SSF Best practices 2022-01-11 16:55:58 +01:00
Laurent Destailleur
92585399ed Update doc 2022-01-11 16:04:04 +01:00
Laurent Destailleur
1efbff8fea Fix error message 2022-01-11 15:42:03 +01:00
Laurent Destailleur
b4f66226a8 Update contributing file. 2022-01-11 15:32:09 +01:00
Laurent Destailleur
4a82210fa6 # WARNING: head commit changed in the meantime
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2022-01-11 15:17:46 +01:00
Laurent Destailleur
e628b0eeba Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-11 13:32:43 +01:00
Laurent Destailleur
71cf137da4 Fix code for cli must be similar to same code for gui version. 2022-01-11 13:32:32 +01:00
Laurent Destailleur
8e2f76ca66 Merge pull request #17577 from OGPayet/feature/addThirdpartyCustomerCodeToEmailingSubstitutionArray
add thirdparty customer code to substitutionarray
2022-01-11 13:31:32 +01:00
Laurent Destailleur
54cf91eda4 Update card.php 2022-01-11 13:31:16 +01:00
Laurent Destailleur
b824912473 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-11 13:28:07 +01:00
Laurent Destailleur
b9915800cf Fix bad warning 2022-01-11 01:30:24 +01:00
Laurent Destailleur
00108589fd Fix creation of fields tms into sql scripts 2022-01-11 01:00:31 +01:00
Laurent Destailleur
cde290c78a Merge pull request #19402 from atm-gauthier/fix_reorder_lines_after_delete_line_everywhere
FIX : reorder all lines when delete document line everywhere (4 documents were missing)
2022-01-10 21:23:23 +01:00
Laurent Destailleur
d8a0dfad10 Merge pull request #19557 from yaslama/unaccent
Unaccent
2022-01-10 21:19:54 +01:00
Laurent Destailleur
f97ed1b3a3 Merge pull request #19623 from altairis-melina/changepriceht
NEW : Add constant to change price HT in TakePos
2022-01-10 21:07:41 +01:00
Laurent Destailleur
564bae453e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2022-01-10 21:00:38 +01:00
Laurent Destailleur
6871a480e5 Merge pull request #19759 from FHenry/new_refproduct_bom_tooltip
NEW: add product ref into BOM tooltips
2022-01-10 20:58:47 +01:00
Laurent Destailleur
c334c3cd58 Update bom.class.php 2022-01-10 20:58:08 +01:00
Laurent Destailleur
865b05aad2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-10 19:29:37 +01:00
Laurent Destailleur
b91b8d35be Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-10 19:29:12 +01:00
Laurent Destailleur
1cc16f73d8 FIX #19761 2022-01-10 19:28:57 +01:00
Laurent Destailleur
5d5a219b95 FIX #19770 2022-01-10 19:23:46 +01:00
Laurent Destailleur
d660a7d45f Merge pull request #19762 from FHenry/dev_fix_19749
fix: #19749
2022-01-10 19:10:43 +01:00
Laurent Destailleur
388caadcba Merge pull request #19768 from randallmoraes/patch-1
add support for sharedmailbox in office365
2022-01-10 19:10:08 +01:00
Laurent Destailleur
0f950d121c Merge pull request #19769 from randallmoraes/patch-2
Enable attachements in hook
2022-01-10 19:06:51 +01:00
Laurent Destailleur
8d5cc0bd7d Merge pull request #19779 from ptibogxiv/patch-456
NEW  add API REST for recruitment module
2022-01-10 18:32:44 +01:00
Laurent Destailleur
da83d101db Merge pull request #19778 from atm-john/fix_stuff_on_setup_class
FIX :  Setup helper class
2022-01-10 18:32:12 +01:00
Laurent Destailleur
d892160f4f Fix error management 2022-01-10 17:55:45 +01:00
Laurent Destailleur
7ff30761e1 Fix for php8 2022-01-10 15:52:45 +01:00
Laurent Destailleur
cfec02aaae Debug v15 2022-01-10 14:27:43 +01:00
Laurent Destailleur
c81f46842b Fix too many load of objects 2022-01-10 13:36:28 +01:00
Laurent Destailleur
6c9ed0ab6b css 2022-01-10 05:07:09 +01:00
Laurent Destailleur
12044fa67a Debug v15 2022-01-10 03:24:01 +01:00
Laurent Destailleur
05529817f4 css 2022-01-10 00:54:51 +01:00
Laurent Destailleur
1a5e594e59 Fix missing morehtmlref on some tabs 2022-01-10 00:33:54 +01:00
Laurent Destailleur
2a2a8b47d8 Fix link to vcard on contact 2022-01-09 20:43:26 +01:00
Laurent Destailleur
4af80507cb Fix #yogosha8282 2022-01-09 20:25:10 +01:00
Laurent Destailleur
423a4ea104 Debug v15 2022-01-09 19:48:38 +01:00
stickler-ci
f4f7a360a1 Fixing style errors. 2022-01-09 16:17:22 +00:00
ptibogxiv
eb529a660d NEW add API REST for recruitment module 2022-01-09 17:14:59 +01:00
Laurent Destailleur
cc72418ab9 Fix example 2022-01-09 14:22:42 +01:00
Laurent Destailleur
4ce77e62c6 Debug v15 2022-01-09 14:19:55 +01:00
Laurent Destailleur
fcfb6a55f4 Fix error management 2022-01-09 13:50:10 +01:00
ATM john
bb1ec5940d Fix setup class 2022-01-09 10:24:28 +01:00
Laurent Destailleur
eddc2a1a26 FIX #yogosha8272 2022-01-08 19:50:55 +01:00
Laurent Destailleur
c3a42162d9 FIX The vat code was not correctly managed on PDF templates 2022-01-08 14:43:24 +01:00
Laurent Destailleur
3a6b5199ec Debug module intracomm 2022-01-08 01:19:04 +01:00
Randall Mora
2db35c4acc Enable attachements in hook
Enable to send attachments to the hook for custom data processing...
2022-01-07 15:19:18 -06:00
stickler-ci
912f0a8b95 Fixing style errors. 2022-01-07 18:34:00 +00:00
Randall Mora
d8ae40c647 add support for sharedmailbox in office365
with 4 code lines enable support when a mailbox is shared...
2022-01-07 12:30:56 -06:00
Laurent Destailleur
60b2479389 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/action/list.php
2022-01-07 16:00:19 +01:00
Laurent Destailleur
7618966f81 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/comm/action/list.php
	htdocs/core/class/utils.class.php
	htdocs/install/mysql/data/llx_20_c_departements.sql
2022-01-07 15:56:21 +01:00
Laurent Destailleur
ff31d660c6 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2022-01-07 15:50:40 +01:00
Laurent Destailleur
451fa396aa Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/expensereport/class/expensereport.class.php
2022-01-07 15:50:30 +01:00
Laurent Destailleur
b23b82bd6f Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2022-01-07 15:49:09 +01:00
Laurent Destailleur
7dfb369a98 Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 11.0 2022-01-07 15:48:23 +01:00
Laurent Destailleur
265aeb76e6 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
Conflicts:
	htdocs/core/class/utils.class.php
	htdocs/expensereport/class/expensereport.class.php
2022-01-07 15:48:13 +01:00
Laurent Destailleur
5ee74d7c07 Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0 2022-01-07 15:45:51 +01:00
Laurent Destailleur
1541e20870 Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
Conflicts:
	htdocs/core/class/utils.class.php
2022-01-07 15:43:28 +01:00
Laurent Destailleur
53709cf509 Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
Conflicts:
	htdocs/core/class/utils.class.php
2022-01-07 15:40:05 +01:00
Laurent Destailleur
10e32c056e FIX avoid infinite loop on dump with popen 2022-01-07 15:35:33 +01:00
Laurent Destailleur
144a8af438 Debug v15 2022-01-07 14:28:58 +01:00
Laurent Destailleur
bdac615cba Fix empty column 2022-01-07 14:01:15 +01:00
Laurent Destailleur
51a36040f1 Fix special char in sepa file on address 2022-01-07 13:03:03 +01:00
Laurent Destailleur
0d6ef2e76b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-07 12:44:03 +01:00
Laurent Destailleur
500b0e0218 FIX Sepa payment with company name with accent 2022-01-07 12:43:41 +01:00
Laurent Destailleur
6aeae8fe7f Debug v15 2022-01-07 12:27:07 +01:00
Florian HENRY
61fc81732c fix: #19749 2022-01-07 11:29:43 +01:00
Laurent Destailleur
aa64b9c524 Merge pull request #19756 from oscim/patch-44
Update paiementfourn.class.php
2022-01-07 10:46:19 +01:00
Laurent Destailleur
f2beaf5eae Merge pull request #19729 from fmarcet/13.0
Fix: correctly display the products of a warehouse in the pdf
2022-01-07 10:45:10 +01:00
Laurent Destailleur
6cecc3c2aa Fix clean data after update 2022-01-07 10:25:58 +01:00
Florian HENRY
f5c04c81a9 Merge branch 'new_refproduct_bom_tooltip' of github.com:FHenry/dolibarr into new_refproduct_bom_tooltip 2022-01-07 08:28:40 +01:00
Florian HENRY
59b1feaf2e fix include 2022-01-07 08:27:49 +01:00
stickler-ci
f71092e05c Fixing style errors. 2022-01-06 20:56:51 +00:00
Florian HENRY
a0fb0b8741 NEW: add ref product into BOM tooltips 2022-01-06 21:48:12 +01:00
Laurent Destailleur
1a61da209c Fix responsive 2022-01-06 18:16:02 +01:00
Laurent Destailleur
144a56d073 Clean code 2022-01-06 18:12:02 +01:00
Laurent Destailleur
c6b404ad7f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-06 18:03:01 +01:00
Laurent Destailleur
6cb0374784 Fix responsive 2022-01-06 18:02:44 +01:00
oscim
f157a22cd0 Update paiementfourn.class.php
For stock in fetch object payment id type
2022-01-06 16:55:24 +01:00
Laurent Destailleur
13a3d0057b Merge pull request #19644 from FHenry/dev_public_page_multientity_ticket
FIX: manage multientity in ticket public page by querystring (#Evarisk)
2022-01-06 16:53:35 +01:00
Laurent Destailleur
26e8496c46 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/prelevement/card.php
2022-01-06 16:15:58 +01:00
Laurent Destailleur
2d0f4cab51 Merge pull request #19705 from atm-maxime/fix_supplier_credit_transfer
Fix supplier credit transfer
2022-01-06 16:10:53 +01:00
Laurent Destailleur
18978ac84e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2022-01-06 16:08:49 +01:00
Laurent Destailleur
b4ff7826db Trans 2022-01-06 16:08:21 +01:00
Laurent Destailleur
132d393d23 Code comment 2022-01-06 16:06:17 +01:00
Laurent Destailleur
79fbe7488e Merge pull request #19721 from grandoc/new_branch_01_01_2022
Fix : Fatal error: Uncaught Error: Call to a member function deleteFr…
2022-01-06 16:04:18 +01:00
Laurent Destailleur
aba6aed7d7 Merge pull request #19726 from vdegrandpre/FIX-19725-LDAP-AUTH-500
FIX - 19725 - Authentification LDAP échoue avec erreur 500
2022-01-06 16:03:35 +01:00
Laurent Destailleur
aee61cb470 Update ldap.class.php 2022-01-06 16:02:47 +01:00
Laurent Destailleur
f848953238 Merge pull request #19732 from defrance/patch-173
FIX : allow create supplier order from other external modules
2022-01-06 15:58:31 +01:00
Laurent Destailleur
37daf7764d Merge pull request #19753 from atm-lena/13.0_FIX_ActionCommList_LateWarning
FIX : late warning calculation on action comm list
2022-01-06 12:55:37 +01:00
stickler-ci
ec11be2480 Fixing style errors. 2022-01-06 10:31:50 +00:00
atm-lena
97d9b4571a FIX : late warning calculation on action comm list 2022-01-06 11:21:46 +01:00
Laurent Destailleur
6708d4a4d4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-06 11:15:40 +01:00
Laurent Destailleur
1e467c60f3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/compta/facture/list.php
	htdocs/product/stock/movement_list.php
2022-01-06 11:15:28 +01:00
Laurent Destailleur
623133dd84 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-01-06 11:07:27 +01:00
Laurent Destailleur
b381f24897 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/mrp/mo_movements.php
2022-01-06 11:07:05 +01:00
Laurent Destailleur
518b163066 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/product/stock/movement_list.php
2022-01-06 11:01:27 +01:00
Laurent Destailleur
8728ad2eff Merge pull request #19730 from fmarcet/12.0
Fix: Correctly display product translations
2022-01-06 10:57:47 +01:00
Laurent Destailleur
bdb6a20c06 Merge pull request #19734 from aspangaro/14p28
Missing language key on error
2022-01-06 10:55:03 +01:00
Laurent Destailleur
542731ca51 Merge pull request #19740 from iouston/patch-1
minor change on getNextNumRef doc block
2022-01-06 10:54:38 +01:00
Laurent Destailleur
708f5e5cf1 FIX #19751 2022-01-06 10:54:19 +01:00
Laurent Destailleur
718771fcf5 Merge pull request #19743 from andreubisquerra/develop
Add dol_value_currentdate tag to TakePOS printer template
2022-01-06 10:41:45 +01:00
Laurent Destailleur
5de6c193ff Merge pull request #19745 from daraelmin/patch-1
Fix #19723 - Belgium provinces incorrect mapping
2022-01-06 10:41:19 +01:00
Laurent Destailleur
3689940c11 Merge pull request #19744 from javieralapps4up/develop
FIX: Thirdparty fk_user_creat is not saved
2022-01-06 10:40:47 +01:00
Laurent Destailleur
d9715729c8 Fix var 2022-01-05 22:44:12 +01:00
Laurent Destailleur
4ac7213707 Fix tooltip 2022-01-05 22:23:25 +01:00
Laurent Destailleur
30897df240 css 2022-01-05 22:14:24 +01:00
Laurent Destailleur
ae6ce0127b css 2022-01-05 22:07:58 +01:00
Laurent Destailleur
61cbf52a94 Fix tooltip email collector 2022-01-05 21:27:00 +01:00
Laurent Destailleur
1471c2422d Fix trans 2022-01-05 20:49:38 +01:00
Laurent Destailleur
949c154f15 Fix missing html id 2022-01-05 20:21:11 +01:00
Laurent Destailleur
0674a48cb5 Fix missing total and missing css 2022-01-05 19:58:08 +01:00
Laurent Destailleur
dba49a8e5f CSS 2022-01-05 18:40:08 +01:00
Laurent Destailleur
1f36a31fe9 Fix css 2022-01-05 16:21:44 +01:00
Laurent Destailleur
34796a95c2 Fix css 2022-01-05 14:48:13 +01:00
Laurent Destailleur
f3251f1ef9 css 2022-01-05 14:42:45 +01:00
Laurent Destailleur
e8f792732e Fix #yogosha8227 2022-01-05 14:42:40 +01:00
Laurent Destailleur
2aa3d60997 Debug v15 2022-01-05 14:04:02 +01:00
javieralapps4up
00ee08f262 FIX: Thirdparty fk_user_creat is not saved 2022-01-05 10:47:59 +01:00
Laurent Destailleur
5b8d6e60e4 Debug v15 2022-01-05 10:43:05 +01:00
Laurent Destailleur
3581dda876 Fix trans 2022-01-05 09:43:51 +01:00
andreubisquerra
0c86ca6081 Add dol_value_currentdate tag to TakePOS template 2022-01-04 22:14:02 +01:00
Laurent Destailleur
0189d92139 Some country need qr code for legal issues. Add a hook to allow this. 2022-01-04 20:44:17 +01:00
daraelmin
1f6e9a1a9e Fix install - Belgium provinces incorrect mapping 2022-01-04 18:46:29 +01:00
iouston
f91c376a7c minor change on getNextNumRef doc block 2022-01-04 16:44:13 +01:00
Laurent Destailleur
7228c762cd Update dir of spec 2022-01-04 16:20:05 +01:00
Laurent Destailleur
e5241631e1 Update resoures of some spec/standard 2022-01-04 16:14:36 +01:00
Laurent Destailleur
0046cbbece Fix phpunit 2022-01-04 15:13:04 +01:00
Laurent Destailleur
04c42731f7 Doc 2022-01-04 13:54:45 +01:00
Laurent Destailleur
12e5375bd5 Doc 2022-01-04 13:51:43 +01:00
Laurent Destailleur
24c0f93ead Prepare 14.0.5 2022-01-04 13:50:38 +01:00
Laurent Destailleur
956288081c Fix phpunit 2022-01-04 13:45:18 +01:00
Laurent Destailleur
6bd6bc3d57 Fix link to download document on signed proposal 2022-01-04 13:33:59 +01:00
Laurent Destailleur
f0660b3c99 Fix db transaction 2022-01-04 13:27:26 +01:00
Laurent Destailleur
b19a148f4c Fix ip used to sing not saved 2022-01-04 13:25:02 +01:00
Laurent Destailleur
1d80b8394a Debug v15 2022-01-04 12:56:08 +01:00
Alexandre SPANGARO
b719042b09 Missing language key on error 2022-01-04 10:47:59 +01:00
Laurent Destailleur
a887e41600 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/bank/bankentries_list.php
	htdocs/compta/bank/info.php
	htdocs/compta/bank/line.php
	htdocs/compta/bank/releve.php
	htdocs/compta/bank/various_payment/card.php
	htdocs/fourn/class/fournisseur.product.class.php
2022-01-04 09:45:31 +01:00
Laurent Destailleur
8d1648426e Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2022-01-04 09:39:43 +01:00
Laurent Destailleur
b600fe7377 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2022-01-04 09:38:33 +01:00
Laurent Destailleur
ba6033da8e Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/modulebuilder/template/admin/setup.php
2022-01-04 09:38:11 +01:00
Laurent Destailleur
807f2841d4 FIX Navigation on bank transaction list 2022-01-04 09:33:52 +01:00
BENKE Charlene
883d6bd63a Update card.php 2022-01-04 09:32:27 +01:00
BENKE Charlene
0bc33ef3b3 Create card.php 2022-01-04 09:26:10 +01:00
stickler-ci
4e1d4ea1ca Fixing style errors. 2022-01-04 08:23:49 +00:00
BENKE Charlene
e73573d7c4 fix : allow create from other external modules 2022-01-04 09:18:28 +01:00
Laurent Destailleur
6654b138b9 Fix trans 2022-01-03 22:11:04 +01:00
Laurent Destailleur
64c7472965 Fix link to account id 2022-01-03 22:01:08 +01:00
Laurent Destailleur
3559515399 css 2022-01-03 19:32:21 +01:00
Laurent Destailleur
76df76aa1b css 2022-01-03 19:22:20 +01:00
Laurent Destailleur
ee49dc59f9 Fix #yogosha8182 2022-01-03 18:42:15 +01:00
Laurent Destailleur
ef56631c80 FIX #yogosha8186 2022-01-03 18:15:19 +01:00
Laurent Destailleur
f8a97ef928 FIX a lot of problem with rules for password validation 2022-01-03 16:09:08 +01:00
Ferran Marcet
26c6908f66 Fix: Correctly display product translations 2022-01-03 13:22:07 +01:00
Ferran Marcet
08685cc6b0 Fix: Correctly display product translations 2022-01-03 13:14:40 +01:00
Ferran Marcet
ff2388ceaf Fix: correctly display the products of a warehouse in the pdf 2022-01-03 13:08:20 +01:00
Laurent Destailleur
cd954e4ec3 Optimize images for v15 2022-01-03 12:38:54 +01:00
Laurent Destailleur
cecb11bb1c Debug v15 2022-01-03 12:28:42 +01:00
Laurent Destailleur
72998cd8fe Debug v15 2022-01-03 12:26:57 +01:00
Laurent Destailleur
a49af456ce Debug page customreports.php 2022-01-03 04:47:17 +01:00
Laurent Destailleur
ce05130384 Typo 2022-01-03 04:01:02 +01:00
Laurent Destailleur
f7871be6cd Debug v15 2022-01-03 03:06:18 +01:00
Vincent de Grandpré
6a52b967f4 Permettre de sortir de la fonction de connexion après authentification. 2022-01-02 16:37:07 -05:00
Laurent Destailleur
219ca9b610 css 2022-01-02 21:05:44 +01:00
Laurent Destailleur
0d8cf96f8f FIX croping function 2022-01-02 20:54:35 +01:00
Laurent Destailleur
0c82577fc5 Look and feel v15 2022-01-02 19:04:12 +01:00
Laurent Destailleur
507f91acf8 Fix tooltip 2022-01-02 18:36:18 +01:00
Laurent Destailleur
084a404870 Debug v15 2022-01-02 18:33:57 +01:00
Laurent Destailleur
48c990a8bf Sync transifex 2022-01-02 18:22:18 +01:00
Laurent Destailleur
3d8de7790c Fix restore color if we cancel color selection 2022-01-02 16:34:46 +01:00
Laurent Destailleur
adec35d4b1 Debug v15 2022-01-02 15:46:28 +01:00
Laurent Destailleur
3774eae510 Responsive 2022-01-02 15:08:46 +01:00
Laurent Destailleur
bdb03c8bd0 Fix responsive 2022-01-02 13:51:30 +01:00
Laurent Destailleur
a7d4aa9fb3 Responsive 2022-01-02 12:49:15 +01:00
Laurent Destailleur
b41fdb6ec9 Fix tool for generic to sql filters. Must not be saved into api files. 2022-01-01 21:46:16 +01:00
Laurent Destailleur
7fd601a29d Fix navigation on security audit list 2022-01-01 20:47:01 +01:00
Laurent Destailleur
0b443a203e Fix navigation on security audit list 2022-01-01 20:37:03 +01:00
Laurent Destailleur
0037ee2254 Fix ckeditor plugins 2022-01-01 19:37:53 +01:00
Laurent Destailleur
49dae0aed2 Look and feel v15 2022-01-01 18:41:26 +01:00
Philippe GRAND
17d1fa190f Fix : Fatal error: Uncaught Error: Call to a member function deleteFromShipment() on null in /home/httpd/vhosts/doliweb.com/httpdocs/expedition/class/expedition.class.php on line 1463 2022-01-01 15:27:20 +01:00
Laurent Destailleur
ee5ea123ed Revert "Update functions.lib.php"
This reverts commit 2676427ec4.
2021-12-31 16:13:05 +01:00
Laurent Destailleur
7e11677117 Fix: Add token to the url logout 2021-12-31 14:33:12 +01:00
Laurent Destailleur
d7d019e071 Fix class not found 2021-12-31 14:21:20 +01:00
Laurent Destailleur
5666e90f56 Merge pull request #19674 from mschamp/develop
Close #19673 order categories based on count of elements
2021-12-30 21:36:47 +01:00
Laurent Destailleur
a919ade1c6 Fixunit price 2021-12-30 20:00:04 +01:00
Laurent Destailleur
3967ce9c20 Fix unit price 2021-12-30 19:48:59 +01:00
Laurent Destailleur
8085c32b85 Merge pull request #19681 from atm-florianm/FIX_14.0_best_supplier_price_discount_applied_twice
FIX: discounts are applied twice for displaying best supplier price
2021-12-30 19:47:07 +01:00
Laurent Destailleur
64777acfc1 Fix unit price 2021-12-30 19:46:58 +01:00
Laurent Destailleur
f20753091e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-30 19:36:23 +01:00
Laurent Destailleur
b2c008244e Doc 2021-12-30 19:34:02 +01:00
Laurent Destailleur
e8408141e2 Merge pull request #19716 from jyhere/patch-2
FIx : addline() $type default value is misleading
2021-12-30 19:28:44 +01:00
Laurent Destailleur
9b14c68411 Update facture.class.php 2021-12-30 19:28:25 +01:00
Laurent Destailleur
9c50cfeb62 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/modules/modBom.class.php
	htdocs/core/modules/modCommande.class.php
	htdocs/core/modules/modFournisseur.class.php
	htdocs/core/modules/modPropale.class.php
2021-12-30 19:18:41 +01:00
Laurent Destailleur
809c8f993b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/facture/card.php
	htdocs/core/modules/modCommande.class.php
	htdocs/core/modules/modFournisseur.class.php
	htdocs/core/modules/modPropale.class.php
	htdocs/filefunc.inc.php
	htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_advanced.php
2021-12-30 19:03:46 +01:00
Laurent Destailleur
108df3726a Fix php syntax 2021-12-30 18:46:26 +01:00
Laurent Destailleur
62a74ed428 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_advanced.php
	htdocs/societe/list.php
2021-12-30 17:57:45 +01:00
Laurent Destailleur
9f82aa1570 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/modulebuilder/template/admin/setup.php
2021-12-30 17:51:25 +01:00
Laurent Destailleur
7bdfc998bf Fix regression 2021-12-30 17:49:53 +01:00
Laurent Destailleur
7b10d7d001 Merge pull request #19676 from grandoc/new_branch_22_12_2021
fix : Fatal error: Uncaught Error: Class 'AccountingAccount' not foun…
2021-12-30 17:29:18 +01:00
Laurent Destailleur
76a0caf116 Merge pull request #19717 from OPEN-DSI/fix-company-list-title-on-nature-of
FIX title for nature of third party in company list
2021-12-30 17:25:08 +01:00
Laurent Destailleur
f307d5590b Merge pull request #19686 from Je2fb/patch-2
Fix bug project reset on supplier order when you select a supplier
2021-12-30 17:08:13 +01:00
Laurent Destailleur
c57dc82eaa Merge pull request #19688 from atm-maxime/fix_modbuilder_numbering_model
Fix modulebuilder params for updatemask action
2021-12-30 17:07:27 +01:00
Laurent Destailleur
c396f972b4 Merge pull request #19694 from henrynopo/patch-1
Fix - Currency of Account Statement
2021-12-30 17:05:18 +01:00
lvessiller
f16166c47c FIX title for nature of third party in company list 2021-12-30 15:35:49 +01:00
Laurent Destailleur
ebb7aa7494 Merge pull request #19693 from grandoc/new_branch_27_12_2021
fix : units were not displayed
2021-12-30 13:19:25 +01:00
Laurent Destailleur
63f2cd6a30 Merge pull request #19695 from atm-maxime/fix_user_from_candidate
Fix #19672 : email unicity was checked when email was null
2021-12-30 13:17:49 +01:00
Laurent Destailleur
ac7d08d3e7 Merge pull request #19696 from atm-maxime/fix_supinv_unpaidboard
Fix #19404 : only validated invoice must be considered in unpaid indicator
2021-12-30 13:00:09 +01:00
Laurent Destailleur
b62741b5a0 Merge pull request #19697 from atm-maxime/fix_order_massbilling
Fix #19249 : wrong payment cond and mode on mass order billing
2021-12-30 12:59:21 +01:00
Laurent Destailleur
3da863d6b4 Merge pull request #19698 from atm-maxime/fix_knowmgmt_bad_fk
Fix #19691 : wrong table name in sql file
2021-12-30 12:56:52 +01:00
Laurent Destailleur
15b34dedac Merge pull request #19701 from atm-maxime/fix_bankentries_filter
Fix #19667 : bankentries wrong SQL parenthesis + missing filter
2021-12-30 12:52:57 +01:00
Laurent Destailleur
30214b7300 Merge pull request #19702 from atm-maxime/fix_skr04_syntax
Fix #19666 : missing quotes in SQL statement
2021-12-30 12:49:38 +01:00
Laurent Destailleur
cd8613e9db Merge pull request #19704 from atm-john/fix_validate_methode_call
Fix wrong method call
2021-12-30 12:46:12 +01:00
Laurent Destailleur
706581a227 Merge pull request #19706 from atm-john/fix_scrutinizer_comments
Fix : scrutinizer comments
2021-12-30 12:42:08 +01:00
Laurent Destailleur
c288b0d02a Merge pull request #19711 from dolibarr95/patch-58
Update functions.lib.php
2021-12-30 12:40:52 +01:00
Laurent Destailleur
2435ef4f66 Merge pull request #19712 from atm-maxime/fix_boxes_css_amount
Fix missing amount css class on boxes
2021-12-30 12:39:34 +01:00
jyhere
ddb8b406a0 FIx : addline() $type default value is misleading
It should refer to a Product type, not an Invoice type.
2021-12-30 10:17:03 +01:00
Laurent Destailleur
828826c6a2 Merge pull request #19713 from atm-maxime/fix_missing_resource_stat
Fix : add missing resource stats on stat box
2021-12-30 00:54:28 +01:00
stickler-ci
38aee54529 Fixing style errors. 2021-12-29 12:58:36 +00:00
Maxime Kohlhaas
873adb3cb1 Fix : add missing resource stats on stat box 2021-12-29 13:57:22 +01:00
Maxime Kohlhaas
ac7fb65d04 Fix missing amount css class on boxes 2021-12-29 13:43:18 +01:00
dolibarr95
2676427ec4 Update functions.lib.php
#19709
2021-12-29 13:24:23 +01:00
John BOTELLA
33ea8e850b Remove not defined param 2021-12-28 19:47:58 +01:00
John BOTELLA
38539dace3 fix test 2021-12-28 19:44:10 +01:00
John BOTELLA
0f587a37e2 fix missing var definition 2021-12-28 19:36:44 +01:00
John BOTELLA
5449d57d26 fix variable does not seem to be defined for all execution 2021-12-28 19:19:51 +01:00
John BOTELLA
e20d669e34 Fix : prevent fatal error 2021-12-28 19:08:47 +01:00
stickler-ci
537965c7b7 Fixing style errors. 2021-12-28 17:34:11 +00:00
Maxime Kohlhaas
f9f1c7e3f8 Fix action protection 2021-12-28 18:32:02 +01:00
John BOTELLA
019b10c9eb Fix wrong method call 2021-12-28 18:27:29 +01:00
Maxime Kohlhaas
f27fda33e8 Fix prelevement action right management 2021-12-28 18:26:42 +01:00
Maxime Kohlhaas
1e848f0ebb Fix prelevement right management and action buttons 2021-12-28 18:17:57 +01:00
Maxime Kohlhaas
2237c09d64 Remove unused set_credit function 2021-12-28 17:59:41 +01:00
Maxime Kohlhaas
93393b82a3 Fix nav + translations on supplier invoice credit transfer 2021-12-28 17:40:25 +01:00
Maxime Kohlhaas
4b3289ed84 Fix #19666 : missing quotes in SQL statement 2021-12-28 16:20:01 +01:00
Maxime Kohlhaas
12880f1716 Fix : replace old filters by new ones 2021-12-28 16:02:51 +01:00
Maxime Kohlhaas
1d20694f33 Fix #19667 : bankentries wrong SQL parenthesis + missing filter 2021-12-28 15:47:46 +01:00
Maxime Kohlhaas
b54e7bd861 Fix #19691 : wrong table name in sql file 2021-12-28 12:23:15 +01:00
Maxime Kohlhaas
0e9b707801 Fix #19249 : wrong payment cond and mode on mass order billing 2021-12-28 11:57:26 +01:00
Mélina
81bee064af add getDolGlobalInt 2021-12-28 11:28:58 +01:00
Maxime Kohlhaas
1bb07dbc6b Fix #19404 : only validated invoice must be considered in unpaid indicator 2021-12-28 11:02:45 +01:00
Maxime Kohlhaas
3ada0a8741 Fix #19672 : email unicity was checked when email was null 2021-12-28 10:40:44 +01:00
Henry
559b0b4bfa Fix - Currency of Account Statement 2021-12-28 17:12:12 +08:00
Philippe GRAND
f8884d2c86 fix : units were not displayed 2021-12-27 15:00:05 +01:00
mschamp
77d1f83964 Merge branch 'Dolibarr:develop' into develop 2021-12-27 09:53:08 +01:00
Laurent Destailleur
27134a1f91 Fix position of menu 2021-12-26 15:44:04 +01:00
Laurent Destailleur
2e2e1b90e5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-26 15:41:25 +01:00
Laurent Destailleur
a7ef4991fd Fix position of menu 2021-12-26 15:41:09 +01:00
Laurent Destailleur
7edba34107 Debug and secure the signature feature 2021-12-25 17:08:40 +01:00
Laurent Destailleur
3fc0205d0b Fix responsive 2021-12-25 12:44:46 +01:00
Maxime Kohlhaas
d82c1f34e0 Fix modulebuilder params for updatemask action 2021-12-25 11:33:26 +01:00
Je2fb
369d125002 Update card.php
Fix bug when you create a supplier order from a project to keep the project when you select the supplier (Option RELOAD_PAGE_ON_SUPPLIER_CHANGE)
2021-12-23 22:47:30 +01:00
atm-florian
67910db532 FIX: discounts are applied both when fetching the best supplier price and when displaying it
cf. PR #18873
commit 2be2423dee
2021-12-23 19:00:39 +01:00
Laurent Destailleur
4eb9a7625a Fix notification setup page. 2021-12-23 15:12:35 +01:00
Laurent Destailleur
0a72aed3d7 Fix missing space before union 2021-12-23 13:35:38 +01:00
Laurent Destailleur
0fd386a450 css 2021-12-23 11:32:12 +01:00
Laurent Destailleur
0273ab67fe Prepare 14.0.5 2021-12-23 10:24:06 +01:00
Laurent Destailleur
00b43be7e6 Code comment 2021-12-23 10:20:01 +01:00
Laurent Destailleur
fee64f57d4 FIX Can't close a down payment if paid with credit notes. 2021-12-23 10:09:20 +01:00
Laurent Destailleur
dd94745e33 Fix css for rtl languages 2021-12-22 20:57:14 +01:00
mschamp
8bbbcd9b9d Merge branch 'Dolibarr:develop' into develop 2021-12-22 20:08:11 +01:00
Laurent Destailleur
6c84a128f6 Look and feel 2021-12-22 18:35:06 +01:00
Philippe GRAND
641b0ba88f fix : Fatal error: Uncaught Error: Class 'AccountingAccount' not found in /home/httpd/vhosts/doliweb.com/httpdocs/admin/dict.php on line 1970 2021-12-22 17:38:06 +01:00
Laurent Destailleur
b74c24cefd Fix status of KM article 2021-12-22 11:38:17 +01:00
mschamp
aac0375e7f Close #19673 order categories based on count of elements 2021-12-22 10:32:50 +01:00
Laurent Destailleur
9feb3a0adb Merge pull request #19492 from fmarcet/13.0
Fix: Import don't work if extrafield is separator
2021-12-22 00:25:03 +01:00
Laurent Destailleur
e4c4ef14ef Fix td balance 2021-12-21 23:52:01 +01:00
Laurent Destailleur
35bf7aabfc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-21 16:35:36 +01:00
Laurent Destailleur
bb07bbe004 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/societe/card.php
2021-12-21 16:35:23 +01:00
Laurent Destailleur
51225b9801 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-12-21 16:33:43 +01:00
Laurent Destailleur
c517cabd16 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-12-21 16:33:31 +01:00
Laurent Destailleur
e76c85bc8d Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-12-21 16:32:45 +01:00
Laurent Destailleur
856b010a45 FIX #19651 2021-12-21 15:56:59 +01:00
Laurent Destailleur
82bab7bcac Merge pull request #19668 from ATM-Consulting/FIX_ContactCategorie_Double_Display_On_Societe_Create_Card_With_THIRDPARTY_SUGGEST_ALSO_ADDRESS_CREATION
FIX : double display for contact categorie on societe create card
2021-12-21 15:53:53 +01:00
Laurent Destailleur
ccabc320d7 Merge pull request #19654 from aspangaro/15b1
FIX Accountancy - Separator problem with FEC/FEC2 export format
2021-12-21 15:53:08 +01:00
Laurent Destailleur
d3b429bef6 Merge pull request #19663 from frederic34/patch-1
add url in receipt printer options
2021-12-21 15:52:25 +01:00
Laurent Destailleur
0cf460ced2 Merge pull request #19656 from grandoc/new_branch_20_12_2021
fix: Fatal error: Uncaught Error: Class 'AccountingAccount' not found…
2021-12-21 15:52:01 +01:00
Laurent Destailleur
e2ee74f8e0 Clean code 2021-12-21 15:46:42 +01:00
Laurent Destailleur
bb436e556d Fix warnings 2021-12-21 15:23:56 +01:00
Laurent Destailleur
86b6f9c742 Fix warning 2021-12-21 15:01:41 +01:00
Laurent Destailleur
e3bb837313 Fix doxygen 2021-12-21 14:58:34 +01:00
Laurent Destailleur
2de5db83a9 Fix iban_prefix 2021-12-21 14:51:57 +01:00
Laurent Destailleur
e555683787 Fix unexpected code 2021-12-21 14:46:44 +01:00
Laurent Destailleur
55562eb1d8 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/html.formadmin.class.php
2021-12-21 14:36:38 +01:00
Laurent Destailleur
084f298836 Fix regression. The entity for bank is in table itself not into a parent 2021-12-21 14:34:47 +01:00
atm-gregr
3feb3d5b76 double contactcategorie 2021-12-21 14:26:28 +01:00
Laurent Destailleur
de25cf3a72 NEW: Hidden option API_DISABLE_COMPRESSION is now visible in API setup
page.
2021-12-21 14:08:06 +01:00
Laurent Destailleur
fa1bddc79d Fix API for php8 2021-12-21 14:01:58 +01:00
Laurent Destailleur
12645926cc Fix text 2021-12-21 12:12:32 +01:00
Laurent Destailleur
bb6bf2f743 Fix replacement of ICS on sepa mandate 2021-12-21 11:45:42 +01:00
Laurent Destailleur
8e4077eedf Fix ics on sepa mandate template 2021-12-21 11:25:19 +01:00
Laurent Destailleur
8438b62b02 Swith to beta 2021-12-21 11:16:17 +01:00
Frédéric FRANCE
214feeb1f3 Update dolreceiptprinter.class.php 2021-12-21 10:05:06 +01:00
Laurent Destailleur
3d173560e1 css 2021-12-21 02:51:21 +01:00
Laurent Destailleur
af8d022b92 Fix link of module bookmarks 2021-12-21 02:49:10 +01:00
Laurent Destailleur
0387b9922e FIX error message on sqlfilter in API 2021-12-20 20:49:32 +01:00
Laurent Destailleur
4855a97b21 Fix phpunit 2021-12-20 20:07:29 +01:00
Laurent Destailleur
29a09e5cbc typo 2021-12-20 18:49:11 +01:00
Laurent Destailleur
02317f1d95 Fix nav lose filter 2021-12-20 18:12:08 +01:00
Laurent Destailleur
26d30be518 FIX list on time spent when no param provided was wrong. 2021-12-20 17:50:59 +01:00
Frédéric FRANCE
520c296626 add url in receipt printer options 2021-12-20 16:04:32 +01:00
Laurent Destailleur
0465afbc34 Fix css for takepos 2021-12-20 13:39:34 +01:00
Ferran Marcet
2b7c3be511 Replace sql operator 2021-12-20 12:34:46 +01:00
Ferran Marcet
aa3f473ebc Merge branch '13.0up' into 13.0 2021-12-20 12:32:43 +01:00
Philippe GRAND
67b9244c6b fix: Fatal error: Uncaught Error: Class 'AccountingAccount' not found in /home/httpd/vhosts/doliweb.com/httpdocs/expensereport/card.php on line 2099 2021-12-20 10:36:35 +01:00
Alexandre SPANGARO
37033b04be FIX Accountancy - Separator problem with FEC/FEC2 export format 2021-12-20 07:04:12 +01:00
Laurent Destailleur
19efa37e4b Fix default value #19562 2021-12-19 20:55:24 +01:00
Laurent Destailleur
f09e603bf4 Try for FIX #19562 2021-12-19 20:43:24 +01:00
Laurent Destailleur
13b17fa0da FIX #19564 2021-12-19 20:28:27 +01:00
Laurent Destailleur
4f572287dd Fix remove .BAK files 2021-12-19 17:28:19 +01:00
Laurent Destailleur
b6cfc3a3e0 Clean code 2021-12-19 17:25:11 +01:00
Laurent Destailleur
40a3f70eb3 FIx #19638 2021-12-19 17:12:01 +01:00
Laurent Destailleur
626cd24305 Clean code for #19639 2021-12-19 17:05:57 +01:00
Laurent Destailleur
ee3246bf65 Trans 2021-12-19 16:02:28 +01:00
Laurent Destailleur
19afcbbc40 css 2021-12-19 15:59:34 +01:00
Laurent Destailleur
e2e2e69379 Fix bad link 2021-12-19 03:54:04 +01:00
Laurent Destailleur
015bc9ebca Fix mode 2021-12-19 03:45:36 +01:00
Laurent Destailleur
771805cd83 More complete error management. 2021-12-19 03:36:25 +01:00
Laurent Destailleur
a662a980db Trans 2021-12-19 01:41:09 +01:00
Laurent Destailleur
ee428109e0 Debug 2021-12-19 01:36:45 +01:00
Laurent Destailleur
477e9ddd4c Try to complete fix 2021-12-19 01:04:24 +01:00
Laurent Destailleur
3282a89d3f css 2021-12-19 00:48:13 +01:00
Laurent Destailleur
8e0eec8b5a Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-19 00:38:08 +01:00
Laurent Destailleur
5c4fad3cc0 phpcs 2021-12-19 00:37:43 +01:00
Laurent Destailleur
fbce09f21b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/customer/index.php
	htdocs/compta/facture/card.php
	htdocs/reception/card.php
2021-12-19 00:36:22 +01:00
Laurent Destailleur
6643a05216 php 8 2021-12-19 00:19:17 +01:00
Laurent Destailleur
98ddfbf792 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/compta/facture/info.php
	htdocs/compta/facture/list.php
	htdocs/core/lib/functions.lib.php
	htdocs/core/lib/pdf.lib.php
	htdocs/fourn/facture/list.php
	htdocs/mrp/mo_movements.php
	htdocs/product/stock/movement_card.php
	htdocs/product/stock/movement_list.php
	htdocs/product/stock/replenishorders.php
	htdocs/reception/card.php
	htdocs/supplier_proposal/list.php
2021-12-19 00:17:37 +01:00
Laurent Destailleur
baa9585f85 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/core/lib/functions.lib.php
	htdocs/holiday/month_report.php
2021-12-19 00:01:11 +01:00
Laurent Destailleur
7952207474 Comment 2021-12-18 23:56:45 +01:00
Laurent Destailleur
41792dd269 Fix phpunit 2021-12-18 23:55:12 +01:00
Laurent Destailleur
d46ef9c42a css 2021-12-18 23:51:14 +01:00
Laurent Destailleur
8925a8041a Fix trforbreak 2021-12-18 23:16:46 +01:00
Laurent Destailleur
80a7b83956 Debug status of accounting account 2021-12-18 23:02:31 +01:00
Laurent Destailleur
5fed6de5b8 Fix feature to close record in accounting 2021-12-18 22:53:30 +01:00
Laurent Destailleur
0fe1634f29 Fix missing print 2021-12-18 22:36:32 +01:00
Laurent Destailleur
7b1b02ab16 css 2021-12-18 22:23:12 +01:00
Laurent Destailleur
2335cf5fb4 css 2021-12-18 22:19:21 +01:00
Laurent Destailleur
ab7f118949 Add info to help debug report 2021-12-18 21:59:46 +01:00
Laurent Destailleur
d43c632c33 Add info to help debug report 2021-12-18 21:51:44 +01:00
Laurent Destailleur
7665b9d505 FIX Debug report 2021-12-18 21:13:22 +01:00
Laurent Destailleur
6be499e921 Fix report 2021-12-18 20:06:27 +01:00
Laurent Destailleur
9a253d50c9 Fix report 2021-12-18 19:23:03 +01:00
Laurent Destailleur
bf441dda14 Fix report of expense-income must be without tax in debt 2021-12-18 18:11:28 +01:00
Laurent Destailleur
fa5d96d562 Add more info to help debug 2021-12-18 16:48:08 +01:00
Laurent Destailleur
fde9a6667f Fix colspan 2021-12-18 15:46:08 +01:00
Laurent Destailleur
9db9c5eecd Fix tooltip 2021-12-18 15:34:12 +01:00
Laurent Destailleur
48c879a91d Fix setDefault should work for all types 2021-12-18 14:56:19 +01:00
Laurent Destailleur
3cf59ba67f Fix missing button to create new record (Look and feel) 2021-12-18 14:55:35 +01:00
Laurent Destailleur
9a5f2634a4 Debug 2021-12-17 18:05:49 +01:00
Laurent Destailleur
7266c78162 Clean/Debug code for v15 2021-12-17 17:40:30 +01:00
Laurent Destailleur
654cd8bd1c Fix for dol_string_onlythesehtmlattributes() 2021-12-17 12:01:25 +01:00
Florian HENRY
a3c8c45d5f style 2021-12-17 11:12:20 +01:00
Florian HENRY
417afef4b1 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_public_page_multientity_ticket 2021-12-17 11:10:19 +01:00
Florian HENRY
dfbd03140c FIX: manage multientity in ticket public page by querystring 2021-12-17 11:10:08 +01:00
Laurent Destailleur
e60f65db7d Trans 2021-12-17 10:00:10 +01:00
Laurent Destailleur
eb3eef9a61 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-17 09:54:19 +01:00
Laurent Destailleur
fcb10df570 Fix size of origintype 2021-12-17 09:54:03 +01:00
Laurent Destailleur
f3430d94d5 css 2021-12-17 00:48:13 +01:00
Laurent Destailleur
3895438b85 Fix responsive 2021-12-16 23:53:05 +01:00
Laurent Destailleur
fd404c0438 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-16 19:01:28 +01:00
Laurent Destailleur
517355972a Fix duplicate table for online signature 2021-12-16 19:01:11 +01:00
Laurent Destailleur
1cc0f8e15f Merge pull request #18167 from ATM-Consulting/FIX_13.0_extrafields_inoperative_in_receptions
FIX: line extrafields are inoperative in dispatch cards even when they exist
2021-12-16 18:54:38 +01:00
Laurent Destailleur
e17ddee559 Merge pull request #19396 from FHenry/14.0_fix_margin_cal_with_depositinvoice
fix: #ZENDSI fix margin calc with credit note
2021-12-16 18:48:27 +01:00
Laurent Destailleur
fdf7749a54 Merge pull request #19508 from atm-john/fix_missing_formsetup_elements
Fix missing formsetup elements
2021-12-16 18:42:55 +01:00
Laurent Destailleur
4cd512738f Merge pull request #19543 from mbinformatique68/develop
FIX Get societe terms of payment if getpost terms of payment is 0 on creating propal
2021-12-16 18:19:29 +01:00
Laurent Destailleur
2e68505fd1 Merge pull request #19594 from fr69400/develop
FIX - unasigned variable $action given to hook printOriginObjectLine
2021-12-16 17:59:27 +01:00
Laurent Destailleur
c260ad24d5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-16 17:58:33 +01:00
Laurent Destailleur
6c053abfd9 Standardize code 2021-12-16 17:58:08 +01:00
Laurent Destailleur
c08cc96c71 Merge pull request #19592 from Hystepik/develop#2
Fix #19545 : supplier order modification
2021-12-16 17:47:34 +01:00
Laurent Destailleur
904fe3cd39 Merge pull request #19598 from fappels/15_CHANGELOG
Update changelog for modified add_object_linked
2021-12-16 17:42:15 +01:00
Laurent Destailleur
cf01018a90 Update ChangeLog 2021-12-16 17:42:09 +01:00
Laurent Destailleur
9b9cb6842e Merge pull request #19599 from Je2fb/develop
Fix #19418
2021-12-16 17:38:38 +01:00
Laurent Destailleur
e4dede7aba Merge pull request #19605 from atm-jpb/14_fix_bank_restrictedArea
Fix : add  info for acces right  on compta/ bank / info
2021-12-16 17:35:31 +01:00
Laurent Destailleur
9d6ddced56 Merge pull request #19607 from fbosman/patch-1
Update functions.lib.php
2021-12-16 17:33:13 +01:00
Laurent Destailleur
726fa41650 Merge pull request #19616 from atm-gauthier/fix_param_used_by_reference
FIX : marginInfos array should be used by reference to allow to updat…
2021-12-16 17:31:00 +01:00
Laurent Destailleur
04edf0d4ae Merge pull request #19641 from Dolibarr/revert-19608-patch-2
Revert "Update card_presend.tpl.php"
2021-12-16 17:29:23 +01:00
Laurent Destailleur
c5bdb7b4d8 Revert "Update card_presend.tpl.php" 2021-12-16 17:29:04 +01:00
Laurent Destailleur
5ee32ae23c Merge pull request #19608 from fbosman/patch-2
Update card_presend.tpl.php
2021-12-16 17:28:17 +01:00
Laurent Destailleur
0e593d9e8b Merge branch 'develop' into patch-2 2021-12-16 17:28:07 +01:00
Laurent Destailleur
930ac3e928 Merge pull request #19613 from hregis/fix_avoid_blank_page_with_error
FIX avoid blank page with error
2021-12-16 17:19:16 +01:00
Laurent Destailleur
0dc8bcd45e Merge pull request #19619 from javieralapps4up/develop
FIX When creating an invoice, extrafields with visibility = 4 are di…
2021-12-16 17:18:04 +01:00
Laurent Destailleur
81f4a1d80c Merge pull request #19620 from frederic34/patch-1
check for mbstring extension at install
2021-12-16 17:16:28 +01:00
Laurent Destailleur
39b4586957 Merge pull request #19624 from 1ocate/FIX_05_author_searching_include_first_and_last_name
Fix author searching include first and last name
2021-12-16 17:09:44 +01:00
Laurent Destailleur
15b85258e8 Merge pull request #19634 from atm-gregr/FIX_Info_Tab_returns_Record_not_found
FIX :  info tab on customer invoice record not found
2021-12-16 17:05:22 +01:00
Laurent Destailleur
e9b7fd0ef8 Update info.php 2021-12-16 17:05:12 +01:00
Laurent Destailleur
dc1118a3df Update info.php 2021-12-16 17:04:25 +01:00
Laurent Destailleur
b604199d0e Merge pull request #19635 from AlainRnet/patch-9
Update notes.tpl.php
2021-12-16 17:01:44 +01:00
Laurent Destailleur
bef1afc7b8 Clean code 2021-12-16 17:01:15 +01:00
Laurent Destailleur
36ba158a8b Merge pull request #19637 from atm-john/12.0_fix_get_prev_progress
FIX : test of method exist on wrong object
2021-12-16 16:49:59 +01:00
Laurent Destailleur
dcc8a68cdf Merge pull request #19636 from 1ocate/FIX_author_searching_include_first_and_last_name_13
Fix 13.0 author searching include first and last name
2021-12-16 16:49:17 +01:00
Laurent Destailleur
f8e6befe35 Fix link on user 2021-12-16 16:47:11 +01:00
Laurent Destailleur
140cca7596 Merge pull request #19640 from atm-kevin/FIX_Holidays_Filter
FIX Holiday month report
2021-12-16 16:36:54 +01:00
Laurent Destailleur
8c73ef4bbf Fix menu perm 2021-12-16 16:30:42 +01:00
Laurent Destailleur
d92535ec59 FIX Debug transfert in accountancy for expense report 2021-12-16 15:41:23 +01:00
kevin
a5b8d0cd4b FIX Take into consideration work leave over serveral months 2021-12-16 15:41:13 +01:00
Laurent Destailleur
9465edd8ec Add warning making payment if pending direct debit or credit trans 2021-12-16 14:09:56 +01:00
Laurent Destailleur
84400cf1d3 Fix backto page 2021-12-16 13:35:17 +01:00
Laurent Destailleur
f1af5a41bf Fix several pb with down payments 2021-12-16 12:53:46 +01:00
Laurent Destailleur
43e682b56f Fix several pb with down payments 2021-12-16 12:33:45 +01:00
Jay Yeo
e8eaf986fe Fix author searching include first and last name 2021-12-16 16:55:47 +07:00
John BOTELLA
d149596043 fix test of method exist on wrong object 2021-12-16 10:33:53 +01:00
Jay Yeo
41e4e70c6e Fix author searching include first and last name 2021-12-16 16:28:45 +07:00
Alain Rihs
32ef42d163 Update notes.tpl.php
See https://github.com/Dolibarr/dolibarr/issues/19580

The options of the advanced editor were not taken into account when editing public and private notes. I propose this code to fix this bug.
2021-12-16 10:22:43 +01:00
atm-gregr
cc12baed57 fix info tab on customer invoice record not found 2021-12-16 10:19:42 +01:00
Laurent Destailleur
f589121199 Trans 2021-12-16 01:17:22 +01:00
Laurent Destailleur
53be92fac3 FIX #19626 2021-12-15 17:32:15 +01:00
Jay Yeo
7c1879a11a Fix author searching include first and last name 2021-12-15 16:52:57 +07:00
Mélina
fca26827ec Add constant TAKEPOS_CHANGE_PRICE_HT 2021-12-15 10:47:30 +01:00
Jay Yeo
8e3b617671 Fix search_user in stock/movement_list.php 2021-12-15 16:21:08 +07:00
Frédéric FRANCE
a02cb4c9b1 Update install.lang 2021-12-14 22:52:39 +01:00
Frédéric FRANCE
dddeddfe79 check for mbstring extension at install 2021-12-14 22:45:33 +01:00
Laurent Destailleur
f9e4266007 FIX debug inventory feature (missing link to mvt, bad label of mvt) 2021-12-14 19:37:44 +01:00
javieralapps4up
aeb16d69d1 FIX: When creating an invoice, extrafields with visibility = 4 are displayed
When creating an invoice, extrafields with visibility = 4 are displayed
2021-12-14 17:15:18 +01:00
Gauthier PC portable 024
b971efb062 FIX : marginInfos array should be used by reference to allow to update it with a hook without draw again margin table 2021-12-14 12:25:43 +01:00
stickler-ci
66c486c878 Fixing style errors. 2021-12-14 11:12:54 +00:00
John BOTELLA
1d8cf297de Update html.formsetup.class.php 2021-12-14 12:10:09 +01:00
Regis Houssin
3b65d46b53 FIX avoid blank page with error 2021-12-14 11:19:41 +01:00
Frans Bosman
8c844c96df Update card_presend.tpl.php
Add hidden feature ORDER_SUPPLIER_EMAIL_SENDER as sender address for purchase order emails
2021-12-13 20:33:42 +01:00
Frans Bosman
cf05f38e54 Update functions.lib.php
Change exists to isset in price2num
2021-12-13 19:56:06 +01:00
Laurent Destailleur
582caf0e7a FIX message for automatic binding not clear of what was done or not 2021-12-13 19:04:25 +01:00
Laurent Destailleur
d0bc32047d FIX Create and clone negative social contribution 2021-12-13 18:11:17 +01:00
Laurent Destailleur
6d94c6150b FIX sign of unit price into the supplier credit note 2021-12-13 17:56:28 +01:00
Laurent Destailleur
e7b7c3281e Fix page of accountancy transaction 2021-12-13 17:42:10 +01:00
fr69400
2419784bdb Update commonobject.class.php 2021-12-13 16:54:42 +01:00
jpb
ac8538a812 add info for acces right 2021-12-13 16:53:34 +01:00
Laurent Destailleur
85dc6006c4 Code comment 2021-12-13 16:09:06 +01:00
Je2fb
df9b337a57 Fix #19418 2021-12-13 09:44:00 +01:00
Laurent Destailleur
49853adf82 Fix pb with cache 2021-12-13 09:35:27 +01:00
Laurent Destailleur
388500794b Fix for ckeditor 2021-12-13 01:19:48 +01:00
Laurent Destailleur
bb1d5daa82 css 2021-12-12 23:47:40 +01:00
Laurent Destailleur
f6c1ad6094 css 2021-12-12 21:20:12 +01:00
Francis Appels
694957080e Update changelog for modified add_object_linked 2021-12-12 19:12:35 +01:00
Laurent Destailleur
5ea82a99bb Fix lang 2021-12-12 15:48:02 +01:00
Laurent Destailleur
4fe6532359 Fix phpcs 2021-12-12 02:16:09 +01:00
Laurent Destailleur
f6f6537e25 css 2021-12-12 02:13:09 +01:00
Laurent Destailleur
0a976ad1be Fix bad permission test on bookmark page 2021-12-12 01:56:31 +01:00
Laurent Destailleur
b1038e0d48 FIX wrong list of stock mvt after right/left on a warehouse 2021-12-12 00:17:14 +01:00
Laurent Destailleur
3abb3f5018 Debug inventory feature 2021-12-12 00:05:31 +01:00
Laurent Destailleur
964656c728 Fix label of status 2021-12-11 22:28:16 +01:00
Laurent Destailleur
e46bde3a4a Fix token 2021-12-11 19:58:03 +01:00
Laurent Destailleur
689f5dd1fe Fix use of reposition when nojs for confirmation popup 2021-12-11 18:13:03 +01:00
Laurent Destailleur
2bc417fcf7 FIX parameter $action replaced with $mode. $action reserved for action 2021-12-11 13:22:43 +01:00
Laurent Destailleur
dce555f53f Fix missing document tab on receptions 2021-12-10 18:57:25 +01:00
Laurent Destailleur
ff54bcedf7 css 2021-12-10 16:02:42 +01:00
Laurent Destailleur
5bca7cf5f1 css 2021-12-10 15:57:10 +01:00
Laurent Destailleur
dcd8c0f53d css 2021-12-10 14:50:20 +01:00
Laurent Destailleur
f3da457b2b Clean comment 2021-12-10 14:26:28 +01:00
fr69400
611bae4c3a FIX - unasigned variable $action given to hook printOriginObjectSubLine 2021-12-10 14:20:04 +01:00
Laurent Destailleur
b2611e4cdb CSS 2021-12-10 13:56:51 +01:00
Laurent Destailleur
4d1e247a5c Trans 2021-12-10 12:51:00 +01:00
Laurent Destailleur
e85289777c Merge pull request #19593 from atm-gauthier/fix_compat_postgres
FIX : postgresql compatibility, '' as is not authorized
2021-12-10 12:45:00 +01:00
Laurent Destailleur
9fbe0dee9b Fix trans 2021-12-10 12:36:51 +01:00
Gauthier PC portable 024
b609c579b6 FIX : postgresql compatibility, "" as is not authorized 2021-12-10 11:40:25 +01:00
lmarcouiller
0fc9be27bc Fix #19545 : supplier order modification 2021-12-10 11:26:19 +01:00
Laurent Destailleur
8cdc5726a0 Fix column length 2021-12-10 10:26:20 +01:00
Laurent Destailleur
0027335e3b Fix regression 2021-12-10 03:25:07 +01:00
Laurent Destailleur
20a3fab437 Fix pb when several output hooks 2021-12-09 20:58:23 +01:00
Laurent Destailleur
c37377626e Revert change 2021-12-09 19:43:23 +01:00
Laurent Destailleur
9624b9aa59 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-09 18:03:38 +01:00
Laurent Destailleur
eacc5f0f0a Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/install/repair.php
2021-12-09 18:03:27 +01:00
Laurent Destailleur
783ddcc671 Fix phpcs 2021-12-09 18:01:44 +01:00
Laurent Destailleur
10225d2b1f Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-12-09 17:59:08 +01:00
Laurent Destailleur
e3932377a6 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/compta/prelevement/class/bonprelevement.class.php
2021-12-09 17:58:57 +01:00
Laurent Destailleur
37fd2e05b9 Merge pull request #19582 from atm-florianm/FIX_13.0_duplicate_hook_printFieldListWhere_in_replenish
FIX 13.0: printFieldListWhere called twice on same query
2021-12-09 17:40:50 +01:00
Laurent Destailleur
290ce46948 Merge pull request #19584 from javieralapps4up/develop
FIX In the card of a direct debit, if you change the limit, it gets disordered and vice versa
2021-12-09 17:36:21 +01:00
Laurent Destailleur
c4ef3ec116 Merge pull request #19578 from fr69400/patch4
FIX - Missing one html conversion
2021-12-09 17:31:03 +01:00
Laurent Destailleur
baabfd380f Update pdf.lib.php 2021-12-09 17:25:06 +01:00
Laurent Destailleur
1fa8e1db98 Merge pull request #19579 from atm-maxime/fix_xml_trunc
Fix #18586 : special char "…" not allowed in XML file and added by dol_trunc
2021-12-09 17:21:56 +01:00
Laurent Destailleur
2fc51b9758 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-09 17:21:04 +01:00
Laurent Destailleur
98d534d7a4 Merge pull request #19581 from hregis/fix_wrong_sql_request
FIX wrong syntax of sql request
2021-12-09 17:20:17 +01:00
Laurent Destailleur
30107837a5 Merge pull request #19588 from Hystepik/develop#2
Fix php 8.0 warnings of modulebuilder
2021-12-09 17:19:42 +01:00
Laurent Destailleur
d80f83caf4 Clean code 2021-12-09 17:19:31 +01:00
lmarcouiller
8b2002fbfb Fix php 8.0 warnings of modulebuilder 2021-12-09 15:17:18 +01:00
Laurent Destailleur
9462481e83 Doc 2021-12-09 14:51:35 +01:00
Laurent Destailleur
6b9636c3b8 FIX deletion of direct debit or credit transfer 2021-12-09 12:54:18 +01:00
Laurent Destailleur
ecf98530bb Debug SEPA payment module 2021-12-09 12:42:04 +01:00
Laurent Destailleur
7ea8b7851a Code comment 2021-12-09 11:56:54 +01:00
stickler-ci
93356d9dc4 Fixing style errors. 2021-12-09 10:25:58 +00:00
javieralapps4up
0c2dce372f FIX In the card of a direct debit
FIX In the card of a direct debit, if you change the limit, it gets disordered and vice versa
2021-12-09 11:24:03 +01:00
Laurent Destailleur
d6ab7ab953 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/ihm.php
	htdocs/install/repair.php
	htdocs/user/class/user.class.php
2021-12-09 11:15:40 +01:00
Laurent Destailleur
a9bdefa358 FIX select too large into addrights (pb of missing parenthesis) 2021-12-09 11:12:40 +01:00
Laurent Destailleur
b5d1ea4629 FIX select too large into addrights (pb of missing parenthesis) 2021-12-09 11:07:38 +01:00
Regis Houssin
1098426005 FIX wrong syntax of sql request 2021-12-09 10:31:02 +01:00
Laurent Destailleur
76779aa9e1 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-12-09 10:00:59 +01:00
Laurent Destailleur
92a0c9e4fb Fix sql error in repair.php 2021-12-09 10:00:42 +01:00
Laurent Destailleur
f4d7cbe045 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-09 09:54:09 +01:00
Laurent Destailleur
7ce6009958 Removed deprecated option 2021-12-09 09:53:32 +01:00
fr69400
abd984bc14 Update pdf.lib.php 2021-12-09 09:39:22 +01:00
stickler-ci
f74077a2e7 Fixing style errors. 2021-12-09 08:35:12 +00:00
Maxime Kohlhaas
1123bf3cde Fix #18586 : special char "…" not allowed in XML file and added by dol_trunc 2021-12-09 09:34:00 +01:00
fr69400
d0413f423f FIX - Missing one html conversion 2021-12-09 09:33:00 +01:00
Laurent Destailleur
160c8402ea Merge pull request #19524 from 1ocate/typoReceive
Fix typo 'usercanreceived' -> 'usercanreceive' in '/htdocs/fourn/commande/card.php'
2021-12-08 21:39:55 +01:00
Laurent Destailleur
1697cdf4b9 Merge pull request #19526 from hregis/fix_missing_default_value
FIX missing default value for more comprehensive
2021-12-08 21:26:56 +01:00
Laurent Destailleur
de3ac77d56 Merge pull request #19533 from lainwir3d/fr19531_product_restapi_allow_stock_loading_index
CLOSE #19531 Product REST API: allow list / search method to retrieve stock data.
2021-12-08 21:23:53 +01:00
Laurent Destailleur
f0cac384c5 Merge pull request #19553 from habot-it/patch-1
Add hookmanager in function pdf_pagefoot of pdf.lib.php
2021-12-08 19:18:09 +01:00
Laurent Destailleur
4e744dec65 Merge pull request #19542 from andreubisquerra/develop
FIX Avoid move line to the same place in TakePOS
2021-12-08 19:16:40 +01:00
Laurent Destailleur
646ba34f89 Update functions.lib.php 2021-12-08 19:15:35 +01:00
Laurent Destailleur
22c271966d Fix the existing method dolEscapeXML should be enough. 2021-12-08 19:14:02 +01:00
Laurent Destailleur
7c2fbe4923 Merge pull request #19558 from yaslama/sepa_illegal_chars
Remove illegal characters in SEPA XML
2021-12-08 18:57:06 +01:00
Laurent Destailleur
e983ba58f9 Merge pull request #19534 from Hystepik/develop#3
Fix : php8.0  warning
2021-12-08 18:51:51 +01:00
Laurent Destailleur
90cff6aed9 Update list.php 2021-12-08 18:50:42 +01:00
Laurent Destailleur
51e7484d55 Fix var not defined 2021-12-08 18:49:57 +01:00
Laurent Destailleur
ea45fdce5c Merge pull request #19535 from Hystepik/develop#4
Fix : php 8.0 warnings
2021-12-08 18:44:16 +01:00
Laurent Destailleur
919f80ee86 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-08 18:39:29 +01:00
Laurent Destailleur
9d11d265ec Fix phpcs 2021-12-08 18:37:52 +01:00
Laurent Destailleur
8f7b222764 Fix phpcs 2021-12-08 18:37:07 +01:00
Laurent Destailleur
72dc560ce8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-08 18:27:28 +01:00
Laurent Destailleur
69cd7ae2ab Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/don/card.php
	htdocs/public/test/badges.php
	htdocs/public/test/test_exec.php
2021-12-08 18:27:03 +01:00
Laurent Destailleur
d4501a6f67 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-12-08 18:21:56 +01:00
Laurent Destailleur
c3bfd5caa4 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/adherents/type.php
	htdocs/asset/type.php
	htdocs/categories/edit.php
	htdocs/comm/action/card.php
	htdocs/compta/bank/card.php
	htdocs/contact/card.php
	htdocs/contact/list.php
	htdocs/core/class/extrafields.class.php
	htdocs/don/card.php
	htdocs/product/stock/card.php
	htdocs/projet/card.php
	htdocs/projet/tasks/task.php
	htdocs/user/group/card.php
2021-12-08 18:21:20 +01:00
Laurent Destailleur
e47e3b9797 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-12-08 18:09:55 +01:00
Laurent Destailleur
f1dac82a53 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/adherents/card.php
	htdocs/categories/edit.php
	htdocs/contact/card.php
	htdocs/core/class/extrafields.class.php
	htdocs/product/stock/card.php
2021-12-08 17:56:05 +01:00
Laurent Destailleur
af6e21910d FIX #19536 2021-12-08 16:47:46 +01:00
habot-it
6501bb7cbf Update pdf.lib.php 2021-12-08 16:43:11 +01:00
Laurent Destailleur
449cbcdf46 Merge pull request #19546 from javieralapps4up/develop
FIX When you pay an invoice, you can send the payment multiple times.
2021-12-08 16:31:40 +01:00
Laurent Destailleur
e6a82ed9a5 Merge pull request #19539 from hregis/fix_compatibility_with_multicompany
FIX compatibility with multicompany
2021-12-08 16:28:33 +01:00
Laurent Destailleur
57ebcf94c0 Merge pull request #19554 from atm-quentin/FIX_setoptionalfrompost
FIX set optional from post, we cant untick boolean field on product card
2021-12-08 16:27:41 +01:00
Laurent Destailleur
3baa9688b9 Merge pull request #19544 from FHenry/dev_error_return_hrm
fix: HRM new module skills
2021-12-08 16:17:45 +01:00
Laurent Destailleur
ea03019b54 Merge pull request #19549 from grandoc/new_branch_04_12_2021
update code : use loadlangs function
2021-12-08 16:16:32 +01:00
Laurent Destailleur
e887e44c25 Merge pull request #19528 from atm-greg/FIX_Uniformize_printFieldListHaving_hook
add printFieldListHaving hook
2021-12-08 16:10:36 +01:00
atm-florian
74ecb07925 FIX: printFieldListWhere called twice (at different locations) for the same SQL query, can result in syntax errors 2021-12-08 16:03:21 +01:00
Laurent Destailleur
042bb9f5cc Merge pull request #19556 from fappels/Debug_15
Fix shipment delete
2021-12-08 15:53:40 +01:00
Laurent Destailleur
990882e264 Merge branch 'develop' into Debug_15 2021-12-08 15:53:33 +01:00
Laurent Destailleur
8ff0d1f366 Update functions.lib.php 2021-12-08 15:49:52 +01:00
Laurent Destailleur
0fa82fbb4e Merge pull request #19559 from fappels/debug_15_part2
Extrafield showOutputField parameter 4 'extrafieldsobjectkey' is now required
2021-12-08 15:43:01 +01:00
Laurent Destailleur
deb0a468da Merge pull request #19561 from marc-dll/14.0_FIX_contact_extrafields_separator
FIX: contact card: bad colspan value for separator extrafield in creation/modification form
2021-12-08 15:36:39 +01:00
Laurent Destailleur
460627e777 Merge pull request #19563 from marc-dll/develop_FIX_thirdparty_ajax
FIX: thirparty ajax selector: no name or highlighting if at least ref and/or address displayed
2021-12-08 15:35:50 +01:00
Laurent Destailleur
bfc4eb059f Merge pull request #19567 from vincentjdc/expense-report-line-file-multi-company-fix
Fixes https://github.com/Dolibarr/dolibarr/issues/19541
2021-12-08 15:34:31 +01:00
Laurent Destailleur
597ab407f8 Merge pull request #19568 from Hystepik/develop#2
Fix inventory scanning function
2021-12-08 15:30:55 +01:00
Laurent Destailleur
df11210243 Merge pull request #19575 from atm-gregr/FIX_V13_No_Display_Contact_On_List_If_No_Mail_Adress
Fix v13 no display contact on list if no mail adress
2021-12-08 15:29:29 +01:00
Laurent Destailleur
9b65bb2085 Update list.php 2021-12-08 15:29:16 +01:00
Laurent Destailleur
5007282d7a Fix missing info popup on product 2021-12-08 15:16:06 +01:00
Laurent Destailleur
6b3cd703c6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-08 15:08:18 +01:00
Laurent Destailleur
8de8dacaa3 Fix php warning 2021-12-08 15:07:55 +01:00
atm-gregr
01893caa61 bad default value 2021-12-08 14:40:46 +01:00
Laurent Destailleur
106b8ceec5 Merge pull request #19574 from Hystepik/develop#5
Fix php8.0 warnings
2021-12-08 14:36:42 +01:00
Laurent Destailleur
b4de28f1db Update index.php 2021-12-08 14:36:34 +01:00
atm-gregr
386771cffc fix display contat line on list 2021-12-08 14:21:42 +01:00
Florian HENRY
6f22827ff2 fix stuff 2021-12-08 09:33:42 +01:00
Laurent Destailleur
20f4b5389b Fix the experimental feature to manage session in database 2021-12-07 17:39:46 +01:00
Laurent Destailleur
0e7d23e169 Fix constraint and loading on module activation. 2021-12-07 14:14:13 +01:00
Laurent Destailleur
b238419020 Clean code 2021-12-07 13:39:06 +01:00
lmarcouiller
c6c7abbf1d Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#2 2021-12-07 10:48:17 +01:00
Vincent Dieltiens
5f5c284af7 Fixes https://github.com/Dolibarr/dolibarr/issues/19541 2021-12-07 09:37:47 +01:00
Laurent Destailleur
6886cca1fa CSS 2021-12-07 02:35:46 +01:00
Laurent Destailleur
5efa31204b FIX ECM module was mixing contributions and vat and not showing salaries 2021-12-07 02:00:34 +01:00
Laurent Destailleur
ba507e7735 css 2021-12-06 20:53:01 +01:00
Francis Appels
fe40668f43 Parameter 4 extrafieldsobjectkey seems to be required now. 2021-12-06 20:32:44 +01:00
Marc de Lima Lucio
bfc8bb85a3 FIX: thirparty ajax selector: no name or highlighting if at least ref and/or address displayed 2021-12-06 18:23:47 +01:00
Laurent Destailleur
1caaa335d1 Fix missing section with files on social contribution page 2021-12-06 18:18:31 +01:00
Francis Appels
16c4dec6da Class file expeditionbatch.class.php renamed to expeditionlinebatch.class.php 2021-12-06 17:36:00 +01:00
Marc de Lima Lucio
6af2626f08 FIX: contact card: bad colspan value for separator extrafield in creation/modification form 2021-12-06 16:55:51 +01:00
Francis Appels
7018fe9530 Update changelog
ExpeditionLineBatch::fetchAll is not static anymore and first parameter $db is removed
2021-12-06 16:48:39 +01:00
lmarcouiller
f37d9787cd error management and addproduct 2021-12-06 16:47:56 +01:00
Francis Appels
f1524372ad Fix extrafield showOutputField old syntax always hidden. 2021-12-06 16:34:50 +01:00
Yaacov Akiba Slama
990081ce21 Remove illegal characters in SEPA XML 2021-12-06 16:54:08 +02:00
Francis Appels
5803060caf Fix shipment delete 2021-12-06 14:43:11 +01:00
Yaacov Akiba Slama
04d4c06a43 Use intl extension when available 2021-12-06 15:34:20 +02:00
Yaacov Akiba Slama
8f91086e83 Add some missing characters 2021-12-06 15:33:51 +02:00
Laurent Destailleur
39c7d55c1d Fix php syntax 2021-12-06 12:17:07 +01:00
Laurent Destailleur
8b914172df Fix rename and protect a test page 2021-12-06 12:16:12 +01:00
Laurent Destailleur
1977cac44a Fix error message 2021-12-06 12:12:04 +01:00
Laurent Destailleur
dd60720299 Add tool to help debug 2021-12-06 12:07:13 +01:00
stickler-ci
39117e8089 Fixing style errors. 2021-12-06 11:06:50 +00:00
habot-it
9ee3903fc4 Update pdf.lib.php 2021-12-06 12:06:32 +01:00
Quentin VIAL-GOUTEYRON
826bde0656 FIX set optional from post 2021-12-06 11:19:12 +01:00
habot-it
2ad9761040 Add hookmanager in function pdf_pagefoot of pdf.lib.php
Customize PDF footers with HTML.
(Only on the last page with free text)
2021-12-06 07:47:24 +01:00
Laurent Destailleur
259b7dfe5a NEW: Add massaction to switch status on sale / on purchase of a product. 2021-12-06 02:48:34 +01:00
Laurent Destailleur
eb60e3c16d Fix click on "C" on pad, reset correctly pad edition. 2021-12-06 02:13:15 +01:00
Laurent Destailleur
d62b3cafe4 Trans 2021-12-05 19:38:21 +01:00
Laurent Destailleur
9bad92f395 Trans 2021-12-05 19:25:15 +01:00
Laurent Destailleur
38c13a8713 Fix missing seconds 2021-12-05 16:59:02 +01:00
Laurent Destailleur
d910699f53 Fix hack 2021-12-05 16:57:39 +01:00
Laurent Destailleur
b11d31fea0 Fix: Quick hack to show missing datelastresult field in list of cronjob 2021-12-05 16:51:51 +01:00
Laurent Destailleur
49e3344a58 Fix link 2021-12-05 15:11:10 +01:00
Laurent Destailleur
305d8af76a Fix use a standard link insted of js to open a window. 2021-12-05 14:58:07 +01:00
Laurent Destailleur
2b505ec9b8 Fix can read category if can run takepos. 2021-12-05 13:01:05 +01:00
Laurent Destailleur
f3b38c82ba Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-05 13:00:41 +01:00
Laurent Destailleur
131c00ffb6 css 2021-12-05 13:00:23 +01:00
Philippe Grand
6d89e4b199 Update mymodulewidget1.php 2021-12-04 15:23:21 +01:00
stickler-ci
9465fc17e6 Fixing style errors. 2021-12-04 14:20:38 +00:00
Philippe GRAND
30505cc564 update code : use loadlangs function 2021-12-04 15:19:45 +01:00
ATM john
5dc620b728 Merge branch 'fix_missing_formsetup_elements' of github.com:atm-john/dolibarr into fix_missing_formsetup_elements 2021-12-04 14:00:12 +01:00
ATM john
f640a9fbad Merge branch 'develop' of github.com:Dolibarr/dolibarr into fix_missing_formsetup_elements 2021-12-04 13:59:27 +01:00
Laurent Destailleur
7219100174 css 2021-12-04 00:54:31 +01:00
Laurent Destailleur
87e221d6dd Fix create new page 2021-12-04 00:24:59 +01:00
Laurent Destailleur
acf7aa6489 CSS 2021-12-04 00:05:30 +01:00
Laurent Destailleur
80c9442780 css 2021-12-04 00:05:15 +01:00
lmarcouiller
325ad45bca update scan inventory error gestion 2021-12-03 16:04:23 +01:00
Laurent Destailleur
212001ffa7 Trans 2021-12-03 15:15:08 +01:00
Laurent Destailleur
53ab2dd109 Trans 2021-12-03 15:13:20 +01:00
javieralapps4up
b024bf20ed Update html.form.class.php
When you pay an invoice, you can send the payment multiple times.
2021-12-03 13:57:34 +01:00
Florian HENRY
2f4fe2b898 error message 2021-12-03 10:59:47 +01:00
lmarcouiller
093191aeeb FIx php8.0 warnings 2021-12-03 10:37:48 +01:00
lmarcouiller
83ea868c9a Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#5 2021-12-03 10:19:28 +01:00
mbinformatique68
1e845434e0 Get societe terms of payment if getpost terms of payment is 0 2021-12-03 09:42:50 +01:00
Laurent Destailleur
1db52532ff FIX: do not update holiday for closed users 2021-12-03 01:50:17 +01:00
Laurent Destailleur
d9aa471370 Fix color status 2021-12-03 01:39:16 +01:00
andreubisquerra
2b5bcda8d8 FIX Avoid move line to the same place in TakePOS 2021-12-02 23:08:22 +01:00
andreubisquerra
c23914f367 FIX load css file 2021-12-02 23:05:18 +01:00
Laurent Destailleur
ac17378972 revert 2021-12-02 20:41:13 +01:00
Laurent Destailleur
2300f17101 test 2021-12-02 20:40:41 +01:00
Laurent Destailleur
9c083071b8 Better test 2021-12-02 20:39:53 +01:00
Laurent Destailleur
7e835ec915 Fix css 2021-12-02 19:06:44 +01:00
Laurent Destailleur
075faded47 FIX list of categories in stats of supplier invoices
Conflicts:
	htdocs/compta/facture/stats/index.php
2021-12-02 18:48:15 +01:00
Laurent Destailleur
39ad96c230 css 2021-12-02 17:47:03 +01:00
Laurent Destailleur
c171ba3a45 Fix regression in cron jobs 2021-12-02 16:07:33 +01:00
lmarcouiller
b732d80ca5 Fix php 8.0 warnings 2021-12-02 15:56:34 +01:00
Regis Houssin
202b123aaa FIX compatibility with multicompany 2021-12-02 15:10:29 +01:00
Laurent Destailleur
a3493d0132 Clean code 2021-12-02 11:33:51 +01:00
Laurent Destailleur
bd0208b595 css 2021-12-02 11:30:56 +01:00
Laurent Destailleur
ca6f222662 Fix notification (pb static var unknown) 2021-12-02 11:19:44 +01:00
Laurent Destailleur
10e126eb69 Clean code on pdf templates 2021-12-02 10:43:44 +01:00
Laurent Destailleur
c057d6eafe Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-12-01 17:34:30 +01:00
Laurent Destailleur
bacf569e0b Fix phpcs 2021-12-01 17:33:26 +01:00
John BOTELLA
c0d00a859f use dol_escape_htmltag 2021-12-01 16:59:30 +01:00
lmarcouiller
ed7bfb333b fix php8.0 errors 2021-12-01 16:24:57 +01:00
lmarcouiller
171ecaa81d fix php8.0 warnings 2021-12-01 15:40:53 +01:00
Laurent Destailleur
3cb07fd1ec Doc 2021-12-01 15:37:31 +01:00
Laurent Destailleur
c6a071622a Avoid a useless select 2021-12-01 15:26:53 +01:00
lmarcouiller
4c92af9aca fix php8.0 warnings 2021-12-01 15:24:25 +01:00
Laurent Destailleur
f8a55362f6 Typo 2021-12-01 14:46:48 +01:00
lainwir3d
50d422cdf6 CLOSE #19531 Product REST API: allow list / search method to retrieve stock data.
See feature request #19531
2021-12-01 16:33:47 +04:00
lmarcouiller
7512305b44 add porduct inventory but qty_view bug 2021-12-01 12:10:57 +01:00
Laurent Destailleur
259418d1dd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-12-01 12:10:14 +01:00
Laurent Destailleur
4575bbae82 Clean code for browser notifications 2021-12-01 12:00:19 +01:00
Regis Houssin
efda10333c FIX missing default value for more comprehensive 2021-12-01 10:40:10 +01:00
Jay Yeo
63c7ab0302 Fix typo 'usercanreceived' -> 'usercanreceive' in 'card.php' 2021-12-01 14:29:24 +07:00
Lucas Marcouiller
1c4a7a00cb fix php8.0 warning 2021-11-30 16:35:46 +01:00
atm-greg
db06de0ac2 add printFieldListHaving hook 2021-11-30 16:28:21 +01:00
Laurent Destailleur
8bace4c64e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-30 16:24:42 +01:00
Laurent Destailleur
a298a845f1 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/bookkeeping/list.php
	htdocs/core/actions_massactions.inc.php
	htdocs/core/lib/functions.lib.php
	htdocs/core/lib/memory.lib.php
	htdocs/langs/en_US/holiday.lang
	htdocs/ticket/card.php
2021-11-30 16:24:18 +01:00
Laurent Destailleur
3de3adad74 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/core/actions_massactions.inc.php
	htdocs/core/ajax/objectonoff.php
2021-11-30 16:11:12 +01:00
Laurent Destailleur
87a66c7bf0 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-11-30 15:57:14 +01:00
Laurent Destailleur
d84d09556c Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2021-11-30 15:55:57 +01:00
Laurent Destailleur
feabb34a42 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-11-30 15:54:46 +01:00
Laurent Destailleur
5d7f8d3831 Fix fatal error 2021-11-30 15:54:28 +01:00
Lucas Marcouiller
f39dd30a7f fix precommit 2021-11-30 15:38:48 +01:00
Lucas Marcouiller
ae56619253 add productadd function but error on tabproduct 2021-11-30 15:38:27 +01:00
Laurent Destailleur
4189229b84 Merge pull request #19165 from Hystepik/develop#5
Fix: php 8.0 warning commercial part
2021-11-30 15:31:51 +01:00
Laurent Destailleur
31393802ff Update card.php 2021-11-30 15:29:19 +01:00
Laurent Destailleur
055cb5c0c9 Merge pull request #18526 from cfoellmann/PR/deprecated-html
deprecated html attributes
2021-11-30 14:27:12 +01:00
Laurent Destailleur
7937a798b7 Merge pull request #18331 from marc-dll/12.0_FIX_invoice_multicurrency_discount
FIX: multicurrency: fields in discount unitialized when creating deposit
2021-11-30 14:23:37 +01:00
Laurent Destailleur
1122cd1e5e Merge pull request #19163 from Hystepik/develop#4
Fix: php 8.0 warnings project
2021-11-30 14:18:23 +01:00
Laurent Destailleur
07506b523f Clean code 2021-11-30 14:09:46 +01:00
Laurent Destailleur
f66f9082e7 Merge pull request #19509 from fr69400/patch3
FIX Html conversion check with PDF_BOLD_PRODUCT_LABEL
2021-11-30 14:04:10 +01:00
Ferran Marcet
ac975ecc61 Undo changes 2021-11-30 13:30:17 +01:00
Laurent Destailleur
40491ca04e Merge pull request #19419 from FHenry/dev_new_enhance_trad_select_dictionnary
NEW : for developpers allow translation label in select_dictionnary
2021-11-30 12:38:18 +01:00
Laurent Destailleur
31842ddb1e Merge pull request #19427 from mrtnnbr/develop
Fix check for non-custom modules
2021-11-30 12:28:23 +01:00
Laurent Destailleur
0b4409a087 Merge pull request #19442 from andreubisquerra/14.0
TakePOS Direct Payment (Cash) Button doesn't work
2021-11-30 12:25:21 +01:00
Laurent Destailleur
429c4406c4 Merge pull request #19441 from andreubisquerra/develop
TakePOS Direct Payment (Cash) Button doesn't work
2021-11-30 12:24:58 +01:00
Laurent Destailleur
f43fb18287 Merge pull request #19452 from bomuux/patch-3
FIX contact/note.php always restricted for external users
2021-11-30 12:21:34 +01:00
Laurent Destailleur
5e55bb20e3 Update note.php 2021-11-30 12:21:21 +01:00
stickler-ci
c807286f0b Fixing style errors. 2021-11-30 11:17:48 +00:00
fr69400
19fc862a7e Merge branch 'patch3' of https://github.com/fr69400/dolibarr into patch3 2021-11-30 12:17:21 +01:00
Laurent Destailleur
a7f9ffd5d0 Merge pull request #19461 from frederic34/lastactivationversion
keep info on latest activation version of module
2021-11-30 12:16:39 +01:00
fr69400
078a040078 Update pdf.lib.php 2021-11-30 12:13:21 +01:00
Laurent Destailleur
dffc3eaefb Merge pull request #19447 from inovea-conseil/NEW_return_url_sendpassword
New return url sendpassword
2021-11-30 12:07:17 +01:00
Laurent Destailleur
cf165835bf Merge pull request #19462 from KlaasOl/patch-5
Update main.lang
2021-11-30 12:00:35 +01:00
Laurent Destailleur
b86e25f734 Merge pull request #19456 from frederic34/patch-1
fix #19374
2021-11-30 11:59:42 +01:00
Laurent Destailleur
06cda2ce35 Merge pull request #19453 from aspangaro/14p27
FIX Accountancy - SQL error on subledger account search in journal
2021-11-30 11:59:07 +01:00
Laurent Destailleur
aa677ec290 Merge pull request #19460 from frederic34/patch-4
fix undefined variable $result
2021-11-30 11:57:36 +01:00
Laurent Destailleur
f9b347c61c Merge pull request #19481 from ksar-ksar/patch-11
FIX #19476
2021-11-30 11:56:12 +01:00
Laurent Destailleur
2b1fab2181 Clean code 2021-11-30 11:50:27 +01:00
Laurent Destailleur
db4871846e Merge pull request #19463 from code-chicken/patch-13
Better wording
2021-11-30 11:46:51 +01:00
Laurent Destailleur
ce8312c744 Merge pull request #19464 from atm-quentin/FIX_11_TAB_INVOICE
FIX : Urgent onglet contact inaccessible depuis une facture
2021-11-30 11:45:56 +01:00
Laurent Destailleur
e65ab75ddf Merge pull request #19466 from st31ny/sumup_holidays
NEW: Show sum of holidays in holiday list
2021-11-30 11:44:32 +01:00
Laurent Destailleur
5b2e48ba9e Merge pull request #19469 from frederic34/testclass
enable societe.class.php in coding test
2021-11-30 11:42:03 +01:00
Laurent Destailleur
cf4beafb68 Merge pull request #19484 from aspangaro/12p23
FIX Option MAIN_DIRECT_STATUS_UPDATE broken. Ajax on/off not saving value in DB after updating to version >=12
2021-11-30 11:39:44 +01:00
Laurent Destailleur
adda1995a2 Merge pull request #19487 from moreauftheobald/14.0_fix_stock_mouv_list
card Modif
2021-11-30 11:37:53 +01:00
Laurent Destailleur
9a72f147d1 Merge pull request #19500 from marc-dll/12.0_FIX_holiday_massdelete
FIX: holiday list: only mass delete if leave request is not in draft, canceled or refused, like in card
2021-11-30 11:31:59 +01:00
Laurent Destailleur
c6fb026b75 Merge pull request #19504 from fappels/14_fix_fatal_eval
FIX 14.0.4 fatal error on cron list.
2021-11-30 11:31:02 +01:00
Laurent Destailleur
4fd6f9955a Merge pull request #19503 from KlaasOl/patch-6
Update main.lang
2021-11-30 11:21:49 +01:00
Laurent Destailleur
d84ce2e901 Merge pull request #19507 from ptibogxiv/patch-455
Fix ExpenseReport define template
2021-11-30 11:21:12 +01:00
Laurent Destailleur
ecdae02062 Merge pull request #19510 from frederic34/contractdirectprint
add direct print for contracts
2021-11-30 11:20:51 +01:00
Laurent Destailleur
efe4b2363a Merge pull request #19514 from atm-greg/FIX_Uniformize_printFieldListFrom_hook
uniformize hooks behaviour
2021-11-30 11:20:22 +01:00
Laurent Destailleur
3178065a9c Merge pull request #19512 from atm-john/fix_duplicateur_code
FIX : Duplicated code
2021-11-30 11:16:44 +01:00
Laurent Destailleur
8b15741840 Fix button to close as paid 2021-11-29 19:46:43 +01:00
Laurent Destailleur
5cebaae235 Fix can close a salary if paid partially. 2021-11-29 19:39:03 +01:00
Laurent Destailleur
b2e8d03dae css 2021-11-29 19:21:52 +01:00
atm-greg
71d4b3f082 add hook // Add from hooks 2021-11-29 17:02:57 +01:00
atm-greg
1dffc1c0fa add hook to uniformize printFieldListFrom hook 2021-11-29 16:54:26 +01:00
Laurent Destailleur
f027dade8f css 2021-11-29 16:33:58 +01:00
Laurent Destailleur
52b855fb4b css 2021-11-29 16:31:40 +01:00
Christian Foellmann
6608f5f0d8 update all script tags to be uniform. language="javascript" removed
https://developer.mozilla.org/en-US/docs/web/html/element/script#attr-language
2021-11-29 15:09:18 +01:00
Christian Foellmann
819a76e16a remove some deprecated html attributes
https://developer.mozilla.org/en-US/docs/web/html/element/td#attr-align
2021-11-29 15:07:07 +01:00
lmarcouiller
c529d1a928 update inventory add replace work 2021-11-29 15:00:23 +01:00
John BOTELLA
5bdaab8dcb Fix duplicated code 2021-11-29 14:30:04 +01:00
lmarcouiller
0d65fdad23 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#2 2021-11-29 10:38:11 +01:00
Laurent Destailleur
1fa3e9f37d Look and feel v15 2021-11-29 01:13:43 +01:00
Laurent Destailleur
e3e4b154e7 Fix partnership 2021-11-29 01:04:32 +01:00
Laurent Destailleur
186185267e Clean code for v15 2021-11-29 00:49:18 +01:00
Laurent Destailleur
bb38ea79f4 css 2021-11-29 00:05:42 +01:00
Laurent Destailleur
81e7483911 css 2021-11-28 23:51:20 +01:00
Frédéric FRANCE
5473dbd3f0 add direct print for contracts 2021-11-28 20:55:17 +01:00
Laurent Destailleur
2d92130c1e External backups can be downloaded from the "About info page". 2021-11-28 19:25:58 +01:00
Laurent Destailleur
36eb79c14d Fix filter on "Refuse emailing" 2021-11-28 16:49:13 +01:00
Laurent Destailleur
2ba5f1369f Fix alternate 2021-11-28 15:53:55 +01:00
Laurent Destailleur
c41578a3c3 Fix php compatibility 2021-11-28 15:43:22 +01:00
Laurent Destailleur
ca11dcae22 Fix php compatibility 2021-11-28 15:41:19 +01:00
Laurent Destailleur
ce651fae58 Fix php compatibility 2021-11-28 15:35:03 +01:00
Laurent Destailleur
5d31bd441e Fix php compatibility 2021-11-28 15:34:08 +01:00
stickler-ci
a933793b8a Fixing style errors. 2021-11-28 13:42:25 +00:00
fr69400
5a165ae2bf FIX PDF_NOLD_PRODUCT_LABEL 2021-11-28 14:40:15 +01:00
ATM john
e97e0e4f17 Fix remove not used propertie 2021-11-28 12:18:09 +01:00
ATM john
29437a22b9 Fix comment and remove not use global 2021-11-28 12:15:31 +01:00
ptibogxiv
f08adef1e8 Fix ExpenseReport define template
Can use template for expense report notification but not define it :/
2021-11-28 12:12:16 +01:00
ATM john
a75ae6a8cf Fix missing formsetup elements 2021-11-28 12:11:03 +01:00
Laurent Destailleur
af1baf057b FIX #yogosha7789 2021-11-28 12:01:42 +01:00
Laurent Destailleur
27ae8f61bd FIX Check on Stripe REAL amount currency before validating membership 2021-11-27 19:04:39 +01:00
Laurent Destailleur
309f7da7ba Add log hidden into result page 2021-11-27 18:29:31 +01:00
Francis Appels
5bb21a93a1 FIX fatal error on cron list. 2021-11-27 18:25:38 +01:00
Laurent Destailleur
54e335937f FIX Bad redirect url for payment of members after public registration 2021-11-27 18:05:41 +01:00
Laurent Destailleur
6e27abaed9 FIX redirect to payment page when membership payment mode forced 2021-11-27 17:19:16 +01:00
Klaas Oldenburger
2030d55c67 Update main.lang
Did not complete earlier work.
2021-11-27 16:42:53 +01:00
Laurent Destailleur
66d9964861 Clean code 2021-11-27 16:19:12 +01:00
Laurent Destailleur
2acfba25ee Comment dead code 2021-11-27 15:58:14 +01:00
Laurent Destailleur
962ac263ba Fix look and feel v15 2021-11-27 15:29:48 +01:00
Laurent Destailleur
72493a5663 Fix typo 2021-11-27 15:13:36 +01:00
Laurent Destailleur
4376934e00 css 2021-11-27 14:56:21 +01:00
Laurent Destailleur
7b68ef1fb8 Clean/Debug module hrm. 2021-11-27 14:46:47 +01:00
Laurent Destailleur
f3f91512ae FIX eclude of log files into backup 2021-11-27 12:36:35 +01:00
Laurent Destailleur
6e273e47e5 css 2021-11-27 12:35:30 +01:00
Laurent Destailleur
d395fac13b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-27 10:58:12 +01:00
Laurent Destailleur
57670108bf Prepare code to zip a module 2021-11-27 10:57:45 +01:00
Laurent Destailleur
7cc9398661 css 2021-11-27 01:24:32 +01:00
Laurent Destailleur
654e20e9fb CSS 2021-11-27 01:11:59 +01:00
Laurent Destailleur
dd953b6e5a Fix filter 2021-11-27 01:09:16 +01:00
Laurent Destailleur
734c9871ad Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2021-11-27 01:07:32 +01:00
Marc de Lima Lucio
f5343c55c3 FIX: holiday mass deletion: correct return of record deleted 2021-11-26 18:23:31 +01:00
Marc de Lima Lucio
1361abffe5 FIX: holiday list: only mass delete if leave request is not in draft, canceled or refused, like in card 2021-11-26 18:22:31 +01:00
Laurent Destailleur
f67c2e5b53 Removed useless button 2021-11-26 17:20:19 +01:00
Laurent Destailleur
4548b4fcee css 2021-11-26 17:09:07 +01:00
Laurent Destailleur
ad8b071e81 Prepare code 2021-11-26 14:13:29 +01:00
Ferran Marcet
5265cd8084 Fix: correctly display the products of a warehouse in the pdf 2021-11-26 12:49:07 +01:00
Ferran Marcet
419eaa217f dejar igual que 13 2021-11-26 12:38:09 +01:00
Ferran Marcet
ad1d553d11 Merge branch '13.0up' into 13.0
# Conflicts:
#	htdocs/core/modules/modAdherent.class.php
#	htdocs/core/modules/modProduct.class.php
#	htdocs/core/modules/modProjet.class.php
#	htdocs/core/modules/modResource.class.php
#	htdocs/core/modules/modService.class.php
#	htdocs/core/modules/modSociete.class.php
#	htdocs/core/modules/modUser.class.php
2021-11-26 12:29:38 +01:00
Laurent Destailleur
0c8e2be4bd Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-25 21:55:25 +01:00
Laurent Destailleur
bf1dfac629 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/en_US/errors.lang
	htdocs/product/stock/movement_list.php
2021-11-25 21:54:06 +01:00
Laurent Destailleur
198c530179 Fix syntax error 2021-11-25 21:51:07 +01:00
Laurent Destailleur
312a741b80 Fix closing div 2021-11-25 21:42:42 +01:00
Laurent Destailleur
77505c570f Avoid to commit external module 2021-11-25 16:48:55 +01:00
moreauf@theobald-groupe.com
6e68eaaef4 card Modif 2021-11-25 16:36:18 +01:00
Alexandre SPANGARO
9d2fb782fa FIX Option MAIN_DIRECT_STATUS_UPDATE broken. Ajax on/off not saving value in DB after updating to version >=12 2021-11-25 15:41:28 +01:00
ksar
f66f3e7355 FIX #19476 2021-11-25 15:25:17 +01:00
Laurent Destailleur
971c892d98 Fix filter on recurrig field 2021-11-25 14:20:31 +01:00
Laurent Destailleur
78f94b1c76 Fix css and label for recurring invoices 2021-11-25 14:17:20 +01:00
Laurent Destailleur
4cfec658bc css 2021-11-25 14:11:18 +01:00
Laurent Destailleur
0c54723185 css 2021-11-25 10:28:37 +01:00
Laurent Destailleur
e07008f6e9 Fix tooltip 2021-11-25 09:40:54 +01:00
Laurent Destailleur
b345c2463c Fix warning on security page 2021-11-25 00:19:55 +01:00
Frédéric FRANCE
124e7f9b88 enable societe.class.php in coding test 2021-11-24 23:07:06 +01:00
Laurent Destailleur
01038b190d Better error report on id command that failed 2021-11-24 22:35:10 +01:00
Laurent Destailleur
b3e9e5c462 Enhance test 2021-11-24 21:37:43 +01:00
Laurent Destailleur
0c27182c6a Fix test 2021-11-24 20:58:34 +01:00
Laurent Destailleur
3b5c13d3e6 Add a test file. Disabling if on production. 2021-11-24 20:53:17 +01:00
stickler-ci
b212778da0 Fixing style errors. 2021-11-24 17:09:11 +00:00
Maximilian Stein
c33205d564 NEW: Show sum of holidays in holiday list
Show a footer in the holidays list with the sum of all holidays
currently visible.
2021-11-24 18:04:45 +01:00
Laurent Destailleur
ac8857cbca Fix sample 2021-11-24 16:53:15 +01:00
Quentin VIAL-GOUTEYRON
632147ad88 object->id is always empty 2021-11-24 12:04:18 +01:00
Laurent Destailleur
733ca28d8c css 2021-11-24 11:21:45 +01:00
Laurent Destailleur
be68173240 Doc 2021-11-24 11:16:10 +01:00
Laurent Destailleur
d088de2589 Doc 2021-11-24 11:15:49 +01:00
Rüdiger Hahn
c97083f596 Better wording
Use "Modify" instead of "Update"
"Modify" is more like "I want to change something"
"Update" is more like "I want to confirm my changes"
2021-11-24 09:43:46 +01:00
Klaas Oldenburger
0b871ea0fb Update main.lang
Changing date format the Dutch way
2021-11-24 08:06:56 +01:00
Frédéric FRANCE
e6af0facdd keep info on latest activation version of module 2021-11-23 23:27:07 +01:00
Frédéric FRANCE
5e2dcf322c Update supplier_proposal.class.php 2021-11-23 22:17:05 +01:00
Frédéric FRANCE
bc4ce6725a fix undefined variable $result 2021-11-23 22:14:25 +01:00
Laurent Destailleur
0dcbd458b8 FIX default_vat_code was not returned in some Ajax services of products 2021-11-23 13:08:00 +01:00
Laurent Destailleur
ee14aa2597 Fix: Do not loose data on error when editing a line 2021-11-23 12:11:27 +01:00
Laurent Destailleur
da897d9374 CSScss 2021-11-23 11:10:16 +01:00
Frédéric FRANCE
955eb9bc4a fix #19374 2021-11-23 00:22:43 +01:00
Laurent Destailleur
949bc9f9bd Make setup page of widget easier 2021-11-22 18:15:54 +01:00
Laurent Destailleur
34ac517d62 CSS 2021-11-22 17:54:29 +01:00
Alexandre SPANGARO
b28b12f93a FIX Accountancy - SQL error on subledger account search in journal 2021-11-22 16:19:01 +01:00
bomuux
a3315e8e16 contact/note.php always restricted for external users
Case of external user :
1- restrictedArea always block the access,
2- if this weren't the case, the following code is obviously wrong : fetching a Contact from a Societe id...
2021-11-22 16:17:49 +01:00
Laurent Destailleur
522c66915d Fix tooltip for social network of company 2021-11-22 13:34:57 +01:00
Nicolas
0388a12a4b Stickler 2021-11-22 13:07:05 +01:00
Laurent Destailleur
60ef230447 Fix html content 2021-11-22 12:37:47 +01:00
Laurent Destailleur
e8f7b755f1 Standardize code 2021-11-22 12:18:15 +01:00
Nicolas
690466506e NEW new hidden option to change the link of authentication in the mail after changing password 2021-11-22 12:01:20 +01:00
Nicolas
eb76ff7505 NEW hidden configuration to modify the link to return on dolibarr.
Used for externalaccess
2021-11-22 11:52:25 +01:00
Laurent Destailleur
2d2698a518 Update doc 2021-11-22 11:19:49 +01:00
Laurent Destailleur
f484fc2710 NEW On the summary of lines to link, can zoom on month. 2021-11-22 05:21:24 +01:00
Laurent Destailleur
2975d47113 FIX Debug a lot of regression in accountancy transfer 2021-11-22 04:13:16 +01:00
Laurent Destailleur
290a6c3d58 Prepare code to allow to filter autolink on month/year 2021-11-22 03:34:50 +01:00
Laurent Destailleur
a1c1999d7d Fix param on link to automatically bind transaction on product account 2021-11-22 03:22:15 +01:00
Laurent Destailleur
dc5a1ceb28 FIX size of field multicurrency_code (contains the 3 char ISO code) 2021-11-22 03:12:40 +01:00
Laurent Destailleur
863a7d4d02 Fix bad column name 2021-11-22 02:50:54 +01:00
Laurent Destailleur
441af6b6fb Fix add rel="noopener noreferrer" 2021-11-22 02:35:55 +01:00
Laurent Destailleur
c2175bc215 Fix trans 2021-11-20 16:10:55 +01:00
Laurent Destailleur
fcf86d5a02 Trans 2021-11-20 16:02:57 +01:00
Laurent Destailleur
63cd06394f Debug permission on supplier order.
Fix #huntr58ddbd8a-0faf-4b3f-aec9-5850bb19ab67
2021-11-20 15:41:31 +01:00
andreubisquerra
bc6f38c556 TakePOS Direct Payment (Cash) Button doesn't work 2021-11-20 15:25:51 +01:00
Laurent Destailleur
001507f54e Fix css on disabled menu 2021-11-20 14:24:51 +01:00
andreubisquerra
bf8008a320 TakePOS Direct Payment (Cash) Button doesn't work 2021-11-20 09:55:04 +01:00
Laurent Destailleur
59de140366 css 2021-11-19 23:39:25 +01:00
Laurent Destailleur
749ea1a922 Trans 2021-11-19 23:21:44 +01:00
Laurent Destailleur
48d7378282 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/comm/action/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/filefunc.inc.php
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/langs/ar_IQ/bills.lang
	htdocs/langs/ar_IQ/cashdesk.lang
	htdocs/langs/ar_IQ/modulebuilder.lang
	htdocs/langs/ar_IQ/partnership.lang
	htdocs/langs/ar_IQ/propal.lang
	htdocs/langs/ar_IQ/stocks.lang
	htdocs/langs/ar_IQ/ticket.lang
	htdocs/langs/en_AE/admin.lang
	htdocs/langs/en_US/receptions.lang
	htdocs/langs/en_ZA/admin.lang
	htdocs/product/stock/class/mouvementstock.class.php
	htdocs/reception/class/reception.class.php
2021-11-19 23:14:39 +01:00
Laurent Destailleur
c79fa4d3d0 NEW Add workflow action close purchase order on reception validation
NEW Add workflow action close purchase order on reception closing
2021-11-19 23:03:12 +01:00
Laurent Destailleur
071042b449 Code comment 2021-11-19 22:28:35 +01:00
Laurent Destailleur
635e9e9747 CSS 2021-11-19 22:28:20 +01:00
Laurent Destailleur
3dbab22060 Prepare 14.0.4 2021-11-19 18:08:49 +01:00
Martin Neubauer
4fcac5b53c Fix check for non-custom modules
The check turned out to be true even for custom modules, causing
the copying of the language file to fail. This attempts to bring
the code behaviour in line with the code explaining it.
2021-11-19 16:38:41 +01:00
lmarcouiller
00369a5269 fix errors 2021-11-19 14:32:40 +01:00
Florian HENRY
c90082925c fix 2021-11-19 14:30:33 +01:00
Florian HENRY
9685081967 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_new_enhance_trad_select_dictionnary 2021-11-19 14:27:46 +01:00
Florian HENRY
be44e5b0ca NEW: for developper select_dictionnry can now deal with label translated 2021-11-19 14:27:29 +01:00
Hystepik
63773bf36d Merge branch 'develop' into develop#4 2021-11-19 14:22:39 +01:00
lmarcouiller
d1f5cb9184 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#5 2021-11-19 14:01:52 +01:00
lmarcouiller
3bcafb548a fix errors 2021-11-19 14:01:37 +01:00
Laurent Destailleur
35b1868693 FIX Missing trans 2021-11-19 14:01:31 +01:00
lmarcouiller
5b1028611a update inventory 19 11 2021-11-19 13:55:59 +01:00
Laurent Destailleur
bb6440af9d FIX Better label for reception status 2021-11-19 13:46:30 +01:00
Laurent Destailleur
cdc160b9a9 FIX column alignement on valid confirm page of shipment 2021-11-19 11:12:53 +01:00
Laurent Destailleur
ec2067df7d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-11-19 10:06:46 +01:00
Laurent Destailleur
271f42e761 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/expedition/class/expedition.class.php
	htdocs/fourn/class/fournisseur.facture.class.php
	htdocs/societe/list.php
2021-11-19 10:06:35 +01:00
Laurent Destailleur
e7a4f04da4 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/expedition/class/expedition.class.php
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/fourn/class/fournisseur.facture.class.php
2021-11-18 21:41:12 +01:00
Laurent Destailleur
92b0fde4ca Debug v15 2021-11-18 21:37:33 +01:00
Laurent Destailleur
2afe6ccb4b Debug feature shown/hide canceled orders 2021-11-18 21:26:35 +01:00
Florian HENRY
0e8e8a79dc review code 2021-11-18 21:12:43 +01:00
Laurent Destailleur
c6463c9a83 Merge pull request #19166 from polkiko/canceled_orders
NEW Canceled purchase orders do not qualify for total and are hidden
2021-11-18 20:56:42 +01:00
Laurent Destailleur
53de97a52f Merge pull request #19191 from moreauftheobald/develop
NEW|New Ajout d'un collecteur de pièce jointes a Email collecto
2021-11-18 20:36:28 +01:00
Laurent Destailleur
f525045c44 Merge pull request #19281 from aspangaro/15a29
NEW Thirdparty - Add advanced right to add / edit payment information
2021-11-18 20:32:55 +01:00
Laurent Destailleur
ba7a781c32 Merge pull request #19380 from atm-gauthier/NEW/accountancy_massaction_preselect_account_productaccount_page
NEW : accountancy massaction preselect account (productaccount page)
2021-11-18 20:30:07 +01:00
Laurent Destailleur
efb9d184e4 Merge pull request #19382 from OPEN-DSI/fix-societe-list-region-filter
FIX filter on region in company list
2021-11-18 20:29:36 +01:00
Laurent Destailleur
d6622b3669 Merge pull request #19386 from frederic34/patch-1
fix warning
2021-11-18 20:29:00 +01:00
Laurent Destailleur
242eaa9394 Merge pull request #19387 from FHenry/14.0_fix_list_contact
FIX : contact not in list (contact/list) if module mailing not active and contact has no email
2021-11-18 20:28:43 +01:00
Laurent Destailleur
4caeddf7f8 Merge pull request #19388 from FHenry/14.0_fix_preselecttask_on_event_creation
FIX: preselect task on create event from task
2021-11-18 20:25:03 +01:00
Laurent Destailleur
4d78f8fdc2 Merge pull request #19415 from OPEN-DSI/new-compta-paiement-form-confirm
NEW add form confirm hook in paiement card
2021-11-18 20:24:36 +01:00
Laurent Destailleur
72acd3ac55 Merge pull request #19370 from ptibogxiv/patch-453
ADD new stripe provider in dictionnary
2021-11-18 20:13:05 +01:00
Laurent Destailleur
9789ae23d7 Update llx_c_paiement.sql 2021-11-18 20:12:46 +01:00
Laurent Destailleur
2fef57b31f Merge branch 'develop' into patch-453 2021-11-18 20:12:10 +01:00
Laurent Destailleur
44d4ab6f9c Merge pull request #19384 from fmarcet/12.0
Fix: Bad date conversion
2021-11-18 20:10:50 +01:00
Laurent Destailleur
8f96383186 Update expedition.class.php 2021-11-18 20:10:04 +01:00
Laurent Destailleur
8b1c45d0fe Merge pull request #19413 from FHenry/dev_add_hook_marginDisplay
new: add hook for displayMarginInfos
2021-11-18 20:05:32 +01:00
Laurent Destailleur
07004e21ed Merge pull request #19401 from altairisfr/autocontact
add author as contact
2021-11-18 20:02:59 +01:00
Laurent Destailleur
f040e7e456 Merge pull request #19398 from grandoc/new_branch_17_11_2021
fix bad path
2021-11-18 20:01:43 +01:00
Laurent Destailleur
e81c118a27 FIX Use the SQL standard for the if confition 2021-11-18 19:38:56 +01:00
Laurent Destailleur
d24120d6f9 Clean code 2021-11-18 19:27:40 +01:00
Laurent Destailleur
0649dc598d Clean code 2021-11-18 19:25:07 +01:00
Laurent Destailleur
8477c0a3f1 Merge pull request #17998 from OPEN-DSI/fix_00008
FIX: Reload values of the specified entity when change entity in the execution of cron jobs
2021-11-18 18:41:06 +01:00
Ferran Marcet
db975bbcc2 Fix: The error not correctly collected on insertation line failure 2021-11-18 17:17:00 +01:00
Laurent Destailleur
2a39a1dc93 Keep option to enable field 2021-11-18 13:55:55 +01:00
Laurent Destailleur
e609622f2b Fix test on verifCond for value 0 2021-11-18 13:17:48 +01:00
Laurent Destailleur
2d4f971508 Fix verifCond must return false if string is '0'
Hide a not used property.
2021-11-18 13:10:52 +01:00
Laurent Destailleur
e652b93878 Autoswitch on inventory tab on validation of inventory
Fix disabled button when some data are available.
2021-11-18 12:58:31 +01:00
lvessiller
cdde6ecf94 NEW add form confirm hook in paiement card 2021-11-18 12:17:02 +01:00
lvessiller
ef447bacbf NEW add form confirm hook in paiement card 2021-11-18 12:12:30 +01:00
Florian HENRY
0f402897a4 add add_replace 2021-11-18 10:55:05 +01:00
Florian HENRY
d48df1d2c3 new: add hook for displayMarginInfos 2021-11-18 10:50:03 +01:00
Laurent Destailleur
9b9b63c794 Prepare database for future 2021-11-18 10:20:05 +01:00
Laurent Destailleur
0c9fb16a36 Fix trans 2021-11-18 09:55:36 +01:00
Laurent Destailleur
0294f3dc34 Missing trans 2021-11-18 09:54:48 +01:00
Laurent Destailleur
0e57f62d02 Prepare 14.0.3 2021-11-17 19:03:25 +01:00
Christophe Battarel
0afbff5d67 put code after good id 2021-11-17 16:52:04 +01:00
Laurent Destailleur
5fa50afc13 Responsive 2021-11-17 12:24:13 +01:00
Gauthier PC portable 024
23249751d5 FIX : reorder all lines when delete document line everywhere 2021-11-17 12:10:12 +01:00
Christophe Battarel
330247ac38 add author as contact 2021-11-17 12:08:25 +01:00
Laurent Destailleur
62124cebf6 Add a spec file 2021-11-17 11:23:49 +01:00
Laurent Destailleur
649bf38c05 Responsive 2021-11-17 11:14:12 +01:00
Philippe GRAND
1c41735b11 fix bad path 2021-11-17 10:07:05 +01:00
Laurent Destailleur
e549afe50a Prepare database 2021-11-17 01:07:56 +01:00
Florian HENRY
e4803dda88 ZENDSI: fix margin calc with credit note 2021-11-16 17:46:12 +01:00
Florian HENRY
8bb7f9c8fb ZENDSI: fix margin calc with credit note 2021-11-16 17:44:18 +01:00
Florian HENRY
7380f5901b ZENDSI: fix margin calc with credit note 2021-11-16 17:41:38 +01:00
Florian HENRY
bc64aba3a6 FIX: preselect task on create event from task 2021-11-16 13:43:08 +01:00
Florian HENRY
0692e01fea Merge branch '14.0' of github.com:Dolibarr/dolibarr into 14.0_fix_list_contact 2021-11-16 13:31:58 +01:00
Florian HENRY
47da6793c5 FIX: contact not listed if module mainling not active and contact has no email 2021-11-16 13:31:51 +01:00
Laurent Destailleur
d279ee57ff Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/am_ET/admin.lang
	htdocs/langs/am_ET/cashdesk.lang
	htdocs/langs/am_ET/errors.lang
	htdocs/langs/am_ET/eventorganization.lang
	htdocs/langs/am_ET/knowledgemanagement.lang
	htdocs/langs/am_ET/languages.lang
	htdocs/langs/am_ET/main.lang
	htdocs/langs/am_ET/stocks.lang
	htdocs/langs/ar_EG/accountancy.lang
	htdocs/langs/ar_EG/ticket.lang
	htdocs/langs/ar_IQ/accountancy.lang
	htdocs/langs/ar_IQ/admin.lang
	htdocs/langs/ar_IQ/agenda.lang
	htdocs/langs/ar_IQ/banks.lang
	htdocs/langs/ar_IQ/bills.lang
	htdocs/langs/ar_IQ/bookmarks.lang
	htdocs/langs/ar_IQ/cashdesk.lang
	htdocs/langs/ar_IQ/categories.lang
	htdocs/langs/ar_IQ/companies.lang
	htdocs/langs/ar_IQ/compta.lang
	htdocs/langs/ar_IQ/contracts.lang
	htdocs/langs/ar_IQ/ecm.lang
	htdocs/langs/ar_IQ/errors.lang
	htdocs/langs/ar_IQ/eventorganization.lang
	htdocs/langs/ar_IQ/exports.lang
	htdocs/langs/ar_IQ/holiday.lang
	htdocs/langs/ar_IQ/hrm.lang
	htdocs/langs/ar_IQ/interventions.lang
	htdocs/langs/ar_IQ/knowledgemanagement.lang
	htdocs/langs/ar_IQ/languages.lang
	htdocs/langs/ar_IQ/mails.lang
	htdocs/langs/ar_IQ/main.lang
	htdocs/langs/ar_IQ/margins.lang
	htdocs/langs/ar_IQ/members.lang
	htdocs/langs/ar_IQ/modulebuilder.lang
	htdocs/langs/ar_IQ/mrp.lang
	htdocs/langs/ar_IQ/opensurvey.lang
	htdocs/langs/ar_IQ/orders.lang
	htdocs/langs/ar_IQ/other.lang
	htdocs/langs/ar_IQ/partnership.lang
	htdocs/langs/ar_IQ/printing.lang
	htdocs/langs/ar_IQ/productbatch.lang
	htdocs/langs/ar_IQ/products.lang
	htdocs/langs/ar_IQ/projects.lang
	htdocs/langs/ar_IQ/propal.lang
	htdocs/langs/ar_IQ/receptions.lang
	htdocs/langs/ar_IQ/salaries.lang
	htdocs/langs/ar_IQ/sendings.lang
	htdocs/langs/ar_IQ/stocks.lang
	htdocs/langs/ar_IQ/ticket.lang
	htdocs/langs/ar_IQ/trips.lang
	htdocs/langs/ar_IQ/users.lang
	htdocs/langs/ar_IQ/withdrawals.lang
	htdocs/langs/ar_IQ/workflow.lang
	htdocs/langs/ar_SA/admin.lang
	htdocs/langs/ar_SA/cashdesk.lang
	htdocs/langs/ar_SA/errors.lang
	htdocs/langs/ar_SA/eventorganization.lang
	htdocs/langs/ar_SA/knowledgemanagement.lang
	htdocs/langs/ar_SA/languages.lang
	htdocs/langs/ar_SA/main.lang
	htdocs/langs/ar_SA/stocks.lang
	htdocs/langs/ar_SA/ticket.lang
	htdocs/langs/az_AZ/admin.lang
	htdocs/langs/az_AZ/cashdesk.lang
	htdocs/langs/az_AZ/errors.lang
	htdocs/langs/az_AZ/eventorganization.lang
	htdocs/langs/az_AZ/knowledgemanagement.lang
	htdocs/langs/az_AZ/languages.lang
	htdocs/langs/az_AZ/main.lang
	htdocs/langs/az_AZ/stocks.lang
	htdocs/langs/bg_BG/admin.lang
	htdocs/langs/bg_BG/cashdesk.lang
	htdocs/langs/bg_BG/errors.lang
	htdocs/langs/bg_BG/eventorganization.lang
	htdocs/langs/bg_BG/knowledgemanagement.lang
	htdocs/langs/bg_BG/languages.lang
	htdocs/langs/bg_BG/main.lang
	htdocs/langs/bg_BG/stocks.lang
	htdocs/langs/bn_BD/admin.lang
	htdocs/langs/bn_BD/cashdesk.lang
	htdocs/langs/bn_BD/errors.lang
	htdocs/langs/bn_BD/eventorganization.lang
	htdocs/langs/bn_BD/knowledgemanagement.lang
	htdocs/langs/bn_BD/languages.lang
	htdocs/langs/bn_BD/main.lang
	htdocs/langs/bn_BD/stocks.lang
	htdocs/langs/bn_IN/admin.lang
	htdocs/langs/bn_IN/cashdesk.lang
	htdocs/langs/bn_IN/errors.lang
	htdocs/langs/bn_IN/eventorganization.lang
	htdocs/langs/bn_IN/knowledgemanagement.lang
	htdocs/langs/bn_IN/languages.lang
	htdocs/langs/bn_IN/main.lang
	htdocs/langs/bn_IN/stocks.lang
	htdocs/langs/bs_BA/admin.lang
	htdocs/langs/bs_BA/cashdesk.lang
	htdocs/langs/bs_BA/errors.lang
	htdocs/langs/bs_BA/eventorganization.lang
	htdocs/langs/bs_BA/knowledgemanagement.lang
	htdocs/langs/bs_BA/languages.lang
	htdocs/langs/bs_BA/main.lang
	htdocs/langs/bs_BA/stocks.lang
	htdocs/langs/ca_ES/accountancy.lang
	htdocs/langs/ca_ES/admin.lang
	htdocs/langs/ca_ES/bills.lang
	htdocs/langs/ca_ES/cashdesk.lang
	htdocs/langs/ca_ES/errors.lang
	htdocs/langs/ca_ES/eventorganization.lang
	htdocs/langs/ca_ES/holiday.lang
	htdocs/langs/ca_ES/languages.lang
	htdocs/langs/ca_ES/mails.lang
	htdocs/langs/ca_ES/main.lang
	htdocs/langs/ca_ES/partnership.lang
	htdocs/langs/ca_ES/stocks.lang
	htdocs/langs/ca_ES/ticket.lang
	htdocs/langs/ca_ES/withdrawals.lang
	htdocs/langs/ca_ES/workflow.lang
	htdocs/langs/cs_CZ/admin.lang
	htdocs/langs/cs_CZ/cashdesk.lang
	htdocs/langs/cs_CZ/errors.lang
	htdocs/langs/cs_CZ/eventorganization.lang
	htdocs/langs/cs_CZ/knowledgemanagement.lang
	htdocs/langs/cs_CZ/languages.lang
	htdocs/langs/cs_CZ/main.lang
	htdocs/langs/cs_CZ/stocks.lang
	htdocs/langs/da_DK/admin.lang
	htdocs/langs/da_DK/cashdesk.lang
	htdocs/langs/da_DK/errors.lang
	htdocs/langs/da_DK/eventorganization.lang
	htdocs/langs/da_DK/main.lang
	htdocs/langs/da_DK/stocks.lang
	htdocs/langs/de_AT/admin.lang
	htdocs/langs/de_AT/cashdesk.lang
	htdocs/langs/de_AT/eventorganization.lang
	htdocs/langs/de_AT/stocks.lang
	htdocs/langs/de_CH/admin.lang
	htdocs/langs/de_CH/cashdesk.lang
	htdocs/langs/de_CH/eventorganization.lang
	htdocs/langs/de_CH/main.lang
	htdocs/langs/de_CH/orders.lang
	htdocs/langs/de_CH/stocks.lang
	htdocs/langs/de_DE/accountancy.lang
	htdocs/langs/de_DE/admin.lang
	htdocs/langs/de_DE/banks.lang
	htdocs/langs/de_DE/bills.lang
	htdocs/langs/de_DE/cashdesk.lang
	htdocs/langs/de_DE/companies.lang
	htdocs/langs/de_DE/compta.lang
	htdocs/langs/de_DE/ecm.lang
	htdocs/langs/de_DE/errors.lang
	htdocs/langs/de_DE/eventorganization.lang
	htdocs/langs/de_DE/externalsite.lang
	htdocs/langs/de_DE/holiday.lang
	htdocs/langs/de_DE/knowledgemanagement.lang
	htdocs/langs/de_DE/languages.lang
	htdocs/langs/de_DE/main.lang
	htdocs/langs/de_DE/margins.lang
	htdocs/langs/de_DE/members.lang
	htdocs/langs/de_DE/modulebuilder.lang
	htdocs/langs/de_DE/mrp.lang
	htdocs/langs/de_DE/orders.lang
	htdocs/langs/de_DE/productbatch.lang
	htdocs/langs/de_DE/projects.lang
	htdocs/langs/de_DE/receptions.lang
	htdocs/langs/de_DE/salaries.lang
	htdocs/langs/de_DE/stocks.lang
	htdocs/langs/de_DE/ticket.lang
	htdocs/langs/de_DE/users.lang
	htdocs/langs/de_DE/website.lang
	htdocs/langs/el_CY/admin.lang
	htdocs/langs/el_GR/admin.lang
	htdocs/langs/el_GR/cashdesk.lang
	htdocs/langs/el_GR/errors.lang
	htdocs/langs/el_GR/eventorganization.lang
	htdocs/langs/el_GR/holiday.lang
	htdocs/langs/el_GR/knowledgemanagement.lang
	htdocs/langs/el_GR/languages.lang
	htdocs/langs/el_GR/main.lang
	htdocs/langs/el_GR/stocks.lang
	htdocs/langs/el_GR/trips.lang
	htdocs/langs/el_GR/workflow.lang
	htdocs/langs/en_AU/accountancy.lang
	htdocs/langs/en_AU/admin.lang
	htdocs/langs/en_AU/cashdesk.lang
	htdocs/langs/en_AU/eventorganization.lang
	htdocs/langs/en_AU/stocks.lang
	htdocs/langs/en_CA/accountancy.lang
	htdocs/langs/en_CA/admin.lang
	htdocs/langs/en_CA/cashdesk.lang
	htdocs/langs/en_CA/eventorganization.lang
	htdocs/langs/en_CA/stocks.lang
	htdocs/langs/en_GB/admin.lang
	htdocs/langs/en_GB/cashdesk.lang
	htdocs/langs/en_GB/eventorganization.lang
	htdocs/langs/en_GB/stocks.lang
	htdocs/langs/en_IN/accountancy.lang
	htdocs/langs/en_IN/admin.lang
	htdocs/langs/en_IN/cashdesk.lang
	htdocs/langs/en_IN/eventorganization.lang
	htdocs/langs/en_IN/stocks.lang
	htdocs/langs/en_SG/accountancy.lang
	htdocs/langs/en_SG/admin.lang
	htdocs/langs/en_SG/cashdesk.lang
	htdocs/langs/en_SG/eventorganization.lang
	htdocs/langs/en_SG/stocks.lang
	htdocs/langs/es_AR/accountancy.lang
	htdocs/langs/es_AR/admin.lang
	htdocs/langs/es_AR/cashdesk.lang
	htdocs/langs/es_AR/eventorganization.lang
	htdocs/langs/es_AR/stocks.lang
	htdocs/langs/es_BO/accountancy.lang
	htdocs/langs/es_BO/admin.lang
	htdocs/langs/es_BO/cashdesk.lang
	htdocs/langs/es_BO/eventorganization.lang
	htdocs/langs/es_BO/stocks.lang
	htdocs/langs/es_CL/cashdesk.lang
	htdocs/langs/es_CL/eventorganization.lang
	htdocs/langs/es_CL/stocks.lang
	htdocs/langs/es_CL/trips.lang
	htdocs/langs/es_CO/accountancy.lang
	htdocs/langs/es_CO/admin.lang
	htdocs/langs/es_CO/cashdesk.lang
	htdocs/langs/es_CO/eventorganization.lang
	htdocs/langs/es_CO/projects.lang
	htdocs/langs/es_CO/stocks.lang
	htdocs/langs/es_CO/trips.lang
	htdocs/langs/es_DO/accountancy.lang
	htdocs/langs/es_DO/admin.lang
	htdocs/langs/es_DO/cashdesk.lang
	htdocs/langs/es_DO/eventorganization.lang
	htdocs/langs/es_DO/stocks.lang
	htdocs/langs/es_EC/cashdesk.lang
	htdocs/langs/es_EC/eventorganization.lang
	htdocs/langs/es_EC/stocks.lang
	htdocs/langs/es_ES/accountancy.lang
	htdocs/langs/es_ES/admin.lang
	htdocs/langs/es_ES/bills.lang
	htdocs/langs/es_ES/cashdesk.lang
	htdocs/langs/es_ES/errors.lang
	htdocs/langs/es_ES/eventorganization.lang
	htdocs/langs/es_ES/holiday.lang
	htdocs/langs/es_ES/languages.lang
	htdocs/langs/es_ES/mails.lang
	htdocs/langs/es_ES/main.lang
	htdocs/langs/es_ES/partnership.lang
	htdocs/langs/es_ES/salaries.lang
	htdocs/langs/es_ES/stocks.lang
	htdocs/langs/es_ES/ticket.lang
	htdocs/langs/es_ES/withdrawals.lang
	htdocs/langs/es_ES/workflow.lang
	htdocs/langs/es_GT/accountancy.lang
	htdocs/langs/es_GT/admin.lang
	htdocs/langs/es_GT/cashdesk.lang
	htdocs/langs/es_GT/eventorganization.lang
	htdocs/langs/es_GT/stocks.lang
	htdocs/langs/es_HN/accountancy.lang
	htdocs/langs/es_HN/admin.lang
	htdocs/langs/es_HN/cashdesk.lang
	htdocs/langs/es_HN/eventorganization.lang
	htdocs/langs/es_HN/stocks.lang
	htdocs/langs/es_MX/admin.lang
	htdocs/langs/es_MX/cashdesk.lang
	htdocs/langs/es_MX/eventorganization.lang
	htdocs/langs/es_MX/stocks.lang
	htdocs/langs/es_PA/accountancy.lang
	htdocs/langs/es_PA/admin.lang
	htdocs/langs/es_PA/cashdesk.lang
	htdocs/langs/es_PA/eventorganization.lang
	htdocs/langs/es_PA/stocks.lang
	htdocs/langs/es_PE/admin.lang
	htdocs/langs/es_PE/cashdesk.lang
	htdocs/langs/es_PE/eventorganization.lang
	htdocs/langs/es_PE/stocks.lang
	htdocs/langs/es_PY/accountancy.lang
	htdocs/langs/es_PY/admin.lang
	htdocs/langs/es_PY/cashdesk.lang
	htdocs/langs/es_PY/eventorganization.lang
	htdocs/langs/es_PY/stocks.lang
	htdocs/langs/es_US/accountancy.lang
	htdocs/langs/es_US/admin.lang
	htdocs/langs/es_US/cashdesk.lang
	htdocs/langs/es_US/eventorganization.lang
	htdocs/langs/es_US/stocks.lang
	htdocs/langs/es_UY/accountancy.lang
	htdocs/langs/es_UY/admin.lang
	htdocs/langs/es_UY/cashdesk.lang
	htdocs/langs/es_UY/eventorganization.lang
	htdocs/langs/es_UY/stocks.lang
	htdocs/langs/es_VE/accountancy.lang
	htdocs/langs/es_VE/admin.lang
	htdocs/langs/es_VE/cashdesk.lang
	htdocs/langs/es_VE/eventorganization.lang
	htdocs/langs/es_VE/stocks.lang
	htdocs/langs/et_EE/admin.lang
	htdocs/langs/et_EE/cashdesk.lang
	htdocs/langs/et_EE/errors.lang
	htdocs/langs/et_EE/eventorganization.lang
	htdocs/langs/et_EE/knowledgemanagement.lang
	htdocs/langs/et_EE/languages.lang
	htdocs/langs/et_EE/main.lang
	htdocs/langs/et_EE/stocks.lang
	htdocs/langs/eu_ES/admin.lang
	htdocs/langs/eu_ES/cashdesk.lang
	htdocs/langs/eu_ES/errors.lang
	htdocs/langs/eu_ES/eventorganization.lang
	htdocs/langs/eu_ES/knowledgemanagement.lang
	htdocs/langs/eu_ES/languages.lang
	htdocs/langs/eu_ES/main.lang
	htdocs/langs/eu_ES/stocks.lang
	htdocs/langs/fa_IR/admin.lang
	htdocs/langs/fa_IR/cashdesk.lang
	htdocs/langs/fa_IR/errors.lang
	htdocs/langs/fa_IR/eventorganization.lang
	htdocs/langs/fa_IR/knowledgemanagement.lang
	htdocs/langs/fa_IR/languages.lang
	htdocs/langs/fa_IR/main.lang
	htdocs/langs/fa_IR/stocks.lang
	htdocs/langs/fi_FI/admin.lang
	htdocs/langs/fi_FI/cashdesk.lang
	htdocs/langs/fi_FI/errors.lang
	htdocs/langs/fi_FI/eventorganization.lang
	htdocs/langs/fi_FI/knowledgemanagement.lang
	htdocs/langs/fi_FI/languages.lang
	htdocs/langs/fi_FI/main.lang
	htdocs/langs/fi_FI/stocks.lang
	htdocs/langs/fr_BE/admin.lang
	htdocs/langs/fr_BE/cashdesk.lang
	htdocs/langs/fr_BE/stocks.lang
	htdocs/langs/fr_CA/admin.lang
	htdocs/langs/fr_CA/cashdesk.lang
	htdocs/langs/fr_CA/stocks.lang
	htdocs/langs/fr_CH/accountancy.lang
	htdocs/langs/fr_CH/admin.lang
	htdocs/langs/fr_CH/cashdesk.lang
	htdocs/langs/fr_CH/members.lang
	htdocs/langs/fr_CH/orders.lang
	htdocs/langs/fr_CH/sendings.lang
	htdocs/langs/fr_CH/stocks.lang
	htdocs/langs/fr_CI/accountancy.lang
	htdocs/langs/fr_CI/admin.lang
	htdocs/langs/fr_CI/cashdesk.lang
	htdocs/langs/fr_CI/stocks.lang
	htdocs/langs/fr_CM/accountancy.lang
	htdocs/langs/fr_CM/admin.lang
	htdocs/langs/fr_CM/cashdesk.lang
	htdocs/langs/fr_CM/stocks.lang
	htdocs/langs/fr_FR/accountancy.lang
	htdocs/langs/fr_FR/admin.lang
	htdocs/langs/fr_FR/agenda.lang
	htdocs/langs/fr_FR/bills.lang
	htdocs/langs/fr_FR/cashdesk.lang
	htdocs/langs/fr_FR/ecm.lang
	htdocs/langs/fr_FR/errors.lang
	htdocs/langs/fr_FR/eventorganization.lang
	htdocs/langs/fr_FR/holiday.lang
	htdocs/langs/fr_FR/hrm.lang
	htdocs/langs/fr_FR/knowledgemanagement.lang
	htdocs/langs/fr_FR/mails.lang
	htdocs/langs/fr_FR/main.lang
	htdocs/langs/fr_FR/mrp.lang
	htdocs/langs/fr_FR/opensurvey.lang
	htdocs/langs/fr_FR/partnership.lang
	htdocs/langs/fr_FR/printing.lang
	htdocs/langs/fr_FR/productbatch.lang
	htdocs/langs/fr_FR/products.lang
	htdocs/langs/fr_FR/projects.lang
	htdocs/langs/fr_FR/propal.lang
	htdocs/langs/fr_FR/receptions.lang
	htdocs/langs/fr_FR/salaries.lang
	htdocs/langs/fr_FR/stocks.lang
	htdocs/langs/fr_FR/withdrawals.lang
	htdocs/langs/fr_FR/workflow.lang
	htdocs/langs/fr_GA/accountancy.lang
	htdocs/langs/fr_GA/admin.lang
	htdocs/langs/fr_GA/cashdesk.lang
	htdocs/langs/fr_GA/stocks.lang
	htdocs/langs/gl_ES/accountancy.lang
	htdocs/langs/gl_ES/admin.lang
	htdocs/langs/gl_ES/cashdesk.lang
	htdocs/langs/gl_ES/errors.lang
	htdocs/langs/gl_ES/eventorganization.lang
	htdocs/langs/gl_ES/holiday.lang
	htdocs/langs/gl_ES/knowledgemanagement.lang
	htdocs/langs/gl_ES/languages.lang
	htdocs/langs/gl_ES/mails.lang
	htdocs/langs/gl_ES/main.lang
	htdocs/langs/gl_ES/partnership.lang
	htdocs/langs/gl_ES/stocks.lang
	htdocs/langs/gl_ES/ticket.lang
	htdocs/langs/gl_ES/withdrawals.lang
	htdocs/langs/gl_ES/workflow.lang
	htdocs/langs/he_IL/admin.lang
	htdocs/langs/he_IL/cashdesk.lang
	htdocs/langs/he_IL/errors.lang
	htdocs/langs/he_IL/eventorganization.lang
	htdocs/langs/he_IL/knowledgemanagement.lang
	htdocs/langs/he_IL/languages.lang
	htdocs/langs/he_IL/main.lang
	htdocs/langs/he_IL/stocks.lang
	htdocs/langs/hi_IN/admin.lang
	htdocs/langs/hi_IN/cashdesk.lang
	htdocs/langs/hi_IN/errors.lang
	htdocs/langs/hi_IN/eventorganization.lang
	htdocs/langs/hi_IN/knowledgemanagement.lang
	htdocs/langs/hi_IN/languages.lang
	htdocs/langs/hi_IN/main.lang
	htdocs/langs/hi_IN/stocks.lang
	htdocs/langs/hr_HR/admin.lang
	htdocs/langs/hr_HR/cashdesk.lang
	htdocs/langs/hr_HR/errors.lang
	htdocs/langs/hr_HR/eventorganization.lang
	htdocs/langs/hr_HR/knowledgemanagement.lang
	htdocs/langs/hr_HR/languages.lang
	htdocs/langs/hr_HR/main.lang
	htdocs/langs/hr_HR/stocks.lang
	htdocs/langs/hu_HU/admin.lang
	htdocs/langs/hu_HU/cashdesk.lang
	htdocs/langs/hu_HU/errors.lang
	htdocs/langs/hu_HU/eventorganization.lang
	htdocs/langs/hu_HU/holiday.lang
	htdocs/langs/hu_HU/knowledgemanagement.lang
	htdocs/langs/hu_HU/languages.lang
	htdocs/langs/hu_HU/main.lang
	htdocs/langs/hu_HU/other.lang
	htdocs/langs/hu_HU/products.lang
	htdocs/langs/hu_HU/stocks.lang
	htdocs/langs/hu_HU/ticket.lang
	htdocs/langs/id_ID/accountancy.lang
	htdocs/langs/id_ID/admin.lang
	htdocs/langs/id_ID/cashdesk.lang
	htdocs/langs/id_ID/errors.lang
	htdocs/langs/id_ID/eventorganization.lang
	htdocs/langs/id_ID/holiday.lang
	htdocs/langs/id_ID/interventions.lang
	htdocs/langs/id_ID/knowledgemanagement.lang
	htdocs/langs/id_ID/languages.lang
	htdocs/langs/id_ID/mails.lang
	htdocs/langs/id_ID/main.lang
	htdocs/langs/id_ID/mrp.lang
	htdocs/langs/id_ID/other.lang
	htdocs/langs/id_ID/products.lang
	htdocs/langs/id_ID/projects.lang
	htdocs/langs/id_ID/stocks.lang
	htdocs/langs/id_ID/ticket.lang
	htdocs/langs/id_ID/trips.lang
	htdocs/langs/id_ID/withdrawals.lang
	htdocs/langs/id_ID/workflow.lang
	htdocs/langs/is_IS/admin.lang
	htdocs/langs/is_IS/cashdesk.lang
	htdocs/langs/is_IS/errors.lang
	htdocs/langs/is_IS/eventorganization.lang
	htdocs/langs/is_IS/knowledgemanagement.lang
	htdocs/langs/is_IS/languages.lang
	htdocs/langs/is_IS/main.lang
	htdocs/langs/is_IS/stocks.lang
	htdocs/langs/it_IT/admin.lang
	htdocs/langs/it_IT/cashdesk.lang
	htdocs/langs/it_IT/errors.lang
	htdocs/langs/it_IT/eventorganization.lang
	htdocs/langs/it_IT/holiday.lang
	htdocs/langs/it_IT/knowledgemanagement.lang
	htdocs/langs/it_IT/languages.lang
	htdocs/langs/it_IT/main.lang
	htdocs/langs/it_IT/stocks.lang
	htdocs/langs/ja_JP/admin.lang
	htdocs/langs/ja_JP/cashdesk.lang
	htdocs/langs/ja_JP/companies.lang
	htdocs/langs/ja_JP/errors.lang
	htdocs/langs/ja_JP/eventorganization.lang
	htdocs/langs/ja_JP/holiday.lang
	htdocs/langs/ja_JP/main.lang
	htdocs/langs/ja_JP/projects.lang
	htdocs/langs/ja_JP/stocks.lang
	htdocs/langs/ka_GE/admin.lang
	htdocs/langs/ka_GE/cashdesk.lang
	htdocs/langs/ka_GE/errors.lang
	htdocs/langs/ka_GE/eventorganization.lang
	htdocs/langs/ka_GE/knowledgemanagement.lang
	htdocs/langs/ka_GE/languages.lang
	htdocs/langs/ka_GE/main.lang
	htdocs/langs/ka_GE/stocks.lang
	htdocs/langs/kk_KZ/accountancy.lang
	htdocs/langs/kk_KZ/admin.lang
	htdocs/langs/kk_KZ/agenda.lang
	htdocs/langs/kk_KZ/assets.lang
	htdocs/langs/kk_KZ/banks.lang
	htdocs/langs/kk_KZ/bills.lang
	htdocs/langs/kk_KZ/blockedlog.lang
	htdocs/langs/kk_KZ/bookmarks.lang
	htdocs/langs/kk_KZ/boxes.lang
	htdocs/langs/kk_KZ/cashdesk.lang
	htdocs/langs/kk_KZ/categories.lang
	htdocs/langs/kk_KZ/commercial.lang
	htdocs/langs/kk_KZ/companies.lang
	htdocs/langs/kk_KZ/compta.lang
	htdocs/langs/kk_KZ/contracts.lang
	htdocs/langs/kk_KZ/cron.lang
	htdocs/langs/kk_KZ/deliveries.lang
	htdocs/langs/kk_KZ/dict.lang
	htdocs/langs/kk_KZ/donations.lang
	htdocs/langs/kk_KZ/ecm.lang
	htdocs/langs/kk_KZ/errors.lang
	htdocs/langs/kk_KZ/eventorganization.lang
	htdocs/langs/kk_KZ/exports.lang
	htdocs/langs/kk_KZ/externalsite.lang
	htdocs/langs/kk_KZ/ftp.lang
	htdocs/langs/kk_KZ/help.lang
	htdocs/langs/kk_KZ/holiday.lang
	htdocs/langs/kk_KZ/hrm.lang
	htdocs/langs/kk_KZ/install.lang
	htdocs/langs/kk_KZ/interventions.lang
	htdocs/langs/kk_KZ/intracommreport.lang
	htdocs/langs/kk_KZ/knowledgemanagement.lang
	htdocs/langs/kk_KZ/languages.lang
	htdocs/langs/kk_KZ/ldap.lang
	htdocs/langs/kk_KZ/link.lang
	htdocs/langs/kk_KZ/loan.lang
	htdocs/langs/kk_KZ/mailmanspip.lang
	htdocs/langs/kk_KZ/mails.lang
	htdocs/langs/kk_KZ/main.lang
	htdocs/langs/kk_KZ/margins.lang
	htdocs/langs/kk_KZ/members.lang
	htdocs/langs/kk_KZ/modulebuilder.lang
	htdocs/langs/kk_KZ/mrp.lang
	htdocs/langs/kk_KZ/multicurrency.lang
	htdocs/langs/kk_KZ/oauth.lang
	htdocs/langs/kk_KZ/opensurvey.lang
	htdocs/langs/kk_KZ/orders.lang
	htdocs/langs/kk_KZ/other.lang
	htdocs/langs/kk_KZ/partnership.lang
	htdocs/langs/kk_KZ/paybox.lang
	htdocs/langs/kk_KZ/paypal.lang
	htdocs/langs/kk_KZ/printing.lang
	htdocs/langs/kk_KZ/productbatch.lang
	htdocs/langs/kk_KZ/products.lang
	htdocs/langs/kk_KZ/projects.lang
	htdocs/langs/kk_KZ/propal.lang
	htdocs/langs/kk_KZ/receiptprinter.lang
	htdocs/langs/kk_KZ/receptions.lang
	htdocs/langs/kk_KZ/recruitment.lang
	htdocs/langs/kk_KZ/resource.lang
	htdocs/langs/kk_KZ/salaries.lang
	htdocs/langs/kk_KZ/sendings.lang
	htdocs/langs/kk_KZ/sms.lang
	htdocs/langs/kk_KZ/stocks.lang
	htdocs/langs/kk_KZ/stripe.lang
	htdocs/langs/kk_KZ/supplier_proposal.lang
	htdocs/langs/kk_KZ/suppliers.lang
	htdocs/langs/kk_KZ/ticket.lang
	htdocs/langs/kk_KZ/trips.lang
	htdocs/langs/kk_KZ/users.lang
	htdocs/langs/kk_KZ/website.lang
	htdocs/langs/kk_KZ/withdrawals.lang
	htdocs/langs/kk_KZ/workflow.lang
	htdocs/langs/kk_KZ/zapier.lang
	htdocs/langs/km_KH/admin.lang
	htdocs/langs/km_KH/cashdesk.lang
	htdocs/langs/km_KH/errors.lang
	htdocs/langs/km_KH/eventorganization.lang
	htdocs/langs/km_KH/knowledgemanagement.lang
	htdocs/langs/km_KH/languages.lang
	htdocs/langs/km_KH/main.lang
	htdocs/langs/km_KH/stocks.lang
	htdocs/langs/kn_IN/admin.lang
	htdocs/langs/kn_IN/cashdesk.lang
	htdocs/langs/kn_IN/errors.lang
	htdocs/langs/kn_IN/eventorganization.lang
	htdocs/langs/kn_IN/knowledgemanagement.lang
	htdocs/langs/kn_IN/languages.lang
	htdocs/langs/kn_IN/main.lang
	htdocs/langs/kn_IN/stocks.lang
	htdocs/langs/ko_KR/admin.lang
	htdocs/langs/ko_KR/cashdesk.lang
	htdocs/langs/ko_KR/errors.lang
	htdocs/langs/ko_KR/eventorganization.lang
	htdocs/langs/ko_KR/knowledgemanagement.lang
	htdocs/langs/ko_KR/languages.lang
	htdocs/langs/ko_KR/main.lang
	htdocs/langs/ko_KR/stocks.lang
	htdocs/langs/lo_LA/accountancy.lang
	htdocs/langs/lo_LA/admin.lang
	htdocs/langs/lo_LA/cashdesk.lang
	htdocs/langs/lo_LA/errors.lang
	htdocs/langs/lo_LA/eventorganization.lang
	htdocs/langs/lo_LA/holiday.lang
	htdocs/langs/lo_LA/interventions.lang
	htdocs/langs/lo_LA/knowledgemanagement.lang
	htdocs/langs/lo_LA/languages.lang
	htdocs/langs/lo_LA/mails.lang
	htdocs/langs/lo_LA/main.lang
	htdocs/langs/lo_LA/mrp.lang
	htdocs/langs/lo_LA/other.lang
	htdocs/langs/lo_LA/products.lang
	htdocs/langs/lo_LA/projects.lang
	htdocs/langs/lo_LA/stocks.lang
	htdocs/langs/lo_LA/ticket.lang
	htdocs/langs/lo_LA/trips.lang
	htdocs/langs/lo_LA/withdrawals.lang
	htdocs/langs/lo_LA/workflow.lang
	htdocs/langs/lt_LT/admin.lang
	htdocs/langs/lt_LT/cashdesk.lang
	htdocs/langs/lt_LT/errors.lang
	htdocs/langs/lt_LT/eventorganization.lang
	htdocs/langs/lt_LT/knowledgemanagement.lang
	htdocs/langs/lt_LT/languages.lang
	htdocs/langs/lt_LT/main.lang
	htdocs/langs/lt_LT/stocks.lang
	htdocs/langs/lv_LV/accountancy.lang
	htdocs/langs/lv_LV/admin.lang
	htdocs/langs/lv_LV/cashdesk.lang
	htdocs/langs/lv_LV/errors.lang
	htdocs/langs/lv_LV/eventorganization.lang
	htdocs/langs/lv_LV/holiday.lang
	htdocs/langs/lv_LV/interventions.lang
	htdocs/langs/lv_LV/languages.lang
	htdocs/langs/lv_LV/mails.lang
	htdocs/langs/lv_LV/main.lang
	htdocs/langs/lv_LV/other.lang
	htdocs/langs/lv_LV/partnership.lang
	htdocs/langs/lv_LV/products.lang
	htdocs/langs/lv_LV/projects.lang
	htdocs/langs/lv_LV/stocks.lang
	htdocs/langs/lv_LV/ticket.lang
	htdocs/langs/lv_LV/withdrawals.lang
	htdocs/langs/lv_LV/workflow.lang
	htdocs/langs/mk_MK/admin.lang
	htdocs/langs/mk_MK/cashdesk.lang
	htdocs/langs/mk_MK/errors.lang
	htdocs/langs/mk_MK/eventorganization.lang
	htdocs/langs/mk_MK/knowledgemanagement.lang
	htdocs/langs/mk_MK/languages.lang
	htdocs/langs/mk_MK/main.lang
	htdocs/langs/mk_MK/stocks.lang
	htdocs/langs/mn_MN/admin.lang
	htdocs/langs/mn_MN/cashdesk.lang
	htdocs/langs/mn_MN/errors.lang
	htdocs/langs/mn_MN/eventorganization.lang
	htdocs/langs/mn_MN/knowledgemanagement.lang
	htdocs/langs/mn_MN/languages.lang
	htdocs/langs/mn_MN/main.lang
	htdocs/langs/mn_MN/stocks.lang
	htdocs/langs/nb_NO/admin.lang
	htdocs/langs/nb_NO/cashdesk.lang
	htdocs/langs/nb_NO/errors.lang
	htdocs/langs/nb_NO/eventorganization.lang
	htdocs/langs/nb_NO/knowledgemanagement.lang
	htdocs/langs/nb_NO/languages.lang
	htdocs/langs/nb_NO/main.lang
	htdocs/langs/nb_NO/stocks.lang
	htdocs/langs/nb_NO/ticket.lang
	htdocs/langs/nb_NO/workflow.lang
	htdocs/langs/ne_NP/admin.lang
	htdocs/langs/ne_NP/cashdesk.lang
	htdocs/langs/ne_NP/errors.lang
	htdocs/langs/ne_NP/eventorganization.lang
	htdocs/langs/ne_NP/knowledgemanagement.lang
	htdocs/langs/ne_NP/languages.lang
	htdocs/langs/ne_NP/main.lang
	htdocs/langs/ne_NP/stocks.lang
	htdocs/langs/nl_BE/cashdesk.lang
	htdocs/langs/nl_NL/admin.lang
	htdocs/langs/nl_NL/cashdesk.lang
	htdocs/langs/nl_NL/errors.lang
	htdocs/langs/nl_NL/eventorganization.lang
	htdocs/langs/nl_NL/knowledgemanagement.lang
	htdocs/langs/nl_NL/languages.lang
	htdocs/langs/nl_NL/main.lang
	htdocs/langs/nl_NL/mrp.lang
	htdocs/langs/nl_NL/salaries.lang
	htdocs/langs/nl_NL/stocks.lang
	htdocs/langs/nl_NL/ticket.lang
	htdocs/langs/pl_PL/admin.lang
	htdocs/langs/pl_PL/cashdesk.lang
	htdocs/langs/pl_PL/errors.lang
	htdocs/langs/pl_PL/eventorganization.lang
	htdocs/langs/pl_PL/main.lang
	htdocs/langs/pl_PL/stocks.lang
	htdocs/langs/pl_PL/trips.lang
	htdocs/langs/pl_PL/workflow.lang
	htdocs/langs/pt_BR/admin.lang
	htdocs/langs/pt_BR/eventorganization.lang
	htdocs/langs/pt_PT/admin.lang
	htdocs/langs/pt_PT/cashdesk.lang
	htdocs/langs/pt_PT/errors.lang
	htdocs/langs/pt_PT/eventorganization.lang
	htdocs/langs/pt_PT/knowledgemanagement.lang
	htdocs/langs/pt_PT/languages.lang
	htdocs/langs/pt_PT/main.lang
	htdocs/langs/pt_PT/stocks.lang
	htdocs/langs/ro_RO/admin.lang
	htdocs/langs/ro_RO/cashdesk.lang
	htdocs/langs/ro_RO/errors.lang
	htdocs/langs/ro_RO/eventorganization.lang
	htdocs/langs/ro_RO/knowledgemanagement.lang
	htdocs/langs/ro_RO/languages.lang
	htdocs/langs/ro_RO/main.lang
	htdocs/langs/ro_RO/stocks.lang
	htdocs/langs/ru_RU/accountancy.lang
	htdocs/langs/ru_RU/admin.lang
	htdocs/langs/ru_RU/cashdesk.lang
	htdocs/langs/ru_RU/errors.lang
	htdocs/langs/ru_RU/eventorganization.lang
	htdocs/langs/ru_RU/holiday.lang
	htdocs/langs/ru_RU/interventions.lang
	htdocs/langs/ru_RU/languages.lang
	htdocs/langs/ru_RU/mails.lang
	htdocs/langs/ru_RU/main.lang
	htdocs/langs/ru_RU/other.lang
	htdocs/langs/ru_RU/partnership.lang
	htdocs/langs/ru_RU/products.lang
	htdocs/langs/ru_RU/projects.lang
	htdocs/langs/ru_RU/stocks.lang
	htdocs/langs/ru_RU/ticket.lang
	htdocs/langs/ru_RU/trips.lang
	htdocs/langs/ru_RU/withdrawals.lang
	htdocs/langs/ru_RU/workflow.lang
	htdocs/langs/ru_UA/accountancy.lang
	htdocs/langs/ru_UA/admin.lang
	htdocs/langs/ru_UA/cashdesk.lang
	htdocs/langs/ru_UA/eventorganization.lang
	htdocs/langs/ru_UA/stocks.lang
	htdocs/langs/sk_SK/admin.lang
	htdocs/langs/sk_SK/cashdesk.lang
	htdocs/langs/sk_SK/errors.lang
	htdocs/langs/sk_SK/eventorganization.lang
	htdocs/langs/sk_SK/knowledgemanagement.lang
	htdocs/langs/sk_SK/languages.lang
	htdocs/langs/sk_SK/main.lang
	htdocs/langs/sk_SK/stocks.lang
	htdocs/langs/sl_SI/admin.lang
	htdocs/langs/sl_SI/cashdesk.lang
	htdocs/langs/sl_SI/errors.lang
	htdocs/langs/sl_SI/eventorganization.lang
	htdocs/langs/sl_SI/knowledgemanagement.lang
	htdocs/langs/sl_SI/languages.lang
	htdocs/langs/sl_SI/main.lang
	htdocs/langs/sl_SI/stocks.lang
	htdocs/langs/sq_AL/admin.lang
	htdocs/langs/sq_AL/cashdesk.lang
	htdocs/langs/sq_AL/errors.lang
	htdocs/langs/sq_AL/eventorganization.lang
	htdocs/langs/sq_AL/knowledgemanagement.lang
	htdocs/langs/sq_AL/languages.lang
	htdocs/langs/sq_AL/main.lang
	htdocs/langs/sq_AL/stocks.lang
	htdocs/langs/sr_RS/admin.lang
	htdocs/langs/sr_RS/cashdesk.lang
	htdocs/langs/sr_RS/errors.lang
	htdocs/langs/sr_RS/eventorganization.lang
	htdocs/langs/sr_RS/knowledgemanagement.lang
	htdocs/langs/sr_RS/languages.lang
	htdocs/langs/sr_RS/main.lang
	htdocs/langs/sr_RS/stocks.lang
	htdocs/langs/sv_SE/accountancy.lang
	htdocs/langs/sv_SE/admin.lang
	htdocs/langs/sv_SE/agenda.lang
	htdocs/langs/sv_SE/banks.lang
	htdocs/langs/sv_SE/bookmarks.lang
	htdocs/langs/sv_SE/cashdesk.lang
	htdocs/langs/sv_SE/categories.lang
	htdocs/langs/sv_SE/compta.lang
	htdocs/langs/sv_SE/errors.lang
	htdocs/langs/sv_SE/eventorganization.lang
	htdocs/langs/sv_SE/knowledgemanagement.lang
	htdocs/langs/sv_SE/languages.lang
	htdocs/langs/sv_SE/main.lang
	htdocs/langs/sv_SE/members.lang
	htdocs/langs/sv_SE/modulebuilder.lang
	htdocs/langs/sv_SE/projects.lang
	htdocs/langs/sv_SE/propal.lang
	htdocs/langs/sv_SE/receptions.lang
	htdocs/langs/sv_SE/salaries.lang
	htdocs/langs/sv_SE/stocks.lang
	htdocs/langs/sv_SE/ticket.lang
	htdocs/langs/sw_SW/admin.lang
	htdocs/langs/sw_SW/cashdesk.lang
	htdocs/langs/sw_SW/errors.lang
	htdocs/langs/sw_SW/eventorganization.lang
	htdocs/langs/sw_SW/knowledgemanagement.lang
	htdocs/langs/sw_SW/languages.lang
	htdocs/langs/sw_SW/main.lang
	htdocs/langs/sw_SW/stocks.lang
	htdocs/langs/tg_TJ/accountancy.lang
	htdocs/langs/tg_TJ/admin.lang
	htdocs/langs/tg_TJ/agenda.lang
	htdocs/langs/tg_TJ/assets.lang
	htdocs/langs/tg_TJ/banks.lang
	htdocs/langs/tg_TJ/bills.lang
	htdocs/langs/tg_TJ/blockedlog.lang
	htdocs/langs/tg_TJ/bookmarks.lang
	htdocs/langs/tg_TJ/boxes.lang
	htdocs/langs/tg_TJ/cashdesk.lang
	htdocs/langs/tg_TJ/categories.lang
	htdocs/langs/tg_TJ/commercial.lang
	htdocs/langs/tg_TJ/companies.lang
	htdocs/langs/tg_TJ/compta.lang
	htdocs/langs/tg_TJ/contracts.lang
	htdocs/langs/tg_TJ/cron.lang
	htdocs/langs/tg_TJ/deliveries.lang
	htdocs/langs/tg_TJ/dict.lang
	htdocs/langs/tg_TJ/donations.lang
	htdocs/langs/tg_TJ/ecm.lang
	htdocs/langs/tg_TJ/errors.lang
	htdocs/langs/tg_TJ/eventorganization.lang
	htdocs/langs/tg_TJ/exports.lang
	htdocs/langs/tg_TJ/externalsite.lang
	htdocs/langs/tg_TJ/ftp.lang
	htdocs/langs/tg_TJ/help.lang
	htdocs/langs/tg_TJ/holiday.lang
	htdocs/langs/tg_TJ/hrm.lang
	htdocs/langs/tg_TJ/install.lang
	htdocs/langs/tg_TJ/interventions.lang
	htdocs/langs/tg_TJ/intracommreport.lang
	htdocs/langs/tg_TJ/knowledgemanagement.lang
	htdocs/langs/tg_TJ/languages.lang
	htdocs/langs/tg_TJ/ldap.lang
	htdocs/langs/tg_TJ/link.lang
	htdocs/langs/tg_TJ/loan.lang
	htdocs/langs/tg_TJ/mailmanspip.lang
	htdocs/langs/tg_TJ/mails.lang
	htdocs/langs/tg_TJ/main.lang
	htdocs/langs/tg_TJ/margins.lang
	htdocs/langs/tg_TJ/members.lang
	htdocs/langs/tg_TJ/modulebuilder.lang
	htdocs/langs/tg_TJ/mrp.lang
	htdocs/langs/tg_TJ/multicurrency.lang
	htdocs/langs/tg_TJ/oauth.lang
	htdocs/langs/tg_TJ/opensurvey.lang
	htdocs/langs/tg_TJ/orders.lang
	htdocs/langs/tg_TJ/other.lang
	htdocs/langs/tg_TJ/partnership.lang
	htdocs/langs/tg_TJ/paybox.lang
	htdocs/langs/tg_TJ/paypal.lang
	htdocs/langs/tg_TJ/printing.lang
	htdocs/langs/tg_TJ/productbatch.lang
	htdocs/langs/tg_TJ/products.lang
	htdocs/langs/tg_TJ/projects.lang
	htdocs/langs/tg_TJ/propal.lang
	htdocs/langs/tg_TJ/receiptprinter.lang
	htdocs/langs/tg_TJ/receptions.lang
	htdocs/langs/tg_TJ/recruitment.lang
	htdocs/langs/tg_TJ/resource.lang
	htdocs/langs/tg_TJ/salaries.lang
	htdocs/langs/tg_TJ/sendings.lang
	htdocs/langs/tg_TJ/sms.lang
	htdocs/langs/tg_TJ/stocks.lang
	htdocs/langs/tg_TJ/stripe.lang
	htdocs/langs/tg_TJ/supplier_proposal.lang
	htdocs/langs/tg_TJ/suppliers.lang
	htdocs/langs/tg_TJ/ticket.lang
	htdocs/langs/tg_TJ/trips.lang
	htdocs/langs/tg_TJ/users.lang
	htdocs/langs/tg_TJ/website.lang
	htdocs/langs/tg_TJ/withdrawals.lang
	htdocs/langs/tg_TJ/workflow.lang
	htdocs/langs/tg_TJ/zapier.lang
	htdocs/langs/th_TH/admin.lang
	htdocs/langs/th_TH/cashdesk.lang
	htdocs/langs/th_TH/errors.lang
	htdocs/langs/th_TH/eventorganization.lang
	htdocs/langs/th_TH/knowledgemanagement.lang
	htdocs/langs/th_TH/languages.lang
	htdocs/langs/th_TH/main.lang
	htdocs/langs/th_TH/stocks.lang
	htdocs/langs/tr_TR/accountancy.lang
	htdocs/langs/tr_TR/admin.lang
	htdocs/langs/tr_TR/cashdesk.lang
	htdocs/langs/tr_TR/errors.lang
	htdocs/langs/tr_TR/eventorganization.lang
	htdocs/langs/tr_TR/knowledgemanagement.lang
	htdocs/langs/tr_TR/languages.lang
	htdocs/langs/tr_TR/main.lang
	htdocs/langs/tr_TR/stocks.lang
	htdocs/langs/uk_UA/admin.lang
	htdocs/langs/uk_UA/cashdesk.lang
	htdocs/langs/uk_UA/errors.lang
	htdocs/langs/uk_UA/eventorganization.lang
	htdocs/langs/uk_UA/knowledgemanagement.lang
	htdocs/langs/uk_UA/languages.lang
	htdocs/langs/uk_UA/main.lang
	htdocs/langs/uk_UA/stocks.lang
	htdocs/langs/uz_UZ/accountancy.lang
	htdocs/langs/uz_UZ/admin.lang
	htdocs/langs/uz_UZ/cashdesk.lang
	htdocs/langs/uz_UZ/errors.lang
	htdocs/langs/uz_UZ/eventorganization.lang
	htdocs/langs/uz_UZ/holiday.lang
	htdocs/langs/uz_UZ/interventions.lang
	htdocs/langs/uz_UZ/languages.lang
	htdocs/langs/uz_UZ/mails.lang
	htdocs/langs/uz_UZ/main.lang
	htdocs/langs/uz_UZ/other.lang
	htdocs/langs/uz_UZ/partnership.lang
	htdocs/langs/uz_UZ/products.lang
	htdocs/langs/uz_UZ/projects.lang
	htdocs/langs/uz_UZ/stocks.lang
	htdocs/langs/uz_UZ/ticket.lang
	htdocs/langs/uz_UZ/withdrawals.lang
	htdocs/langs/uz_UZ/workflow.lang
	htdocs/langs/vi_VN/admin.lang
	htdocs/langs/vi_VN/cashdesk.lang
	htdocs/langs/vi_VN/errors.lang
	htdocs/langs/vi_VN/eventorganization.lang
	htdocs/langs/vi_VN/knowledgemanagement.lang
	htdocs/langs/vi_VN/languages.lang
	htdocs/langs/vi_VN/main.lang
	htdocs/langs/vi_VN/stocks.lang
	htdocs/langs/zh_CN/admin.lang
	htdocs/langs/zh_CN/cashdesk.lang
	htdocs/langs/zh_CN/errors.lang
	htdocs/langs/zh_CN/eventorganization.lang
	htdocs/langs/zh_CN/knowledgemanagement.lang
	htdocs/langs/zh_CN/languages.lang
	htdocs/langs/zh_CN/main.lang
	htdocs/langs/zh_CN/stocks.lang
	htdocs/langs/zh_HK/admin.lang
	htdocs/langs/zh_HK/cashdesk.lang
	htdocs/langs/zh_HK/errors.lang
	htdocs/langs/zh_HK/eventorganization.lang
	htdocs/langs/zh_HK/knowledgemanagement.lang
	htdocs/langs/zh_HK/languages.lang
	htdocs/langs/zh_HK/main.lang
	htdocs/langs/zh_HK/stocks.lang
	htdocs/langs/zh_TW/admin.lang
	htdocs/langs/zh_TW/cashdesk.lang
	htdocs/langs/zh_TW/compta.lang
	htdocs/langs/zh_TW/errors.lang
	htdocs/langs/zh_TW/eventorganization.lang
	htdocs/langs/zh_TW/holiday.lang
	htdocs/langs/zh_TW/interventions.lang
	htdocs/langs/zh_TW/knowledgemanagement.lang
	htdocs/langs/zh_TW/languages.lang
	htdocs/langs/zh_TW/main.lang
	htdocs/langs/zh_TW/recruitment.lang
	htdocs/langs/zh_TW/salaries.lang
	htdocs/langs/zh_TW/stocks.lang
	htdocs/langs/zh_TW/ticket.lang
	htdocs/langs/zh_TW/workflow.lang
2021-11-16 10:46:38 +01:00
Laurent Destailleur
e2000473a5 Sync transifex 2021-11-16 10:44:56 +01:00
Laurent Destailleur
fc1bf4a002 Trans 2021-11-16 10:36:07 +01:00
Alexandre SPANGARO
1107c6a208 Modify name of advance right 2021-11-16 04:32:09 +01:00
Alexandre SPANGARO
2ebdc6a430 Merge remote-tracking branch 'upstream/develop' into 15a29 2021-11-16 04:27:53 +01:00
Frédéric FRANCE
b072a02f66 fix warning 2021-11-16 00:19:13 +01:00
ptibogxiv
336e5628b9 Update 14.0.0-15.0.0.sql 2021-11-15 20:39:39 +01:00
ptibogxiv
d3c7ab5a82 Update llx_c_paiement.sql 2021-11-15 20:38:46 +01:00
Laurent Destailleur
47f32ef19b NEW Can modify amount when cloning a social contribution 2021-11-15 19:40:26 +01:00
Laurent Destailleur
9eb66548a5 Sync transifex 2021-11-15 19:02:26 +01:00
Laurent Destailleur
b77fd3d312 Fix trans 2021-11-15 18:48:14 +01:00
Laurent Destailleur
c839c0ceec Trans 2021-11-15 18:44:58 +01:00
Laurent Destailleur
878ee35e5d Sync transifex 2021-11-15 18:07:05 +01:00
Ferran Marcet
7af883abc1 Fix: Bad date conversion 2021-11-15 16:43:54 +01:00
lvessiller
e365a14b5a FIX filter on region in company list 2021-11-15 14:41:16 +01:00
Gauthier PC portable 024
7d1b409e59 NEW : accountancy massaction preselect account (productaccount page) 2021-11-15 14:35:55 +01:00
lmarcouiller
694ce9be17 update inventory 2021-11-15 14:23:52 +01:00
Laurent Destailleur
75b6e241ce Clean code 2021-11-15 14:06:50 +01:00
Laurent Destailleur
f2bfa8b2a1 Merge pull request #18940 from PyroShape/develop2
NEW : info of number of product still to dispatched in a supplier order
2021-11-15 13:58:43 +01:00
Laurent Destailleur
9cbba5941f Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-11-15 13:56:32 +01:00
Laurent Destailleur
c995794e2d Fix kk_KZ language 2021-11-15 13:56:17 +01:00
Laurent Destailleur
5af241371a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-11-15 12:32:09 +01:00
Laurent Destailleur
7b9c492798 Manage formSetup 2021-11-15 12:12:36 +01:00
Laurent Destailleur
cd2a09de42 Merge pull request #19170 from atm-john/new_setup_form_help_class
NEW : setup form class to help setup page creation
2021-11-15 12:12:25 +01:00
Laurent Destailleur
dbdf34c7da Update setup.php 2021-11-15 12:09:58 +01:00
Laurent Destailleur
f7d9975b66 Update setup.php 2021-11-15 12:00:37 +01:00
Laurent Destailleur
74e30f292c Update setup.php 2021-11-15 11:58:48 +01:00
Laurent Destailleur
83cb6b6753 Update setup.php 2021-11-15 11:54:08 +01:00
Laurent Destailleur
12f0a36095 Merge pull request #19284 from henrynopo/patch-1
Supplier Invoice Payment - Re-order the "Payment amount, original currency" to be together with the columns of original currency
2021-11-15 11:46:00 +01:00
Laurent Destailleur
b87f3208ef Merge pull request #19275 from frederic34/patch-5
fix error
2021-11-15 11:36:47 +01:00
Laurent Destailleur
7a6d84f0d5 Merge pull request #19365 from hregis/fix_add_ldap_hash_type_select
NEW add ldap password hash type select
2021-11-15 11:16:33 +01:00
Laurent Destailleur
ec7eebcf4a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-15 11:10:39 +01:00
Laurent Destailleur
16c28b505b Add comment on a bugged option 2021-11-15 11:10:18 +01:00
Laurent Destailleur
fc489380a1 Merge pull request #19345 from hregis/fix_lost_superadmin_grade_after_edit_user
FIX lost superadmin grade after edit user card
2021-11-15 11:06:52 +01:00
Laurent Destailleur
184b76d0ab Merge pull request #19364 from ptibogxiv/patch-452
ADD Klarna provider with Stripe
2021-11-15 11:01:32 +01:00
Laurent Destailleur
50aee2377f Merge pull request #19356 from frederic34/addtranslations
add load langs
2021-11-15 11:01:08 +01:00
Laurent Destailleur
0743c656ac Merge pull request #19359 from daraelmin/daraelmin-patch-3
Fix date_select go away when sorting subscription
2021-11-15 11:00:48 +01:00
Laurent Destailleur
751404cd5e Merge pull request #19355 from andreubisquerra/develop
FIX Save TakePOS credit note as a pos sale
2021-11-15 10:59:48 +01:00
Laurent Destailleur
a5d49a7850 Merge pull request #19363 from yaslama/develop
Import bank accounts improvements
2021-11-15 10:56:37 +01:00
Laurent Destailleur
06bbaa2672 Merge pull request #19366 from atm-florianm/NEW_15.0_replicate_extrafields_from_origin_when_creating_intervention
NEW 15.0: (minor) replicate extrafields of origin onto new intervention
2021-11-15 10:53:35 +01:00
Laurent Destailleur
67c9d55e88 Update ldap.php 2021-11-15 10:46:13 +01:00
Laurent Destailleur
4d962f165d Merge pull request #19375 from daraelmin/daraelmin-patch-5
Fix #19306 - Tracking url is clickable in reception card
2021-11-15 10:42:29 +01:00
Laurent Destailleur
0227b897d8 Merge pull request #19376 from frederic34/patch-1
adding a translation
2021-11-15 10:41:43 +01:00
Laurent Destailleur
641803ce7c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-11-15 10:41:20 +01:00
Laurent Destailleur
9c493127d5 Fix sync 2021-11-15 10:41:05 +01:00
Laurent Destailleur
1f58c60b6e Merge pull request #19377 from aspangaro/14p23
FIX Ticket - Card - Wrong font awesome library
2021-11-15 10:39:30 +01:00
lmarcouiller
238996b351 Merge branch 'develop#2' of github.com:Hystepik/dolibarr into develop#2 2021-11-15 10:13:27 +01:00
Laurent Destailleur
2f704b8a1e Merge pull request #19379 from aspangaro/15a30
Translation
2021-11-15 10:10:52 +01:00
Laurent Destailleur
5a1f54f47f Fix transfer in accountancy for supplier invoices 2021-11-15 09:57:41 +01:00
Laurent Destailleur
5dd2bedffa Fix fatal error 2021-11-15 09:42:27 +01:00
Laurent Destailleur
67d69e5cd6 Fix autocheck if vat rate seems wrong 2021-11-15 09:14:58 +01:00
Laurent Destailleur
5b5f41606a NEW PDF generation support format PDF/A-1b and PDF/A-3b 2021-11-15 09:02:01 +01:00
Alexandre SPANGARO
15115a133d Merge remote-tracking branch 'upstream/develop' into 15a30 2021-11-15 04:26:30 +01:00
Alexandre SPANGARO
ce8b94a625 Translation 2021-11-15 04:26:14 +01:00
Laurent Destailleur
2857619316 Clean code 2021-11-14 19:33:54 +01:00
Laurent Destailleur
e29ef08ee7 Fix regression in default set of accounting accounts 2021-11-14 19:10:06 +01:00
Laurent Destailleur
8954f7415b Fix warning on vat possible anomaly. 2021-11-14 18:40:25 +01:00
Laurent Destailleur
f086fa6c40 Trans 2021-11-14 18:00:19 +01:00
Alexandre SPANGARO
2be7da1031 Double line 2021-11-14 04:18:13 +01:00
Alexandre SPANGARO
d6cb95b0f7 FIX Ticket - Card - Wrong font awesome library 2021-11-14 04:18:03 +01:00
Frédéric FRANCE
44d81f91e0 adding a translation
found in htdocs/accountancy/index.php
2021-11-13 22:13:06 +01:00
daraelmin
f2407a3f94 Fix 19306 - Tracking url is clickable in reception card 2021-11-13 20:04:03 +01:00
Laurent Destailleur
55e089118c Fix trans 2021-11-13 15:19:03 +01:00
Laurent Destailleur
ec78f21c26 Sync transifex 2021-11-13 15:17:06 +01:00
Laurent Destailleur
9a7c14199d Doc 2021-11-13 14:06:59 +01:00
Laurent Destailleur
a368200036 Add MAIN_MEMORY_LIMIT_ARCHIVE_DATAROOT and MAIN_MEMORY_LIMIT_DUMP 2021-11-13 01:45:38 +01:00
ptibogxiv
2625c8fea5 ADD new stripe provider in dictionnary
For  better informations in Dolibarr and on object/pdf (order, invoice....)
2021-11-12 17:56:59 +01:00
Regis Houssin
415ee6669a FIX missing php8 warning 2021-11-12 17:23:17 +01:00
Regis Houssin
990fff3511 FIX missing php8 compatibility 2021-11-12 17:09:13 +01:00
Regis Houssin
e839d9da02 FIX syntax error 2021-11-12 16:56:26 +01:00
Regis Houssin
317060d915 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into fix_add_ldap_hash_type_select 2021-11-12 16:53:39 +01:00
Regis Houssin
c5d70477c3 FIX compatibility with php8 2021-11-12 16:53:00 +01:00
atm-florian
f01cb3bd9a NEW 15.0: when creating an intervention from an object, replicate the object's extrafields if they have the same name
(snipped copy-pasted from facture/card.php)
2021-11-12 15:00:03 +01:00
Laurent Destailleur
e113fe468f Clean code 2021-11-12 14:57:36 +01:00
Laurent Destailleur
715a65eab2 Clean code for md theme 2021-11-12 13:33:59 +01:00
stickler-ci
daadcf2fc3 Fixing style errors. 2021-11-12 12:23:40 +00:00
Regis Houssin
9e5a20545d FIX dolGetLdapPasswordHash use your own random salt 2021-11-12 13:23:11 +01:00
ptibogxiv
97d2722c4c Update stripe.php 2021-11-12 13:21:40 +01:00
ptibogxiv
991c1b4f13 ADD Klarna provider with Stripe 2021-11-12 13:20:58 +01:00
Regis Houssin
7324375caa FIX missing rename function 2021-11-12 13:15:40 +01:00
Regis Houssin
1169ae551f FIX remove debug 2021-11-12 13:12:49 +01:00
Regis Houssin
968ffbcef0 FIX add ldap hash algo 2021-11-12 13:06:41 +01:00
Yaacov Akiba Slama
de435576a9 Allow WithdrawMode to be imported 2021-11-12 12:46:37 +02:00
Yaacov Akiba Slama
5c8d91ba6c BankAccountNumber is not required.
The IBAN can contain all the needed information. So there is no reason for
the account number to be required
2021-11-12 12:46:18 +02:00
Laurent Destailleur
3b21fc2d37 Better way to report value of stock when PRODUIT_MULTIPRICES is on 2021-11-12 10:50:19 +01:00
Regis Houssin
084a3f48c1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
fix_add_ldap_hash_type_select
2021-11-12 10:10:04 +01:00
Frédéric FRANCE
67d6ada23c Merge branch 'Dolibarr:develop' into patch-5 2021-11-11 20:12:56 +01:00
Frédéric FRANCE
cde4e48849 Merge branch 'Dolibarr:develop' into addtranslations 2021-11-11 20:12:20 +01:00
daraelmin
53b565ec1d Fix date_select go away when sorting subscription 2021-11-11 20:06:21 +01:00
Laurent Destailleur
0837243ca0 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-11 19:07:32 +01:00
Laurent Destailleur
21c2dba922 Fix phpcs 2021-11-11 19:06:55 +01:00
Laurent Destailleur
a755c7ba51 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-11 18:34:41 +01:00
Laurent Destailleur
f5a7275077 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/takepos/index.php
2021-11-11 18:34:04 +01:00
Laurent Destailleur
a725ffefdd Fix sql error 2021-11-11 18:30:17 +01:00
Frédéric FRANCE
fd1585eda0 add load langs 2021-11-11 18:23:34 +01:00
Laurent Destailleur
aab9c2e6ca Fix #yogosha7605 2021-11-11 18:20:31 +01:00
andreubisquerra
e98cfb3ef1 FIX Save TakePOS credit note as a pos sale 2021-11-11 18:02:56 +01:00
Regis Houssin
5eff0e7a0c FIX only a superadmin can modify entity 2021-11-11 17:48:23 +01:00
Regis Houssin
564badc61b Merge remote-tracking branch 'origin/14.0' into fix_lost_superadmin_grade_after_edit_user 2021-11-11 17:23:55 +01:00
Frédéric FRANCE
c245e4b388 Merge remote-tracking branch 'upstream/develop' into patch-5 2021-11-11 17:18:50 +01:00
Laurent Destailleur
0021381201 Fix #yogosha7605 2021-11-11 17:08:35 +01:00
Frédéric FRANCE
38d3b9ca71 fix regex 2021-11-11 16:54:20 +01:00
Laurent Destailleur
fd74e33ef1 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/takepos/index.php
2021-11-11 16:19:01 +01:00
Laurent Destailleur
ddad00c8e4 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/takepos/index.php
2021-11-11 16:14:48 +01:00
Laurent Destailleur
f24c38db73 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/datapolicy/class/datapolicy.class.php
	htdocs/takepos/index.php
2021-11-11 16:06:21 +01:00
Laurent Destailleur
e188855dca Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
Conflicts:
	htdocs/datapolicy/class/datapolicy.class.php
2021-11-11 16:01:37 +01:00
Laurent Destailleur
9aa5c94612 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0 2021-11-11 15:59:48 +01:00
Laurent Destailleur
ba724204a4 FIX Bad use of dol_concatdesc() 2021-11-11 15:50:32 +01:00
Laurent Destailleur
83b8f329ca Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-11 15:37:09 +01:00
Laurent Destailleur
88d8f73614 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-11-11 15:36:00 +01:00
Laurent Destailleur
fa4b5d99c0 FIX Bad use of dol_concatdesc() 2021-11-11 15:35:34 +01:00
Laurent Destailleur
06f378db18 FIX Bad use of dol_concatdesc() 2021-11-11 15:31:19 +01:00
Laurent Destailleur
436dbcd81d Shorter pdf label 2021-11-11 15:22:54 +01:00
Laurent Destailleur
c5f3f42867 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-11 15:13:39 +01:00
Laurent Destailleur
66f1dd8545 Fix avoid too large PDF 2021-11-11 15:12:31 +01:00
Laurent Destailleur
e46e622049 Merge pull request #19349 from BitKFu/total_discount
Added -Propal- as a missing class name to the commondocgenerator.class.php
2021-11-11 15:03:02 +01:00
Laurent Destailleur
c6ecf87a8a Update commondocgenerator.class.php 2021-11-11 15:02:51 +01:00
Laurent Destailleur
da2f3e7b40 Code comment 2021-11-11 14:55:59 +01:00
Laurent Destailleur
8518c772fb Merge pull request #19343 from OPEN-DSI/fix-takepos-report-terminal
FIX close cash with some terminals in TakePOS
2021-11-11 14:42:12 +01:00
Laurent Destailleur
a4344a7ec5 Merge pull request #19337 from marc-dll/13.0_FIX_project_task_list_extrafields
FIX: project task list: extrafields could not be displayed
2021-11-11 14:41:56 +01:00
Laurent Destailleur
917ceec027 Merge pull request #19336 from grandoc/new_branch_08_11_2021
fixes to be pure markdown
2021-11-11 14:40:19 +01:00
Laurent Destailleur
32185beec5 Merge pull request #19338 from aspangaro/15a30
GNU version 3
2021-11-11 14:39:43 +01:00
Laurent Destailleur
8997368e76 Merge pull request #19347 from frederic34/patch-1
error display
2021-11-11 14:39:06 +01:00
Laurent Destailleur
0665dac594 Merge pull request #19348 from ptibogxiv/patch-449
FIX bug if multicompany disabled
2021-11-11 14:38:28 +01:00
Laurent Destailleur
920745175c Merge pull request #19353 from cfoellmann/PR/fix-supprop-docperm
fix permission on supplier_order document upload
2021-11-11 14:38:04 +01:00
Laurent Destailleur
9cb094b466 Fix error method not defined 2021-11-11 14:37:25 +01:00
Laurent Destailleur
a3d2dcb97f Merge pull request #19351 from cfoellmann/PR/block-massaction-delete
block deletion of items not free to delete (is_deletable)
2021-11-11 14:33:23 +01:00
Laurent Destailleur
aae83d248c Merge pull request #19346 from daraelmin/14.0
Fix wrong sign in test
2021-11-11 14:29:56 +01:00
Laurent Destailleur
28aa17e4fd FIX calculation of balance in conciliation page on desc sorting. 2021-11-11 14:27:17 +01:00
Laurent Destailleur
67baaeb5de Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-11 13:51:19 +01:00
Laurent Destailleur
0443302c3d FIX calculation of balance in conciliation page on desc sorting. 2021-11-11 13:49:21 +01:00
Laurent Destailleur
fd3fd9d945 Fix getpost 2021-11-11 13:46:58 +01:00
Laurent Destailleur
bbd97c6e16 Code comment 2021-11-11 13:36:04 +01:00
Christian Foellmann
28e14ac336 fix permission on supplier_order document upload 2021-11-11 13:29:30 +01:00
Christian Foellmann
6a216e520f block deletion of items not free to delete (is_deletable) 2021-11-11 11:06:05 +01:00
Laurent Destailleur
47dd7335a9 Debug v15 2021-11-10 21:34:41 +01:00
stickler-ci
7c5810dee6 Fixing style errors. 2021-11-10 14:19:14 +00:00
Gerhard Stephan
285bd67d90 Added -Propal- as a missing class name to the commondocgenerator.class.php 2021-11-10 15:16:36 +01:00
ptibogxiv
0afaf080ee FIX bug if multicompany disabled
avoid bad constantes
2021-11-10 14:53:17 +01:00
Frédéric FRANCE
c9517db43b Update cashdesk.lang 2021-11-10 12:26:28 +01:00
Frédéric FRANCE
06e6479a12 Update cashcontrol_card.php 2021-11-10 12:24:53 +01:00
Frédéric FRANCE
005254ad34 Update cashcontrol_card.php 2021-11-10 12:21:03 +01:00
Frédéric FRANCE
e5d40bf464 error display 2021-11-10 12:06:39 +01:00
daraelmin
cea3d93b91 Fix wrong sign in test 2021-11-09 20:51:27 +01:00
Regis Houssin
5649e865c3 FIX wrong check 2021-11-09 18:38:29 +01:00
Regis Houssin
1e20e082fe FIX lost superadmin grade after edit user card ! 2021-11-09 18:36:04 +01:00
lvessiller
33e40c12c8 FIX close cash with some terminals in TakePOS 2021-11-09 14:12:28 +01:00
Alexandre SPANGARO
d611b99d95 GNU version 3 2021-11-09 03:01:48 +01:00
Laurent Destailleur
9f8e21bc2c Fix filter on dates 2021-11-08 20:39:52 +01:00
Laurent Destailleur
d28edae460 Fix idate must be jdate 2021-11-08 20:11:32 +01:00
Laurent Destailleur
6787998c56 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-11-08 20:08:35 +01:00
Laurent Destailleur
ebdcff3b49 FIX filter for export of accounting documents 2021-11-08 20:07:03 +01:00
Laurent Destailleur
13e8e3d33c Look and feel v15 2021-11-08 19:15:02 +01:00
Laurent Destailleur
6e1213128f Look and feel v15 2021-11-08 18:53:19 +01:00
Laurent Destailleur
d55fde4633 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-08 18:49:53 +01:00
Laurent Destailleur
69ea6c5b7a css 2021-11-08 18:49:30 +01:00
Laurent Destailleur
6e01f1702e Fix css 2021-11-08 18:45:00 +01:00
Laurent Destailleur
bd9d3bb4ab Clean code 2021-11-08 18:10:35 +01:00
Laurent Destailleur
8636527125 Clean code 2021-11-08 17:53:18 +01:00
Marc de Lima Lucio
c1a2e7b12e FIX: project task list: extrafields could not be displayed 2021-11-08 17:51:19 +01:00
Laurent Destailleur
f4b2a6ec92 Fix negative colors for bars 2021-11-08 14:51:14 +01:00
Laurent Destailleur
c464a1cfd2 Fix colors 2021-11-08 14:37:21 +01:00
Laurent Destailleur
c858c7bf53 Trans shorter 2021-11-08 14:05:07 +01:00
Laurent Destailleur
39b8916215 css 2021-11-08 14:01:15 +01:00
Philippe GRAND
85a3bbba3d Translations 2021-11-08 13:51:03 +01:00
Philippe GRAND
d06d6c51cd MD041 - First line in a file should be a top-level heading 2021-11-08 13:44:46 +01:00
Philippe GRAND
0a3a0862ff fixes to be pure markdown 2021-11-08 13:33:24 +01:00
Laurent Destailleur
3ff880aa74 Avoid virus detection 2021-11-08 11:40:40 +01:00
Gerhard Stephan
b34fb95f4f Load product data optional fields to the line -> enables to use "line_options_{extrafield}" 2021-11-08 10:59:04 +01:00
Laurent Destailleur
e8e0768eec Fix phpcs 2021-11-08 03:47:16 +01:00
Laurent Destailleur
28dcdb0708 Merge pull request #19283 from bb2a/NEW_SUBSTITUTION_ONLINE_SIGN_PROPAL
NEW -  Substitution proposal online sign
2021-11-08 03:46:09 +01:00
Laurent Destailleur
a724cadd1f Merge pull request #19290 from PyroShape/142
FIX : Change date format of the inventorycode to be equal as mass stock transfert
2021-11-08 03:33:53 +01:00
Laurent Destailleur
621f0812a1 Merge pull request #19304 from daraelmin/daraelmin-patch-3
Fix default enddate subscription must be in futur
2021-11-08 03:28:35 +01:00
Laurent Destailleur
43406e7d61 Merge pull request #19321 from nicolas-eoxia/new_redirect_after_login
NEW : redirect after connection in login page #19320
2021-11-08 03:27:48 +01:00
Laurent Destailleur
d026c721cf Update security2.lib.php 2021-11-08 03:27:27 +01:00
Laurent Destailleur
a94b2b4f7e Clean code 2021-11-08 03:22:49 +01:00
Laurent Destailleur
be1ca6ebab Clean code 2021-11-08 03:21:15 +01:00
Laurent Destailleur
cb65903537 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/facture/card.php
	htdocs/langs/en_US/bills.lang
2021-11-08 03:09:30 +01:00
Laurent Destailleur
cd4f59bb2a FIX bad sign of amount stored for multicurrency columns on credit notes 2021-11-08 03:01:18 +01:00
Laurent Destailleur
e8b3875e2e FIX bad sign of amount stored for multicurrency columns on credit notes 2021-11-08 02:57:21 +01:00
Laurent Destailleur
2ea248e705 Clean code 2021-11-08 02:09:20 +01:00
Laurent Destailleur
bbd3293c3c Data ref 2021-11-08 01:42:38 +01:00
Laurent Destailleur
d591a83085 css 2021-11-08 00:57:00 +01:00
Laurent Destailleur
2fc05a4c1c Add test virus file 2021-11-08 00:37:42 +01:00
Laurent Destailleur
c7cb5213bd Clean code 2021-11-07 20:43:26 +01:00
Laurent Destailleur
a386d637b3 Clean code 2021-11-07 20:43:04 +01:00
Laurent Destailleur
c3fb8416a5 reponsive 2021-11-07 20:40:02 +01:00
Laurent Destailleur
29bf662cc4 Fix warnings 2021-11-07 19:01:44 +01:00
Laurent Destailleur
1d09ffa4c6 Fix scrutinizer 2021-11-07 18:59:11 +01:00
Laurent Destailleur
5085db36a7 Clean code 2021-11-07 18:54:59 +01:00
Laurent Destailleur
47451432a7 Fix warning 2021-11-07 18:49:58 +01:00
Laurent Destailleur
9fd5727985 Try to fix some regressions 2021-11-07 18:47:27 +01:00
Laurent Destailleur
142e9473c5 Responsive 2021-11-07 18:28:59 +01:00
Laurent Destailleur
f5edd25f6d Clean code 2021-11-07 18:14:49 +01:00
Laurent Destailleur
5d4cf586d6 Fix duplicate call 2021-11-07 17:51:30 +01:00
Laurent Destailleur
eaf2c6e89c Fix $action not defined 2021-11-07 17:49:31 +01:00
Laurent Destailleur
5613ec71d6 Fix syntax 2021-11-07 17:48:01 +01:00
Laurent Destailleur
2e499c2d17 Fix unknown property 2021-11-07 17:46:08 +01:00
Laurent Destailleur
6829507372 Fix missing $db 2021-11-07 17:44:34 +01:00
Laurent Destailleur
66f85d674d Fix warning scrutinizer 2021-11-07 17:43:17 +01:00
Laurent Destailleur
1934a37676 Escape to avoid false positive, even if it should be useless. 2021-11-07 17:35:43 +01:00
Laurent Destailleur
4247275465 css 2021-11-07 17:27:37 +01:00
Laurent Destailleur
969fe16442 Debug mass actions of partnership module 2021-11-07 16:51:18 +01:00
Laurent Destailleur
ed9806576a Trans 2021-11-07 16:07:16 +01:00
Laurent Destailleur
6d10facf5b Debug v15 2021-11-07 16:04:37 +01:00
Laurent Destailleur
98ba48c0e7 Look and feel v15 2021-11-07 15:58:46 +01:00
Laurent Destailleur
552d32ccd6 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-07 13:54:07 +01:00
Laurent Destailleur
3b7c385c6c Fix syntax error 2021-11-07 13:53:30 +01:00
Laurent Destailleur
2234522519 Debug module parnership. Add the type of partnership. 2021-11-07 13:51:31 +01:00
Laurent Destailleur
e8a2fc33c3 Fix visiblity of dictionnary for MAIN_USE_EXPENSE_IK 2021-11-07 12:47:03 +01:00
Laurent Destailleur
09d9d1ac42 Add missing unique key 2021-11-07 12:38:44 +01:00
Laurent Destailleur
11bb7428ce Clean code 2021-11-07 12:34:08 +01:00
Laurent Destailleur
713db0e613 Removed function pdf_getTotalQty (duplicate with pdf_getlineqty) 2021-11-07 12:26:44 +01:00
Laurent Destailleur
ccc1d4d1fa Fix warning 2021-11-07 12:24:25 +01:00
Laurent Destailleur
dd2207d6c5 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/customer/list.php
	htdocs/core/db/DoliDB.class.php
	htdocs/resource/list.php
2021-11-06 21:11:05 +01:00
Laurent Destailleur
7e68f9e013 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/core/db/DoliDB.class.php
	htdocs/resource/list.php
2021-11-06 21:04:17 +01:00
Laurent Destailleur
ddb68a3ae8 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-11-06 20:40:34 +01:00
Laurent Destailleur
fc70adb2e7 Fix ref suffix for patnership into PSHIP 2021-11-06 20:40:26 +01:00
Laurent Destailleur
edbcf78495 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-11-06 20:39:05 +01:00
Laurent Destailleur
0bc5ec8c78 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-11-06 20:38:29 +01:00
Laurent Destailleur
65105a3e05 Better log 2021-11-06 19:27:50 +01:00
Laurent Destailleur
77864f2c2c NEW Can set value for EHLO smtp command in MAIL_SMTP_USE_FROM_FOR_HELO 2021-11-06 19:11:47 +01:00
Alexandre SPANGARO
1cd864e395 Merge remote-tracking branch 'upstream/develop' into 15a29 2021-11-06 05:06:21 +01:00
Nicolas Domenech
61d97ccd22 NEW : redirect after connection in login page 2021-11-05 16:02:24 +01:00
Laurent Destailleur
257fe444af Merge pull request #19181 from frederic34/commandelist
fix warnings in commande list
2021-11-05 14:32:17 +01:00
Laurent Destailleur
9f3fec40cb Merge pull request #19262 from atm-maxime/new_element_tag_table
New : prepare future element_tag table
2021-11-05 14:31:37 +01:00
Laurent Destailleur
b56828219c Merge pull request #19277 from javieralapps4up/develop
Update card.php ($usergroup->members is not necessary and wastes resources)
2021-11-05 14:29:46 +01:00
Laurent Destailleur
c7000037e5 Merge pull request #19278 from frederic34/patch-8
remove old field
2021-11-05 14:25:34 +01:00
Laurent Destailleur
44b129f754 Merge pull request #19286 from BadPixxel/patch-7
FIX: Status propagation from Parent Product
2021-11-05 14:25:02 +01:00
Laurent Destailleur
897b00faf0 Clean code 2021-11-05 14:23:19 +01:00
daraelmin
9d7f7e2090 Better condition 2021-11-05 14:03:56 +01:00
Laurent Destailleur
e8a550cb21 Merge pull request #19273 from frederic34/patch-1
fix warning (bad const)
2021-11-05 14:02:41 +01:00
Laurent Destailleur
aaa8849dff Merge pull request #19274 from frederic34/patch-4
fix change sql
2021-11-05 14:01:51 +01:00
Laurent Destailleur
b9d5f77937 Merge pull request #19276 from frederic34/patch-7
fix warnings
2021-11-05 14:01:14 +01:00
Laurent Destailleur
c0c894d6f4 Merge pull request #19288 from OPEN-DSI/fix_00018
FIX second approval back in stable feature as is the setting for minimum amount (last part from PR#14286)
2021-11-05 14:00:41 +01:00
Laurent Destailleur
2b6d296e63 Rename var 2021-11-05 13:58:11 +01:00
Laurent Destailleur
d32ecfe5aa Merge pull request #19291 from OPEN-DSI/fix_00019
NEW: Can show Paid button if invoice or supplier invoice has no payments with global
2021-11-05 13:37:39 +01:00
Laurent Destailleur
e430fe5f94 Merge pull request #19302 from FHenry/dev_addhook_dolbanner
NEW: for developpers add hook for moreHTMLRef in dol_banner_tab
2021-11-05 13:28:39 +01:00
Laurent Destailleur
f8cc75ecf2 Merge pull request #19296 from daraelmin/daraelmin-stats-1
Add link year subscription list in subscription by year stats page
2021-11-05 13:19:05 +01:00
Laurent Destailleur
15bc4a7d6b Update index.php 2021-11-05 13:18:37 +01:00
Laurent Destailleur
5cf9ae7162 Merge pull request #19299 from vincentjdc/credit-note-no-invoice
Handle case where credit note has no source invoice
2021-11-05 13:12:39 +01:00
Laurent Destailleur
bc7b035846 Update card.php 2021-11-05 13:11:54 +01:00
Laurent Destailleur
02200b9810 Update card.php 2021-11-05 13:10:44 +01:00
Laurent Destailleur
a0fffbae04 Merge pull request #19298 from daraelmin/daraelmin-stats-2
Fix Bad count of subscription by year
2021-11-05 13:06:17 +01:00
Laurent Destailleur
01b1ce5fb5 Merge pull request #19313 from cfoellmann/PR/fix-holiday-docpreview
fix DocumentPreview on holiday documents
2021-11-05 13:03:22 +01:00
Laurent Destailleur
19b9412c13 FIX #19305 2021-11-05 12:49:33 +01:00
Laurent Destailleur
58abcf7e5a Merge pull request #19307 from fmarcet/develop
Qual: If hidden option BANK_CAN_RECONCILIATE_CASHACCOUNT is activated
2021-11-05 12:43:39 +01:00
Laurent Destailleur
23749b57ec Merge pull request #19311 from atm-john/12.0_fix_missing_return_status_for_getrow
FIX : missing return status
2021-11-05 12:42:54 +01:00
Laurent Destailleur
3959d12a39 Update DoliDB.class.php 2021-11-05 12:42:42 +01:00
Laurent Destailleur
49e57c75fa Merge pull request #19316 from vincentjdc/expensereport-option-to-require-file
NEW Adds `EXPENSEREPORT_FILE_IS_REQUIRED` global var to force user to join file for each line of an expense report
2021-11-05 12:40:25 +01:00
Vincent Dieltiens
4af8a4e9fd Add EXPENSEREPORT_FILE_IS_REQUIRED global var to force user to join a file for each line of an expense report 2021-11-05 12:11:54 +01:00
Christian Foellmann
58ae45a88b fix DocumentPreview on holiday documents 2021-11-04 13:58:38 +01:00
ATM john
dd8d4e9e98 Fix missing return status 2021-11-04 12:10:19 +01:00
Ferran Marcet
3f426abc29 Qual: If hidden option BANK_CAN_RECONCILIATE_CASHACCOUNT is activated, show Account Statements tab on Cash Accounts 2021-11-04 10:56:55 +01:00
Regis Houssin
3fb0e3c5ad NEW add html.formldap.class.php 2021-11-03 22:56:15 +01:00
stickler-ci
586005ff2e Fixing style errors. 2021-11-03 21:43:30 +00:00
daraelmin
f9db196512 Update subscription.php 2021-11-03 22:31:45 +01:00
daraelmin
0e91b32e99 Update subscription.php 2021-11-03 20:40:09 +01:00
daraelmin
973f408b6e Fix default enddate subscription must be in futur 2021-11-03 20:35:57 +01:00
Florian HENRY
054d98b942 fix ref 2021-11-03 16:31:35 +01:00
Florian HENRY
a4c4732d5d NEW: for developpers add hook for moreHTMLRef in dol_banner_tab 2021-11-03 16:18:03 +01:00
Vincent Dieltiens
a359c7a681 Handle case where credit note has no source invoice 2021-11-03 14:22:08 +01:00
daraelmin
d334fe1292 Fix Bad count of subscription by year
If
2021-11-03 13:12:33 +01:00
daraelmin
b02c89bd8b Add link year subscription list in subscription by year stats page 2021-11-02 23:07:46 +01:00
kamel
d91c24233c NEW: Can show Paid button if invoice or supplier invoice has no payments with global INVOICE_CAN_FORCE_PAID_WHEN_NO_PAIEMENTS and SUPPLIER_INVOICE_CAN_FORCE_PAID_WHEN_NO_PAIEMENTS 2021-11-02 16:43:09 +01:00
Benjamin Chantalat
49d955b794 Uniformization of the table code as the line above 2021-11-02 15:53:57 +01:00
Benjamin Chantalat
0c1d4c9d51 No need of escape htmltag thanks to GETPOST before 2021-11-02 15:48:12 +01:00
Benjamin Chantalat
126fbf9f63 Change date format to be equal to mass stock transfert 2021-11-02 15:46:04 +01:00
kamel
82b7f0e9e4 FIX second approval back in stable feature as is the setting for minimum amount (last part from PR#14286) 2021-11-02 15:21:14 +01:00
stickler-ci
5c10cd5ba9 Fixing style errors. 2021-11-02 13:20:41 +00:00
BadPixxel
98929f2dba FIX: Status propagation from Parent Product
toSell or toBuy Status propagation should be done only when parent is updated. 

Otherwise, any modification made on the parent will overwrite the specific configuration made at the child level.
2021-11-02 14:16:55 +01:00
John BOTELLA
12b046cb68 Fix class name 2021-11-02 14:11:36 +01:00
John BOTELLA
bbe71c9c32 Rename var 2021-11-02 14:07:36 +01:00
stickler-ci
899f0bee9a Fixing style errors. 2021-11-02 12:59:38 +00:00
John BOTELLA
b98efd7e44 Add rank item management and add Hook 2021-11-02 13:55:12 +01:00
Henry
b56eaf91e8 Update paiement.php 2021-11-02 20:53:00 +08:00
Anthony Berton
5bb6185e64 add_substitution 2021-11-02 12:37:39 +01:00
Alexandre SPANGARO
13123c3370 Permission language key 2021-11-02 05:31:51 +01:00
Alexandre SPANGARO
8992276e25 Hidden button without specific advancedright 2021-11-02 05:18:32 +01:00
Alexandre SPANGARO
b128fb5ad9 Add advanced right to add / update thirdparty payment information 2021-11-02 04:55:20 +01:00
Alexandre SPANGARO
dd7ee9e5f4 Merge remote-tracking branch 'upstream/develop' into 15a29 2021-11-02 04:52:50 +01:00
Alexandre SPANGARO
155eae1772 Add advanced right to add / update thirdparty payment information 2021-11-02 04:52:16 +01:00
Alexandre SPANGARO
fb0002a38e Factorize user rights 2021-11-02 04:51:18 +01:00
Alexandre SPANGARO
f73f3cd55f typo 2021-11-02 04:50:29 +01:00
Benjamin Chantalat
85776f7529 Avoid function calls in a FOR loop test part 2021-11-01 20:08:00 +01:00
stickler-ci
85372a7083 Fixing style errors. 2021-11-01 18:57:35 +00:00
Benjamin Chantalat
7b88f1da3f Change to have number of item dispached on number of total item 2021-11-01 19:56:55 +01:00
Benjamin Chantalat
5be40b926b Clean function not use anymore 2021-11-01 19:56:24 +01:00
Frédéric FRANCE
d40e9bb304 remove old field
field skype has been removed
2021-11-01 13:52:06 +01:00
javieralapps4up
8bfb656228 Update card.php
Load $usergroup->members is not necessary and wastes resources
2021-11-01 13:47:52 +01:00
Frédéric FRANCE
d7c0d87aeb Update mod_facture_fournisseur_tulip.php 2021-11-01 13:35:25 +01:00
Frédéric FRANCE
18918d4e9d Update actions_addupdatedelete.inc.php 2021-11-01 13:34:13 +01:00
Frédéric FRANCE
55243dedb6 fix typo 2021-11-01 13:32:19 +01:00
Regis Houssin
c5e6893289 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
fix_add_ldap_hash_type_select

Conflicts:
	htdocs/core/class/ldap.class.php
2021-11-01 11:16:33 +01:00
Regis Houssin
772c3eb43a Works on ldap password hash type 2021-11-01 11:13:44 +01:00
Laurent Destailleur
960319fd8a dol_htmlentities is better for future than htmlentities 2021-11-01 10:33:54 +01:00
John BOTELLA
ea641b707d Factoring 2021-11-01 10:32:37 +01:00
Maxime Kohlhaas
3508aa92d6 Fix : uk and index on element_tag table 2021-11-01 10:24:19 +01:00
John BOTELLA
4c016cc3be integrate fix from V14 2021-11-01 10:11:43 +01:00
John BOTELLA
c28e9f5f7c Merge branch 'develop' of github.com:Dolibarr/dolibarr into new_setup_form_help_class 2021-11-01 10:08:37 +01:00
Maxime Kohlhaas
8858b2ba55 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new_element_tag_table 2021-11-01 10:06:42 +01:00
Frédéric FRANCE
b992deb084 fix warnings 2021-11-01 09:44:43 +01:00
Frédéric FRANCE
39777d4cc5 fix error 2021-11-01 09:37:07 +01:00
Frédéric FRANCE
f99a11b876 Update evaluationdet.class.php 2021-11-01 09:28:51 +01:00
Frédéric FRANCE
aaadeb1b9d fix change sql 2021-11-01 09:27:32 +01:00
Frédéric FRANCE
cb8e1ce8f0 fix warning 2021-11-01 09:20:22 +01:00
Laurent Destailleur
7d07da527d Debug v15 2021-11-01 03:30:22 +01:00
Laurent Destailleur
3e1fa44657 Fix phpdoc 2021-11-01 03:23:38 +01:00
Laurent Destailleur
2f7e246ab3 Merge 2021-11-01 03:18:12 +01:00
Laurent Destailleur
6acc8a6582 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/class/ldap.class.php
2021-11-01 03:17:51 +01:00
Laurent Destailleur
3e46d58129 FIX Type of field progression in ticket must be integer 2021-11-01 03:14:54 +01:00
Laurent Destailleur
7dcd98b9bb Merge pull request #19234 from hregis/fix_see_ldap_connected_server
FIX show connected server if we have a primary and secondary ldap server
2021-11-01 02:46:28 +01:00
Laurent Destailleur
1b336456ce Code comment 2021-11-01 02:44:14 +01:00
Laurent Destailleur
82d02e8465 Merge pull request #19270 from frederic34/patch-9
replace function each deprecated in php 7.2
2021-11-01 02:36:54 +01:00
Laurent Destailleur
d4348b8e53 Merge pull request #19264 from frederic34/patch-1
fix warning
2021-11-01 02:35:48 +01:00
Laurent Destailleur
58e55a3d86 Merge pull request #19263 from frederic34/displaydnsspf
display spf info from dns
2021-11-01 02:35:32 +01:00
Laurent Destailleur
3c69fb0ea3 Update mails.php 2021-11-01 02:35:15 +01:00
Laurent Destailleur
992c36f521 Merge pull request #19265 from frederic34/patch-4
fix warning
2021-11-01 02:32:23 +01:00
Laurent Destailleur
6480425130 Merge pull request #19269 from frederic34/patch-8
fix unknown function
2021-11-01 02:31:59 +01:00
Laurent Destailleur
0bdfa84bbf Merge pull request #19266 from frederic34/rankisreserved
replace reseved word rank
2021-11-01 02:31:16 +01:00
Laurent Destailleur
ce9e7067ac Merge pull request #19268 from frederic34/patch-7
fix scrutinizer
2021-11-01 02:29:28 +01:00
Laurent Destailleur
6d3053ae94 Merge pull request #19267 from frederic34/patch-5
fix scrutinizer
2021-11-01 02:29:18 +01:00
Laurent Destailleur
e4613b3104 FIX sql error when values for natural_search is an array 2021-11-01 02:28:41 +01:00
Laurent Destailleur
2313da5beb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-11-01 02:17:18 +01:00
Laurent Destailleur
d5130f2541 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop FIX #19013
2021-11-01 02:16:50 +01:00
Frédéric FRANCE
e02565190a replace function each deprecated in php 7.2
Warning This function has been DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.

Avertissement Cette fonctionnalité est OBSOLÈTE à partir de PHP 7.2.0 et a été SUPPRIMÉE à partir de PHP 8.0.0.
2021-11-01 01:10:30 +01:00
Frédéric FRANCE
75eff571d9 fix unknown function 2021-10-31 22:27:39 +01:00
Frédéric FRANCE
270ddfda1f fix scrutinizer 2021-10-31 22:24:25 +01:00
Frédéric FRANCE
445fea18bb fix scrutinizer
dol_set_focus returns void
2021-10-31 22:20:02 +01:00
Frédéric FRANCE
9a68a97fc6 replace commentaire_abandon by abort_comment 2021-10-31 21:18:59 +01:00
Frédéric FRANCE
bc972554c6 replace reseved word rank 2021-10-31 21:13:15 +01:00
Frédéric FRANCE
af8f74103a Update knowledgerecord_list.php 2021-10-31 20:48:13 +01:00
Frédéric FRANCE
033d983f05 fix warning 2021-10-31 20:41:07 +01:00
Frédéric FRANCE
7d60cddaac fix warning
same test at line 65
2021-10-31 19:36:31 +01:00
Frédéric FRANCE
8ce70aac5d display spf info from dns 2021-10-31 18:43:11 +01:00
Laurent Destailleur
b4895c4dd2 Merge pull request #18975 from aspangaro/14p23
FIX Accountancy - If deposit invoice is used, force binding in deposit accounting account to solve transaction
2021-10-31 18:13:54 +01:00
Laurent Destailleur
cb648705ce Merge pull request #19186 from ptibogxiv/patch-448
Fix excluded member display in takepos
2021-10-31 18:04:19 +01:00
Laurent Destailleur
5b4602fbd8 Merge pull request #19058 from FHenry/fix_php8
fix php8 warning
2021-10-31 18:02:14 +01:00
Laurent Destailleur
d21278b0ef Merge branch 'develop' into fix_php8 2021-10-31 17:54:32 +01:00
Laurent Destailleur
ca53176b14 Merge pull request #19179 from frederic34/tasklist
fix warnings in task list
2021-10-31 17:52:31 +01:00
Laurent Destailleur
40683720a3 Merge pull request #19182 from frederic34/propallist
fix warnings in propal list
2021-10-31 17:51:52 +01:00
Laurent Destailleur
6a4344af8a Merge pull request #19187 from frederic34/patch-8
fix warning
2021-10-31 17:51:16 +01:00
Laurent Destailleur
8f54143bfb Merge pull request #19178 from frederic34/patch-1
fix not defined
2021-10-31 17:47:34 +01:00
Laurent Destailleur
1d1e75683d Merge pull request #19183 from frederic34/patch-5
fix warning
2021-10-31 17:47:23 +01:00
Laurent Destailleur
216eb7bd5a Merge pull request #19185 from frederic34/bankentrieslist
fix warnings in bankentries list
2021-10-31 17:47:14 +01:00
Laurent Destailleur
43b4a783a5 Merge pull request #19184 from frederic34/patch-7
fix search
2021-10-31 17:47:05 +01:00
Laurent Destailleur
e1047afb05 Merge pull request #19194 from atm-florianm/FIX_minor_remove_two_unused_js_lines
[minor] remove two unused js lines
2021-10-31 17:46:00 +01:00
Laurent Destailleur
fdf5d457a8 Merge pull request #19196 from atm-gauthier/FIX_default_price_base_type_with_variants
FIX : We need a default price base type in variant creation case with…
2021-10-31 17:42:58 +01:00
Laurent Destailleur
cee573cf96 Update ProductCombination.class.php 2021-10-31 17:42:43 +01:00
Laurent Destailleur
c0bde3e271 Merge pull request #19200 from frederic34/patch-9
fix warning
2021-10-31 17:38:23 +01:00
Laurent Destailleur
d90253eb08 Merge pull request #19203 from frederic34/patch-12
fix rights and warnings
2021-10-31 17:38:02 +01:00
Laurent Destailleur
ae103f20ca Merge pull request #19204 from FHenry/fix_introduced_scrutinizer
Fix introduced scrutinizer
2021-10-31 17:37:31 +01:00
Laurent Destailleur
df5b2b6728 Update viewcat.php 2021-10-31 17:36:56 +01:00
Laurent Destailleur
8ebbe32781 Merge pull request #19205 from frederic34/patch-13
fix warnings
2021-10-31 17:34:46 +01:00
Laurent Destailleur
eecd82a0fd Merge pull request #19202 from frederic34/patch-11
backport fix
2021-10-31 17:34:38 +01:00
Laurent Destailleur
aaa8efbddc Merge pull request #19201 from frederic34/patch-10
fix warning
2021-10-31 17:34:25 +01:00
Laurent Destailleur
ef21b5ca78 Merge pull request #19206 from frederic34/patch-14
fix warning
2021-10-31 17:34:18 +01:00
Laurent Destailleur
b513d21bca Merge pull request #19208 from Quentin-Seekness/patch-1
FIX: Can't create new attendee
2021-10-31 17:33:42 +01:00
Laurent Destailleur
efa8b7943e Merge 2021-10-31 17:22:40 +01:00
Laurent Destailleur
bea85db413 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-31 17:20:09 +01:00
Laurent Destailleur
dbf330b49c Comment on test 2021-10-31 17:17:21 +01:00
Laurent Destailleur
05cdbcc092 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-31 17:12:13 +01:00
Laurent Destailleur
b966286895 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-31 17:12:04 +01:00
Laurent Destailleur
0e4c113e7f Fix phpcs 2021-10-31 17:11:23 +01:00
Laurent Destailleur
ffc1d8fb97 Merge pull request #19211 from FHenry/14_fix_modulebuilder
fix: setup template on module builder (error SQL when not tag exists)
2021-10-31 17:09:15 +01:00
Laurent Destailleur
42b043feef Merge pull request #19213 from atm-greg/FIX_restrictedArea_for_payment_delete
FIX restrictedArea for payment delete
2021-10-31 17:06:47 +01:00
Laurent Destailleur
682ad98918 Update security.lib.php 2021-10-31 17:06:37 +01:00
Laurent Destailleur
e79dd52c9c Merge pull request #19212 from fr69400/develop
[minor] Fix some warning
2021-10-31 17:04:47 +01:00
Laurent Destailleur
fb6a1d1f51 FIX #19210 2021-10-31 16:59:48 +01:00
Laurent Destailleur
a635dc6df3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/bookmarks/card.php
2021-10-31 16:50:34 +01:00
Laurent Destailleur
51b0758263 Merge pull request #19219 from FHenry/14_fix_warning
fix: warning dol_print_date setTimeStamp when time empty
2021-10-31 16:49:13 +01:00
Laurent Destailleur
c73c962459 Merge pull request #19220 from frederic34/patch-4
remove duplicate code
2021-10-31 16:47:33 +01:00
Laurent Destailleur
ad6f7e1a48 Default target is same window for a link on app, external if not defined 2021-10-31 16:31:15 +01:00
Laurent Destailleur
82898b1aca Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-31 16:25:46 +01:00
Laurent Destailleur
9989180c5f Fix target is lost 2021-10-31 16:25:29 +01:00
Laurent Destailleur
1e7c5fff6d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-31 16:19:37 +01:00
Laurent Destailleur
d891dd8ddc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/en_US/stocks.lang
	htdocs/product/stats/card.php
	htdocs/projet/element.php
	htdocs/salaries/card.php
2021-10-31 16:19:10 +01:00
Laurent Destailleur
9247bbcc1d Merge pull request #19223 from noec764/12.0_FIX_resource_list_extrafields_filter
FIX: resource list : Use standard code to handle list filters
2021-10-31 16:15:08 +01:00
Maxime Kohlhaas
8dd7cb17b7 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new_element_tag_table 2021-10-31 16:14:18 +01:00
Maxime Kohlhaas
d4107fcc4e Fix wrong column name 2021-10-31 16:14:13 +01:00
Laurent Destailleur
15406f16d2 Merge pull request #19215 from FHenry/14_fix_catagorie_method
fix: getFilterSelectQuery get correct table
2021-10-31 16:13:36 +01:00
Laurent Destailleur
f19b58c81d Merge pull request #19226 from andreubisquerra/develop
TakePOS hooks improvements
2021-10-31 16:13:11 +01:00
Laurent Destailleur
7310d87c23 Merge pull request #19232 from cfoellmann/fix-holiday-upload
Fix holiday upload
2021-10-31 16:11:25 +01:00
Laurent Destailleur
f989b145af Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-31 15:59:23 +01:00
Laurent Destailleur
4f2cd2ba18 FIx #19227 2021-10-31 15:59:03 +01:00
Laurent Destailleur
707dd85f43 Merge pull request #19242 from aspangaro/14p25
FIX Accountancy - Product admin - Log error when we affect accounting account with product_perentity activated
2021-10-31 15:22:01 +01:00
Laurent Destailleur
41b8c92311 Update card.php 2021-10-31 15:16:40 +01:00
Laurent Destailleur
82e7c4b237 Merge pull request #19244 from hregis/fix_missing_access_right
FIX missing service access right
2021-10-31 15:15:33 +01:00
Laurent Destailleur
e6e440e573 Fix #19257 error in the page Overview of a project 2021-10-31 15:14:15 +01:00
Laurent Destailleur
8064ecce73 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-31 14:38:07 +01:00
Laurent Destailleur
da4fe03be7 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/core/class/html.formticket.class.php
	htdocs/ticket/card.php
2021-10-31 14:37:33 +01:00
Laurent Destailleur
ca8dab36a3 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/compta/facture/card.php
	htdocs/core/class/html.formticket.class.php
	htdocs/core/modules/modAdherent.class.php
	htdocs/core/modules/modProjet.class.php
2021-10-31 14:33:44 +01:00
Laurent Destailleur
01c6de1085 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2021-10-31 14:24:53 +01:00
Laurent Destailleur
6d918ad1c7 Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2021-10-31 14:24:19 +01:00
Laurent Destailleur
3bbb30ccf6 Merge pull request #19257 from aspangaro/14p26
FIX #19241 Project - Fix display salary in overview
2021-10-31 14:23:43 +01:00
Laurent Destailleur
ffcc6b6d69 Merge pull request #19235 from noec764/14.0_FIX_Error_in_stock_module
FIX: Replenish: SQL error when no warehouse has been created
2021-10-31 14:22:31 +01:00
Laurent Destailleur
13d3ff8ef7 Update replenish.php 2021-10-31 14:22:14 +01:00
Laurent Destailleur
480ad63c5d Update stocks.lang 2021-10-31 14:21:01 +01:00
Laurent Destailleur
7773f8f017 Update replenish.php 2021-10-31 14:20:30 +01:00
Laurent Destailleur
dfc8698422 Update replenish.php 2021-10-31 14:16:18 +01:00
Laurent Destailleur
f540767095 Merge pull request #19247 from hregis/fix_look_and_feel
FIX look and feel
2021-10-31 14:08:56 +01:00
Laurent Destailleur
e4c25a72fb Merge branch 'develop' into fix_look_and_feel 2021-10-31 14:08:39 +01:00
Laurent Destailleur
ff696e0dad Merge pull request #19236 from marc-dll/11.0_FIX_invoice_creation_blocked
FIX: URGENT: impossible to create an invoice
2021-10-31 14:03:11 +01:00
Laurent Destailleur
3dcd1aa05d Update info.php 2021-10-31 14:02:34 +01:00
Laurent Destailleur
8dfe4fe05f Update note.php 2021-10-31 14:02:14 +01:00
Laurent Destailleur
65d59405da Update document.php 2021-10-31 14:01:56 +01:00
Laurent Destailleur
0e2e8fe27f Update contact.php 2021-10-31 14:01:40 +01:00
Laurent Destailleur
0d1f67145e Merge pull request #19237 from ksar-ksar/patch-10
FIX #19214 : PostgreSQL error on admin/limits.php
2021-10-31 14:00:13 +01:00
Laurent Destailleur
c1a046601c Merge pull request #19238 from FHenry/14_fix_deltesuppierorder
fix: warning on delete supplier order
2021-10-31 13:58:52 +01:00
Laurent Destailleur
4e32859bc3 Merge pull request #19243 from yaroslaw74/patch-1
Requisites
2021-10-31 13:58:25 +01:00
Laurent Destailleur
27d9ee9fc0 Merge pull request #19240 from frederic34/patch-15
fix warnings
2021-10-31 13:56:54 +01:00
Laurent Destailleur
6054e23b4d Merge pull request #19252 from hregis/fix_totalarray_is_overwritten
FIX $totalarray is overwritten, totals were lost
2021-10-31 13:56:37 +01:00
Laurent Destailleur
92f9f3179e Update list.php 2021-10-31 13:56:19 +01:00
Laurent Destailleur
7232e38dbe Merge pull request #19248 from fmarcet/12.0
Fix: Import don't work if extrafield is separator
2021-10-31 13:54:31 +01:00
Laurent Destailleur
f2c282305e Merge pull request #19260 from aspangaro/12p21
FIX Ticket - Duplicate field project when we create ticket from project
2021-10-31 13:53:58 +01:00
Laurent Destailleur
a70e7c7bb2 Merge pull request #19253 from grandoc/new_branch_30_10_2021
fixes to be pure markdown
2021-10-31 13:43:03 +01:00
Laurent Destailleur
ed9f0c4ad9 Fix labels 2021-10-31 13:42:08 +01:00
Laurent Destailleur
598508af41 Merge pull request #19261 from aspangaro/15a29
Clean module HRM
2021-10-31 13:39:10 +01:00
Laurent Destailleur
dcc98b6026 Fix filter on product on statistic page 2021-10-31 12:54:08 +01:00
John BOTELLA
ca766c2e71 Factoring 2021-10-31 09:29:20 +01:00
Maxime Kohlhaas
9bc419f2dd Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new_element_tag_table 2021-10-31 09:19:48 +01:00
Alexandre SPANGARO
57a479e328 Remove useless language key 2021-10-31 07:27:37 +01:00
Alexandre SPANGARO
70ed633171 Update label perms 2021-10-31 07:23:34 +01:00
Alexandre SPANGARO
84c3c9d025 Remove useless language key 2021-10-31 07:12:26 +01:00
Alexandre SPANGARO
62ce27886b Remove useless language key 2021-10-31 07:04:31 +01:00
Alexandre SPANGARO
3242400855 Clean module HRM 2021-10-31 06:26:41 +01:00
Alexandre SPANGARO
54b81312b5 FIX Ticket - Duplicate field project when we create ticket from project 2021-10-30 22:49:32 +02:00
Alexandre SPANGARO
9142599ea5 copyright 2021-10-30 21:18:52 +02:00
Alexandre SPANGARO
b1c799ee08 FIX #19241 Project - Fix display salary in overview 2021-10-30 21:17:15 +02:00
Laurent Destailleur
0017c15974 Debug v15 2021-10-30 17:19:46 +02:00
John BOTELLA
cdf1538ffa fix save using template 2021-10-30 16:36:51 +02:00
Laurent Destailleur
47c131af74 Fix regression 2021-10-30 14:10:55 +02:00
John BOTELLA
5179f2c90b Add demo data 2021-10-30 13:03:23 +02:00
John BOTELLA
41beffccde Merge branch 'new_setup_form_help_class' of github.com:atm-john/dolibarr into new_setup_form_help_class 2021-10-30 12:55:26 +02:00
John BOTELLA
3a86221290 add more customisation 2021-10-30 12:54:13 +02:00
Philippe GRAND
5f09f11a67 fixes to be pure markdown 2021-10-30 12:25:40 +02:00
Philippe GRAND
466f064d9a fixes to be pure markdown 2021-10-30 12:08:32 +02:00
Regis Houssin
09621af54e FIX $totalarray is overwritten, totals were lost 2021-10-29 22:49:29 +02:00
Laurent Destailleur
be6b1e29ad Add logs 2021-10-29 13:32:32 +02:00
Ferran Marcet
9f23528ccd Fix: Import don't work if extrafield is separator 2021-10-29 12:39:22 +02:00
Ferran Marcet
1336d3e791 Fix: Import don't work if extrafield is separator 2021-10-29 12:25:50 +02:00
Laurent Destailleur
72069dc208 Fix css 2021-10-29 11:35:09 +02:00
Regis Houssin
0cb6c7296a FIX look and feel 2021-10-29 11:19:38 +02:00
Laurent Destailleur
fe7e1d4118 Look and feel v15 2021-10-29 09:40:38 +02:00
Regis Houssin
8df90a1f54 FIX missing service access right 2021-10-29 08:28:41 +02:00
Ярослав
9b2a6cc2e7 Requisites
Details of individuals and legal entities for Ukraine
2021-10-29 09:20:52 +03:00
Alexandre SPANGARO
da52742421 FIX Accountancy - Product admin - SQL error when we affect accounting account with product_perentity activated 2021-10-29 05:47:29 +02:00
Frédéric FRANCE
787cef4440 fix warnings 2021-10-28 20:34:05 +02:00
Florian HENRY
9d15a7a18c fix: warning on delete wupplier order 2021-10-28 17:37:30 +02:00
ksar
2b13c05d13 FIX #19214 2021-10-28 15:54:38 +02:00
stickler-ci
134e5cb5e6 Fixing style errors. 2021-10-28 13:52:29 +00:00
Regis Houssin
390d5eccaf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into fix_see_ldap_connected_server 2021-10-28 15:47:31 +02:00
Regis Houssin
36febed123 FIX syntax error 2021-10-28 15:46:52 +02:00
Regis Houssin
f497492e62 FIX compatibility with php8 2021-10-28 15:40:05 +02:00
Marc de Lima Lucio
eb8d7f92c3 FIX: invoice: inpossible to create an invoice because of very bad check + warnings when trying to print tabs for invoice with no ID 2021-10-28 15:26:40 +02:00
Laurent Destailleur
5baba69970 Fix regressions 2021-10-28 15:05:50 +02:00
Laurent Destailleur
ffc07efb64 Look and feel v15 2021-10-28 14:28:24 +02:00
Administrator
2a9cd21b71 FIX: Travis Sanitize SQL 2021-10-28 14:14:25 +02:00
Regis Houssin
ae6d16c830 FIX mhash function is deprecated since php 8.1.0 2021-10-28 13:36:53 +02:00
Administrator
44eedb8c6e FIX: Replenish: SQL error when no warehouse has been created + Warning when there are no warehouses 2021-10-28 12:58:14 +02:00
Regis Houssin
72484961ab FIX show connected server if we have a primary and secondary ldap server 2021-10-28 12:13:28 +02:00
Laurent Destailleur
82a35f82b4 CSS 2021-10-28 11:33:22 +02:00
Laurent Destailleur
d1794d7948 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/modules/modAdherent.class.php
2021-10-28 11:05:38 +02:00
Christian Foellmann
966b3ab85f use ref prefix for file uploads 2021-10-28 11:05:01 +02:00
Christian Foellmann
449e1821fc cleanup html and comment 2021-10-28 11:04:43 +02:00
Laurent Destailleur
f033e91cb0 phpcs 2021-10-28 11:03:27 +02:00
Christian Foellmann
d93cf696e8 use FKEditor only if activated 2021-10-28 11:00:51 +02:00
Christian Foellmann
156f1e7e2a fix holiday page titles 2021-10-28 11:00:12 +02:00
Laurent Destailleur
41bba0e879 Fix import of members 2021-10-28 00:12:41 +02:00
andreubisquerra
9cd6e7ac75 Fix travis 2021-10-27 17:44:07 +02:00
andreubisquerra
b81d826f88 Fix travis 2021-10-27 17:00:46 +02:00
Laurent Destailleur
97d97af932 Clean: Remove fields for social networks (merged into "socialnetworks") 2021-10-27 16:39:34 +02:00
andreubisquerra
fddff4d1ca TakePOS hooks improvements 2021-10-27 15:59:27 +02:00
Laurent Destailleur
5df25fece7 Trans and log 2021-10-27 11:15:26 +02:00
Administrator
c998abe54e FIX: resource list : Use standard code to handle list filters 2021-10-27 11:09:00 +02:00
Frédéric FRANCE
dc15d09f12 remove duplicate code 2021-10-27 09:37:22 +02:00
Alexandre SPANGARO
9bfd5c4f41 Merge branch '14.0' into 14p23 2021-10-27 09:36:22 +02:00
Florian HENRY
46119c99a2 fix: warning dol_print_date setTimeStamp when time empty 2021-10-27 09:23:54 +02:00
Laurent Destailleur
4bde20dd8d Can make update during import of members 2021-10-27 09:23:03 +02:00
Laurent Destailleur
f12c709ec1 Fix checkbox 2021-10-27 03:09:12 +02:00
Laurent Destailleur
e85548d470 Fix look and feel v14 2021-10-27 03:06:50 +02:00
Laurent Destailleur
637e8f44e6 Fix phpcs 2021-10-27 00:05:40 +02:00
Laurent Destailleur
19734c89d6 Fix css 2021-10-26 22:09:07 +02:00
Laurent Destailleur
4e844b4687 Fix phpcs 2021-10-26 20:45:00 +02:00
Frédéric FRANCE
42cd2ce868 Update list.php 2021-10-26 18:46:51 +02:00
Florian HENRY
96f08082a2 fix: getFilterSelectQuery get correct table 2021-10-26 18:25:49 +02:00
stickler-ci
6fd08bc5ef Fixing style errors. 2021-10-26 14:56:56 +00:00
atm-greg
406089ef0c FIX restrictedArea for payment delete 2021-10-26 16:47:16 +02:00
fr69400
761ec7b790 Update functions.lib.php 2021-10-26 16:45:40 +02:00
Laurent Destailleur
7cd09eb649 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/core/modules/mailings/modules_mailings.php
2021-10-26 16:34:25 +02:00
fr69400
e4b3dda7f0 Update functions.lib.php
FIX : Duplicate entry in array
FIX : Unasigned variable
FIX : Type mismatch
FIX : Wrong variable
2021-10-26 15:27:12 +02:00
Laurent Destailleur
7393abea8f Fix phpcs 2021-10-26 14:42:26 +02:00
Laurent Destailleur
2436f0967b Fix translation of Nature of member in import. 2021-10-26 14:37:15 +02:00
Laurent Destailleur
fcdfd370ba Fix css 2021-10-26 14:31:55 +02:00
Florian HENRY
89ba133c61 fix: categorie display if none 2021-10-26 14:11:51 +02:00
Laurent Destailleur
e9ba9fc103 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/contact/list.php
	htdocs/core/modules/mailings/modules_mailings.php
2021-10-26 13:52:00 +02:00
Laurent Destailleur
f592318cba Merge pdf 2021-10-26 13:51:43 +02:00
Laurent Destailleur
da2ce063b3 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/contact/card.php
	htdocs/contact/list.php
	htdocs/core/modules/mailings/modules_mailings.php
	htdocs/product/card.php
	htdocs/public/emailing/mailing-unsubscribe.php
2021-10-26 13:42:30 +02:00
Laurent Destailleur
fde44f2792 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/contact/list.php
	htdocs/core/modules/mailings/modules_mailings.php
2021-10-26 13:29:47 +02:00
Laurent Destailleur
181991ee47 Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2021-10-26 13:10:23 +02:00
Laurent Destailleur
d82cbf6636 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-10-26 13:09:15 +02:00
Laurent Destailleur
e87e354bd5 Fix: can't reset country of origin 2021-10-26 13:08:22 +02:00
Quentin-Seekness
0c915dc052 FIX: Can't create new attendee
Field date_subscription is mandatory when creating a new attendee.
2021-10-26 09:54:08 +02:00
Alexandre SPANGARO
a129e91198 Merge branch '14.0' into 14p23 2021-10-26 06:23:31 +02:00
Laurent Destailleur
e5a8e41cd9 Trans 2021-10-26 02:00:11 +02:00
Laurent Destailleur
299376f221 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-26 01:32:37 +02:00
Laurent Destailleur
c376d40346 css 2021-10-26 01:30:00 +02:00
Laurent Destailleur
93e11e07b4 Merge pull request #19207 from Dolibarr/scrutinizer-patch-4
Scrutinizer Auto-Fixes
2021-10-25 23:35:19 +02:00
Laurent Destailleur
5db80efcec css 2021-10-25 22:39:19 +02:00
Laurent Destailleur
cffee1df4b Fix phpcs 2021-10-25 22:09:21 +02:00
stickler-ci
02b2ed3f05 Fixing style errors. 2021-10-25 20:08:01 +00:00
Laurent Destailleur
64ca5365e7 Fix sql 2021-10-25 22:07:36 +02:00
Scrutinizer Auto-Fixer
5567310e44 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-10-25 20:07:31 +00:00
Frédéric FRANCE
5469d49102 fix warning 2021-10-25 22:04:19 +02:00
Frédéric FRANCE
e3f4c70aea Update list.php 2021-10-25 22:01:36 +02:00
Frédéric FRANCE
7638a2a8a0 fix warnings 2021-10-25 22:00:45 +02:00
Florian HENRY
9a2e1df94a fix scrutinizer error 2021-10-25 21:54:56 +02:00
Florian HENRY
cfd88cb6e5 fix scrutinizer error 2021-10-25 21:50:27 +02:00
Laurent Destailleur
02f8ac4cbc Fix error phpunit 2021-10-25 21:49:25 +02:00
Florian HENRY
fddcaf6945 Merge branch 'develop' of github.com:Dolibarr/dolibarr into fix_introduced_scrutinizer 2021-10-25 21:45:08 +02:00
Florian HENRY
8803fe64dc fix scrutinizer 2021-10-25 21:45:00 +02:00
Frédéric FRANCE
5694c88b70 fix rights and warnings 2021-10-25 21:33:59 +02:00
Laurent Destailleur
f64cd9d859 Fix bookmarks page 2021-10-25 21:28:52 +02:00
Frédéric FRANCE
1683f46d9b backport fix 2021-10-25 21:21:48 +02:00
Frédéric FRANCE
8c08786182 Update list.php 2021-10-25 20:51:56 +02:00
Frédéric FRANCE
c4fbf7c422 fix warning 2021-10-25 20:48:45 +02:00
Frédéric FRANCE
02564df769 fix warning 2021-10-25 20:34:19 +02:00
Laurent Destailleur
20c874d441 Fix escape sql params. 2021-10-25 18:48:44 +02:00
Laurent Destailleur
dc1226b116 Fix #yogosha7508 2021-10-25 18:40:19 +02:00
Laurent Destailleur
1aa59a8b73 Fix avoid duplicate fetch_optionnal when updating contract lines 2021-10-25 18:28:04 +02:00
Laurent Destailleur
4869f2ea2d css 2021-10-25 17:58:55 +02:00
Laurent Destailleur
d96de15788 Comment 2021-10-25 17:12:06 +02:00
Florian HENRY
52a4f4869d Merge branch 'develop' of github.com:Dolibarr/dolibarr into fix_php8 2021-10-25 16:54:30 +02:00
Laurent Destailleur
02632e9e88 Fix need write permission on object to link/remove resource 2021-10-25 16:32:37 +02:00
Laurent Destailleur
28926ab174 Fix permission on page to set resource of an object 2021-10-25 16:25:32 +02:00
Laurent Destailleur
7533d4495d Fix bug huntr.dev 2021-10-25 15:39:02 +02:00
Laurent Destailleur
ad2e567571 Fix bug huntr.dev 2021-10-25 15:32:10 +02:00
Gauthier PC portable 024
1e45b9b1cd FIX : We need a default price base type in variant creation case with multiprices when parent has been created with only one level price 2021-10-25 15:25:58 +02:00
Laurent Destailleur
d916fe121a css 2021-10-25 13:57:02 +02:00
Laurent Destailleur
15c80327b1 data-key for extrafielsds has prefix of element 2021-10-25 13:29:08 +02:00
Laurent Destailleur
f5562177e7 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-25 13:06:33 +02:00
Laurent Destailleur
678e23b13a Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-25 13:05:22 +02:00
Laurent Destailleur
664fd13428 Clean CSS 2021-10-25 13:04:52 +02:00
Laurent Destailleur
1106198c05 css 2021-10-25 12:34:12 +02:00
Laurent Destailleur
940c69b46d Clean code 2021-10-25 12:09:17 +02:00
Laurent Destailleur
98f4f0b1c9 Merge 2021-10-25 11:52:24 +02:00
atm-florian
28c5b105ba FIX: remove two lines of javascript referring to DOM elements that no longer exist in Dolibarr (form#move_event) 2021-10-25 11:20:28 +02:00
MOREAU FRANCK
3236d04ca4 card Modif 2021-10-25 09:44:21 +02:00
MOREAU FRANCK
74ec7c68a2 card Modif 2021-10-25 09:37:51 +02:00
MOREAU FRANCK
bba6daf984 class Modif 2021-10-25 09:37:10 +02:00
MOREAU FRANCK
595760e97d Lib Modif 2021-10-25 09:36:12 +02:00
Florian HENRY
b282673f61 fix php8 warning 2021-10-25 09:01:05 +02:00
Frédéric FRANCE
03a8c5f0cb Update commonfields_edit.tpl.php 2021-10-24 19:21:58 +02:00
ptibogxiv
b322ae383b Update invoice.php 2021-10-24 19:21:51 +02:00
Frédéric FRANCE
72a665b901 fix warning 2021-10-24 19:19:32 +02:00
ptibogxiv
68979578d9 Update invoice.php 2021-10-24 17:56:41 +02:00
ptibogxiv
10d35ee4aa Fix excluded member display in takepos 2021-10-24 17:40:44 +02:00
Frédéric FRANCE
b1555bc4fc fix set categories for bank line 2021-10-24 17:06:37 +02:00
Frédéric FRANCE
71541fa299 fix warnings in bankentrie list 2021-10-24 16:52:02 +02:00
Frédéric FRANCE
f6cd0818b3 fix warnings in bankentrie list 2021-10-24 16:47:01 +02:00
Frédéric FRANCE
de312cf8b4 Update bankentries_list.php 2021-10-24 16:39:57 +02:00
Laurent Destailleur
b8250be237 css for toolitp 2021-10-24 16:35:42 +02:00
Frédéric FRANCE
c21593a5ab fix search 2021-10-24 16:28:18 +02:00
Frédéric FRANCE
ead9b396c6 fix warning 2021-10-24 16:02:59 +02:00
Frédéric FRANCE
677ac4635d fix warnings in propal list 2021-10-24 14:34:47 +02:00
Frédéric FRANCE
db44f4082b fix warnings in task list 2021-10-24 14:26:43 +02:00
Frédéric FRANCE
8cd4b0bc83 fix warnings in task list 2021-10-24 14:25:05 +02:00
Laurent Destailleur
4ab759b067 Fix check/uncheck of ping 2021-10-24 14:23:35 +02:00
Frédéric FRANCE
8db7989aa7 fix warnings in commande list 2021-10-24 14:18:43 +02:00
Frédéric FRANCE
5f198c78a9 fix warnings in task list 2021-10-24 14:08:44 +02:00
Laurent Destailleur
ad3297b0ef Use of MAIN_FIRST_PING_OK_ID = 'disabled' works when forcing reinstall. 2021-10-24 14:01:38 +02:00
Frédéric FRANCE
5ef5075f8f fix warnings in task list 2021-10-24 14:00:05 +02:00
Frédéric FRANCE
3765a89283 fix warnings in task list 2021-10-24 13:57:04 +02:00
Frédéric FRANCE
ede0c60e2e fix not defined 2021-10-24 13:50:22 +02:00
Laurent Destailleur
50df842417 Doc 2021-10-24 13:18:06 +02:00
Laurent Destailleur
55d30884b8 Remove strange code 2021-10-24 13:15:01 +02:00
Laurent Destailleur
d3f630e4b5 Merge branch '14.0' of github.com:Dolibarr/dolibarr into 14.0 2021-10-24 13:06:41 +02:00
Laurent Destailleur
dc32350ee7 Code comment 2021-10-24 13:02:45 +02:00
Laurent Destailleur
8076357f93 Merge pull request #17185 from bb2a/formconfirm_notification
[NEW]  Add option for notification in message form
2021-10-24 13:00:39 +02:00
Laurent Destailleur
9cd59bf2c4 Merge pull request #18508 from henrynopo/patch-3
NEW Additional reason for Customer's partial payment - bank fees
2021-10-24 12:54:19 +02:00
Laurent Destailleur
4fe3d1a028 Merge pull request #19172 from frederic34/fixwarningsconf
fix warnings
2021-10-24 12:41:15 +02:00
Laurent Destailleur
58b2365f8a Merge pull request #19176 from atm-maxime/fix_ecm_autotree
Fix #8716 : tasks were not shown in ecm auto tree
2021-10-24 12:35:43 +02:00
Laurent Destailleur
a26539c3e4 Merge pull request #19173 from frederic34/patch-1
Fix Undefined array key
2021-10-24 12:33:44 +02:00
Laurent Destailleur
dcb433756d Merge pull request #19174 from frederic34/fixticketlist
fix warnings in ticket list
2021-10-24 12:31:57 +02:00
Laurent Destailleur
c1994c97a5 Merge pull request #19175 from frederic34/patch-4
fix warning
2021-10-24 12:31:21 +02:00
Maxime Kohlhaas
6abd4cc120 Fix #8716 : tasks were not shown in ecm auto tree 2021-10-24 11:38:45 +02:00
Frédéric FRANCE
a718ec4a74 Update document.php 2021-10-24 10:44:50 +02:00
Frédéric FRANCE
7b62f5a4e4 fix warning 2021-10-24 10:42:24 +02:00
Frédéric FRANCE
cc374e9eb1 fix warnings in ticket list 2021-10-24 10:02:12 +02:00
Frédéric FRANCE
d240a9f774 fix warnings in ticket list 2021-10-24 09:59:30 +02:00
Frédéric FRANCE
13f04053a1 fix warnings in ticket list 2021-10-24 09:48:30 +02:00
Frédéric FRANCE
6b3916a7b3 fix warnings in ticket list 2021-10-24 09:46:58 +02:00
Frédéric FRANCE
6d2cedb439 Fix Undefined array key
Fix Undefined array key 1 in htdocs/core/lib/project.lib.php on line 314
2021-10-24 09:33:54 +02:00
Frédéric FRANCE
3fae8d1756 fix warnings 2021-10-24 09:25:35 +02:00
stickler-ci
61576dad53 Fixing style errors. 2021-10-24 00:17:18 +00:00
John BOTELLA
fdcb9674d8 Remove prints 2021-10-24 02:09:49 +02:00
John BOTELLA
aaa7fd5b3a Merge branch 'develop' of github.com:Dolibarr/dolibarr into new_setup_form_help_class 2021-10-24 01:38:42 +02:00
John BOTELLA
d3d3a87ce9 Add new class to help setup generation 2021-10-24 01:38:13 +02:00
Laurent Destailleur
664eafd810 Merge pull request #19168 from atm-maxime/fix_massmovments
Fix #18916 : mass stock movements not displayed if error while adding line
2021-10-24 00:44:39 +02:00
Laurent Destailleur
66a732c005 Merge pull request #19167 from atm-maxime/fix_currency_sync
Fix #18922 : multicurrency sync in http with good currencylayer url
2021-10-24 00:44:19 +02:00
Laurent Destailleur
c8bcd01a10 Merge pull request #19162 from atm-maxime/fix_no_mail_in_now_unsubscribe
Fix #18961 : no_email field has been replaced by mailing_unsubscribe table
2021-10-24 00:42:48 +02:00
Laurent Destailleur
5d6ba8a2d5 Merge pull request #19157 from frederic34/patch-4
replace deprecated
2021-10-24 00:38:15 +02:00
Laurent Destailleur
f2cd7a7a56 Removed the div class="ficheaddleft" 2021-10-24 00:37:37 +02:00
Maxime Kohlhaas
0a2c950401 Fix #18916 : mass stock movements not displayed if error while adding line 2021-10-24 00:31:57 +02:00
Florian
763cb29c0c Check that the value is not an array 2021-10-24 00:26:28 +02:00
Maxime Kohlhaas
983e28691b Use a subselect instead of a join 2021-10-24 00:02:55 +02:00
Laurent Destailleur
6ad9eb8ef1 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/product/class/api_products.class.php
	htdocs/recruitment/recruitmentcandidature_list.php
	htdocs/recruitment/recruitmentjobposition_list.php
2021-10-24 00:02:15 +02:00
Laurent Destailleur
4ab59eebf3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-23 23:58:27 +02:00
Laurent Destailleur
fc29aa7d3b Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-23 23:58:00 +02:00
Laurent Destailleur
1750e385a9 Merge pull request #19164 from tiaris/14.0_bug18934
FIX #18934 on-registration in the extrafieldsline database for deliveries
2021-10-23 23:57:23 +02:00
Laurent Destailleur
86ff951254 Fix ?: 2021-10-23 23:43:43 +02:00
Maxime Kohlhaas
77c716565e Fix #18922 : multicurrency sync in http with good currencylayer url 2021-10-23 23:42:06 +02:00
Jesús Jerez
fc307fb685 Merge branch 'develop' into canceled_orders 2021-10-23 23:24:47 +02:00
Laurent Destailleur
dd0fe2ee06 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-23 23:13:19 +02:00
Lucas Marcouiller
051f6ca717 Fix: php 8.0 warning commercial part 2021-10-23 23:12:42 +02:00
Polkiko
a58f713f6d NEW Canceled purchase orders do not qualify for total in project overview (and are hidden)
If purchase order has been canceled then it does not qualify for total amount and is not shown in table. It can be seen by clicking on the "show/hide" button.
2021-10-23 23:12:23 +02:00
Laurent Destailleur
f1f00be99c Merge pull request #19160 from frederic34/comptacashcontrol
fix warnings
2021-10-23 22:45:55 +02:00
Laurent Destailleur
321cfb3811 Update cashcontrol_list.php 2021-10-23 22:44:37 +02:00
Laurent Destailleur
e12d9ee979 Merge pull request #19156 from frederic34/defaultvaluegetglobal
can specify default in getDolGlobalString and getDolGlobalInt
2021-10-23 22:42:40 +02:00
Laurent Destailleur
dc1e57e267 Merge pull request #19155 from frederic34/patch-1
fix warnings
2021-10-23 22:41:05 +02:00
Frédéric FRANCE
993226000a Update viewcat.php 2021-10-23 22:39:27 +02:00
Laurent Destailleur
5078e3d863 Merge pull request #19161 from Dolibarr/scrutinizer-patch-3
Scrutinizer Auto-Fixes
2021-10-23 22:38:15 +02:00
Laurent Destailleur
f5cea6d312 Merge pull request #19154 from Hystepik/develop#3
Fix :  fix php 8.0 warnings
2021-10-23 22:37:50 +02:00
stickler-ci
53e9da4748 Fixing style errors. 2021-10-23 20:37:07 +00:00
Laurent Destailleur
06c1d79c05 Update html.form.class.php 2021-10-23 22:36:55 +02:00
Lucas Marcouiller
58b28d3d7d Fix: fix php 8.0 warnings project 2021-10-23 22:32:03 +02:00
Maxime Kohlhaas
29950a6afa Replace != by <> in SQL requests 2021-10-23 22:27:29 +02:00
Maxime Kohlhaas
00b617d17f Fix #18961 : no_email field has been replaced by mailing_unsubscribe table 2021-10-23 22:22:45 +02:00
Scrutinizer Auto-Fixer
f7a41f1848 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-10-23 20:22:10 +00:00
Jean
b027db49b5 FIX #18934
Non-registration in the extrafieldsline database for deliveries
2021-10-23 22:21:50 +02:00
Frédéric FRANCE
b9075660af fix warnings 2021-10-23 22:15:23 +02:00
Laurent Destailleur
a503a4dcc6 Fix scrutinizer 2021-10-23 22:12:57 +02:00
Laurent Destailleur
695078c77e Merge pull request #19158 from frederic34/patch-5
fix warning remove unused
2021-10-23 22:05:53 +02:00
Laurent Destailleur
47441b40b2 Merge pull request #19159 from frederic34/patch-7
security page doesnt detect xdebug
2021-10-23 22:05:22 +02:00
Frédéric FRANCE
6d9ee78704 security page doesnt detect xdebug 2021-10-23 21:53:04 +02:00
Frédéric FRANCE
cb66b71017 Update journals_list.php 2021-10-23 21:39:07 +02:00
Frédéric FRANCE
1639eae92e fix warning remove unused 2021-10-23 21:37:17 +02:00
Frédéric FRANCE
3a7ae07896 replace deprecated 2021-10-23 21:21:16 +02:00
Frédéric FRANCE
29371487a0 fix warning 2021-10-23 21:14:32 +02:00
Frédéric FRANCE
635cb34606 fix warning 2021-10-23 21:10:43 +02:00
Frédéric FRANCE
08e5b55d16 can specify default in getDolGlobalString and getDolGlobalInt 2021-10-23 21:06:37 +02:00
Frédéric FRANCE
cdba9909be fix warnings 2021-10-23 20:53:46 +02:00
Laurent Destailleur
bc353c19a9 Update card.php 2021-10-23 19:22:41 +02:00
Lucas Marcouiller
aec5e41656 Fix : fix php 8.0 warnings 2021-10-23 19:09:23 +02:00
Laurent Destailleur
fc4c6d2b03 FIX #14249 FIX #19150 2021-10-23 19:08:00 +02:00
Laurent Destailleur
25a2f3f15f css 2021-10-23 18:55:07 +02:00
Laurent Destailleur
ce4fe3f400 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-23 18:33:47 +02:00
Laurent Destailleur
7f19682724 Merge pull request #18503 from atm-adrien/NEW_develop_sub_BOM
NEW : Sub bill of materials
2021-10-23 18:26:46 +02:00
Laurent Destailleur
02aae5144d Merge pull request #19151 from andreubisquerra/develop
BUG Supplements is not showed from TakePOS
2021-10-23 18:24:56 +02:00
Laurent Destailleur
27638e46f6 Merge pull request #19152 from andreubisquerra/develop
Close cash with some terminals in TakePOS
2021-10-23 18:24:39 +02:00
andreubisquerra
6b45d68f83 Close cash with some terminals in TakePOS 2021-10-23 17:51:07 +02:00
Laurent Destailleur
3d82b78c88 Merge pull request #19144 from atm-john/fix_dom
FIX :  dom declaration
2021-10-23 17:31:39 +02:00
Laurent Destailleur
6832893cb8 Merge pull request #19143 from andreubisquerra/develop
TakePOS Split Sale fixes and improvements
2021-10-23 17:25:53 +02:00
Laurent Destailleur
5caa9ad4c7 Merge pull request #19146 from Hystepik/develop#3
Fix : PHP 8.0 warnings
2021-10-23 17:24:58 +02:00
Laurent Destailleur
8d069cf657 Merge pull request #19148 from homer8173/patch-27
FIX #18893 : source was overwrited by mistake
2021-10-23 17:24:23 +02:00
Laurent Destailleur
9a971d014f Merge pull request #19149 from homer8173/patch-28
FIX #18835 : addition of number + unsure string
2021-10-23 17:24:03 +02:00
Laurent Destailleur
757d841f15 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-23 17:20:00 +02:00
Laurent Destailleur
8604f9b153 Clean DOM (remove ficheaddleft div) 2021-10-23 17:18:35 +02:00
andreubisquerra
5fe516770e Supplements BUG 2021-10-23 16:59:25 +02:00
Norbert Penel
e2ff96a096 FIX #18835 : addition of number + unsure string
risky, may produce a warning
2021-10-23 16:47:10 +02:00
Norbert Penel
64e58e305f FIX #18893 : source was overwrited by mistake 2021-10-23 16:32:16 +02:00
Lucas Marcouiller
385d2c8d72 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#3 2021-10-23 16:13:42 +02:00
Lucas Marcouiller
b3e9aeef7a Fix : PHP 8.0 warnings 2021-10-23 16:12:44 +02:00
Laurent Destailleur
10813eadad Merge pull request #19139 from grandoc/new_branch_23_10_2021
fix scrutinizer : The property datef does not exist on Facture
2021-10-23 16:11:00 +02:00
Laurent Destailleur
07350e263f Merge pull request #19142 from homer8173/patch-25
FIX #18932 : search in htdocs/product/reassortlot.php
2021-10-23 16:10:11 +02:00
Laurent Destailleur
e3a2fe3211 Merge pull request #19140 from Hystepik/develop#4
Fix : PHP 8.0 errors
2021-10-23 16:09:13 +02:00
Laurent Destailleur
35b862dd1b Merge pull request #19145 from homer8173/patch-26
FIX #18914
2021-10-23 16:07:56 +02:00
andreubisquerra
85cc5851ef BUG When load a draft invoice from history I can't add products 2021-10-23 16:07:47 +02:00
Norbert Penel
750eec1936 FIX #18914 2021-10-23 16:03:20 +02:00
Philippe GRAND
9bef4d73cb Fix scrutinizer : The property other does not seem to exist on AdherentType. 2021-10-23 15:32:16 +02:00
John BOTELLA
4831128836 Fix dom declaration 2021-10-23 15:01:28 +02:00
Laurent Destailleur
06bc357409 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-23 14:49:50 +02:00
Laurent Destailleur
3f60cbbedc Remove the div class="ficheaddleft" 2021-10-23 14:49:35 +02:00
Lucas Marcouiller
ae78bed41d call to ajax file 2021-10-23 14:36:31 +02:00
Norbert Penel
fc1763c9e9 FIX search in htdocs/product/reassortlot.php
FIX https://github.com/Dolibarr/dolibarr/issues/18932
2021-10-23 14:14:30 +02:00
Laurent Destailleur
404a889910 Fix migration 2021-10-23 12:10:12 +02:00
andreubisquerra
a95a99afef TakePOS Split Sale fixes and improvements 2021-10-23 11:59:40 +02:00
Lucas Marcouiller
bc4373a5de Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#4 2021-10-23 11:47:06 +02:00
Philippe GRAND
ce75806728 fix scrutinizer : The property datef does not exist on Facture 2021-10-23 11:46:54 +02:00
Lucas Marcouiller
3a9ce1476d fix error 2021-10-23 11:45:27 +02:00
Lucas Marcouiller
6ccd8ce83a Fix : PHP errors 8.0 2021-10-23 11:45:06 +02:00
Laurent Destailleur
c75db78cea Merge pull request #19125 from atm-maxime/fix_recuitment_list_sql_error
Fix #19083 : wrong field list in sql request
2021-10-23 11:38:51 +02:00
Laurent Destailleur
f5aebbf6b8 Merge pull request #19127 from frederic34/usermyactions
fix warnings
2021-10-23 11:38:18 +02:00
Laurent Destailleur
6ec19bca9d Merge pull request #19128 from frederic34/warnfixes
fix warnings
2021-10-23 11:38:03 +02:00
Laurent Destailleur
df1d8b02c7 Merge pull request #19129 from frederic34/patch-4
fix warnings
2021-10-23 11:37:52 +02:00
Laurent Destailleur
46724f5edc Merge pull request #19130 from frederic34/patch-5
fix warnings
2021-10-23 11:37:40 +02:00
Laurent Destailleur
7faf6c4571 Merge pull request #19131 from frederic34/patch-7
fix permission
2021-10-23 11:36:52 +02:00
Laurent Destailleur
61dba2ecf8 Merge pull request #19132 from frederic34/patch-8
clean code
2021-10-23 11:36:08 +02:00
Laurent Destailleur
b70f52a615 Merge pull request #19126 from atm-maxime/fix_product_api_subproducts
Fix #19070 : Api subproducts was returning false
2021-10-23 11:35:29 +02:00
Laurent Destailleur
840436f404 Merge pull request #19136 from nicolas-eoxia/fix_creation_after_redirection_contact
fix: redirection after creation contact #19111
2021-10-23 11:23:40 +02:00
Laurent Destailleur
a9bba23ef5 Merge pull request #19138 from Hystepik/scrutinizerfix
Fix : scrutinizer errors
2021-10-23 11:23:13 +02:00
Laurent Destailleur
b4d241a12b Merge pull request #19135 from hregis/fix_wrong_position_of_error_message
FIX wrong position of error message
2021-10-23 11:22:39 +02:00
Laurent Destailleur
7b496add01 Merge pull request #19137 from Hystepik/develop#3
Fix: PHP 8.0 Warnings
2021-10-23 11:22:04 +02:00
Laurent Destailleur
98f1637e0f Merge pull request #19116 from evarisk-theo/fix-link-object-to-categories
Fix link object to categories
2021-10-23 11:21:41 +02:00
Lucas Marcouiller
d1ec71197a Fix : scrutinizer errors 2021-10-23 11:10:58 +02:00
Hystepik
67711bdea9 Merge branch 'develop' into develop#3 2021-10-23 10:59:36 +02:00
Lucas Marcouiller
0270d1c1b7 fix syntax 2021-10-23 10:57:21 +02:00
Lucas Marcouiller
953a56b08c Fix: PHP 8.0 Warnings 2021-10-23 10:57:03 +02:00
Nicolas Domenech
9d927973a7 fix: redirection after creation contact 2021-10-23 10:32:50 +02:00
Regis Houssin
452a8cfe18 FIX wrong position of error message 2021-10-23 10:27:24 +02:00
Frédéric FRANCE
46cfa7537e Update job_agenda.php 2021-10-23 08:51:15 +02:00
Frédéric FRANCE
f76a6c0241 Update job_card.php 2021-10-23 08:50:41 +02:00
Frédéric FRANCE
2a6e6edc5d Update job_contact.php 2021-10-23 08:50:07 +02:00
Frédéric FRANCE
fe78912aee Update job_document.php 2021-10-23 08:49:46 +02:00
Frédéric FRANCE
b1a6094cc1 Update job_list.php 2021-10-23 08:49:16 +02:00
Frédéric FRANCE
a54fccf933 Update job_note.php 2021-10-23 08:48:53 +02:00
Frédéric FRANCE
72418ffbce Update position_agenda.php 2021-10-23 08:48:26 +02:00
Frédéric FRANCE
8c28751d03 Update position_card.php 2021-10-23 08:47:53 +02:00
Frédéric FRANCE
c37a500749 Update position_contact.php 2021-10-23 08:47:22 +02:00
Frédéric FRANCE
a7704d858e Update position_document.php 2021-10-23 08:46:57 +02:00
Frédéric FRANCE
445473f1ca Update position_list.php 2021-10-23 08:46:27 +02:00
Frédéric FRANCE
d990b2dc38 Update position_note.php 2021-10-23 08:45:59 +02:00
Frédéric FRANCE
ad6d57502f Update skill_agenda.php 2021-10-23 08:45:29 +02:00
Frédéric FRANCE
c5d60f44e3 Update skill_card.php 2021-10-23 08:44:54 +02:00
Frédéric FRANCE
5f2269761c Update skill_contact.php 2021-10-23 08:44:27 +02:00
Frédéric FRANCE
3c8b135de1 Update skill_document.php 2021-10-23 08:43:59 +02:00
Frédéric FRANCE
cbead902df Update skill_list.php 2021-10-23 08:43:31 +02:00
Frédéric FRANCE
b1d948a0f3 Update skill_note.php 2021-10-23 08:43:07 +02:00
Frédéric FRANCE
fa516a1460 Update skill_tab.php 2021-10-23 08:42:42 +02:00
Frédéric FRANCE
1c32847c07 Update evaluation_agenda.php 2021-10-23 08:40:29 +02:00
Frédéric FRANCE
7792a69d8b Update evaluation_card.php 2021-10-23 08:40:02 +02:00
Frédéric FRANCE
cf4954e1c5 Update evaluation_contact.php 2021-10-23 08:39:37 +02:00
Frédéric FRANCE
a81da58639 Update evaluation_document.php 2021-10-23 08:39:10 +02:00
Frédéric FRANCE
8dd237b964 Update evaluation_list.php 2021-10-23 08:38:27 +02:00
Frédéric FRANCE
c19ea8b220 clean code 2021-10-23 08:37:07 +02:00
Frédéric FRANCE
a194737f1c fix permission 2021-10-23 07:58:35 +02:00
Frédéric FRANCE
4fa050bd1a Update salaries.php 2021-10-23 07:42:29 +02:00
Frédéric FRANCE
febb48d345 Update loan.php 2021-10-23 07:41:40 +02:00
Frédéric FRANCE
21aaed4a86 Update closure.php 2021-10-23 07:40:36 +02:00
Frédéric FRANCE
93e223bf84 fix warnings 2021-10-23 07:38:10 +02:00
Frédéric FRANCE
57bac4f5db fix warnings 2021-10-23 07:29:12 +02:00
Frédéric FRANCE
cad2cf9b6f fix warnings 2021-10-23 07:20:30 +02:00
Frédéric FRANCE
9bd31d2b85 fix warnings 2021-10-23 07:13:08 +02:00
Frédéric FRANCE
2d92e6006c fix warnings 2021-10-23 07:04:13 +02:00
Maxime Kohlhaas
604052d1a1 Fix #19070 : Api subproducts was returning false 2021-10-23 02:28:53 +02:00
Maxime Kohlhaas
5275d3cd48 Fix #19083 : wrong field list in sql request 2021-10-23 02:20:06 +02:00
Laurent Destailleur
ad2d411793 Merge pull request #19124 from atm-john/fix_numeric_value
FIX :  php 7.4 Warning for numeric value
2021-10-23 01:51:39 +02:00
John BOTELLA
55cdb8ac6f Fix numeric value 2021-10-23 01:00:24 +02:00
Florian HENRY
bb4eb2feea Merge branch 'develop' of github.com:Dolibarr/dolibarr into fix_php8 2021-10-22 23:38:44 +02:00
Florian HENRY
1f1e01aa88 fix php 8 warning 2021-10-22 23:38:35 +02:00
Laurent Destailleur
81f2a21954 Merge pull request #18942 from aspangaro/15a25
NEW Accountancy - rewrite bind accountancy code finding on purchase invoice
2021-10-22 22:56:24 +02:00
Laurent Destailleur
67f5ef913e Merge pull request #19037 from aspangaro/14p24
FIX Accountancy simplified - Salaries are not present in report
2021-10-22 22:54:23 +02:00
Laurent Destailleur
81882f8243 Merge pull request #19065 from javieralapps4up/develop
Access forbidden when the password of other users is changed
2021-10-22 22:52:55 +02:00
Laurent Destailleur
082150660f Merge pull request #19119 from frederic34/patch-4
fix warning 🚄 🏠
2021-10-22 22:49:48 +02:00
Laurent Destailleur
728a00560f Merge pull request #19122 from frederic34/patch-7
fix warnings
2021-10-22 22:48:53 +02:00
Laurent Destailleur
ea28256635 Merge pull request #19120 from frederic34/patch-5
fix warning
2021-10-22 22:47:57 +02:00
Laurent Destailleur
900d7512f2 Merge pull request #19121 from frederic34/fixrightswarning
fix multiple warnings
2021-10-22 22:47:28 +02:00
Frédéric FRANCE
6ec183cc3a fix warnings 2021-10-22 22:32:01 +02:00
Frédéric FRANCE
fafabe3be2 fix multiple warnings 2021-10-22 22:22:55 +02:00
Frédéric FRANCE
46c4f28478 fix multiple warnings 2021-10-22 22:15:59 +02:00
Frédéric FRANCE
e82a07085f Update subaccount.php 2021-10-22 22:08:38 +02:00
Frédéric FRANCE
e411e23082 Update card.php 2021-10-22 22:08:13 +02:00
Frédéric FRANCE
6e2f438830 Update accountmodel.php 2021-10-22 22:07:47 +02:00
Frédéric FRANCE
9ca8dfcef9 fix warning 2021-10-22 22:05:04 +02:00
Frédéric FRANCE
2780bb73c3 fix warning 2021-10-22 21:57:34 +02:00
Laurent Destailleur
d45052a6b7 Merge pull request #19101 from atm-kevin/FIX_Missing_Ticket_Property
FIX - Missing ticket's class property
2021-10-22 19:12:15 +02:00
Laurent Destailleur
4b83affa2c Merge pull request #19107 from evarisk-theo/fix-error-return-after-assigning-category
fix: error return when adding a category to an object
2021-10-22 19:11:20 +02:00
Laurent Destailleur
fc0c4295bd Merge pull request #19118 from atm-florianm/FIX_12.0_tcpdf_issue_315_roman_numeral_bomb_vulnerability
FIX tcpdf roman numeral rendering bomb, cf. tecnickom/TCPDF PR 315
2021-10-22 19:10:13 +02:00
Laurent Destailleur
91a4326462 Merge pull request #19098 from Hystepik/develop#5
Fix : knowledgerecord_card clone part
2021-10-22 19:03:44 +02:00
Laurent Destailleur
a90afd3180 Merge pull request #19106 from atm-lena/14.0_FIX_Issue_18711_HolidayValidateFiles
Validate Holiday : keep files
2021-10-22 19:03:15 +02:00
Laurent Destailleur
c2afd1be9d Merge pull request #19109 from nicolas-eoxia/fix_creating_folder_in_manual_GED_tree
fix: error sql creating folder in manual GED tree #19108
2021-10-22 18:59:56 +02:00
Laurent Destailleur
bf098330fe Merge pull request #19114 from nicolas-eoxia/fix_creation_new_member
fix: error on the creation of a new member #19112
2021-10-22 18:59:24 +02:00
Laurent Destailleur
ac661c67b3 Merge pull request #19104 from frederic34/patch-4
fix warning
2021-10-22 18:47:54 +02:00
Laurent Destailleur
370642213f Fix warning 2021-10-22 18:44:39 +02:00
atm-florian
17773f8414 FIX tcpdf vulnerability to roman numeral bomb, cf. tecnickom/TCPDF issue #315 2021-10-22 18:26:23 +02:00
stickler-ci
070a03724a Fixing style errors. 2021-10-22 15:46:16 +00:00
Florian HENRY
3d8a5d745a fix php 8 warning 2021-10-22 17:42:57 +02:00
Theo
03030685f6 add: quick link categories to account 2021-10-22 17:15:51 +02:00
Alexandre SPANGARO
40a23e4aa4 Update work, thanks Florian 2021-10-22 17:12:44 +02:00
Theo
f4a48e46ff add: quick link categories to user 2021-10-22 16:54:31 +02:00
Alexandre SPANGARO
0cbfdb4219 Merge remote-tracking branch 'upstream/develop' into 15a25 2021-10-22 16:49:47 +02:00
Theo
d5fc28f9b5 add: quick link categories to contacts 2021-10-22 16:46:55 +02:00
Lucas Marcouiller
56ff2412c1 start code to searchfrmbarcode 2021-10-22 16:39:42 +02:00
Laurent Destailleur
622304126e Fix phpcs 2021-10-22 16:35:23 +02:00
Nicolas Domenech
d7dd54549a fix: error on the creation of a new member 2021-10-22 16:34:51 +02:00
Theo
a36c966f15 add: quick link categories to adherent 2021-10-22 16:13:54 +02:00
Laurent Destailleur
ef0b527379 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-22 15:57:16 +02:00
Nicolas Domenech
9772168067 fix: error sql creating folder in manual GED tree 2021-10-22 15:57:03 +02:00
Laurent Destailleur
c81bf68578 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/dict.php
	htdocs/compta/cashcontrol/cashcontrol_list.php
	htdocs/fourn/class/fournisseur.facture.class.php
	htdocs/modulebuilder/index.php
	htdocs/modulebuilder/template/myobject_list.php
	htdocs/product/class/api_products.class.php
2021-10-22 15:56:44 +02:00
Theo
29f847c13a add: quick link categories to project 2021-10-22 15:48:39 +02:00
Laurent Destailleur
bede1116a8 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-22 15:42:32 +02:00
Laurent Destailleur
b5929fb7c4 Fix phpcs 2021-10-22 15:42:18 +02:00
Laurent Destailleur
d54423990d Merge pull request #19077 from polkiko/email_contentlines
FIX Content line substitution in email
2021-10-22 15:37:45 +02:00
Laurent Destailleur
808e9e030a Merge pull request #19094 from Hystepik/scrutinizerfix
Fix: scrutinizer errors + boxes activation
2021-10-22 15:37:17 +02:00
Laurent Destailleur
9ea60e5a1d Merge pull request #19102 from frederic34/patch-2
fix warning
2021-10-22 15:36:12 +02:00
Laurent Destailleur
fc03d2f106 Merge pull request #19103 from moreauftheobald/develop
Fix scrutinizer FHENRY
2021-10-22 15:35:47 +02:00
stickler-ci
87b4805bc0 Fixing style errors. 2021-10-22 13:35:30 +00:00
Theo
311522bf04 fix: error return when adding a category to an object 2021-10-22 15:33:57 +02:00
MOREAU FRANCK
6855d8e91a Fix scrutinizer FHENRY 2021-10-22 15:32:24 +02:00
Frédéric FRANCE
34b9890110 fix warning 2021-10-22 15:29:38 +02:00
Florian HENRY
87ac58efb6 fix php 8 2021-10-22 15:27:36 +02:00
atm-lena
fa21b27ced Validate Holiday : keep files 2021-10-22 15:27:16 +02:00
Frédéric FRANCE
cd52c3da75 fix warning 2021-10-22 15:27:09 +02:00
MOREAU FRANCK
101ec9b3fe Fix scrutinizer FHENRY 2021-10-22 15:25:19 +02:00
polkiko
fd64f8966b Fixed in-line substitution if there is no object 2021-10-22 15:19:11 +02:00
kevin
0a278416f4 Add missing ticket class property 2021-10-22 15:12:56 +02:00
Florian HENRY
5faf5e08b3 fix php8 warning 2021-10-22 15:09:34 +02:00
Florian HENRY
5d0f5439a0 fix php8 warning 2021-10-22 14:59:48 +02:00
Florian HENRY
b94d74f194 fix php8 warning 2021-10-22 14:58:09 +02:00
Lucas Marcouiller
daafe652b9 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#2 2021-10-22 14:39:18 +02:00
Lucas Marcouiller
db779c2175 Fix : knowledgerecord_card clone part 2021-10-22 14:34:40 +02:00
Laurent Destailleur
744fe688aa Merge pull request #19075 from lmag/FIXResponsive-list---classforhorizontalscrolloftabs
FIX : Listing responsive for ticket
2021-10-22 14:33:45 +02:00
Laurent Destailleur
58db2ca628 Merge pull request #19078 from frederic34/patch-1
fix display
2021-10-22 14:32:59 +02:00
Laurent Destailleur
a55497561f Merge pull request #19096 from Hystepik/develop#4
Fix : french labels of box_graph_new_vs_close
2021-10-22 14:31:39 +02:00
Lucas Marcouiller
f7923003e1 better fix for api_mos.class.php 2021-10-22 14:27:42 +02:00
Laurent Destailleur
6c9cddaa9c Merge pull request #19092 from rfranks-securenet/14.0
Fixed ref_ext missing from supplier invoice in REST API
2021-10-22 14:24:36 +02:00
Laurent Destailleur
c1b2778ffc Merge pull request #19093 from Hystepik/develop#3
Fix : Error on fetchAll on line
2021-10-22 14:23:05 +02:00
Lucas Marcouiller
1ecd0a2be7 Fix : french labels of box_graph_new_vs_close 2021-10-22 14:17:47 +02:00
Florian HENRY
3f211417c2 review 2021-10-22 12:19:16 +02:00
Lucas Marcouiller
75b1518611 Merge branch 'develop' of github.com:Dolibarr/dolibarr into scrutinizerfix 2021-10-22 12:02:33 +02:00
Lucas Marcouiller
33e4d750d7 Fix: scrutinizer errors + boxes activation 2021-10-22 12:01:46 +02:00
Laurent Destailleur
42dceeafd4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-22 11:58:17 +02:00
Laurent Destailleur
f354427b3c Fix warning 2021-10-22 11:58:00 +02:00
Lucas Marcouiller
b3f15167dc Fix : Error on fetchAll on line 2021-10-22 11:55:21 +02:00
Laurent Destailleur
0f6cafb719 Merge pull request #19088 from frederic34/fixdoubleextrafieldbug
fix more than one extrafield cause bug sql
2021-10-22 11:45:49 +02:00
rfranks-securenet
7ba8cad2aa Merge branch 'Dolibarr:14.0' into 14.0 2021-10-22 10:42:00 +01:00
Laurent Destailleur
52d3c2aa57 Merge pull request #19084 from dpriskorn/patch-12
api_supplier_invoices.class.php: Add 2 examples
2021-10-22 11:41:37 +02:00
Laurent Destailleur
8137612b61 Merge pull request #19080 from frederic34/patch-2
fix missing code comment
2021-10-22 11:40:46 +02:00
Laurent Destailleur
e4a757ff9e Merge pull request #19086 from FHenry/14_fix_various_warning
fix: fix various php warning
2021-10-22 11:39:48 +02:00
Richard Franks
98eb07d6f2 FIX #18695 Added ref_ext to supplier invoice
Added ref_ext to the fields for create, fetch and update functions
on fournisseur.facture class. This enables the REST API to use
this field for additional information.
2021-10-22 10:39:14 +01:00
Laurent Destailleur
8289eec510 Merge pull request #19087 from FHenry/14_fix_moduilebuilder
fix: bad comma SQL request in modulebuilder template list
2021-10-22 11:33:09 +02:00
Laurent Destailleur
ce1880b12d Merge pull request #19090 from evarisk-theo/fix-delete-categories-when-linked-to-some-objects
Fix: can't delete categories when linked to some objects
2021-10-22 11:32:39 +02:00
Theo
0d868aa0d9 Fix: can't delete categories when linked to some objects 2021-10-22 11:14:04 +02:00
Frédéric FRANCE
c789b12715 fix more than one extrafield cause bug sql 2021-10-22 11:07:38 +02:00
Florian HENRY
6c71cc1e14 better correction from modulebuilder source of #19081 2021-10-22 11:03:35 +02:00
Florian HENRY
0c770b8810 fix various warning 2021-10-22 10:54:33 +02:00
Florian HENRY
9a9ed8989e fix various warning 2021-10-22 10:50:54 +02:00
Florian HENRY
444f7703a6 fix various warning 2021-10-22 10:50:24 +02:00
stickler-ci
ba8ef15916 Fixing style errors. 2021-10-22 08:50:15 +00:00
Florian HENRY
64bb2e6ece fix various warning 2021-10-22 10:49:47 +02:00
Laurent Destailleur
f0394c42d5 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-22 10:49:29 +02:00
Laurent Destailleur
962aa9f977 Fix #yogosha7494 2021-10-22 10:49:01 +02:00
stickler-ci
4d63586e2a Fixing style errors. 2021-10-22 08:22:23 +00:00
Dennis Priskorn
e2e3e8ef7b Update api_supplier_invoices.class.php
Add 2 examples
2021-10-22 10:18:23 +02:00
Laurent Destailleur
6af889d26f Merge pull request #19081 from frederic34/patch-4
fix sql error
2021-10-22 10:09:13 +02:00
Frédéric FRANCE
0adb910e56 fix sql error 2021-10-22 07:27:10 +02:00
Frédéric FRANCE
d1c9877c41 fix missing code comment 2021-10-22 07:02:44 +02:00
Alexandre SPANGARO
0c8291b60f Fix INNER JOIN & Add urlencode() 2021-10-22 04:35:23 +02:00
javieralapps4up
0020a5c61c Update card.php
When you edit a user (with read others and change password others), the form allows the civility_code to be changed but the changes are not saved. I will propose a change in the user card to avoid this
2021-10-22 02:53:37 +02:00
Maxime Kohlhaas
75f579c3ad New table element_tag 2021-10-22 00:59:09 +02:00
Frédéric FRANCE
7c449892bb fix display 2021-10-22 00:19:10 +02:00
Laurent Destailleur
8bb8e92ff2 Merge pull request #19034 from prietojc/patch-17
FIX card.php
2021-10-22 00:02:35 +02:00
Laurent Destailleur
f7b12208d1 Merge pull request #18802 from javieralapps4up/14.0
Close: #18801 Jan-30 + 1m IS NOT Mar-2
2021-10-22 00:01:42 +02:00
Laurent Magnin
3f5d8d9a20 Fix : Listing responsive for ticket
PR for responsive table
2021-10-22 00:00:47 +02:00
Laurent Destailleur
0562744fd3 Merge pull request #19074 from atm-maxime/fix_expense_report_rules2
Fix expense report warning display + translations
2021-10-21 23:57:50 +02:00
Polkiko
0c47a88098 FIX Content line substitution in email 2021-10-21 23:53:37 +02:00
Maxime Kohlhaas
860fb21d2d Fix expense report warning display + translations 2021-10-21 23:52:05 +02:00
Laurent Destailleur
80aebef63f Merge pull request #19024 from daraelmin/daraelmin-patch-5
Fix adhtype amount as default on new subscription
2021-10-21 23:48:58 +02:00
Laurent Destailleur
2741e12376 Merge pull request #19033 from hregis/fix_wrong_sql_index
FIX compatibility with Multicompany
2021-10-21 23:47:44 +02:00
Laurent Destailleur
f1565bb283 Merge pull request #18982 from atm-lena/13.0_FIX_updateExtrafield_EmptyValue
Function updateExtrafield : replace empty value to null
2021-10-21 23:41:30 +02:00
Laurent Destailleur
2d2d1538a5 Merge pull request #19038 from frederic34/patch-1
doxygen
2021-10-21 23:35:44 +02:00
Laurent Destailleur
9f6cfc5a07 Merge pull request #19036 from hregis/fix_missing_sql_filter_by_entity
FIX missing sql filter by entity
2021-10-21 23:35:29 +02:00
Laurent Destailleur
18e421448c Merge pull request #19041 from frederic34/patch-5
doxygen
2021-10-21 23:34:42 +02:00
Laurent Destailleur
15dd0f7ab3 New feature 2021-10-21 23:34:25 +02:00
Florian
b7c0594ab7 FIX ISSUE DB_ERROR_SYNTAX-#18921 2021-10-21 23:28:58 +02:00
Laurent Destailleur
556a6eaaf3 Merge pull request #19040 from frederic34/patch-4
doxygen
2021-10-21 23:22:06 +02:00
Laurent Destailleur
0b5d63aabe Merge pull request #19043 from frederic34/patch-7
doxygen
2021-10-21 23:21:55 +02:00
Laurent Destailleur
0d4d192b3c Merge pull request #19071 from ns-info90/patch-1
Fix can't generate pdf last_main_doc
2021-10-21 23:21:39 +02:00
Laurent Destailleur
9a989ca308 Merge pull request #19044 from frederic34/patch-8
doxygen
2021-10-21 23:20:32 +02:00
Laurent Destailleur
16d2a9c1bd Merge pull request #19046 from frederic34/patch-10
doxygen
2021-10-21 23:20:17 +02:00
Laurent Destailleur
988f208dff Merge pull request #19042 from frederic34/patch-6
doxygen
2021-10-21 23:20:03 +02:00
Laurent Destailleur
82be96e254 Merge pull request #19039 from frederic34/patch-2
doxygen
2021-10-21 23:07:13 +02:00
Laurent Destailleur
42fa0c3025 Merge pull request #19048 from frederic34/patch-12
doxygen
2021-10-21 23:05:20 +02:00
Laurent Destailleur
7ea993e448 Merge pull request #19045 from frederic34/patch-9
doxygen
2021-10-21 23:03:55 +02:00
Laurent Destailleur
47ae8dbde0 Merge pull request #19047 from frederic34/patch-11
doxygen
2021-10-21 23:03:32 +02:00
Laurent Destailleur
e71f3e6d80 Merge pull request #19049 from frederic34/patch-13
doxygen
2021-10-21 23:03:22 +02:00
Laurent Destailleur
ffd954b454 Merge pull request #19053 from frederic34/patch-17
fix doxygen nested comment
2021-10-21 23:02:54 +02:00
Laurent Destailleur
bb7e3ba5dd Merge pull request #19050 from frederic34/patch-14
doxygen
2021-10-21 23:02:42 +02:00
Laurent Destailleur
baa6f4e8ae Merge pull request #19051 from frederic34/patch-15
doxygen
2021-10-21 23:02:33 +02:00
Laurent Destailleur
232616fc77 Merge pull request #19052 from frederic34/patch-16
fix doxygen nested comment
2021-10-21 23:02:20 +02:00
Laurent Destailleur
c126c48a92 Merge pull request #19072 from atm-maxime/fix_expense_report_rules
Fix MAIN_USE_EXPENSE_RULE is now stable
2021-10-21 23:02:05 +02:00
Laurent Destailleur
54ab0fe5da Merge pull request #19056 from OPEN-DSI/new-takepos-max-terminals-number
NEW max terminals number on cash desk setup
2021-10-21 22:59:34 +02:00
Maxime Kohlhaas
ae6cae0313 Fix MAIN_USE_EXPENSE_RULE is now stable 2021-10-21 22:57:50 +02:00
Laurent Destailleur
459c57e370 Merge pull request #19054 from frederic34/patch-18
fix doxygen nested comment
2021-10-21 22:57:32 +02:00
Laurent Destailleur
6c870bb3d1 Merge pull request #19059 from FHenry/fix_introduced_scrutinizer
fix: scrutinizer
2021-10-21 22:52:20 +02:00
Nicolas SILOBRE
9630b07b42 Update 14.0.0-15.0.0.sql 2021-10-21 22:49:02 +02:00
Nicolas SILOBRE
09c8b96696 Fix can't generate pdf last_main_doc 2021-10-21 22:44:57 +02:00
Laurent Destailleur
99c309b517 Merge pull request #19066 from atm-florianm/FIX_issue_19014_modulebuilder_obj_prop_update
FIX #19014 - the properties of some fields are not updated on form submission
2021-10-21 22:42:53 +02:00
Laurent Destailleur
88f870c6e3 Merge pull request #19060 from vincentjdc/original-file-hook-checkSecureAccess
Allow hook 'checkSecureAccess' to change original_file
2021-10-21 22:39:29 +02:00
Laurent Destailleur
da4ecb46b3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-21 22:32:10 +02:00
Laurent Destailleur
db6c793044 Text in english 2021-10-21 22:31:51 +02:00
Florian HENRY
7970f4ba5c fix scrutinzer 2021-10-21 22:24:35 +02:00
Laurent Destailleur
b2a4bd8854 Merge pull request #19069 from evarisk-theo/develop
FIX: #19068 - Ticket categories edit
2021-10-21 22:19:58 +02:00
Laurent Destailleur
ee9eb4803f Merge pull request #19063 from FHenry/fix_conferenceorbooth_preparehead
fix: EventOrganization prepare head href link
2021-10-21 22:10:22 +02:00
Laurent Destailleur
313e0f86dc Merge pull request #19067 from atm-lena/14.0_FIX_19008_LineBoolean
FIX #19008
2021-10-21 22:09:56 +02:00
Florian HENRY
df25880d55 fix scrutinzer 2021-10-21 19:18:01 +02:00
Florian HENRY
96722d55ef fix scrutinzer 2021-10-21 19:13:05 +02:00
Florian HENRY
3bdec20364 fix scrutinzer 2021-10-21 19:09:13 +02:00
Florian HENRY
ac27532d62 fix scrutinzer 2021-10-21 19:06:40 +02:00
Theo
2780f30d58 fix: ticket tags/categories edit 2021-10-21 19:05:13 +02:00
Florian HENRY
24cc74cd3a fix scrutinizer 2021-10-21 19:00:48 +02:00
atm-lena
bdc8854baa Clean 2021-10-21 18:54:07 +02:00
atm-lena
03765528e1 Contract line : update boolean 2021-10-21 18:42:06 +02:00
atm-florian
2468c0e120 FIX #19014 - the properties of some fields are not updated when you submit the form
+ reformatting (one line per array item)
2021-10-21 18:24:03 +02:00
Florian HENRY
d4690ddbdd fix scrutinizer 2021-10-21 18:20:07 +02:00
javieralapps4up
f50dfe8571 Update security.lib.php 2021-10-21 18:20:06 +02:00
javieralapps4up
5d854dcce1 FIX #19064
Access forbidden when the password of other users is changed

Steps to reproduce the behavior

User with lire and password (user) perms, but no creer.

When this user saves or cancels the edition of the password of another user, he is sent to the prohibited page
2021-10-21 18:17:43 +02:00
Florian HENRY
85ec2c408c fix scrutinizer 2021-10-21 18:15:15 +02:00
Lucas Marcouiller
4d2b96d029 fix inventory scan 2021-10-21 18:08:20 +02:00
Lucas Marcouiller
1f64b09430 WIP : fix inventory scan 2021-10-21 18:07:54 +02:00
Florian HENRY
b1be1ceff1 fix scrutinizer 2021-10-21 18:07:02 +02:00
Florian HENRY
dd9402960d remove not use code that implementd error 2021-10-21 18:03:50 +02:00
Florian HENRY
03fcda6b43 fix prepare head href link 2021-10-21 17:48:29 +02:00
Florian HENRY
4acf5a1bce fix prepare head href link 2021-10-21 17:45:54 +02:00
Florian HENRY
4e0170dc88 fix: scrutinizer 2021-10-21 17:45:10 +02:00
Florian HENRY
f66f5cbfb8 fix: scrutinizer 2021-10-21 17:10:39 +02:00
Florian HENRY
4795190a75 fix: scrutinizer 2021-10-21 17:09:48 +02:00
Florian HENRY
e9fe668725 fix: scrutinizer 2021-10-21 16:48:04 +02:00
Florian HENRY
10a518749d fix: scrutinizer 2021-10-21 16:46:04 +02:00
Vincent Dieltiens
3a48fe2d66 Allow hook 'checkSecureAccess' to change original_file 2021-10-21 16:06:18 +02:00
Florian HENRY
258d0c3a69 fix: scrutinizer 2021-10-21 16:05:37 +02:00
Florian HENRY
2e260d75d9 fix: scrutinizer 2021-10-21 15:57:54 +02:00
Florian HENRY
0589c9c3ca fix: scrutinizer 2021-10-21 15:55:11 +02:00
Florian HENRY
f783dd56a4 fix: scrutinizer 2021-10-21 15:54:23 +02:00
Florian HENRY
f68c3c17aa fix php warning 2021-10-21 15:50:04 +02:00
lvessiller
d71d33939b NEW max terminals number on cash desk setup 2021-10-21 14:17:23 +02:00
Frédéric FRANCE
49d8f85ae7 fix doxygen nested comment 2021-10-21 12:33:48 +02:00
Frédéric FRANCE
3d5d2f0558 fix doxygen nested comment 2021-10-21 12:33:17 +02:00
Frédéric FRANCE
1157d7edfb fix doxygen nested comment 2021-10-21 12:32:28 +02:00
Frédéric FRANCE
2eb524cc31 fix doxygen nested comment 2021-10-21 12:31:08 +02:00
Frédéric FRANCE
8778296784 fix doxygen nested comment 2021-10-21 12:29:27 +02:00
Frédéric FRANCE
3579d2f4b1 doxygen 2021-10-21 12:25:46 +02:00
Frédéric FRANCE
e61b207074 doxygen 2021-10-21 12:07:06 +02:00
Frédéric FRANCE
14a355ebba doxygen 2021-10-21 12:03:26 +02:00
Frédéric FRANCE
e42287ec2c doxygen 2021-10-21 12:01:36 +02:00
Frédéric FRANCE
c3e8f6d8b1 doxygen 2021-10-21 12:00:18 +02:00
Frédéric FRANCE
c161eb198e doxygen 2021-10-21 11:58:21 +02:00
Frédéric FRANCE
89f4066ead doxygen 2021-10-21 11:57:02 +02:00
Frédéric FRANCE
d83485cc7b doxygen 2021-10-21 11:55:24 +02:00
Frédéric FRANCE
a082dc6504 doxygen 2021-10-21 11:54:15 +02:00
Frédéric FRANCE
a4555d6304 doxygen 2021-10-21 11:53:17 +02:00
Frédéric FRANCE
a528f8e98b doxygen 2021-10-21 11:52:18 +02:00
Frédéric FRANCE
82b9dc6c87 doxygen 2021-10-21 11:50:48 +02:00
Frédéric FRANCE
bca3bcf8c9 doxygen 2021-10-21 11:49:24 +02:00
Frédéric FRANCE
d41c1393ba Update box_graph_new_vs_close_ticket.php 2021-10-21 11:48:20 +02:00
Frédéric FRANCE
197818684b doxygen 2021-10-21 11:47:32 +02:00
Frédéric FRANCE
054388be01 doxygen 2021-10-21 11:45:36 +02:00
atm-lena
806c53d4c4 FIX Ret PR 2021-10-21 09:49:14 +02:00
Regis Houssin
71b9ac384f FIX only ones value is return for dictionaries 2021-10-21 08:43:20 +02:00
Alexandre SPANGARO
d2b96fe0f6 Correct link to salary list with user search 2021-10-21 06:08:48 +02:00
Alexandre SPANGARO
a1c0e1ad1f Better fix with backward compatibility with old salary module 2021-10-21 05:45:37 +02:00
Alexandre SPANGARO
be7c1c8a23 Typo & translation 2021-10-21 05:18:56 +02:00
Alexandre SPANGARO
02bb39d438 FIX Accountancy simplified - Salaries are not present in report 2021-10-21 05:06:50 +02:00
Regis Houssin
4b2b2328c3 FIX missing sql filter by entity 2021-10-20 21:33:18 +02:00
JC Prieto
0756a01002 Fix card.php
Error adding localtax
2021-10-20 19:33:28 +02:00
Regis Houssin
3029804db7 FIX compatibility with Multicompany 2021-10-20 19:21:18 +02:00
Laurent Destailleur
e8e63e85f1 NEW: Editing a page in website module keep old page with name .back 2021-10-20 17:08:33 +02:00
daraelmin
eed689e1c1 quote instead double quote 2021-10-20 16:33:38 +02:00
Laurent Destailleur
a3d81f0ddd Move module as stable 2021-10-20 16:05:13 +02:00
daraelmin
a2adc6fc58 Getpostisset 2021-10-20 15:59:42 +02:00
Laurent Destailleur
e43b33028c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/card.php
2021-10-20 15:06:10 +02:00
Laurent Destailleur
34c61edcbd Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-20 15:01:01 +02:00
Laurent Destailleur
85fe1d6d1e fix sql injection reported by Mehdi Oudad 2021-10-20 15:00:49 +02:00
Laurent Destailleur
4a5293fc9c Rewrite getDictionaryValue (Use a cache file and consistent return code) 2021-10-20 14:41:40 +02:00
Laurent Destailleur
66437c472a Merge pull request #19031 from hregis/fix_wrong_array_key_value
FIX wrong array key value
2021-10-20 13:46:07 +02:00
Regis Houssin
f38fca8174 FIX wrong array key value 2021-10-20 13:35:30 +02:00
Laurent Destailleur
766463a0b2 Merge pull request #18966 from aspangaro/14p22
Accountancy - Show message for admin if accountancy hidden options are activated to help to resolve some problems
2021-10-20 12:51:29 +02:00
Laurent Destailleur
e4d0bf7a91 Merge pull request #18967 from aspangaro/15a23
NEW Add sortorder on units list
2021-10-20 12:50:32 +02:00
Laurent Destailleur
2852e6ff9e Merge pull request #19028 from aspangaro/14p24
PHP8
2021-10-20 12:45:13 +02:00
Laurent Destailleur
54c9a60fa3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-20 12:38:32 +02:00
Laurent Destailleur
53244c5f45 FIX missing permission check reported by me@lainwir3d.net on product api 2021-10-20 12:38:19 +02:00
Alexandre SPANGARO
632751cebc Use getDolGlobalInt() 2021-10-20 12:37:49 +02:00
Laurent Destailleur
136807645d Merge pull request #19030 from atm-florianm/FIX_14.0_civility_field_with_in_private_thirdparty_creation_form
FIX 14.0 - civility field of private third party creation form has inadequate width
2021-10-20 11:30:55 +02:00
Laurent Destailleur
ae1da43225 Update card.php 2021-10-20 11:30:38 +02:00
Laurent Destailleur
f59f605bcc Update card.php 2021-10-20 11:29:34 +02:00
Laurent Destailleur
562df7a27a Merge pull request #19025 from daraelmin/daraelmin-patch-3
Fix wrong const in select MEMBER_ALLOW_CHANGE_OF_TYPE
2021-10-20 11:25:35 +02:00
atm-florian
417daa4289 FIX 14.0 - civility field width inadequate due to select2 calculating the width while the field has no width (display: none) 2021-10-20 11:15:02 +02:00
Laurent Destailleur
289f90fb1e Fix qty must not use html type "number" but "text" (need decimal values) 2021-10-20 11:05:40 +02:00
Laurent Destailleur
0371183ed9 Merge pull request #19029 from aspangaro/14p12
FIX Expense report - In edit mode, field qty doesn't accept decimal unlike the create mode
2021-10-20 11:02:05 +02:00
Adrien Raze
2ae38ff1a9 FIX : Travis 2021-10-20 10:15:31 +02:00
kamel
7b41d1d87f Merge branch 'develop' of github.com:OPEN-DSI/dolibarr into fix_00008 2021-10-20 09:35:30 +02:00
Alexandre SPANGARO
63fafdf120 FIX Expense report - In edit mode, field qty doesn't accept decimal unlike the create mode 2021-10-20 07:54:09 +02:00
Alexandre SPANGARO
2dc997528b Merge branch '14.0' into 14p23 2021-10-20 07:42:01 +02:00
Alexandre SPANGARO
bee6abd6fc Merge branch '14.0' into 14p24 2021-10-20 07:38:54 +02:00
Laurent Destailleur
b9540c3eb6 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	ChangeLog
	htdocs/adherents/card.php
	htdocs/filefunc.inc.php
	htdocs/install/repair.php
2021-10-20 03:38:10 +02:00
javieralapps4up
2ca0a1facf Update date.lib.php 2021-10-20 00:36:24 +02:00
daraelmin
dc465d6bac Fix adhtype amount as default on new subscription 2021-10-20 00:29:46 +02:00
daraelmin
f4743c7f1f Fix wrong const in select MEMBER_ALLOW_CHANGE_OF_TYPE 2021-10-19 23:00:36 +02:00
Laurent Destailleur
c6ef6a162b NEW Can edit fields of proposal when proposal is not yet signed 2021-10-19 22:20:23 +02:00
Laurent Destailleur
f4b5d14a34 Merge pull request #17536 from bb2a/Edit_in_propal
[NEW] Add edit option in propal
2021-10-19 22:10:12 +02:00
Laurent Destailleur
421b692942 Clean last br for wysiwyg 2021-10-19 21:48:25 +02:00
Laurent Destailleur
12d211815b Debug v15 2021-10-19 21:38:36 +02:00
Laurent Destailleur
c038c1881a Merge 2021-10-19 21:04:19 +02:00
Laurent Destailleur
f5f8d2558c Merge pull request #18244 from Hystepik/develop#3
Fix php debug bar for php 8.0
2021-10-19 20:59:19 +02:00
Laurent Destailleur
3c9d8d0d30 Show status of MO on referring page of product. 2021-10-19 20:44:03 +02:00
Laurent Destailleur
b1de75758f Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-19 20:04:14 +02:00
Laurent Destailleur
265f3d0ab0 Fix css 2021-10-19 20:03:59 +02:00
Laurent Destailleur
885e70ff03 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-19 19:52:33 +02:00
Laurent Destailleur
9f9c1d2f7b css 2021-10-19 19:52:18 +02:00
Laurent Destailleur
99a939df57 Merge pull request #17518 from bb2a/add_option_pdf_global_with_picture
[NEW] PDF width picture option
2021-10-19 19:32:44 +02:00
Laurent Destailleur
3a14cd7a16 Update admin.lang 2021-10-19 19:32:28 +02:00
Laurent Destailleur
58941e9a95 Update pdf_other.php 2021-10-19 19:31:06 +02:00
Laurent Destailleur
b1e4e2699b Merge pull request #18993 from atm-florianm/FIX_13.0_ticket_message_editing_requires_end_date
FIX 13.0: end date required to edit a ticket message
2021-10-19 19:05:36 +02:00
Laurent Destailleur
4764075cc7 Merge pull request #19016 from hregis/fix_possibility_to_bypass_main_antivirus_constants
FIX add possibility to bypass MAIN_ANTIVIRUS_* constants
2021-10-19 19:04:09 +02:00
Laurent Destailleur
121cb8f708 Merge pull request #19019 from Hystepik/develop#2
Fix: selectGroupTickets multilevel
2021-10-19 19:02:35 +02:00
kamel
f328bb32f6 Corrections 2021-10-19 17:34:03 +02:00
Adrien Raze
a3e8d43cf5 FIX : Travis 2021-10-19 17:25:51 +02:00
stickler-ci
d3035975cf Fixing style errors. 2021-10-19 14:52:56 +00:00
Adrien Raze
48b131b3f0 FIX : Retours 2021-10-19 16:50:15 +02:00
Laurent Destailleur
bfdf88ca6c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-19 16:48:00 +02:00
Laurent Destailleur
0cae464bfa Debug v15 2021-10-19 16:47:43 +02:00
Adrien Raze
8daa1a810a FIX : Move interface.php to ajax/ 2021-10-19 16:44:59 +02:00
Adrien Raze
b5b7281094 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_develop_sub_BOM 2021-10-19 16:40:02 +02:00
lmarcouiller
f5942300e0 fix CI bot error 2021-10-19 16:09:06 +02:00
lmarcouiller
d8cd6b6f55 Fix autoselect multilevel 2021-10-19 15:54:25 +02:00
Regis Houssin
db01fed447 FIX error when defining an already existing constant 2021-10-19 12:36:33 +02:00
Laurent Destailleur
6193e31eb4 Merge pull request #18999 from polkiko/payment_receipt
NEW Added linked files page and send mail possibility in payments
2021-10-19 12:25:37 +02:00
Regis Houssin
acbae5cafb FIX add possibility to bypass MAIN_ANTIVIRUS_* constants 2021-10-19 12:14:42 +02:00
Laurent Destailleur
572ed7db5b Merge pull request #19001 from atm-gauthier/fix_hrm_list_filters
FIX : keyval filters on lists don't work
2021-10-19 11:10:19 +02:00
Laurent Destailleur
32ffd6f0f9 Merge pull request #19015 from Hystepik/develop#2
FIX: boxes php 8.0 errors and warnings
2021-10-19 11:09:44 +02:00
Laurent Destailleur
5e26e2a71a Trans 2021-10-19 10:54:09 +02:00
lmarcouiller
dd6457b259 FIX: boxes php 8.0 errors and warnings 2021-10-19 10:24:59 +02:00
Gauthier PC portable 024
0276cef4ad FIX : new modulebuilder template method 2021-10-19 09:09:01 +02:00
Laurent Destailleur
c40a73162e Look and feel v15 2021-10-18 21:20:58 +02:00
Laurent Destailleur
252c910962 Debug feature for proposal signature 2021-10-18 20:46:28 +02:00
Jesús Jerez
43ac3230c3 Merge branch 'develop' into payment_receipt 2021-10-18 19:53:36 +02:00
Laurent Destailleur
297580ed11 Merge pull request #19011 from Hystepik/develop#2
NEW: Online proposal signature
2021-10-18 19:41:58 +02:00
Laurent Destailleur
eefa65f49b Merge pull request #19006 from OPEN-DSI/v14-fix-propal-validate-with-pdf-options
FIX generate documents with PDF options
2021-10-18 19:29:58 +02:00
Laurent Destailleur
039e0ba89e Merge pull request #19005 from atm-florianm/FIX_13.0_typo_in_firstname
FIX 13.0: sometimes firstname was mistyped as fistname
2021-10-18 19:28:16 +02:00
Laurent Destailleur
34abd39c0c Merge pull request #19000 from aspangaro/14p12
FIX #18912 Accountancy - SQL error when custom group is added without country defined
2021-10-18 19:27:44 +02:00
Laurent Destailleur
8bc826bdda Merge pull request #19004 from atm-florianm/FIX_14.0_typo_in_mode_parameter_for_adherent_list
FIX 14.0 - due to a typo in the 'mode' parameter, the "first name" co…
2021-10-18 19:23:52 +02:00
Laurent Destailleur
6733085071 Merge pull request #19007 from OPEN-DSI/v14-fix-event-print-dates-hours-diff
FIX show end hours in events linked to objects
2021-10-18 19:23:30 +02:00
Laurent Destailleur
a81d6ef405 Debug v15 2021-10-18 19:13:36 +02:00
Laurent Destailleur
b0230ad42b Look and feel v15 2021-10-18 16:45:14 +02:00
Laurent Destailleur
2262646391 Standardize name of page 2021-10-18 16:04:49 +02:00
Laurent Destailleur
c98f28ffc8 Clean code 2021-10-18 15:57:33 +02:00
Laurent Destailleur
f1d646bded Look and feel v15 2021-10-18 15:41:55 +02:00
lmarcouiller
a324f74d88 update newonlinesign.php with border 2021-10-18 15:35:15 +02:00
lmarcouiller
9fc6be78e0 fix tcpdi.php each to foreach 2021-10-18 15:26:18 +02:00
lvessiller
98a613edec FIX show end hours in events linked to objects 2021-10-18 14:31:37 +02:00
lmarcouiller
0c2cf9980d NEW: online propal signature 2021-10-18 14:28:30 +02:00
Laurent Destailleur
e442fcb07e Trans 2021-10-18 12:22:27 +02:00
Laurent Destailleur
51f342c81a Clean code 2021-10-18 12:20:51 +02:00
atm-florian
c016a20aac FIX 13.0 - due to a typo in the 'mode' parameter, the "first name" column of the list of members displays the full name 2021-10-18 12:12:38 +02:00
lvessiller
a52ceaf1d2 FIX generate documents with PDF options 2021-10-18 12:12:00 +02:00
atm-florian
d0d5955fb1 FIX 13.0: sometimes firstname was mistyped as fistname 2021-10-18 12:09:33 +02:00
Laurent Destailleur
11230ebf7f Clean code 2021-10-18 12:05:40 +02:00
Alexandre SPANGARO
053740792f Update accounting.lib.php 2021-10-18 10:19:50 +02:00
Alexandre SPANGARO
9685695577 FIX Accountancy - PHP8 2021-10-18 10:19:46 +02:00
kamel
152aab4903 Add test if actual entity is different to the entity provided 2021-10-18 10:10:31 +02:00
lmarcouiller
c3a45dabad Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#2 2021-10-18 09:51:45 +02:00
atm-florian
aff8d9c24a FIX 13.0 PR #18993: add comment on modified part 2021-10-18 09:46:20 +02:00
atm-florian
2ff75dfab4 FIX 13.0 feedback of PR #18993: make ticket messages punctual events with attr percentage = -1 2021-10-18 09:43:05 +02:00
Gauthier PC portable 024
cf63412fee FIX : keyval filters on lists don't work 2021-10-18 09:39:10 +02:00
Alexandre SPANGARO
dce1e56a78 FIX #18912 Accountancy - SQL error when custom group is added without country defined 2021-10-18 05:44:22 +02:00
Polkiko
c9ee0e5f93 Fixed error 2021-10-18 01:55:16 +02:00
stickler-ci
4c5e959911 Fixing style errors. 2021-10-17 23:52:24 +00:00
Polkiko
074b5589bd NEW Added documents page and send mail possibility in payments
- Documents page has been added to the payments page so that documents can be linked and see the generated pdf documents.
- The possibility of sending payments by email has been added, attaching the payment receipts in pdf.
- In pdf standard model of payment, the possibility of seeing the active iban of a third party has been added if it exists.
2021-10-18 01:15:12 +02:00
Laurent Destailleur
5221c9e38f Fix editline 2021-10-17 19:41:17 +02:00
Laurent Destailleur
7bcc76c1aa Fix margin rates and mark rates are 2 different columns 2021-10-17 19:41:02 +02:00
Laurent Destailleur
b318ccb2af Fix margin rates and mark rates are 2 different columns 2021-10-17 19:39:56 +02:00
Laurent Destailleur
099b2da2dc FIX #18974 2021-10-17 18:58:34 +02:00
Laurent Destailleur
1dec9877c2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-17 17:17:30 +02:00
Laurent Destailleur
336b6cb7fc Fix editline 2021-10-17 17:17:08 +02:00
Laurent Destailleur
514bcc87ea Sync transifex 2021-10-17 15:53:29 +02:00
Laurent Destailleur
0aa90e82ea Clean code 2021-10-17 15:47:29 +02:00
Laurent Destailleur
c7152e5c7d Merge pull request #18965 from vincentjdc/expensereport-pdf-preview
NEW Preview of pdf files of expense report line
2021-10-17 15:06:42 +02:00
Laurent Destailleur
e9c33589fd Merge pull request #18998 from ptibogxiv/patch-447
Fix php 8  error
2021-10-17 14:59:59 +02:00
Laurent Destailleur
79177b0a11 Rename method into selectLotDataList 2021-10-17 14:38:12 +02:00
Laurent Destailleur
78523e852d css 2021-10-17 14:04:49 +02:00
Laurent Destailleur
30d25bcb52 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-17 14:03:07 +02:00
Laurent Destailleur
30ba753b34 css 2021-10-17 14:02:37 +02:00
Laurent Destailleur
e1af439a6d Merge pull request #18931 from atm-florianm/FIX_11.0_consistent_UX_for_invoices_when_no_id_or_ref
FIX: consistent UX when calling a tab from the invoice card with empty ref/id
2021-10-17 13:52:30 +02:00
Laurent Destailleur
bd73545d08 Merge pull request #18985 from henrynopo/patch-5
Fix the rounding issue in case of multi-currency
2021-10-17 13:50:35 +02:00
Laurent Destailleur
7bfad108a8 Merge pull request #18995 from aspangaro/14p11
FIX User salary card - translation problem
2021-10-17 13:49:44 +02:00
Laurent Destailleur
0727e182ac Merge pull request #18997 from hregis/fix_add_zstd_compression
NEW add support for zstd compression
2021-10-17 13:49:06 +02:00
Laurent Destailleur
766ad9601e css 2021-10-17 13:45:28 +02:00
Laurent Destailleur
b66155de4b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/action/list.php
	htdocs/filefunc.inc.php
2021-10-17 13:30:13 +02:00
Laurent Destailleur
5b726635d4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-17 13:27:33 +02:00
Laurent Destailleur
10bd8db9b1 css 2021-10-17 13:27:14 +02:00
ptibogxiv
5ec6d02bfc Fix php 8 error
from develop v15
2021-10-17 12:49:45 +02:00
Laurent Destailleur
ccf78a1af4 FIX Use of accent into filename of GED 2021-10-17 12:30:08 +02:00
Laurent Destailleur
b30d7371a4 Fix allow ' - ' into file name 2021-10-17 12:21:22 +02:00
stickler-ci
9fa6a8daa7 Fixing style errors. 2021-10-17 10:05:58 +00:00
Regis Houssin
84e4bd8820 NEW add zstd compression 2021-10-17 11:59:25 +02:00
Alexandre SPANGARO
fb30136202 Translation 2021-10-17 08:12:28 +02:00
Alexandre SPANGARO
e9ecb2e1ee Translation 2021-10-17 08:11:34 +02:00
Alexandre SPANGARO
102c8a5772 FIX User salary card - translation problem 2021-10-17 08:02:28 +02:00
Laurent Destailleur
8bdece7101 CSS 2021-10-16 21:43:48 +02:00
Laurent Destailleur
ee6780c46e FIX #18968 2021-10-16 21:37:12 +02:00
Laurent Destailleur
48f6ebc344 Merge pull request #18971 from javieralapps4up/develop
Update factures.php
2021-10-16 21:24:29 +02:00
Laurent Destailleur
759502829c Merge pull request #18973 from atm-maxime/fix_member_from_third
Fix member creation from thirdparty extrafields
2021-10-16 21:23:47 +02:00
Laurent Destailleur
68bb625ec7 Merge pull request #18976 from PyroShape/142
FIX : #18634 : Problem of virtual stock with reception module enabled
2021-10-16 21:23:08 +02:00
Laurent Destailleur
1c07385aba Update product.class.php 2021-10-16 21:22:53 +02:00
Laurent Destailleur
c896c05464 Merge pull request #18989 from FHenry/dev_18986
NEW: Add budget field into task #18986
2021-10-16 21:16:01 +02:00
Laurent Destailleur
830e067eff Fix for tzuser 2021-10-16 21:03:47 +02:00
Laurent Destailleur
5a4383c9ac Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-16 20:07:19 +02:00
Laurent Destailleur
f2757a63a1 Clean code 2021-10-16 20:06:58 +02:00
Laurent Destailleur
308d408cd0 Merge pull request #18980 from OPEN-DSI/v14-fix-print-date-user-timezone
FIX user date timezone offset
2021-10-16 20:03:42 +02:00
Laurent Destailleur
94c48d3573 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-10-16 19:40:22 +02:00
Laurent Destailleur
dd0809b528 Fix trans labels status 2021-10-16 19:37:57 +02:00
Laurent Destailleur
16293d768d Merge pull request #18972 from hregis/fix_wrong_accented_characters
FIX wrong accented characters with DolGraph
2021-10-16 19:23:31 +02:00
Laurent Destailleur
25967da832 Merge pull request #18970 from hregis/fix_avoid_warning_non_numeric
FIX avoid non-numeric warning
2021-10-16 19:22:16 +02:00
Laurent Destailleur
2b5bc202fc Merge pull request #18984 from henrynopo/patch-2
Supplier Invoice Payment List
2021-10-16 19:19:34 +02:00
Laurent Destailleur
1bee543eef Merge pull request #18987 from atm-gauthier/NEW_more_param_on_function_deleteByParentField
NEW : we need to be able to put more filters on deleteByParentField() function
2021-10-16 19:11:52 +02:00
Laurent Destailleur
9469c0dc2b Update commonobject.class.php 2021-10-16 19:10:50 +02:00
Laurent Destailleur
bbe867a7a9 Update commonobject.class.php 2021-10-16 19:06:50 +02:00
Laurent Destailleur
d60f4121ee Merge pull request #18991 from FHenry/dev_new_option_pdfA_setting
NEW: add setting to create PDF in PDF/A - 1b format #18990
2021-10-16 19:04:52 +02:00
Laurent Destailleur
5dfbd3642f Update pdf.php 2021-10-16 19:03:20 +02:00
Laurent Destailleur
a28d01ca83 Use PDF/A format instead of PDF 2021-10-16 18:59:01 +02:00
Laurent Destailleur
bbbc58ec02 Update admin.lang 2021-10-16 18:55:34 +02:00
Laurent Destailleur
bd52613331 Fix phpcs 2021-10-16 17:06:10 +02:00
Laurent Destailleur
7bb840fb04 Add a line to know instance uses not stable level of features 2021-10-16 16:58:55 +02:00
Laurent Destailleur
946bca3b62 Prepare 13.0.5 2021-10-16 13:26:39 +02:00
Laurent Destailleur
a0c81d6230 Prepare 13.0.5 2021-10-16 13:23:59 +02:00
Laurent Destailleur
7ff3e4253f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-16 13:01:27 +02:00
Laurent Destailleur
f8010dfcbc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/reception/list.php
	htdocs/takepos/pay.php
2021-10-16 13:01:03 +02:00
Laurent Destailleur
46eed3767f Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-16 12:54:05 +02:00
Laurent Destailleur
52890c64c1 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/compta/facture/stats/index.php
	htdocs/compta/prelevement/create.php
2021-10-16 12:53:57 +02:00
Laurent Destailleur
faf80b94e9 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/compta/facture/stats/index.php
2021-10-16 12:49:18 +02:00
Laurent Destailleur
a2733344e7 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-10-16 12:33:32 +02:00
Laurent Destailleur
07052196e2 Fix popup message on sepa creation 2021-10-16 12:33:19 +02:00
lmarcouiller
9eb8dadfd9 WIP : signature of propal 2021-10-15 16:58:59 +02:00
atm-florian
bd7e3e57ca FIX 13.0: end date required to edit a ticket message 2021-10-15 16:56:38 +02:00
Florian HENRY
26c50b9e2c add setting to create PDF in PDF/A - 1b format #18990 2021-10-15 11:59:12 +02:00
Florian HENRY
aeffad4c0f fix order 2021-10-15 11:02:05 +02:00
Florian HENRY
ab9ba4e0a2 NEW: feature #18986 2021-10-15 10:53:17 +02:00
Laurent Destailleur
0865916fe2 Init page for public subscription 2021-10-15 10:43:27 +02:00
Gauthier PC portable 024
5ef681ef91 FIX : stickler 2021-10-15 10:36:47 +02:00
Florian HENRY
5f4410468d add filed budget in task 2021-10-15 10:24:56 +02:00
Gauthier PC portable 024
412746ec8f NEW : we need to be able to put more filters on deleteByParentField() function 2021-10-15 10:18:32 +02:00
stickler-ci
fb79aaeb0c Fixing style errors. 2021-10-15 07:19:49 +00:00
Henry
0cb1972674 Update card.php 2021-10-15 15:07:48 +08:00
Henry
316bc16634 Update card.php 2021-10-15 15:05:13 +08:00
Henry
3d62ee22d3 Supplier Invoice Payment List
fix the missing multicurrency payments and remainders
2021-10-15 11:13:40 +08:00
atm-lena
ff7727466a Function updateExtrafield : replace empty value to null 2021-10-14 17:13:44 +02:00
lvessiller
5d22eeeff2 FIX user date timezone offset 2021-10-14 16:06:22 +02:00
Laurent Destailleur
a6c3c6b7ec url 2021-10-14 15:56:01 +02:00
Laurent Destailleur
3875d26a2f Fix filter for supplierinvoice stats 2021-10-14 15:55:12 +02:00
Laurent Destailleur
db3d16f080 Fix filter tag for supplier invoice statistics 2021-10-14 15:43:35 +02:00
Laurent Destailleur
8bf396c0cd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-14 14:56:28 +02:00
Laurent Destailleur
27e8b17aaf NEW Add STOCK_MOVEMENT_LIST_HIDE_UNIT_PRICE to hide unit price on
movement list.
2021-10-14 14:49:01 +02:00
Laurent Destailleur
bc230dbfc2 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2021-10-14 12:00:33 +02:00
Laurent Destailleur
371c75e76a FIX list of categories in stats of supplier invoices 2021-10-14 11:58:21 +02:00
Benjamin Chantalat
3438a4a9f6 Add the module reception to the calcul of virtual stock 2021-10-14 09:33:26 +02:00
Alexandre SPANGARO
9e3a00521d FIX also on customer index for automatic binding 2021-10-13 21:36:04 +02:00
Alexandre SPANGARO
5d7587259d FIX Accountancy - If deposit invoice is used, force binding in deposit accounting account to solve transaction 2021-10-13 21:21:16 +02:00
Maxime Kohlhaas
3c33770f00 Fix member creation from thirdparty extrafields 2021-10-13 15:30:49 +02:00
Regis Houssin
b612815aed FIX wrong accented characters with DolGraph 2021-10-13 14:43:42 +02:00
stickler-ci
d264bbca3c Fixing style errors. 2021-10-13 12:36:58 +00:00
javieralapps4up
230af38010 Update factures.php
When the list is greater than $ conf-> liste_limit, no more pages are output
2021-10-13 14:34:50 +02:00
Regis Houssin
f14de50bd7 FIX check if numeric value 2021-10-13 14:26:43 +02:00
Regis Houssin
ce37323f69 FIX avoid non-numeric warning 2021-10-13 14:14:30 +02:00
Alexandre SPANGARO
41d6a96342 Merge remote-tracking branch 'upstream/develop' into 15a23 2021-10-13 03:29:57 +02:00
Alexandre SPANGARO
3a04a0115b Add data sortorder 2021-10-13 03:26:39 +02:00
Laurent Destailleur
726190b5d0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-10-13 03:21:02 +02:00
Alexandre SPANGARO
04091169da Accountancy - Show message for admin if accountancy hidden options are activated to help to resolve some problems 2021-10-13 02:48:42 +02:00
Laurent Destailleur
4fc93ca7fa Fix css 2021-10-13 02:36:23 +02:00
Laurent Destailleur
507d5962ab Merge pull request #18960 from vincentjdc/project-edit-fordid-supplier-order
Add an option to forbid changing the project of a supplier order
2021-10-13 01:55:37 +02:00
Laurent Destailleur
365d5d4588 Update card.php 2021-10-13 01:55:24 +02:00
Laurent Destailleur
4d48be415c Fight against inflation of minor options 2021-10-13 01:53:44 +02:00
Laurent Destailleur
0ecf9ebc41 Update admin.lang 2021-10-13 01:52:53 +02:00
Laurent Destailleur
93eff144e5 Update admin.lang 2021-10-13 01:52:38 +02:00
Laurent Destailleur
c084bafbe3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-13 01:49:23 +02:00
Laurent Destailleur
e6c451cdae Fix responsive 2021-10-12 23:50:23 +02:00
Vincent Dieltiens
7f07d82d3f Rename FORBID_EDIT_PROJECT_ON_SUPPLIER_ORDER into SUPPLIER_ORDER_FORBID_EDIT_PROJECT 2021-10-12 23:34:00 +02:00
Vincent Dieltiens
d50c1a7603 preview of expense report file using pdf file instead of generated image 2021-10-12 23:27:22 +02:00
Laurent Destailleur
b2d0186011 Merge pull request #18963 from vincentjdc/supplier-order-list-valid-approve-dates
NEW Add date_valid and date_approve columns in the list of supplier orders
2021-10-12 23:18:46 +02:00
Vincent Dieltiens
d58f334348 Add date_valid and date_approve columns in the list of supplier orders 2021-10-12 21:34:24 +02:00
Laurent Destailleur
fe3e11a104 Merge pull request #18957 from OPEN-DSI/v14-fix-takepos-payment-style
FIX payment style and html5 tags
2021-10-12 16:45:56 +02:00
lvessiller
ab4da186c5 FIX 2 columns for total labels 2021-10-12 15:52:59 +02:00
Laurent Destailleur
1e7acf4571 Update contributing file to ask first the data structure change. 2021-10-12 15:50:46 +02:00
Laurent Destailleur
7234b16a65 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-12 15:47:00 +02:00
Laurent Destailleur
1d9b6fc500 Complete PR template 2021-10-12 15:46:39 +02:00
Laurent Destailleur
ff15292b49 Merge pull request #18949 from aspangaro/15a26
NEW Accountancy - Format FEC/FEC2 - Add column NumFacture
2021-10-12 15:29:10 +02:00
Laurent Destailleur
c4c8d215c3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-12 15:26:37 +02:00
Laurent Destailleur
2ef5522169 Merge pull request #18956 from Hystepik/develop#2
NEW : Move of mailing attendies
2021-10-12 15:26:22 +02:00
Laurent Destailleur
7f53d9f8e5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-12 15:25:58 +02:00
Laurent Destailleur
605aea62ca FIX TAKEPOS_CAN_FORCE_BANK_ACCOUNT_DURING_PAYMENT #18957 2021-10-12 15:25:44 +02:00
Laurent Destailleur
6bd1bc767b doc 2021-10-12 15:17:34 +02:00
Vincent Dieltiens
8370973a9d Add an option to forbird changing the project of a supplier order if validated or if in draft but already has a reference (not ) 2021-10-12 15:17:14 +02:00
Laurent Destailleur
f3ea05b701 Merge pull request #17873 from atm-quentin/FIX_multiple_order_linked_to_facture
NEW when multiple order linked to facture, show list into note.
2021-10-12 14:30:34 +02:00
lvessiller
1788508963 FIX payment style and html5 tags 2021-10-12 14:11:19 +02:00
lmarcouiller
415489c9fc NEW : Move of mailing attendies 2021-10-12 13:58:38 +02:00
lmarcouiller
0100cb4192 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#2 2021-10-12 13:10:59 +02:00
Laurent Destailleur
34f2b2b68d Merge branch 'develop' into 15a25 2021-10-12 12:50:30 +02:00
Laurent Destailleur
d75138b362 Merge pull request #18946 from atm-lena/13.0_FIX_HookCreateDictionaryFieldList_HTMLTRTag
Hook createDictionaryFieldList :  tr html tag to right place
2021-10-12 12:46:04 +02:00
Laurent Destailleur
3a7681c186 Merge pull request #18945 from PyroShape/14b
FIX : Remove not complete order from the virtual stock
2021-10-12 12:44:22 +02:00
Laurent Destailleur
faf3700dcc Merge pull request #18947 from altairisfr/TICKETS_MESSAGE_FORCE_MAIL
NEW : add constant TICKETS_MESSAGE_FORCE_MAIL
2021-10-12 12:38:20 +02:00
Laurent Destailleur
1dbf75cab4 Merge pull request #18953 from Hystepik/develop#1
FIX fatal error in php 8.0
2021-10-12 12:34:15 +02:00
Laurent Destailleur
65e069a049 Fix var not initialized 2021-10-12 12:14:03 +02:00
Laurent Destailleur
eb73da5abc Fix set origin. 2021-10-12 12:04:43 +02:00
Laurent Destailleur
791a7206ee Fix var not defined 2021-10-12 11:48:51 +02:00
lmarcouiller
bac0c3d7c8 Fix fatal error on php 8.0 2021-10-12 11:30:35 +02:00
Lucas Marcouiller
10d1f81dcb first fix sendmail event 2021-10-12 10:53:10 +02:00
Laurent Destailleur
6168e844bd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-10-12 01:43:20 +02:00
Laurent Destailleur
ed3b267d8f Fix css 2021-10-12 01:40:30 +02:00
Alexandre SPANGARO
de98900cb7 NEW Accountancy - Format FEC/FEC2 - Add column NumFacture 2021-10-11 22:00:59 +02:00
Laurent Destailleur
2e32254574 Fix rul to shipment files 2021-10-11 20:36:10 +02:00
Laurent Destailleur
c4ca9e92a6 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-11 20:18:46 +02:00
Laurent Destailleur
6b69e64fb6 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-10-11 20:18:08 +02:00
Laurent Destailleur
4e9c7c9efb FIX Attachment of pdf into shipment when sending email 2021-10-11 20:04:45 +02:00
Christophe Battarel
96bdd61684 NEW : add constant TICKETS_MESSAGE_FORCE_MAIL 2021-10-11 17:36:31 +02:00
Laurent Destailleur
3a32787f15 Fix for backward compatibility 2021-10-11 16:14:34 +02:00
Laurent Destailleur
5fc0802eb1 Fix for backward compatibility 2021-10-11 16:13:55 +02:00
atm-lena
7c8bde885b hook createDictioaryFieldList : tr html tag to right place 2021-10-11 16:03:56 +02:00
Laurent Destailleur
5666c63de2 Merge pull request #18850 from atm-gauthier/NEW/integration_GPEC_code
New : integration gpec, source code
2021-10-11 15:39:54 +02:00
Laurent Destailleur
b51c904d2b Merge pull request #18943 from Hystepik/develop#1
FIX: creation of project backtopage
2021-10-11 15:31:43 +02:00
Laurent Destailleur
f3c16ba490 Merge pull request #18905 from indelog/fix_origin_invoice_custom
Fix creataing invoice originating for custom module object
2021-10-11 15:26:07 +02:00
Laurent Destailleur
b29bd325fe Update card.php 2021-10-11 15:25:25 +02:00
Benjamin Chantalat
91164951de Remove not complete order from virtual stock 2021-10-11 15:24:56 +02:00
Laurent Destailleur
e3045f24cd Merge pull request #18923 from aspangaro/15a24
NEW Societe - Add perentity functionality on customer/supplier accountancy auxiliary account
2021-10-11 15:20:27 +02:00
Lucas Marcouiller
bbf5cb5db1 FIX: creation of project backtopage 2021-10-11 15:02:53 +02:00
Indelog
94875cdc77 Fix : Re-add bloc to set $withtargettype and $withsourcetype 2021-10-11 13:37:37 +02:00
Alexandre SPANGARO
af8e8077b1 Uniformize 2021-10-11 12:50:16 +02:00
Alexandre SPANGARO
e899d94ed5 NEW Accountancy - rewrite bind accountancy code finding on purchase invoice 2021-10-11 12:50:07 +02:00
Anthony Berton
8bbbe7b8bb Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into Edit_in_propal 2021-10-11 12:11:08 +02:00
Laurent Destailleur
33761f9de3 Merge pull request #18917 from FHenry/NEW_dev_filter_from_dt_to_dt_actionlist
NEW:Add filter from date to date into action/evt list
2021-10-11 11:51:48 +02:00
Laurent Destailleur
33e811ee96 Merge pull request #18926 from FHenry/fix_get_thirdparties_option_select
fix: option COMPANY_SHOW_ADDRESS_SELECTLIST and SOCIETE_ADD_REF_IN_LIST work in ajaxcompanies
2021-10-11 11:50:35 +02:00
Laurent Destailleur
d5d80d028a Merge pull request #18941 from Hystepik/develop#1
FIX : error takepos on constforcompanyid
2021-10-11 11:47:11 +02:00
Laurent Destailleur
181b6a5874 Merge branch 'develop' into develop#1 2021-10-11 11:46:52 +02:00
Lucas Marcouiller
a9160f5af0 Fix : error takepos on constforcompanyid 2021-10-11 11:42:40 +02:00
Laurent Destailleur
dc7143cb77 Merge pull request #18919 from OPEN-DSI/new-takepos-receipt-free-label
NEW print without details
2021-10-11 11:23:54 +02:00
Laurent Destailleur
4fba60d2bb Merge pull request #18925 from OPEN-DSI/v14-fix-cron-reload-user-langs
FIX reload user lang
2021-10-11 11:21:28 +02:00
atm-florian
57052e2fba FIX PR#18931 Remove useless explicit call to dol_shutdown 2021-10-11 11:10:14 +02:00
Laurent Destailleur
05ddcf5132 Merge pull request #18927 from vincentjdc/supplier-order-export-validation-date-user
NEW Allow exporting supplier order validation date + validation user
2021-10-11 11:09:31 +02:00
Laurent Destailleur
279b78db49 Merge pull request #18928 from vincentjdc/supplier-proposal-reload-supplier-change
Reload page if RELOAD_PAGE_ON_SUPPLIER_CHANGE is not empty
2021-10-11 11:08:49 +02:00
Laurent Destailleur
9c749a37b1 Merge pull request #18930 from OPEN-DSI/v14-fix-optionals-create-card
FIX optional visibility on create card
2021-10-11 11:07:56 +02:00
Laurent Destailleur
c9972b9eea Merge pull request #18937 from PyroShape/142
Fix date format into supplier order info tab
2021-10-11 11:04:39 +02:00
Laurent Destailleur
b43dcb24f0 Update fournisseur.commande.class.php 2021-10-11 11:04:21 +02:00
Laurent Destailleur
8ba05cc242 Merge pull request #18936 from PyroShape/14
FIX #18875 in v14
2021-10-11 10:26:55 +02:00
Laurent Destailleur
3222f39277 Merge pull request #18938 from andreubisquerra/develop
Improve TakePOS notes
2021-10-11 10:26:24 +02:00
Alexandre SPANGARO
754b13a83f NEW Add sortorder on units list 2021-10-11 08:58:00 +02:00
Laurent Destailleur
da815476fd Fix edit field from tab bank transfer of invoice 2021-10-11 02:00:12 +02:00
Laurent Destailleur
dbf2c0be7e Fix warning 2021-10-11 01:49:50 +02:00
Laurent Destailleur
a57925b0b7 FIX edition of fields on credit transfer tab 2021-10-11 01:43:36 +02:00
Laurent Destailleur
977a596500 Fix edit link 2021-10-11 01:27:21 +02:00
Laurent Destailleur
7c1d955f6c Fix: avoid to show warning in some cases 2021-10-11 01:23:00 +02:00
Laurent Destailleur
92a4000e73 css 2021-10-10 21:40:01 +02:00
Laurent Destailleur
7180f5eeff css 2021-10-10 21:25:46 +02:00
Benjamin Chantalat
a7563ff62e Fix : Found non quoted or not casted var into sql request 2021-10-10 21:15:14 +02:00
Laurent Destailleur
874731af84 The 'action=delete&file=...' has been replaced with
'action=deletefile&file=...' to avoid confusion with deletion of object
lines.
2021-10-10 21:11:48 +02:00
stickler-ci
73bd05606c Fixing style errors. 2021-10-10 18:53:22 +00:00
Benjamin Chantalat
65c0167d07 ADD : info of number of product still to dispatched in a supplier order 2021-10-10 20:50:51 +02:00
Laurent Destailleur
ff5f371428 Fix add protection to avoid deletion of page when deleting a file 2021-10-10 20:46:06 +02:00
andreubisquerra
be60293554 Travis fix 2021-10-10 08:58:17 +02:00
andreubisquerra
92756e1864 Improve public note 2021-10-09 23:48:35 +02:00
Benjamin Chantalat
6e60e1f453 Fix date format into supplier order info tab 2021-10-09 20:38:46 +02:00
Benjamin Chantalat
de17b367c8 FIX #18875 in v14 2021-10-09 20:14:16 +02:00
Laurent Destailleur
cdf1d37a1d Fix changelog 2021-10-08 18:52:01 +02:00
atm-florian
2da16ade6c FIX: consistent UX when calling a tab from the invoice card with empty ref / id 2021-10-08 17:24:52 +02:00
lvessiller
90be175c50 FIX load tranlate array after setting lang 2021-10-08 16:20:51 +02:00
lvessiller
be4a00213c FIX optional visibility on create card 2021-10-08 15:58:08 +02:00
Vincent Dieltiens
6553defc14 Reload page if RELOAD_PAGE_ON_SUPPLIER_CHANGE is not empty 2021-10-08 13:17:43 +02:00
Florian HENRY
5d393f201c fix sql 2021-10-08 13:17:09 +02:00
Florian HENRY
0d47797be7 fix sql 2021-10-08 13:14:08 +02:00
Florian HENRY
7ffa8a14ab fix: option COMPANY_SHOW_ADDRESS_SELECTLIST and SOCIETE_ADD_REF_IN_LIST work in ajaxcompanies 2021-10-08 13:10:44 +02:00
Vincent Dieltiens
592fff1cfa Allow exporting supplier order validation date + validation user 2021-10-08 13:09:16 +02:00
Laurent Destailleur
1b504b3e2c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-08 12:15:18 +02:00
Laurent Destailleur
2f61c4e93b Add onbeforecopy and onbeforecut into the WAF 2021-10-08 12:14:42 +02:00
Laurent Destailleur
ccb2fa4540 Fix canonical url for open graph 2021-10-08 12:00:14 +02:00
Laurent Destailleur
806d832549 Fix canonical url for open graph 2021-10-08 12:00:13 +02:00
Gauthier PC portable 024
3c5bf190a1 FIX : langs 2021-10-08 11:56:35 +02:00
lvessiller
1efc2eda69 FIX reload user lang 2021-10-08 11:54:38 +02:00
Laurent Destailleur
a057c7c2a7 Add og graph 2021-10-08 11:49:28 +02:00
Gauthier PC portable 024
6c548d064f FIX : IHM 2021-10-08 11:47:35 +02:00
Laurent Destailleur
da0a9e13f5 Fix twitter tag 2021-10-08 11:41:45 +02:00
Laurent Destailleur
cb490c0eac Allow twitter cards per page. 2021-10-08 11:06:28 +02:00
Laurent Destailleur
816e4cdde6 Comment 2021-10-08 10:59:11 +02:00
Gauthier PC portable 024
82a299538b FIX : travis 2021-10-08 10:56:51 +02:00
Gauthier PC portable 024
f4ffeacba8 FIX : travis 2021-10-08 10:20:27 +02:00
Gauthier PC portable 024
1329df69c6 FIX : travis 2021-10-08 10:13:19 +02:00
Gauthier PC portable 024
03d7a8e946 FIX : travis 2021-10-08 10:04:35 +02:00
Gauthier PC portable 024
0f6d29549b FIX : travis 2021-10-08 09:57:33 +02:00
Gauthier PC portable 024
e00dcb4f73 FIX : travis 2021-10-08 09:48:17 +02:00
Gauthier PC portable 024
47e1d4f867 FIX : useless function 2021-10-08 09:39:04 +02:00
Gauthier PC portable 024
eb5c7d1f6f FIX : travis 2021-10-08 09:22:35 +02:00
Gauthier PC portable 024
36aff80387 FIX : travis 2021-10-08 09:12:48 +02:00
Alexandre SPANGARO
00eafcb6e7 NEW Societe - Add perentity functionality on customer/supplier accountancy auxiliary account 2021-10-08 06:50:22 +02:00
Alexandre SPANGARO
c7fd9328cd NEW Societe - Add perentity functionality on customer/supplier accountancy auxiliary account 2021-10-08 06:29:22 +02:00
Alexandre SPANGARO
e68d9dc73c NEW Societe - Add perentity functionality on customer/supplier accountancy auxiliary account 2021-10-07 22:02:56 +02:00
Florian HENRY
677002e834 fix travis 2021-10-07 20:20:29 +02:00
Florian HENRY
ac41d76b22 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_dev_filter_from_dt_to_dt_actionlist 2021-10-07 20:19:38 +02:00
Gauthier PC portable 024
6fdd1c49f3 FIX : travis 2021-10-07 17:29:20 +02:00
Laurent Destailleur
17d2c3cb08 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/website/class/websitepage.class.php
2021-10-07 16:10:48 +02:00
Laurent Destailleur
b905b1b4bc FIX missing filter status=1 on rss feeds 2021-10-07 16:09:32 +02:00
Gauthier PC portable 024
4094d94bd6 FIX : travis 2021-10-07 14:41:15 +02:00
Gauthier PC portable 024
da52b00aef fix br 2021-10-07 14:32:16 +02:00
Gauthier PC portable 024
0a73b28742 FIX : travis 2021-10-07 14:18:03 +02:00
Gauthier PC portable 024
3740ae90f1 Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-10-07 13:19:33 +02:00
Gauthier PC portable 024
12488f4a29 FIX : travis 2021-10-07 13:19:21 +02:00
stickler-ci
5e02548abb Fixing style errors. 2021-10-07 10:30:32 +00:00
Gauthier PC portable 024
92319464d8 FIX : travis 2021-10-07 12:27:52 +02:00
Laurent Destailleur
831c72411b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-07 11:35:58 +02:00
Laurent Destailleur
d245abe908 Fix rounding 2021-10-07 11:34:21 +02:00
Gauthier PC portable 024
de48c1bdde Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW/integration_GPEC_code 2021-10-07 11:23:37 +02:00
Laurent Destailleur
68ac62d09c Fix phpcs 2021-10-07 11:05:06 +02:00
Laurent Destailleur
2cb0edb5eb Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/public/project/suggestbooth.php
	htdocs/public/project/suggestconference.php
2021-10-07 11:01:53 +02:00
Laurent Destailleur
9b5909300e Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
	htdocs/compta/paiement/card.php
	htdocs/fourn/facture/card.php
2021-10-07 11:00:00 +02:00
Laurent Destailleur
efd44b0ec0 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-10-07 10:57:03 +02:00
Laurent Destailleur
5910d10021 Add hidden option to allow to fix corrupted situations 2021-10-07 10:43:50 +02:00
Laurent Destailleur
162d5d8a39 Fix protection of double party accounting when using situation invoices 2021-10-07 10:38:10 +02:00
lvessiller
da52ee55a4 FIX sickler-ci errors 2021-10-07 10:13:30 +02:00
lvessiller
cc21257e3e NEW print without details 2021-10-07 09:51:55 +02:00
Alexandre SPANGARO
adfae30112 NEW Societe - Add perentity functionality on customer/supplier accountancy auxiliary account 2021-10-07 06:18:39 +02:00
Alexandre SPANGARO
24e3dd0992 Prepare sql 2021-10-07 06:05:36 +02:00
Laurent Destailleur
f8d4e2bbf9 Fix phpcs 2021-10-07 04:14:38 +02:00
Laurent Destailleur
ed6fefc493 Trans 2021-10-07 04:10:39 +02:00
Laurent Destailleur
ec545f8967 Fix data 2021-10-07 02:58:51 +02:00
Laurent Destailleur
5463a02887 Debug v14 2021-10-06 21:59:10 +02:00
Laurent Destailleur
6cb690e678 Debug v14 2021-10-06 21:56:48 +02:00
Laurent Destailleur
8fe37b20c0 Debug v14 2021-10-06 21:54:04 +02:00
Laurent Destailleur
cc0b709ad5 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-06 21:47:59 +02:00
Laurent Destailleur
2a5e654544 Debug v14 2021-10-06 21:47:46 +02:00
Laurent Destailleur
b34279da89 Debug v14 2021-10-06 21:46:01 +02:00
Laurent Destailleur
f95b0c3033 Debug 2021-10-06 21:43:30 +02:00
Laurent Destailleur
9cf46eaf25 Fix stats graphs 2021-10-06 20:29:48 +02:00
Laurent Destailleur
34187d53f6 Fix missing invoice in stats when due date is unknown/null 2021-10-06 20:10:36 +02:00
Laurent Destailleur
e1f5a39f48 Fix phpcs 2021-10-06 19:40:18 +02:00
Laurent Destailleur
e004d39ed4 Fix status of supplier invoice 2021-10-06 19:30:37 +02:00
Laurent Destailleur
ab78930476 Add api to post supplier proposal and supplier order documents 2021-10-06 18:50:29 +02:00
Laurent Destailleur
e228f07877 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/mrp/lib/mrp_mo.lib.php
2021-10-06 18:41:51 +02:00
Laurent Destailleur
88a482c615 Fix phpcs 2021-10-06 18:40:32 +02:00
Laurent Destailleur
144de734ce Fix phpcs 2021-10-06 18:39:16 +02:00
Laurent Destailleur
520a4f55f8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-10-06 18:34:03 +02:00
Laurent Destailleur
96b617cb4d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/eventorganization/conferenceorboothattendee_card.php
	htdocs/mrp/mo_list.php
2021-10-06 18:30:26 +02:00
Gauthier PC portable 024
231f809106 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW/integration_GPEC_code 2021-10-06 17:55:36 +02:00
Gauthier PC portable 024
0d5f06743f Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-10-06 17:48:06 +02:00
Gauthier PC portable 024
2efea59614 FIX : db escape 2021-10-06 17:47:27 +02:00
Indelog
18fb3a352b Add hook to overide sourcetype and targettype for linked object
This add hook `setLinkedObjectSourceTargetType` in
`CommonObject::showLinkToObjectBlock()` and in
`CommonObject::fetchObjectLinked()` to allow overiding sourcetype and
targettype by custom modules.
2021-10-06 17:18:45 +02:00
Florian HENRY
f52e2be10e NEW:Add filter from date to date into action/evt list 2021-10-06 16:23:11 +02:00
Laurent Destailleur
1c53035e38 Doc 2021-10-06 16:19:36 +02:00
Laurent Destailleur
e71ba444c9 Merge pull request #18518 from henrynopo/patch-10
Add - Shipment lines showing Unit for Qty from order lines
2021-10-06 16:13:31 +02:00
Laurent Destailleur
cb84eef6dc Update shipment.php 2021-10-06 16:13:02 +02:00
Laurent Destailleur
4208964153 Merge branch 'develop' into patch-10 2021-10-06 16:09:54 +02:00
Laurent Destailleur
e3032ef1c4 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/fourn/facture/card.php
2021-10-06 16:06:25 +02:00
stickler-ci
528e4f87d1 Fixing style errors. 2021-10-06 13:59:03 +00:00
Gauthier PC portable 024
a271bb8316 Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-10-06 15:56:11 +02:00
Gauthier PC portable 024
ad2844d2f0 FIX : cast int 2021-10-06 15:55:59 +02:00
Laurent Destailleur
ad1cb443e4 Merge pull request #18520 from cfoellmann/PR/pdf-no-template
allow supplier order to not generate pdfs
2021-10-06 15:35:08 +02:00
stickler-ci
fd7b8ae01a Fixing style errors. 2021-10-06 13:34:00 +00:00
Laurent Destailleur
7e0ec949c0 Merge pull request #18915 from vincentjdc/vat-number-societe-list
NEW Add `SOCIETE_SHOW_VAT_IN_LIST` to display VAT number in combo list of thirdparties
2021-10-06 15:33:46 +02:00
Laurent Destailleur
a33ca7d528 Update admin.lang 2021-10-06 15:33:06 +02:00
Gauthier PC portable 024
2f329bf053 FIX : cast int 2021-10-06 15:31:32 +02:00
Laurent Destailleur
eba377cdf0 Merge pull request #18860 from FHenry/12_fix_selectline_from_supplier_order_to_supplier_invoice
fix: Supplier order => Supplier Invoice : line selector (checkbox) wasn't working
2021-10-06 15:31:14 +02:00
Laurent Destailleur
10f0434116 Update card.php 2021-10-06 15:30:19 +02:00
Vincent Dieltiens
2889af9fae Add SOCIETE_SHOW_VAT_IN_LIST option to let the possibility to display (and search) VAT number in list of 'societe' 2021-10-06 15:23:23 +02:00
Laurent Destailleur
d5d892b263 Merge pull request #18831 from SteiniGreenwork/develop
NEW Can select existing batch numbers for a combo list (in mrp consumtion)
2021-10-06 15:20:52 +02:00
Gauthier PC portable 024
468b76e9d6 FIX : useless function 2021-10-06 15:15:22 +02:00
Laurent Destailleur
55652103fd Merge pull request #18863 from marc-dll/NEW_expense_report_project_required
NEW: expense reports: make project field required on lines
2021-10-06 14:35:09 +02:00
Laurent Destailleur
de49e4e375 Merge branch 'develop' into NEW_expense_report_project_required 2021-10-06 14:34:58 +02:00
Gauthier PC portable 024
23ffc1f4b5 FIX : useless function 2021-10-06 14:33:01 +02:00
Laurent Destailleur
6b5ab8025c Update admin.lang 2021-10-06 14:30:47 +02:00
Laurent Destailleur
3c885c1fce Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-06 14:27:47 +02:00
Laurent Destailleur
92ae3c9d52 Fix label in graph 2021-10-06 14:26:48 +02:00
Gauthier PC portable 024
ea13b043ee FIX : travis 2021-10-06 14:21:02 +02:00
Laurent Destailleur
7a9eb0baa7 Merge pull request #18911 from ksar-ksar/patch-10
FIX #18910 : MRP List SQL query syntax error with more than one extrafileds.
2021-10-06 14:10:37 +02:00
Laurent Destailleur
4be2d1414e Fix regression 2021-10-06 14:03:10 +02:00
Laurent Destailleur
b93110e4f0 Merge pull request #18901 from xgerhard/disabled-button-zero-qty-fix
Fix #18890 Fix disabled button if sum real qty is 0
2021-10-06 13:49:12 +02:00
Laurent Destailleur
ba15907582 Update inventory.php 2021-10-06 13:48:42 +02:00
Laurent Destailleur
f81be7db13 Merge pull request #18909 from FHenry/14_fix_api_priduct_warning
fix: fix php warning API REST products/{id}/subproducts
2021-10-06 13:43:37 +02:00
Laurent Destailleur
a984eb5c98 Merge branch 'develop' into 14_fix_api_priduct_warning 2021-10-06 13:43:18 +02:00
Laurent Destailleur
7b1b7c0ad6 Update api_products.class.php 2021-10-06 13:42:49 +02:00
Laurent Destailleur
5d9c87a9ea Update api_products.class.php 2021-10-06 13:42:13 +02:00
Francis Appels
dceb2b5341 Fix fatal error 2021-10-06 13:36:11 +02:00
Rüdiger Hahn
d963aa8832 Allow removal of tabs
For being able to remove or replace tabs, it is also necessary to call
this function with 'remove' mode.
2021-10-06 13:35:34 +02:00
Laurent Destailleur
b630b15991 Add missing line to remove a tab in modulebuilder 2021-10-06 13:33:13 +02:00
Laurent Destailleur
d1eb55ea2d Merge pull request #18897 from code-chicken/patch-13
Allow removal of tabs
2021-10-06 13:30:14 +02:00
Laurent Destailleur
329bc331db Merge pull request #18899 from fappels/14_fix_espadon
FIX fatal error on expedition espadon model
2021-10-06 13:29:47 +02:00
Laurent Destailleur
89b2ecf504 Add missing migration sql 2021-10-06 13:28:05 +02:00
Laurent Destailleur
65ea165721 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-06 13:27:42 +02:00
Laurent Destailleur
0cf18ded80 Merge pull request #18866 from marc-dll/14.0_FIX_holiday_increments_pgsql
FIX: postgresql compatibility with camelcase fields
2021-10-06 13:26:57 +02:00
Laurent Destailleur
8f9a7f4e35 Update 13.0.0-14.0.0.sql 2021-10-06 13:26:42 +02:00
Laurent Destailleur
ea3e3b133d Debug eventorganization modules 2021-10-06 12:55:07 +02:00
Laurent Destailleur
ff29ac93ad Debug eventorganization modules 2021-10-06 12:43:40 +02:00
Indelog
45e6ea45dc Fix stickler 2021-10-06 12:19:10 +02:00
Indelog
fb775e2c6e Fix Add module part in llx_element_element on CommonObject::add_object_linked()
Add module part to target type if object has $module property and is'nt
in core modules.
2021-10-06 12:14:46 +02:00
Laurent Destailleur
3709c6ff47 Fix phpcs 2021-10-06 11:53:27 +02:00
Laurent Destailleur
93b4853f8e Fix var_dump 2021-10-06 11:52:12 +02:00
ksar
6a20fcc5c0 FIX #18910 2021-10-06 11:24:42 +02:00
Florian HENRY
9d1915f9c2 fix php warning 2021-10-06 09:56:10 +02:00
Laurent Destailleur
36a00bc1ac Enhance selection of qty to transfer/correct stock 2021-10-05 20:42:52 +02:00
Laurent Destailleur
06eb138b47 Merge pull request #18902 from xgerhard/fix-negative-stock-correction
Fix #18895 Fix negative stock correction
2021-10-05 18:45:50 +02:00
Laurent Destailleur
e85a0c54cc Update product.class.php 2021-10-05 18:43:35 +02:00
Laurent Destailleur
30ac1fbf01 Merge pull request #18904 from cfoellmann/PR/hook-beforebodyclose
NEW add hook `beforeBodyClose`
2021-10-05 16:52:46 +02:00
Laurent Destailleur
ff56415c00 Merge pull request #18903 from aspangaro/15a21
HTML5 - <font> tag is deprecated, replace by <span>
2021-10-05 16:51:41 +02:00
Gauthier PC portable 024
298f337f36 Revert "FIX : travis feedback"
This reverts commit 1a651f089d.
2021-10-05 16:45:18 +02:00
Gauthier PC portable 024
1a651f089d FIX : travis feedback 2021-10-05 16:38:20 +02:00
Marc de Lima Lucio
fdb6ebe80e FIX: postgresql: rename the oly column with uppercase characters to lowercase 2021-10-05 16:18:56 +02:00
Marc de Lima Lucio
88d93a4da5 FIX: expense reports: no need to delete const at project module activation 2021-10-05 15:59:29 +02:00
Gauthier PC portable 024
1d4d4dfe18 FIX : ihm 2021-10-05 15:43:57 +02:00
Gauthier PC portable 024
cf7def093f Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-10-05 15:21:53 +02:00
Gauthier PC portable 024
370af17894 FIX : ihm 2021-10-05 15:21:37 +02:00
stickler-ci
6c63020957 Fixing style errors. 2021-10-05 13:06:49 +00:00
Gauthier PC portable 024
5f0e09e1ef FIX : postgres adaptation 2021-10-05 15:04:15 +02:00
Laurent Destailleur
413164f5c0 NEW can upload the odt file for product doc template 2021-10-05 13:48:13 +02:00
Laurent Destailleur
b4cfe35138 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-05 13:39:46 +02:00
Laurent Destailleur
123c047e29 Fix look and feel v14 2021-10-05 13:34:25 +02:00
Laurent Destailleur
b11dbf069e FIX Bad use of a forced contact of another company on PDF/ODT documents 2021-10-05 13:11:54 +02:00
Gauthier PC portable 024
99f331c817 Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-10-05 12:43:56 +02:00
Gauthier PC portable 024
bea17e8d78 FIX : travis + User::hasRight() function modification to take care of hrm specific rights 2021-10-05 12:42:42 +02:00
Laurent Destailleur
379dd9ccbb Fix position of text 2021-10-05 12:09:03 +02:00
Alexandre SPANGARO
7f47df6ea4 HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 11:44:48 +02:00
stickler-ci
39cc2ca5b6 Fixing style errors. 2021-10-05 09:42:52 +00:00
stickler-ci
75182f40a0 Fixing style errors. 2021-10-05 09:37:38 +00:00
Indelog
6c82b1d0e1 Fix creataing invoice originating for custom module
This fix the invoice create form when we provide `origin` element in
url. The actual create form overide the value for origin field with
`$objectsrc->element`. This make creation of invoice originating from a custom
module module impossible because we need the module part to instantiate
the class for the custom module object.

This also modify Common Object::fetch Object Linked() to append the
module part for `$sourcetype` and `$targettype` if it not set and object
have module property and it not in core module.
2021-10-05 11:35:43 +02:00
Gauthier PC portable 024
75c7502922 FIX : useless dol_include_once + travis feedback 2021-10-05 11:35:00 +02:00
Gauthier PC portable 024
5d179beaac FIX : several fixes + travis 2021-10-05 11:14:08 +02:00
Laurent Destailleur
50470f84c4 Look and feel v15. Stay at same position on doc generation 2021-10-05 11:03:51 +02:00
Christian Foellmann
caf26d95d6 add hook beforeBodyClose 2021-10-05 10:41:11 +02:00
Laurent Destailleur
f0703b414a css 2021-10-05 10:24:31 +02:00
Alexandre SPANGARO
1d2c8effd8 HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 10:20:35 +02:00
Alexandre SPANGARO
f6a8082f16 HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 10:01:37 +02:00
Alexandre SPANGARO
2e49eee106 HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 09:52:45 +02:00
Alexandre SPANGARO
3f26ab195b HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 09:46:48 +02:00
Alexandre SPANGARO
edf91ce77c HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 09:41:03 +02:00
Laurent Destailleur
355f17be3d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-05 09:11:37 +02:00
Laurent Destailleur
5ad02ccc32 MAIN_EMAIL_ADD_TRACK_ID removed, MAIN_FIX_FOR_BUGGED_MTA 1 by defaut 2021-10-05 09:11:20 +02:00
Alexandre SPANGARO
c57aea1ead HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 09:10:37 +02:00
Alexandre SPANGARO
b8a7f122ef HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 09:06:07 +02:00
Alexandre SPANGARO
d10ec688c7 HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 09:03:13 +02:00
Laurent Destailleur
b559dc9053 css 2021-10-05 08:55:57 +02:00
Alexandre SPANGARO
463efd3802 Missing language key 2021-10-05 06:26:19 +02:00
Alexandre SPANGARO
e75d7b2206 HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 06:25:53 +02:00
xgerhard
e44c3a46e1 Fix #18895 Fix negative stock correction
If people use a negative number as input, I think we can assume they want to delete units. It will now set the movement to 1 if the number is negative and 'add' was selected.

For each negative number we now multiply this number by -1, to make it a positive number again.
2021-10-05 00:25:52 +02:00
xgerhard
cbd825e526 FIX|Fix #18890 Fix disabled button if sum real qty is 0
Instead of counting the sum of the 'real qty' input, only disable the button if no input has been given, or if all input is the same as the expected qty.

'$object->status' check seems unnecessary here since the button is only there when the status is 'STATUS_VALIDATED'.
2021-10-05 00:03:00 +02:00
Francis Appels
d3cbda08dc Fix fatal error 2021-10-04 22:12:50 +02:00
Laurent Destailleur
9617bbb463 Merge pull request #18788 from fr69400/develop
New : Add showdocument hook
2021-10-04 20:13:50 +02:00
stickler-ci
ced7c24c40 Fixing style errors. 2021-10-04 17:25:13 +00:00
Laurent Destailleur
2f6a4fa04a Update html.formfile.class.php 2021-10-04 19:20:37 +02:00
Rüdiger Hahn
35aa9b0d35 Allow removal of tabs
For being able to remove or replace tabs, it is also necessary to call this function with 'remove' mode.
2021-10-04 19:19:12 +02:00
Laurent Destailleur
e14676be49 Fix phpunit 2021-10-04 19:09:38 +02:00
Laurent Destailleur
2ef65a2877 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-04 19:08:38 +02:00
Laurent Destailleur
ee4276e0aa Error message 2021-10-04 19:03:14 +02:00
Francis Appels
616bebfe55 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-10-04 18:52:43 +02:00
Laurent Destailleur
f7f8ff2df2 Merge pull request #18862 from marc-dll/NEW_expense_report_overlap_link
NEW: expense report: show link to already existing overlapping expense report
2021-10-04 15:37:49 +02:00
Laurent Destailleur
6f4c3cba6f Merge pull request #18891 from stepanych/develop
Fix #18875
2021-10-04 15:33:13 +02:00
Laurent Destailleur
86c8a53f24 Merge pull request #18892 from aspangaro/15a23
FIX Remove Isle of Man of ECC's countries compatible with VAT Rules
2021-10-04 15:32:40 +02:00
Laurent Destailleur
bad5d87f57 NEW theme option THEME_ELDY_USEBORDERONTABLE 2021-10-04 14:56:30 +02:00
Laurent Destailleur
6060f0bfb0 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/admin/productaccount.php
	htdocs/core/class/html.form.class.php
	htdocs/langs/en_US/main.lang
2021-10-04 14:53:44 +02:00
stickler-ci
35e7a473f4 Fixing style errors. 2021-10-04 12:10:54 +00:00
Gauthier PC portable 024
0dd3681e50 FIX : several debug 2021-10-04 14:08:11 +02:00
Laurent Destailleur
6d8276c9c8 Doc 2021-10-04 12:59:53 +02:00
Laurent Destailleur
91ee704dc3 Move trans from admin to main 2021-10-04 12:16:50 +02:00
Laurent Destailleur
1c56f65c27 Fix missing migration instruction 2021-10-04 11:49:49 +02:00
Marc de Lima Lucio
704bae46a6 FIX: expense report: show link to already existing overlapping expense report without adding new parameter 2021-10-04 08:51:31 +02:00
Stephan Steininger
3bb941f3b8 Merge branch 'Dolibarr:develop' into develop 2021-10-04 08:12:19 +02:00
Laurent Destailleur
66310b14d7 Better way to present open invoice graph 2021-10-04 05:34:14 +02:00
Laurent Destailleur
7b02560c4f Better way to present open invoice graph 2021-10-04 05:27:07 +02:00
Laurent Destailleur
b6ec7ae77a Fix permissions on module PaymentByBankTransfer 2021-10-04 04:36:58 +02:00
Laurent Destailleur
b3cb56f2ef Clean css 2021-10-04 04:14:31 +02:00
Laurent Destailleur
e46d064d5e Clean text 2021-10-03 20:36:03 +02:00
Laurent Destailleur
7c573da4b0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-03 19:31:09 +02:00
Laurent Destailleur
6a6678438f Update doc 2021-10-03 19:30:51 +02:00
Laurent Destailleur
2c32c6c5c9 Fix contextpage for list of tickets 2021-10-03 19:17:23 +02:00
Laurent Destailleur
e558adbcfc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-10-03 18:20:34 +02:00
Laurent Destailleur
d6e1a6be93 Look and feel v14 2021-10-03 18:20:01 +02:00
stickler-ci
76ec8e0f25 Fixing style errors. 2021-10-03 10:37:31 +00:00
Gauthier PC portable 024
a6c854cb59 FIX : restore link to hrm establishment tab 2021-10-03 12:34:47 +02:00
Alexandre SPANGARO
42bb9ac6d2 Better URL 2021-10-03 05:49:54 +02:00
Alexandre SPANGARO
94166cdb7e FIX Remove Isle of Man of ECC's countries 2021-10-03 05:36:53 +02:00
Alexandre SPANGARO
042d520061 Change Url 2021-10-03 05:30:49 +02:00
stepanych
b1eb1c1070 fix issue #18875
added check for $$search_array_options
2021-10-03 01:08:22 +02:00
Laurent Destailleur
2f813e0b6a Merge pull request #18832 from atm-gauthier/NEW/integration_GPEC_sql
NEW : integration HRM sql and migration files
2021-10-02 21:18:50 +02:00
Laurent Destailleur
b352d43baa Merge pull request #18861 from marc-dll/NEW_expense_report_prefill_dates
NEW: expense reports: conf to pre-fill start/end dates with bounds of current month
2021-10-02 21:12:09 +02:00
Laurent Destailleur
705644bf07 Merge branch 'develop' into NEW_expense_report_prefill_dates 2021-10-02 21:11:59 +02:00
Laurent Destailleur
a5daf9de9d Update admin.lang 2021-10-02 21:09:03 +02:00
Laurent Destailleur
4c6f2fc4b5 Merge pull request #18874 from OPEN-DSI/v14-fix-product-per-entity-portability-sql
FIX Product accountancy affectation with product_perentity activated …
2021-10-02 21:04:11 +02:00
Laurent Destailleur
e5c5d8d755 Merge pull request #18878 from frederic34/patch-4
doxygen
2021-10-02 21:00:39 +02:00
Laurent Destailleur
1a8cb9c4b5 Merge pull request #18864 from marc-dll/NEW_expense_report_force_amounts_including_taxes
NEW: expense reports: conf to force amounts to be entered only including taxes
2021-10-02 21:00:29 +02:00
Laurent Destailleur
f479c2bc77 Merge pull request #18868 from frederic34/patch-1
Fix migration Update 14.0.0-15.0.0.sql
2021-10-02 20:50:10 +02:00
Laurent Destailleur
c149af82fe Merge pull request #18873 from JR-Polyline/patch-1
Fix dynamic prices not updating
2021-10-02 20:45:16 +02:00
Laurent Destailleur
dd68e8c36e Merge pull request #18877 from frederic34/patch-2
doxygen
2021-10-02 20:44:15 +02:00
Laurent Destailleur
c4ca0bdc28 Merge pull request #18879 from frederic34/patch-5
doxygen
2021-10-02 20:44:09 +02:00
Laurent Destailleur
2483cc7965 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-10-02 20:43:30 +02:00
Laurent Destailleur
55e97784bd FIX #18880 2021-10-02 20:42:54 +02:00
Laurent Destailleur
dfb1b1636f Merge pull request #18881 from frederic34/patch-6
doxygen
2021-10-02 20:38:55 +02:00
Laurent Destailleur
084b6e3bd7 Merge pull request #18883 from frederic34/patch-8
doxygen
2021-10-02 20:38:49 +02:00
Laurent Destailleur
63fc0c1239 Merge pull request #18885 from frederic34/patch-10
doxygen
2021-10-02 20:38:41 +02:00
Laurent Destailleur
90a4f70501 Merge pull request #18882 from frederic34/patch-7
doxygen
2021-10-02 20:38:34 +02:00
Laurent Destailleur
8ba18f4d73 Merge pull request #18884 from frederic34/patch-9
doxygen
2021-10-02 20:38:27 +02:00
Laurent Destailleur
7e48d6d31b Merge pull request #18886 from frederic34/patch-11
doxygen
2021-10-02 20:38:20 +02:00
Laurent Destailleur
bcb7d8c07a Merge pull request #18887 from frederic34/patch-12
doxygen
2021-10-02 20:38:13 +02:00
Laurent Destailleur
1451e95e79 Merge pull request #18888 from frederic34/patch-13
doxygen
2021-10-02 20:37:53 +02:00
Laurent Destailleur
902fed1f0d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/ecm/index.php
2021-10-02 20:09:06 +02:00
Laurent Destailleur
d99b3d601a FIX #18854 2021-10-02 20:07:09 +02:00
Laurent Destailleur
2fe1b548ef Show label of permission as tooltip on list of modules/app 2021-10-02 19:45:58 +02:00
Laurent Destailleur
7863642daa FIX #18852 2021-10-02 19:16:42 +02:00
Laurent Destailleur
227adaf5fc CSS 2021-10-02 15:26:29 +02:00
Laurent Destailleur
04a5dc2794 css 2021-10-02 14:53:47 +02:00
Frédéric FRANCE
828c1d41e7 doxygen
https://doxygen.dolibarr.org/develop/doxygen-warnings.log
2021-10-02 13:49:33 +02:00
Frédéric FRANCE
0ebe4de80a doxygen
https://doxygen.dolibarr.org/develop/doxygen-warnings.log
2021-10-02 13:48:27 +02:00
Frédéric FRANCE
1ba0369f01 doxygen
https://doxygen.dolibarr.org/develop/doxygen-warnings.log
2021-10-02 13:47:30 +02:00
Frédéric FRANCE
365f2ba31e doxygen
https://doxygen.dolibarr.org/develop/doxygen-warnings.log
2021-10-02 13:42:19 +02:00
Frédéric FRANCE
c33d8ac49b doxygen
https://doxygen.dolibarr.org/develop/doxygen-warnings.log
2021-10-02 13:40:33 +02:00
Frédéric FRANCE
7bf07395c6 doxygen
https://doxygen.dolibarr.org/develop/doxygen-warnings.log
2021-10-02 13:37:41 +02:00
Frédéric FRANCE
5c4b55fe7f doxygen
https://doxygen.dolibarr.org/develop/doxygen-warnings.log
2021-10-02 13:35:17 +02:00
Frédéric FRANCE
10aa6106d2 doxygen 2021-10-02 13:34:08 +02:00
Frédéric FRANCE
5d181810da doxygen 2021-10-02 13:31:54 +02:00
Frédéric FRANCE
c5871ac765 doxygen
/home/dolibarr/htdocs/admin/eventorganization_confboothattendee_extrafields.php:23: warning: the name 'admin/conferenceorboothattendee_extrafields.php' supplied as the argument in the \file statement is not an input file
2021-10-02 13:29:33 +02:00
Frédéric FRANCE
254fbb862b doxygen 2021-10-02 13:27:25 +02:00
Laurent Destailleur
3102d0725c Fix test on action param 2021-10-02 13:04:57 +02:00
Laurent Destailleur
d064ab2b17 Add more action to GET action to check 2021-10-02 12:58:15 +02:00
Laurent Destailleur
2671eeb4e5 Responsive 2021-10-01 18:54:14 +02:00
lvessiller
fd7d1374c2 FIX Product accountancy affectation with product_perentity activated (PR #18620) 2021-10-01 16:37:54 +02:00
JR-Polyline
2be2423dee Fix dynamic prices not updating
When Dynamic price module active and an a math expression is used to compute buy price on supplier product card, the calculated price does not update on the card when saved.
Changing line 849 appears to solve this without any ill effect.
2021-10-01 21:30:25 +08:00
Laurent Destailleur
d68719226b Fix can install module with name module_abc-x.y.z (w).zip 2021-10-01 14:10:50 +02:00
Laurent Destailleur
eada0f468f Set MAIN_SECURITY_CSRF_WITH_TOKEN recommended value to 1 2021-10-01 12:39:15 +02:00
Laurent Destailleur
c664b78800 MAIN_SECURITY_CSRF_WITH_TOKEN now has 3 levels (1, 2, 3) 2021-10-01 12:37:32 +02:00
Laurent Destailleur
c244d7375c MAIN_SECURITY_CSRF_WITH_TOKEN now has 3 levels (1, 2, 3) 2021-10-01 12:30:24 +02:00
Frédéric FRANCE
87cbc2b555 Update 14.0.0-15.0.0.sql 2021-10-01 08:24:40 +02:00
stickler-ci
753644a024 Fixing style errors. 2021-10-01 06:09:45 +00:00
Gauthier PC portable 024
d01460d606 FIX : hrm_position > hrm_job_user + seEventMessage on evaluation close 2021-10-01 08:06:45 +02:00
Gauthier PC portable 024
433132de9a FIX : llx_hrm_position > llx_hrm_job_user 2021-10-01 07:49:31 +02:00
Laurent Destailleur
7f8d5adb6c css 2021-09-30 20:32:52 +02:00
Laurent Destailleur
157112758b Fix phpcs 2021-09-30 20:14:59 +02:00
Laurent Destailleur
166d3b08d6 Add LIBXML_NONET to simplexml_load_string 2021-09-30 20:12:01 +02:00
Marc de Lima Lucio
2a85a32659 FIX: postgresql compatibility with camelcase fields 2021-09-30 18:30:22 +02:00
Marc de Lima Lucio
d3e90e8f76 NEW: expense reports: conf to force amounts to be entered only including taxes 2021-09-30 17:24:57 +02:00
stickler-ci
e1777a6266 Fixing style errors. 2021-09-30 15:12:36 +00:00
Marc de Lima Lucio
0dae918b76 NEW: expense reports: make project field required on lines 2021-09-30 17:09:49 +02:00
Marc de Lima Lucio
6a66fcbff8 NEW: expense report: show link to already existing overlapping expense report 2021-09-30 16:51:31 +02:00
Marc de Lima Lucio
c2c7d88520 NEW: NEW: expense reports: conf to pre-fill start/end dates with bounds of current month 2021-09-30 16:40:34 +02:00
Florian HENRY
6d00097c89 fix 2021-09-30 16:37:52 +02:00
Laurent Destailleur
673a2982a5 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/opensurvey/card.php
2021-09-30 16:32:40 +02:00
Laurent Destailleur
0bf1db2fd4 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-30 16:29:10 +02:00
Laurent Destailleur
ed264182c6 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/admin/dict.php
	htdocs/comm/action/class/actioncomm.class.php
	htdocs/product/card.php
	htdocs/takepos/receipt.php
2021-09-30 16:28:42 +02:00
Laurent Destailleur
44bb5ebf34 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
2021-09-30 16:23:34 +02:00
Laurent Destailleur
bb6399e12a Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/admin/dict.php
	htdocs/comm/action/class/actioncomm.class.php
	htdocs/product/card.php
2021-09-30 16:21:36 +02:00
Laurent Destailleur
fc4a16b356 Fix avoid error when trigger run on downgraded version. 2021-09-30 16:18:07 +02:00
Laurent Destailleur
3d4bb66853 Clean code 2021-09-30 15:59:47 +02:00
Laurent Destailleur
608b6f5fa3 Clean code 2021-09-30 15:24:57 +02:00
Stephan Steininger
5bb717b887 Merge branch 'develop' of https://github.com/SteiniGreenwork/dolibarr into develop 2021-09-30 15:07:37 +02:00
Stephan Steininger
2e2048f6d8 Update documentation 2021-09-30 15:06:57 +02:00
Florian HENRY
d0508d557b fix: checkbox for line selection between supplier order and supplier invoice was infective 2021-09-30 14:56:02 +02:00
Laurent Destailleur
aaf170313f Clean code 2021-09-30 14:51:38 +02:00
Laurent Destailleur
9460ad152e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-30 14:46:39 +02:00
Laurent Destailleur
9951ea8310 Merge pull request #18554 from atm-adrien/NEW_develop_virtual_product_DragAndDrop
NEW : Allow drag and drop on kits
2021-09-30 14:46:10 +02:00
Laurent Destailleur
827639f28d Try to solve pb of unique id 2021-09-30 14:45:22 +02:00
Laurent Destailleur
d764080636 Add tag data-ignoreidfordnd=1 to ignor lines for drage and drop lines 2021-09-30 14:43:19 +02:00
Laurent Destailleur
63218d5d5c Update product.class.php 2021-09-30 14:30:50 +02:00
stickler-ci
c5ad75c7c1 Fixing style errors. 2021-09-30 12:27:01 +00:00
Laurent Destailleur
3565a47954 Merge branch 'develop' into NEW_develop_virtual_product_DragAndDrop 2021-09-30 14:24:30 +02:00
Laurent Destailleur
17c89a478c Merge pull request #17819 from FHenry/dev_new_splitcalc_suggestd_code_compta
NEW : rewrite bind accountancy code finding on sales invoice
2021-09-30 14:13:20 +02:00
Laurent Destailleur
422191def1 Merge pull request #18858 from FHenry/12_fix_dict_tva
fix: search code on tva dict
2021-09-30 14:05:07 +02:00
Laurent Destailleur
620d7109b5 Update dict.php 2021-09-30 14:04:56 +02:00
stickler-ci
b069f81965 Fixing style errors. 2021-09-30 11:58:20 +00:00
Stephan Steininger
94cc75cb69 Changed input type from select to input.
New function selectLot
2021-09-30 13:56:43 +02:00
Gauthier PC portable 024
1ff39d79e5 Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-09-30 13:52:43 +02:00
Gauthier PC portable 024
53c63fdfe8 FIX : stickler feedbacks part 5 2021-09-30 13:52:31 +02:00
Florian HENRY
332fa77d90 fix: search code on tva dict 2021-09-30 13:49:02 +02:00
stickler-ci
033e756558 Fixing style errors. 2021-09-30 11:48:42 +00:00
Gauthier PC portable 024
499d30b04d Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-09-30 13:46:20 +02:00
Gauthier PC portable 024
030829942c FIX : stickler feedbacks part 4 2021-09-30 13:46:10 +02:00
Laurent Destailleur
bd41497f35 Merge pull request #18823 from ptibogxiv/patch-445
NEW API list of staff units
2021-09-30 13:40:51 +02:00
Laurent Destailleur
95e1ec87dc Merge branch 'develop' into patch-445 2021-09-30 13:40:23 +02:00
Laurent Destailleur
ee79df9bc7 Merge pull request #18839 from indelog/fix_list_of_autoecmfiles
Fix FormFile::list_of_autoecmfiles object_instance classname after hook
2021-09-30 13:39:16 +02:00
Laurent Destailleur
ae9643bbef Update html.formfile.class.php 2021-09-30 13:38:38 +02:00
Laurent Destailleur
3deb424b4f Merge pull request #18845 from indelog/fix_doc_prev_ecm
Fix show for external module in ecm index auto page
2021-09-30 13:36:49 +02:00
Norbert Penel
4e86f872ca it was impossible to update a task
after some investigation i saw those errors but they are maybe some more around here
2021-09-30 13:35:23 +02:00
Laurent Destailleur
89b24f1690 Merge pull request #18840 from homer8173/patch-23
it was impossible to update a task
2021-09-30 13:34:46 +02:00
Laurent Destailleur
98d8bad955 Merge pull request #18843 from indelog/fix_ecm_deletion
Fix append module suffix on src_object_type when create ecm file
2021-09-30 13:32:42 +02:00
Laurent Destailleur
4fe9a4fd30 Merge pull request #18846 from hregis/fix_avoid_warning_if_not_an_array
FIX avoid warning if $categories is an id
2021-09-30 13:30:37 +02:00
Laurent Destailleur
8ab9524d0d Merge pull request #18849 from javieralapps4up/develop
FIX: #18848 Add Andorra (AD) in the public function useDetailedBBAN () Feature request
2021-09-30 13:30:02 +02:00
Laurent Destailleur
5f9a68b835 Merge pull request #18857 from homer8173/patch-24
load_stats_reception is not loaded
2021-09-30 13:29:28 +02:00
Norbert Penel
2205073f25 load_stats_reception is not loaded 2021-09-30 12:09:17 +02:00
Stephan Steininger
372aa6bf4c Merge branch 'Dolibarr:develop' into develop 2021-09-30 09:05:05 +02:00
stickler-ci
e4b4035c05 Fixing style errors. 2021-09-30 06:47:15 +00:00
Gauthier PC portable 024
acbf09ba59 FIX : stickler feedbacks part 3 2021-09-30 08:44:38 +02:00
Laurent Destailleur
04fa5ff70b css 2021-09-30 01:50:11 +02:00
Laurent Destailleur
fca39d9179 css 2021-09-30 01:15:36 +02:00
Laurent Destailleur
1595b38498 Fix param $morecss on img_mime 2021-09-30 00:28:47 +02:00
Laurent Destailleur
a9805fbfc1 NEW The protection MAIN_SECURITY_CSRF_WITH_TOKEN=1 is on by default 2021-09-29 17:34:31 +02:00
Laurent Destailleur
3d239e7528 Trans 2021-09-29 17:28:06 +02:00
Laurent Destailleur
11c48a53a5 Fix name of file 2021-09-29 17:20:59 +02:00
Laurent Destailleur
a495d5e982 Fix translation 2021-09-29 17:14:37 +02:00
Laurent Destailleur
2dd55301de Fix duplicate field and look and feel 2021-09-29 17:06:51 +02:00
Laurent Destailleur
52fb627a64 Look and feel v14 2021-09-29 16:45:48 +02:00
Laurent Destailleur
1d35d8fd2d CSS popup company 2021-09-29 16:42:52 +02:00
Laurent Destailleur
34dacca77c Css 2021-09-29 16:31:40 +02:00
Laurent Destailleur
670a80c74c Trans 2021-09-29 16:26:10 +02:00
Laurent Destailleur
a395ff5ee3 Css 2021-09-29 16:19:47 +02:00
Laurent Destailleur
0f55eea276 css 2021-09-29 14:48:50 +02:00
Laurent Destailleur
c5d683a8bc Fix link param 2021-09-29 12:46:30 +02:00
Laurent Destailleur
9fe72597ab Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-29 12:43:27 +02:00
Laurent Destailleur
10ea7ddeef Fix link param 2021-09-29 12:31:25 +02:00
Regis Houssin
6e08ecde04 FIX indentation 2021-09-29 08:47:22 +02:00
Gauthier PC portable 024
92ae884331 Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code 2021-09-29 08:35:21 +02:00
Gauthier PC portable 024
f12a300795 FIX : td 2021-09-29 08:35:08 +02:00
stickler-ci
e8a5a2cc62 Fixing style errors. 2021-09-29 06:34:00 +00:00
Gauthier PC portable 024
eccff256b1 FIX : IHM 2021-09-29 08:30:30 +02:00
Gauthier PC portable 024
419ff967e3 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW/integration_GPEC_sql 2021-09-29 07:52:13 +02:00
Gauthier PC portable 024
409c8c8d57 FIX : stickler feedbacks part 2 2021-09-29 07:49:42 +02:00
Laurent Destailleur
baadf2dc6c Fix reposition 2021-09-29 01:51:34 +02:00
stickler-ci
4d62aff8aa Fixing style errors. 2021-09-28 18:29:50 +00:00
ptibogxiv
1b71404225 Update api_setup.class.php 2021-09-28 20:27:45 +02:00
Laurent Destailleur
01c8bbedbf Look and feel v15 2021-09-28 19:40:41 +02:00
Laurent Destailleur
b58112a67e Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-28 18:08:16 +02:00
Laurent Destailleur
1e840fe7ed Code comment 2021-09-28 18:07:04 +02:00
Laurent Destailleur
65267920c8 Missing language 2021-09-28 17:25:57 +02:00
javieralapps4up
f6c8932cfa Update account.class.php 2021-09-28 17:25:31 +02:00
Laurent Destailleur
e15277bb6c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-28 17:23:07 +02:00
javieralapps4up
b6bb27e0f7 FIX: #18848 2021-09-28 17:21:22 +02:00
Laurent Destailleur
0f685853c4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-28 16:47:39 +02:00
Laurent Destailleur
7c5dfa0ad2 Fix language files 2021-09-28 16:47:09 +02:00
Regis Houssin
43a47999d7 FIX avoid warning if $categories is an id 2021-09-28 16:35:01 +02:00
Indelog
fae0337b3e Fix show for external module in ecm index auto page
This set the correct `modulepart` parameter for link generated to
`document.php` of ecm auto index page if `src_object_type` for
ecm document has a module suffix (`@modulename`).
2021-09-28 16:22:28 +02:00
Indelog
5b8b55cfba Fix append module suffix on src_object_type when create ecm file
Files added to `llx_ecm_files` for externals modules never be removed on
object deletion.

When `CommonObject::deleteEcmFiles()` is called with `mode=1`, it  use
this sql filter to find the file related to the object which is removed
:

```
$sql .= " WHERE fk_object IN (SELECT rowid FROM ".MAIN_DB_PREFIX."ecm_files WHERE src_object_type = '".$this->db->escape($this->table_element.(empty($this->module) ? '' : '@'.$this->module))."' AND src_object_id = ".((int) $this->id).")";
```

We see it append `'@'.$this->module` to `$this->table_element` but when
file is add to the `llx_ecm_files` by
`CommonObject::commonGenerateDocument()` , it added whiteout the
`'@'.$this->module` suffix. So the file is never remove from
`llx_ecm_files` when object is deleted.

This fix it by appending module suffix on `src_object_type` if object
has `module` property when add document to the `llx_ecm_files`.
2021-09-28 15:26:08 +02:00
Florian HENRY
d565f9d3f1 reveiw code 2021-09-28 15:09:47 +02:00
Florian HENRY
f47a319c15 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_new_splitcalc_suggestd_code_compta 2021-09-28 15:01:14 +02:00
Norbert Penel
d43cf4938a it was impossible to update a task
after some investigation i saw those errors but they are maybe some more around here
2021-09-28 13:46:03 +02:00
Laurent Destailleur
abc7137c81 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-28 13:45:05 +02:00
Laurent Destailleur
fc56b88a1f FIX select list of orders not complete when field type of company is on 2021-09-28 13:44:42 +02:00
Laurent Destailleur
89ac5a5be6 Merge pull request #18723 from PyroShape/develop
Explicit date_creation instead of date
2021-09-28 13:34:44 +02:00
Laurent Destailleur
107b3286c0 Merge pull request #18795 from Hystepik/develop#4
NEW #18770 : Can enter the buying price (for Weighted Average Price update) on lines during the reception step
2021-09-28 13:24:41 +02:00
Laurent Destailleur
a8c4132a23 Update reception.class.php 2021-09-28 13:22:44 +02:00
Laurent Destailleur
f9913d2ebc Merge branch 'develop' into develop#4 2021-09-28 13:21:43 +02:00
Laurent Destailleur
d7986fafbc Merge pull request #18810 from aspangaro/14p16
FIX Accountancy - Missing specific filename for export on format FEC2
2021-09-28 13:20:33 +02:00
Alexandre SPANGARO
9426af8f6a NEW #18820 Accountancy - Add product account in import/export of thirdparty (level 3) 2021-09-28 13:16:44 +02:00
Laurent Destailleur
0c52817426 Merge pull request #18821 from aspangaro/15a20
NEW #18820 Accountancy - Add product account in import/export of thirdparty (level 3)
2021-09-28 13:14:16 +02:00
Laurent Destailleur
1199782d61 Update api_setup.class.php 2021-09-28 13:10:46 +02:00
Laurent Destailleur
21fa60a730 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-28 13:08:03 +02:00
Laurent Destailleur
cc3b826ed6 Merge pull request #18824 from ptibogxiv/patch-446
NEW API get list of legal form of business
2021-09-28 13:00:11 +02:00
Laurent Destailleur
4f660343aa Update api_setup.class.php 2021-09-28 12:59:00 +02:00
Laurent Destailleur
b795d6b430 Update api_setup.class.php 2021-09-28 12:58:19 +02:00
Laurent Destailleur
43637c936c Merge pull request #18825 from grandoc/new_branch_25_09_2021
fix : warning: Undefined property: stdClass:: in C:\wamp64\www\doliba…
2021-09-28 12:56:43 +02:00
Laurent Destailleur
8f4fb9fd3c Update barcode.lib.php 2021-09-28 12:56:33 +02:00
Laurent Destailleur
bde8ba300a Merge pull request #18827 from aspangaro/15a21
NEW #18814 Add legal form for Sweden
2021-09-28 12:42:35 +02:00
stickler-ci
9e951d9a51 Fixing style errors. 2021-09-28 10:20:21 +00:00
Laurent Destailleur
0ae0d13f8b Update mo_production.php 2021-09-28 12:20:02 +02:00
Laurent Destailleur
e6290b3b62 Merge pull request #18836 from aspangaro/14p22
FIX Propal list - Problem of pagination on date
2021-09-28 12:17:22 +02:00
Laurent Destailleur
c3d539abff Merge pull request #18833 from marc-dll/12.0_FIX_product_extrafields_update
FIX: products/services card: hidden extrafields were overridden
2021-09-28 12:13:08 +02:00
Laurent Destailleur
a70f5dd90e Doc 2021-09-28 12:12:11 +02:00
Laurent Destailleur
6b80afa4d1 Merge pull request #18837 from habibulilalbaab/patch-1
Bug Query llx_categorie_knowledgemanagement.sql
2021-09-28 12:10:35 +02:00
Laurent Destailleur
dcddddd105 Merge pull request #18838 from habibulilalbaab/patch-2
Fix Bug Query llx_product.sql
2021-09-28 12:10:15 +02:00
Indelog
2472dff67b Fix FormFile::list_of_autoecmfiles object_instance classname after hook
FormFile::list_of_autoecmfiles() can instantiate object with parameters
resulting of hook `addSectionECMAuto` but for do this,
it use `${$hookmanager->resArray['classname']}` which return a
`null`. Instead we should do this
`$hookmanager->resArray['classname']`.
2021-09-28 12:08:45 +02:00
Laurent Destailleur
0e3ec3ea2d Trans 2021-09-28 11:56:43 +02:00
Laurent Destailleur
e6e224f33c Better translation 2021-09-28 11:53:00 +02:00
Gauthier PC portable 024
9713f6afd9 FIX : stickler feedbacks part 1 2021-09-28 08:40:15 +02:00
Muhammad Habib Ulil A
c857dc1904 Update llx_product.sql 2021-09-28 07:52:12 +07:00
Muhammad Habib Ulil A
ef7d3ec72d Update llx_categorie_knowledgemanagement.sql 2021-09-28 07:44:26 +07:00
Laurent Destailleur
d3e5e3071b css 2021-09-28 00:26:58 +02:00
Laurent Destailleur
0750d4bb6e Look and feel v14 2021-09-28 00:21:54 +02:00
Alexandre SPANGARO
43ed88f056 FIX Propal list - Problem of pagination on date 2021-09-27 23:02:19 +02:00
Laurent Destailleur
ec3154075a Comment 2021-09-27 22:16:08 +02:00
Laurent Destailleur
338d5ac56e Look and feel v14 2021-09-27 22:12:08 +02:00
Laurent Destailleur
fa57191702 Fix regressions 2021-09-27 20:09:43 +02:00
Laurent Destailleur
0e1cc2b096 Fix cost price is 0. 2021-09-27 18:46:27 +02:00
Laurent Destailleur
80165811e0 Clean code 2021-09-27 15:50:19 +02:00
Laurent Destailleur
d4cc60640b Clean code 2021-09-27 15:41:58 +02:00
javieralapps4up
11723c2cd0 Update date.lib.php
Without words, sorry
2021-09-27 14:49:22 +02:00
Marc de Lima Lucio
6abe6462e6 FIX: products/services card: hidden extrafields were overridden 2021-09-27 14:33:57 +02:00
javieralapps4up
c4f1eb0c46 Update date.lib.php
Fix my error
2021-09-27 14:32:03 +02:00
Laurent Destailleur
5c8b893877 Doc 2021-09-27 12:50:51 +02:00
Laurent Destailleur
7238f15d54 Add log 2021-09-27 12:40:09 +02:00
Laurent Destailleur
72be24a835 Doc 2021-09-27 12:37:10 +02:00
Laurent Destailleur
37603b451a Fix token in url 2021-09-27 12:24:01 +02:00
Laurent Destailleur
0176ab6057 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/bookkeeping/list.php
2021-09-27 11:40:47 +02:00
Laurent Destailleur
b77cadf39a Fix filter 2021-09-27 11:38:34 +02:00
Laurent Destailleur
9b825df158 Clean code 2021-09-27 11:36:40 +02:00
Laurent Destailleur
c9ae46db50 FIX Filter on categories 2021-09-27 11:34:26 +02:00
Laurent Destailleur
6d92591358 Fix look and feel v15 2021-09-27 11:28:34 +02:00
Laurent Destailleur
96c8743ee9 Look and feel 2021-09-27 11:27:02 +02:00
Gauthier PC portable 024
fde0f1ac25 NEW : HRM integration, source code 2021-09-27 11:20:38 +02:00
Gauthier PC portable 024
07bdc534db NEW : integration HRM sql and migrations files 2021-09-27 10:34:31 +02:00
stickler-ci
526380a4b8 Fixing style errors. 2021-09-27 08:10:49 +00:00
Stephan Steininger
c7ff60866a load existing batch numbers for item within mrp consumtion 2021-09-27 10:04:59 +02:00
Laurent Destailleur
4a85304572 Fix security 2021-09-26 21:01:34 +02:00
Laurent Destailleur
621296d84f Fix implement CSRF protection by session (with option per call) 2021-09-26 20:56:40 +02:00
Laurent Destailleur
bb5eb9e292 FIX Filter on categories 2021-09-26 20:56:17 +02:00
Laurent Destailleur
4f6586d6a8 Fix token 2021-09-26 20:35:54 +02:00
Laurent Destailleur
1436f0de7d Fix newToken 2021-09-26 20:26:20 +02:00
Laurent Destailleur
5497d7d730 Fix look and feel v15 2021-09-26 20:23:15 +02:00
Benjamin Chantalat
15b4e9f89d Merge branch 'develop' of https://github.com/PyroShape/dolibarr into develop 2021-09-26 19:09:56 +02:00
Benjamin Chantalat
e1fc471295 Merge branch 'Dolibarr:develop' into develop 2021-09-26 19:09:37 +02:00
Benjamin Chantalat
5623e5f98a Correct isset 2021-09-26 19:09:09 +02:00
Laurent Destailleur
d5d4b8d8e0 Fix escape the undescore on search in website module 2021-09-26 14:21:23 +02:00
Laurent Destailleur
cb964a3ab3 Fix cancel button 2021-09-26 13:55:19 +02:00
Laurent Destailleur
c02b5b08ea Fix trans 2021-09-26 12:58:34 +02:00
Alexandre SPANGARO
b7c577b762 NEW #18814 Add legal form for Sweden 2021-09-26 05:17:03 +02:00
Laurent Destailleur
ab974eff19 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-25 21:17:23 +02:00
Laurent Destailleur
a47cd22450 Fix sql 2021-09-25 21:15:53 +02:00
Laurent Destailleur
efa6e8a408 Fix sql 2021-09-25 21:15:21 +02:00
Laurent Destailleur
567334318a Fix sql eventorganization 2021-09-25 21:13:55 +02:00
Philippe Grand
f7041ef1fc Update box_members_last_subscriptions.php 2021-09-25 19:03:08 +02:00
Philippe Grand
2edad621b8 Update box_members_last_modified.php 2021-09-25 19:02:28 +02:00
Philippe Grand
694754267c Update box_members_by_type.php 2021-09-25 19:01:54 +02:00
Philippe Grand
a29ed0229b Update barcode.php 2021-09-25 19:00:47 +02:00
Philippe Grand
dbe459bc3f Update box_members_subscriptions_by_year.php 2021-09-25 18:59:39 +02:00
Philippe GRAND
661f13adb3 fix :Warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\admin\barcode.php on line 376 2021-09-25 18:58:06 +02:00
Philippe GRAND
67cc5155b1 fix :Warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\core\lib\barcode.lib.php on line 62 2021-09-25 18:15:44 +02:00
Philippe GRAND
1feb6e676c fix : warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\core\boxes\box_members_by_type.php on line 70 2021-09-25 16:17:24 +02:00
Philippe GRAND
6b3cf5d482 fix : warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\core\boxes\box_members_last_subscriptions_by_year.php on line 70 2021-09-25 16:15:31 +02:00
Philippe GRAND
d9110a8114 fix : warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\core\boxes\box_members_last_subscriptions.php on line 70 2021-09-25 16:13:35 +02:00
Philippe GRAND
f8609a4619 fix : warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\core\boxes\box_members_last_modified.php on line 70 2021-09-25 16:09:34 +02:00
stickler-ci
509e1f5636 Fixing style errors. 2021-09-25 10:48:39 +00:00
ptibogxiv
1cdba9fb80 NEW API get list of legal form of business 2021-09-25 12:46:27 +02:00
stickler-ci
6b820ae4c5 Fixing style errors. 2021-09-25 10:16:29 +00:00
ptibogxiv
77d64e4fe2 NEW API list of staff units 2021-09-25 12:13:06 +02:00
Alexandre SPANGARO
372ba6cf0b NEW #18820 Accountancy - Add product account in import/export of thirdparty (level 3) 2021-09-25 07:49:08 +02:00
Alexandre SPANGARO
4e212054a4 Merge branch '14.0' into 14p16 2021-09-25 07:13:03 +02:00
Alexandre SPANGARO
8f5f657e4d FIX Accountancy - Missing specific filename for export on format FEC2, Ciel & repare it 2021-09-25 07:12:33 +02:00
Laurent Destailleur
e1cd1bb046 Merge pull request #18819 from FVolral/fix-docker-permission-error
FIX: Docker-compose file and Dockerfile
2021-09-25 00:29:11 +02:00
FVolral
c6e7881763 FIX: Docker-compose file and Dockerfile
Fix #18816 : During the build of the docker-compose `web` service, in
the `Dockerfile` There is a command which attemps to modify
`/etc/hosts`. On my system This file is Read-only. Using the
`extra_hosts` parameter in `docker-compose.yml` instead fix the
problem.
2021-09-24 19:49:30 +02:00
lmarcouiller
14bcb124fe update reception class and card 2021-09-24 14:46:52 +02:00
Benjamin Chantalat
5cf90d0247 Correct date format 2021-09-24 14:10:19 +02:00
Benjamin Chantalat
95342777d9 Merge branch 'Dolibarr:develop' into develop 2021-09-24 14:09:14 +02:00
Laurent Destailleur
dc36724a10 FIX #18805 2021-09-24 13:51:52 +02:00
Laurent Destailleur
c90af50585 Merge branch 'develop' into NEW_develop_sub_BOM 2021-09-24 13:39:20 +02:00
Laurent Destailleur
14728e385e Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-24 13:36:40 +02:00
Laurent Destailleur
8b7c677121 Merge pull request #18702 from Hystepik/develop#2
Close #18692 : Possibility to move directories in ecm
2021-09-24 13:36:25 +02:00
Laurent Destailleur
9a3d6679f0 Merge pull request #18778 from Hystepik/develop#1
Fix : KM articles in public/ticket/create_ticket.php
2021-09-24 13:35:17 +02:00
Laurent Destailleur
a3c8f2ed56 Merge pull request #18771 from laudeco/hotfix/receipt_html
Allow to edit the header of receipt by using HTML
2021-09-24 13:33:08 +02:00
Laurent Destailleur
128bba1d9b Fix GETPOST 2021-09-24 13:29:03 +02:00
Laurent Destailleur
fd817ed015 Merge pull request #18800 from hregis/fix_wrong_request_sql
FIX check if greater 0
2021-09-24 13:10:24 +02:00
Laurent Destailleur
42a71e9303 Merge pull request #18812 from Hystepik/develop_v14#1
Fix #18809 : error on client tooltip
2021-09-24 13:10:00 +02:00
Laurent Destailleur
f85f81c2ee Merge pull request #18811 from aspangaro/14p20
FIX Accountancy - Option of export popup are inverted
2021-09-24 13:09:04 +02:00
Laurent Destailleur
00120109fb Merge pull request #18813 from aspangaro/14p21
FIX Accountancy - Error on ValidDate for FEC/FEC2 export
2021-09-24 13:07:17 +02:00
Alexandre SPANGARO
a1bd07d1a3 FIX Accountancy - Error on ValidDate for FEC/FEC2 export 2021-09-24 12:04:25 +02:00
Laurent Destailleur
dbf7a9a0d0 FIX payment using wrong type in takepos when too many payment mode 2021-09-24 11:48:43 +02:00
lmarcouiller
f88d12f55d Fix #18809 : error on client tooltip 2021-09-24 11:16:34 +02:00
lmarcouiller
68c9f4064b Fix sql in fetchKnowledgeRecord 2021-09-24 10:43:52 +02:00
Alexandre SPANGARO
3e485dcb41 FIX Accountancy - Option of export popup are inverted 2021-09-24 06:38:43 +02:00
Alexandre SPANGARO
15313b8d37 FIX Accountancy - Missing specific filename for export on format FEC2 2021-09-24 06:03:01 +02:00
Laurent Destailleur
4706ebe004 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-09-24 02:34:59 +02:00
Laurent Destailleur
70d255740b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/projet/class/task.class.php
2021-09-24 02:33:48 +02:00
Laurent Destailleur
cd46ccdb66 Code comment 2021-09-24 02:31:15 +02:00
Laurent Destailleur
b09c4166b3 Fix set position of lines in tasks of a project 2021-09-24 02:24:04 +02:00
Laurent Destailleur
3d22cbe4da Fix look and feel 2021-09-24 02:16:40 +02:00
Laurent Destailleur
4c80e0425b Fix date for tasks created during project creation 2021-09-24 02:10:42 +02:00
Laurent Destailleur
8fb5286260 FIX #18797 2021-09-24 02:02:12 +02:00
Laurent Destailleur
38b8ed9092 Merge pull request #18792 from cfoellmann/PR/minor-button-fixes
another set of cleanup for action buttons
2021-09-24 01:55:25 +02:00
Laurent Destailleur
9b58c498ee Merge pull request #18807 from elsp1991/Link-to-MO
add MO to the list of possible object to link
2021-09-24 01:54:55 +02:00
Laurent Destailleur
f98d425064 Merge branch 'develop' into Link-to-MO 2021-09-24 01:54:21 +02:00
DevIntact
36a902167f Translation of event title for incoming email
Event title for incoming email is not translated while collected by cronjob. 
i.e : ActionAC_EMAIL_IN
2021-09-24 01:49:16 +02:00
Laurent Destailleur
07d48cbd61 Merge pull request #18808 from DevIntact/develop
Translation of event title for incoming email
2021-09-24 01:48:33 +02:00
Laurent Destailleur
a2a4a74964 Fix trans 2021-09-23 16:18:21 +02:00
lmarcouiller
ef70cd680c fix to match sql syntax 2021-09-23 15:00:55 +02:00
DevIntact
d357715538 Translation of event title for incoming email
Event title for incoming email is not translated while collected by cronjob. 
i.e : ActionAC_EMAIL_IN
2021-09-23 14:54:38 +02:00
Laurent Destailleur
9d5f6fbc1b Code comment 2021-09-23 13:39:48 +02:00
Laurent Destailleur
5c4922682c Trans 2021-09-23 13:29:18 +02:00
Benjamin Chantalat
c1e1a53503 Update Explicit date_creation instead of date 2021-09-23 13:23:16 +02:00
Laurent Destailleur
b08b7d2f68 NEW Can show progression of task into combo list of tasks 2021-09-23 13:20:42 +02:00
Laurent Destailleur
c39c823b66 Debug Date of line of services mandatory 2021-09-23 13:01:04 +02:00
Laurent Destailleur
545b4c56d5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-23 12:14:54 +02:00
Laurent Destailleur
d39ab4c288 Clean code 2021-09-23 12:14:32 +02:00
Laurent Destailleur
27c41946b7 Merge pull request #18182 from atm-jpb/NEW_field_in_service_object
NEW : field and behavior in product object
2021-09-23 12:14:09 +02:00
Laurent Destailleur
4a43ed2852 Fix scrutinizer 2021-09-23 12:05:55 +02:00
Laurent Destailleur
0a28bf4d30 Trans 2021-09-23 11:44:16 +02:00
Laurent Destailleur
2538ebec03 Better test 2021-09-23 11:40:29 +02:00
Ilias Patsiaouras
977db0a2ba add MO to the list of possible object to link 2021-09-23 11:38:50 +02:00
Laurent Destailleur
a48a8231a1 Fix scrutinizer 2021-09-23 11:33:58 +02:00
Laurent Destailleur
31de16d305 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-23 03:21:54 +02:00
Laurent Destailleur
3467faab6b Fix property 2021-09-23 03:20:15 +02:00
Laurent Destailleur
31d9eb192f Clean code 2021-09-23 02:51:36 +02:00
Laurent Destailleur
d38c3028eb Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/expensereport/class/expensereport.class.php
2021-09-23 02:41:53 +02:00
Laurent Destailleur
128f6d9a5c Fix combo box for thirdparties in invoice stats used bad component 2021-09-23 02:38:53 +02:00
Laurent Destailleur
51b6318f88 FIX Test when date of invoie is in future (pb with TZ and offset) 2021-09-23 02:14:01 +02:00
Laurent Destailleur
60c11725ae Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-23 02:11:11 +02:00
Laurent Destailleur
1e0a7e4342 FIX Test when date of invoie is in future (pb with TZ and offset) 2021-09-23 02:10:39 +02:00
Laurent De Coninck
70e66627fe restrict the html 2021-09-22 20:14:47 +02:00
stickler-ci
e5cff0ede1 Fixing style errors. 2021-09-22 16:07:36 +00:00
javieralapps4up
e74043d48e Close: #18801 Jan-30 + 1m IS NOT Mar-2
Close: #18801 related to avoid this behaviour https://bugs.php.net/bug.php?id=74013
2021-09-22 17:56:31 +02:00
stickler-ci
2bd0fdd364 Fixing style errors. 2021-09-22 14:09:29 +00:00
Benjamin Chantalat
14f8d7c56b Merge branch 'Dolibarr:develop' into develop 2021-09-22 15:49:43 +02:00
Laurent Destailleur
87da490b58 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-22 15:26:35 +02:00
Laurent Destailleur
bbd14a5bf3 Merge pull request #18791 from erikvanberkum/develop
Fix translation Error: ConfirmDeleteMO
2021-09-22 15:25:56 +02:00
Laurent Destailleur
a20ae60e70 Merge pull request #18793 from hregis/fix_wrong_table_element_line
FIX init hookmanager after loading $conf values
2021-09-22 15:25:17 +02:00
Laurent Destailleur
6f9fc205ef Merge pull request #18796 from altairis-noe/warehouse_project_elements
FIX: add warehouse in projects' overview count
2021-09-22 15:24:05 +02:00
Noé Cendrier
066013c31f typo stickler 2021-09-22 15:15:39 +02:00
Laurent Destailleur
2824c8b8ab FIX support of localtax on expense report 2021-09-22 15:11:18 +02:00
Regis Houssin
144147c5d1 FIX check if greater 0 2021-09-22 14:58:03 +02:00
lmarcouiller
7361941420 Close #18770 : Can enter buying price on line 2021-09-22 14:56:44 +02:00
Regis Houssin
d91d14d10c FIX init hookmanager after loading $conf values 2021-09-22 12:48:05 +02:00
Laurent Destailleur
6c7c6c9efd FIX legal issue on expense report pdf (must also show price without tax) 2021-09-22 12:47:06 +02:00
Francis Appels
0bc258ead2 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-09-22 11:43:34 +02:00
Christian Foellmann
08b395e127 another set of cleanup for action buttons 2021-09-22 08:43:30 +02:00
Erik van Berkum
5d684b1c71 Fix: translation error: ConfirmDeleteMO is not delete this Bill Of Materials but delete this Manufacturing Order. 2021-09-22 10:03:25 +09:00
stickler-ci
49fd1b761c Fixing style errors. 2021-09-21 20:27:33 +00:00
fr69400
8831fe2b0a Merge branch 'develop' of https://github.com/fr69400/dolibarr into develop 2021-09-21 22:24:21 +02:00
fr69400
73b0d8079c Update html.formfile.class.php 2021-09-21 22:23:14 +02:00
kamel
9266b4e8fd FIX Button text on proposal card for create a invoice 2021-09-21 19:44:49 +02:00
Laurent Destailleur
8cfccdcc5f Merge pull request #18782 from OPEN-DSI/fix_00017
FIX Button text on proposal card for create a invoice
2021-09-21 19:44:05 +02:00
Laurent Destailleur
b5d7a752f7 Merge pull request #18766 from ksar-ksar/patch-10
FIX #18735
2021-09-21 19:28:09 +02:00
Laurent Destailleur
c433d6ef4f Merge pull request #18785 from hregis/fix_warning_php8
FIX check if method exists instead in class
2021-09-21 19:20:14 +02:00
fr69400
fd911ff36f Update html.formfile.class.php 2021-09-21 19:15:54 +02:00
Laurent Destailleur
7420234494 Merge pull request #18769 from ywarnier/turnover
Add turnover homepage box
2021-09-21 19:13:56 +02:00
Laurent Destailleur
1ade905daa Merge pull request #18772 from javieralapps4up/14.0
Update main.inc.php
2021-09-21 19:10:39 +02:00
Laurent Destailleur
f96ea0cba0 Merge pull request #18776 from OPEN-DSI/fix-invoice-supplier-selected-lines
FIX selected lines on supplier invoice create
2021-09-21 19:09:13 +02:00
Laurent Destailleur
b7fadd0307 Merge pull request #18773 from aspangaro/15a18
Missing language key
2021-09-21 19:08:32 +02:00
Laurent Destailleur
b049b663b6 Merge pull request #18775 from bb2a/patch-1
# Fix # Users search erreur
2021-09-21 19:04:55 +02:00
Laurent Destailleur
e4c47e65c1 Merge pull request #18777 from ksar-ksar/patch-11
FIX #18767 : Adherent delete
2021-09-21 19:04:03 +02:00
stickler-ci
12be914d04 Fixing style errors. 2021-09-21 16:49:00 +00:00
fr69400
c4dd6be9f8 Add showdocument hook 2021-09-21 18:47:34 +02:00
Laurent Destailleur
a5566473d9 Clean code 2021-09-21 18:06:48 +02:00
stickler-ci
d6632757f9 Fixing style errors. 2021-09-21 16:06:03 +00:00
Regis Houssin
502c2a4505 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into fix_warning_php8 2021-09-21 17:58:40 +02:00
Regis Houssin
e227bdb22b FIX check if method exists instead 2021-09-21 17:58:00 +02:00
Laurent Destailleur
04fb93370f Merge pull request #18780 from ksar-ksar/patch-12
Missing translations for Inventories
2021-09-21 17:53:53 +02:00
Laurent Destailleur
dcd3f85e79 Fix sql error 2021-09-21 17:32:08 +02:00
Noé Cendrier
c89468428e add warehouse in projects elements count 2021-09-21 17:22:55 +02:00
Laurent Destailleur
97d912d553 Add more information about private or public poll. 2021-09-21 17:17:38 +02:00
Laurent Destailleur
9ba7f019ea Fix css 2021-09-21 16:53:29 +02:00
Erik van Berkum
f8d4e47741 Merge branch 'Dolibarr:develop' into develop 2021-09-21 23:51:02 +09:00
Laurent Destailleur
76ee014b52 Fix add a hidden solution to fix a corrupted value for AWP. 2021-09-21 16:32:32 +02:00
Regis Houssin
48ce3ea4d3 FIX check if $categories is not empty 2021-09-21 16:31:07 +02:00
Laurent Destailleur
a7ccbb4d9a css 2021-09-21 15:40:42 +02:00
Laurent Destailleur
841c4da0f8 Fix css 2021-09-21 15:39:05 +02:00
Laurent Destailleur
09fff2150e Fix: avoid to add line for event registration twice into invoice 2021-09-21 15:30:34 +02:00
Laurent Destailleur
e2c389a4a9 Fix delete invoice 2021-09-21 14:23:21 +02:00
Laurent Destailleur
b7105d572a Fix delete of invoice not complete (some fk_invoice still filled) 2021-09-21 14:20:01 +02:00
kamel
86a6e8af1f FIX Button text on proposal card for create a invoice 2021-09-21 14:15:17 +02:00
ksar
7a6a515386 Missing translations for Inventories 2021-09-21 12:18:37 +02:00
Laurent Destailleur
06f97f4f80 Look and feel v14 2021-09-21 12:04:28 +02:00
ksar
f2b39b3eeb FIX #18767 : Adherent delete
Adherent Delete was not working due to the fact that 
$features = 'adherent';
$feature2 = 'cotisation';
And $user->rights->$feature->$subfeature->supprimer does not exist

Also I used the double declaration of salaries.
2021-09-21 11:27:41 +02:00
lmarcouiller
a7ff9d4889 Fix : KM articles in public/ticket/create_ticket.php 2021-09-21 11:26:49 +02:00
lvessiller
991a7ffd43 FIX selected lines on supplier invoice create 2021-09-21 11:04:59 +02:00
Anthony Berton
35707d1f4f Update list.php 2021-09-21 09:13:01 +02:00
Alexandre SPANGARO
76f7efc193 Missing language key 2021-09-21 03:08:43 +02:00
javieralapps4up
278ae34b5f Update main.inc.php 2021-09-21 00:53:10 +02:00
stickler-ci
a8a8fd7cff Fixing style errors. 2021-09-20 22:50:48 +00:00
javieralapps4up
08504c4e16 Update main.inc.php 2021-09-21 00:45:06 +02:00
Yannick Warnier
35e70e7936 Fix method visibility 2021-09-20 23:58:38 +02:00
Yannick Warnier
348c1c4caa Fix empty assignation line 2021-09-20 23:57:49 +02:00
Laurent De Coninck
5e2d8eac2b Allow to edit the header of receipt by using HTML
In the current version the WYSIWYG oesn't allow any HTML by thus fix you
can use any button from the wysiwyg and it displays on the receipe.

[see: X]
2021-09-20 22:51:43 +02:00
stickler-ci
d919ef9c4c Fixing style errors. 2021-09-20 17:57:10 +00:00
Yannick Warnier
c40b22facd Add turnover homepage box 2021-09-20 19:41:13 +02:00
Laurent Destailleur
e3f3e01c21 Fields on surveys on 2 columns 2021-09-20 19:21:39 +02:00
Laurent Destailleur
d1bfaa5256 Trans 2021-09-20 19:02:04 +02:00
Laurent Destailleur
82f66f8b0a Better label of field 2021-09-20 19:00:28 +02:00
Laurent Destailleur
96ac0e4bb2 FIX action=deletecomment 2021-09-20 18:08:25 +02:00
Laurent Destailleur
deb1965cd5 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/action/card.php
	htdocs/compta/paiement/list.php
	htdocs/core/class/commonobject.class.php
	htdocs/mrp/mo_list.php
	htdocs/projet/tasks/task.php
	htdocs/public/payment/newpayment.php
2021-09-20 17:15:12 +02:00
Laurent Destailleur
9b828532cc Fix membership css 2021-09-20 16:41:22 +02:00
Laurent Destailleur
c75fbb7642 FIX fetch of product with modulebuilder load too much data 2021-09-20 16:00:11 +02:00
Laurent Destailleur
1e735c48aa Code comment 2021-09-20 15:31:57 +02:00
Laurent Destailleur
f1b8941e27 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-20 15:30:06 +02:00
Laurent Destailleur
45c5abea69 FIX calculateCosts of BOM must not be included into fetch 2021-09-20 15:29:55 +02:00
Laurent Destailleur
261c0fc908 Merge pull request #18761 from javieralapps4up/14.0
Fix: #18760 bad rights admin if advanced perms
2021-09-20 14:06:58 +02:00
Laurent Destailleur
b97ad33911 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-20 13:21:13 +02:00
Laurent Destailleur
0eff2fa15b FIX default language defined for IN country 2021-09-20 13:20:54 +02:00
Laurent Destailleur
be2a95ca51 Add language as_IN 2021-09-20 13:01:53 +02:00
javieralapps4up
0453a27bda Update main.inc.php 2021-09-20 12:24:44 +02:00
Laurent Destailleur
d8545f903e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-20 12:06:48 +02:00
ksar
131677a5ea FIX #18735
File preview is not working
2021-09-20 11:50:10 +02:00
Laurent Destailleur
5397e2d9c3 Clean sql 2021-09-20 11:30:33 +02:00
Laurent Destailleur
71b5299c9f Merge pull request #18718 from vincentjdc/product-replace-id
FIX https://github.com/Dolibarr/dolibarr/issues/18717
2021-09-20 11:07:21 +02:00
Laurent Destailleur
f536708e63 Merge pull request #18759 from Markusi13/patch-1
FIX - Spellingmistake in the README.md
2021-09-20 11:05:18 +02:00
Laurent Destailleur
e433dabc64 Merge pull request #18762 from aspangaro/14p16
FIX #18698 Supplier invoice list - "alert" checkbox not working
2021-09-20 11:04:52 +02:00
lmarcouiller
df0a26550f Update to match eldy's advices 2021-09-20 09:12:07 +02:00
Laurent Destailleur
9b4e4b0ba5 typo 2021-09-20 04:20:21 +02:00
Laurent Destailleur
360e3290b5 typo 2021-09-20 04:20:20 +02:00
Alexandre SPANGARO
ce56f52a30 FIX #18698 Supplier invoice list - "alert" checkbox not working 2021-09-20 03:28:30 +02:00
stickler-ci
1ea2182bf7 Fixing style errors. 2021-09-19 20:32:07 +00:00
javieralapps4up
77e493755f Fix: #18760 bad rights admin if advanced perms
Insufficient rights to view a group's card for admin users if advanced permissions are used
2021-09-19 22:26:49 +02:00
Laurent Destailleur
b5a27b4c15 css 2021-09-19 21:27:01 +02:00
Laurent Destailleur
25971e373d Fix css 2021-09-19 21:20:12 +02:00
Laurent Destailleur
6af9f3b142 Fix css 2021-09-19 21:18:30 +02:00
Laurent Destailleur
3dc3214047 CSS 2021-09-19 21:13:27 +02:00
Laurent Destailleur
ee362a42bd css 2021-09-19 21:06:09 +02:00
Laurent Destailleur
14c8bdce1a Better desciption of option 2021-09-19 19:25:38 +02:00
Laurent Destailleur
a747c71cf5 css 2021-09-19 19:19:28 +02:00
Laurent Destailleur
1d597e8a72 Fix add unset* action as sensible GET actions 2021-09-19 18:03:38 +02:00
Laurent Destailleur
5631e8cc15 css 2021-09-19 15:01:57 +02:00
Laurent Destailleur
b7f640f27a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-19 14:57:27 +02:00
Laurent Destailleur
bf9f007c98 Fix MAIN_SECURITY_CSRF_WITH_TOKEN = 2 2021-09-19 14:57:14 +02:00
Laurent Destailleur
074e8b2031 Update doc to prepare MAIN_SECURITY_CSRF_WITH_TOKEN to 2 by default 2021-09-19 14:53:09 +02:00
Laurent Destailleur
4d563651fa Add a mode MAIN_SECURITY_CSRF_WITH_TOKEN = 2 2021-09-19 14:49:11 +02:00
Laurent Destailleur
5c8fb38426 Fix add del* action into list of sensitive actions 2021-09-19 14:41:46 +02:00
Laurent Destailleur
663fe098f9 Update doc 2021-09-19 13:55:22 +02:00
Laurent Destailleur
e92a24d5f1 Fix test 2021-09-19 13:49:21 +02:00
Laurent Destailleur
1f76165e46 Fix do not show link on objects for object with existing hard link field 2021-09-19 01:35:42 +02:00
Laurent Destailleur
2acb84b432 FIX unprivileged user can see task associated with a not allowed project 2021-09-19 01:30:39 +02:00
Laurent Destailleur
4faaa81277 Rename tool 2021-09-19 01:11:28 +02:00
Laurent Destailleur
facd6abec3 FIX user without permission can set ticket subject 2021-09-19 00:56:10 +02:00
Laurent Destailleur
96436cac3d FIX unprivileged user can attach agenda with leave. 2021-09-19 00:50:23 +02:00
Laurent Destailleur
4253b564ba Fix add reopen as sensitive actions 2021-09-18 22:55:23 +02:00
Laurent Destailleur
89e8f24e15 Fix CSRF protection for all massactions 2021-09-18 22:38:25 +02:00
Laurent Destailleur
bc63c624ef Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-18 22:24:59 +02:00
Laurent Destailleur
c3e88579ab Fix add remove_* action as sensitive action 2021-09-18 22:24:51 +02:00
Laurent Destailleur
d760686239 Fix case of newtoken() 2021-09-18 22:24:00 +02:00
Laurent Destailleur
b46f4028c4 Fix add set_paid as sensitive action 2021-09-18 22:09:55 +02:00
Laurent Destailleur
0749d01c5a Fix add action delete* as sensitive action 2021-09-18 22:04:41 +02:00
Markusi13
b9943ed170 FIX - Spellingmistake in the README.md 2021-09-18 21:09:36 +02:00
Laurent Destailleur
8bdc53f469 Fix Add action classify as sensitive actions 2021-09-18 20:49:24 +02:00
Laurent Destailleur
6390f2de6f Fix add all confirm_* action as sensitive actions 2021-09-18 19:47:51 +02:00
Laurent Destailleur
7dfedd242a Fix add confirm_deleteline as sensitive action 2021-09-18 19:43:38 +02:00
Laurent Destailleur
62b721a904 Add deletecontact as sentitive action
Replace dol_buildpath with DOL_URL_ROOT
2021-09-18 19:34:46 +02:00
Laurent Destailleur
858a5ab188 Add confirm_validate and confirm_close as sensitive actions 2021-09-18 18:36:45 +02:00
Laurent Destailleur
f0547438f8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-18 18:28:17 +02:00
Laurent Destailleur
6c37836b3e Show value of MAIN_SECURITY_CSRF_WITH_TOKEN in setup page 2021-09-18 18:28:02 +02:00
Laurent Destailleur
97bb04c5b0 Merge branch 'develop' into NEW_develop_sub_BOM 2021-09-18 16:31:51 +02:00
Laurent Destailleur
a2db39e374 Merge pull request #18756 from mschamp/develop
Show inventory in table toConsume
2021-09-18 16:18:29 +02:00
Laurent Destailleur
a81ee14593 Update mo_production.php 2021-09-18 16:18:09 +02:00
Laurent Destailleur
91bf2a8d77 Update mo_production.php 2021-09-18 16:16:28 +02:00
Laurent Destailleur
c37767c5a0 Update mo_production.php 2021-09-18 16:15:21 +02:00
Laurent Destailleur
e9e0258444 Update mo_production.php 2021-09-18 16:14:42 +02:00
Laurent Destailleur
b8d37ec37e Update mo_production.php 2021-09-18 16:12:10 +02:00
Laurent Destailleur
002703e724 Merge pull request #18746 from BlueGarm/patch-1
Product name in inventory list
2021-09-18 16:09:48 +02:00
Laurent Destailleur
30fb0d65bd Merge pull request #18745 from Hystepik/develop#1
Fix actions_addupdatedelete.inc.php on lang
2021-09-18 16:09:04 +02:00
Laurent Destailleur
9e0a7c4687 Merge pull request #18748 from Hystepik/develop#4
New : validate massaction KM
2021-09-18 16:08:43 +02:00
Laurent Destailleur
061cbc4266 Merge pull request #18750 from maksimstojkovic/develop
Fix Warehouse PDF Generation Error
2021-09-18 16:08:16 +02:00
Laurent Destailleur
c72ce007b8 Merge pull request #18752 from maksimstojkovic/new-enable-pdf-stock-list
New Enable PDF Regeneration in Warehouse List
2021-09-18 16:08:01 +02:00
Laurent Destailleur
39d55b11b4 Merge pull request #18753 from maksimstojkovic/fix-movement-typo
Fix typo in pdf_standard.modules.php
2021-09-18 16:07:41 +02:00
Laurent Destailleur
47c7725076 Merge pull request #18757 from ptibogxiv/patch-444
Fix error when adding sql filter with hook in knowledgerecord
2021-09-18 16:07:27 +02:00
Laurent Destailleur
052511d081 Fix sql error 2021-09-18 15:05:31 +02:00
ptibogxiv
5bb50ec951 Fix error when adding sql filter with hook in knowledgerecord 2021-09-18 13:47:18 +02:00
Laurent Destailleur
0bf213acac Code comment 2021-09-18 13:25:12 +02:00
Laurent Destailleur
2810315dc5 Fix payment of registration of event 2021-09-18 13:19:29 +02:00
mschamp
a231b44aae Merge branch 'Dolibarr:develop' into develop 2021-09-18 12:58:02 +02:00
mschamp
018dbca5c0 Show inventory in table toConsume
Add a column with the reel inventory to the production screen of manufacturing orders.
This gives the user an indication if production is possible.
2021-09-18 12:51:32 +02:00
Laurent Destailleur
5fa62f25fa Fix registration of attendee 2021-09-18 12:39:26 +02:00
Laurent Destailleur
ceb368abd4 Fix message 2021-09-18 12:29:35 +02:00
Laurent Destailleur
0168a9860b Fix tooltip on website syntax disappear
Fix backard compatibility of getLabelStatus
2021-09-18 12:09:08 +02:00
Laurent Destailleur
dafc7d2617 Fix bad position of picto 2021-09-18 11:34:15 +02:00
Laurent Destailleur
ddcb4c149a css 2021-09-18 11:32:58 +02:00
Laurent Destailleur
0859438118 Show public and private note of attendee 2021-09-18 11:25:29 +02:00
Laurent Destailleur
66e58004fb Add column max_attendees for an event 2021-09-18 11:10:00 +02:00
Laurent Destailleur
0c67185dcf Add note on registration 2021-09-18 11:03:15 +02:00
Erik van Berkum
572e7d8fe0 Merge branch 'Dolibarr:develop' into develop 2021-09-18 12:33:10 +09:00
Maksim Stojkovic
25111d47ee New Enable PDF Regeneration in Stock List
Enables PDF Regeneration in warehouse stock list
2021-09-18 03:51:12 +10:00
Laurent Destailleur
675a30d500 Fix phpcs 2021-09-17 19:42:41 +02:00
Laurent Destailleur
b1c6a6e8d1 Fix show/hide combo when next combo has no item inside. 2021-09-17 19:38:55 +02:00
Laurent Destailleur
68a391b395 Fix not empty second level combo if first one not yet defined 2021-09-17 19:19:41 +02:00
Laurent Destailleur
7ed9e21266 Fix sql error 2021-09-17 19:16:46 +02:00
Maksim Stojkovic
d69ef7c134 Fix typo in pdf_standard.modules.php 2021-09-18 03:12:13 +10:00
Laurent Destailleur
446cc082e2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-17 16:53:26 +02:00
Laurent Destailleur
91cd991828 Simplify the selectgroupTicket. 2021-09-17 16:52:42 +02:00
Maksim Stojkovic
44ff73f5de Remove unused $nblines assignment
Fixes the following warning received when attempting to generate a warehouse stock document using the default template:
`count(): Parameter must be an array or an object that implements Countable in /var/www/html/core/modules/stock/doc/pdf_standard.modules.php on line 211`.

$nblines is subsequently assigned on line 326, after which it is then used.
2021-09-17 23:50:00 +10:00
Lucas Marcouiller
51f80bbc68 New : validate massaction KM 2021-09-17 15:09:21 +02:00
Mikaël MARTIN
7c4fe41e84 Update inventory.php
Add the product name after the reference for better visualization during inventories.
2021-09-17 13:17:23 +02:00
Lucas Marcouiller
e7a32834b7 Fix actions_addupdatedelete.inc.php on lang 2021-09-17 12:55:09 +02:00
Laurent Destailleur
6e3b91f268 Trans 2021-09-17 12:38:06 +02:00
Laurent Destailleur
7a9ea1e8e0 Merge pull request #18608 from ptibogxiv/patch-442
fix entity knowledgerecord
2021-09-17 12:32:41 +02:00
Laurent Destailleur
9784a8207c Merge branch 'develop' into patch-442 2021-09-17 12:32:14 +02:00
Laurent Destailleur
3d9be1437a Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
	htdocs/compta/paiement/list.php
	htdocs/fourn/paiement/list.php
	htdocs/projet/tasks/time.php
2021-09-17 12:29:58 +02:00
Laurent Destailleur
b546f21ef4 Merge branch '12.0' of https://github.com/dolibarr/dolibarr into 13.0
Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
2021-09-17 12:21:25 +02:00
Laurent Destailleur
505517d142 Merge pull request #18629 from Gjuju/12.0
Fix : GET extrafields on API "get events list" requests
2021-09-17 12:16:32 +02:00
Laurent Destailleur
58fd4ad92f Merge pull request #18641 from Gecka-Apps/14.0-fix-takepos-payment-methods
14.0 fix takepos payment methods
2021-09-17 12:15:35 +02:00
Laurent Destailleur
0ae8403fb4 Merge pull request #18690 from lainwir3d/add_rest_api_key_modify_right
CLOSE #18689 REST API module: add api key generate / modify right.
2021-09-17 12:10:03 +02:00
Laurent Destailleur
ee8e11069c Merge pull request #18696 from Hystepik/develop#1
Close #18678 : Implemention of tags/categories KM
2021-09-17 11:59:29 +02:00
Laurent Destailleur
fdcd523c55 Merge branch 'develop' into develop#1 2021-09-17 11:59:20 +02:00
Laurent Destailleur
dff038fddd Merge pull request #18705 from aspangaro/14p19
FIX Accountancy - Format Quadra export - Missing line type C to create automaticly a subledger account with label
2021-09-17 11:56:38 +02:00
Laurent Destailleur
9a6f4bf6d9 Merge pull request #18708 from javieralapps4up/develop
Fix #18707 $search_account and $search_paymenttype are not saved when sorting by any field
2021-09-17 11:51:35 +02:00
Laurent Destailleur
b248d2f1cf Merge pull request #18709 from javieralapps4up/14.0
Fix #18707 date, account and payment type are lost when sorting by any field
2021-09-17 11:50:57 +02:00
Laurent Destailleur
5f5c659b76 Merge pull request #18710 from aspangaro/15a14
NEW Customer invoice template list - Add input date from/to
2021-09-17 11:50:29 +02:00
Laurent Destailleur
9d59a574f1 Merge pull request #18712 from cfoellmann/PR/correct-cancel-redirects
fix cancel redirects on product,warehouse cards
2021-09-17 11:50:09 +02:00
Laurent Destailleur
c04604ea1c Merge pull request #18721 from fmarcet/13.0
Fix: On payment list, not filter by company when it is an external user
2021-09-17 11:48:54 +02:00
Laurent Destailleur
e7ed1d2e08 Merge pull request #18742 from FHenry/dev_barcode_lot_18741
NEW: Add code codebar column on serial/lot structure
2021-09-17 11:48:16 +02:00
Laurent Destailleur
a0681d460d Update llx_product_lot.sql 2021-09-17 11:47:42 +02:00
Laurent Destailleur
1c43a83a8b Merge pull request #18737 from marc-dll/12.0_FIX_projet_task_time_user_filter
FIX: task time: can't filter by user with pgsql + show error message
2021-09-17 11:31:45 +02:00
Lucas Marcouiller
20e8dd4c54 Fix error on html.for.class on ismultientitymanaged test
Conflicts:
	htdocs/core/class/html.form.class.php
2021-09-17 11:30:45 +02:00
Laurent Destailleur
2132bd1b9f Merge pull request #18744 from Hystepik/develop#5
Fix error on html.for.class on ismultientitymanaged test
2021-09-17 11:24:32 +02:00
Lucas Marcouiller
0191e3b6ea Fix error on html.for.class on ismultientitymanaged test 2021-09-17 11:23:16 +02:00
Florian HENRY
61fddfd3b0 syntax 2021-09-17 11:09:08 +02:00
Florian HENRY
aa575cd250 add column 2021-09-17 11:06:25 +02:00
stickler-ci
46e8f1bebf Fixing style errors. 2021-09-17 10:59:42 +02:00
antonin_tdj
5f19291285 Avoir Error 19 Constraint Violation (in case of password unchanged) 2021-09-17 10:59:35 +02:00
antonin_tdj
8f3ff32c82 fix ldap passw bug with activedirectory
Fix to avoid LDAP Error: 53 (Unwilling to perform) on Samba4 AD
2021-09-17 10:59:09 +02:00
Laurent Destailleur
20b50993bb Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-17 10:57:15 +02:00
Laurent Destailleur
6a73fc6e44 Merge pull request #18724 from ibuiv/patch-1
Fix ldap passw bug with activedirectory
2021-09-17 10:54:05 +02:00
Laurent Destailleur
d5d97e2d24 Merge pull request #18725 from aspangaro/14p16
FIX Accountancy - Some correction on export name
2021-09-17 10:52:48 +02:00
Laurent Destailleur
1a705adf6e Merge pull request #18726 from cfoellmann/PR/button-classes
add missing css classes to buttons
2021-09-17 10:52:13 +02:00
Laurent Destailleur
775544d47d Merge pull request #18727 from Hystepik/develop#4
Close #18677 : new show articles of KM
2021-09-17 10:51:38 +02:00
Marc de Lima Lucio
571d130c3c FIX: task time: keep on using natural_search 2021-09-17 10:51:37 +02:00
Laurent Destailleur
3a8a813c4e Merge pull request #18730 from esion-net/patch-2
NEW Expose bank account holder, label and number
2021-09-17 10:50:11 +02:00
Laurent Destailleur
bed697c98d Merge pull request #18732 from esion-net/patch-2
NEW Expose bank account holder, label and number
2021-09-17 10:49:51 +02:00
Laurent Destailleur
7cbb7d7f44 Merge pull request #18733 from esion-net/patch-3
NEW Expose bank account holder, label and number
2021-09-17 10:48:52 +02:00
Laurent Destailleur
c79d7fafa8 Merge pull request #18736 from FHenry/dev_new_add_link_mo_object
NEW: add MRP into Object Linked Box
2021-09-17 10:47:57 +02:00
Laurent Destailleur
02bed7ce01 Fix sanitize 2021-09-17 10:45:59 +02:00
Laurent Destailleur
c052a50d75 Fix phpcs 2021-09-17 10:32:19 +02:00
Laurent Destailleur
8a67100a31 Fix phpcs 2021-09-17 10:31:28 +02:00
Laurent Destailleur
c559e5cc3e Fix missing label 2021-09-16 21:23:02 +02:00
Laurent Destailleur
bf173fdbf1 Debug module event organization 2021-09-16 21:19:16 +02:00
Laurent Destailleur
ae028baea1 Debug module event organization 2021-09-16 21:12:29 +02:00
Laurent Destailleur
0c0ef7b683 Debug module event organization 2021-09-16 20:56:14 +02:00
Benjamin Chantalat
9eefafb2ae Merge branch 'Dolibarr:develop' into develop 2021-09-16 19:33:14 +02:00
Laurent Destailleur
16331ce87b Better detection of company 2021-09-16 18:53:00 +02:00
Laurent Destailleur
bfe305dc47 Debug event organization module 2021-09-16 18:16:25 +02:00
Marc de Lima Lucio
88cd8fface FIX: task time: can't filter by user with pgsql + show error message 2021-09-16 17:53:47 +02:00
Florian HENRY
67c468025d add trans 2021-09-16 17:22:22 +02:00
Florian HENRY
47efccad75 remove debug 2021-09-16 17:13:34 +02:00
Florian HENRY
06b6ada060 fix trad 2021-09-16 17:13:03 +02:00
Florian HENRY
820a007731 NEW: add MRP into Object Linked Box 2021-09-16 17:10:06 +02:00
Laurent Destailleur
424ddcb218 Fix page of payment 2021-09-16 16:37:20 +02:00
Laurent Destailleur
253f01edcb Fix page of payment 2021-09-16 16:33:51 +02:00
Florian
b9e637a2b2 Expose bank account holder, label and number
NEW Expose bank account holder, label and number
2021-09-16 15:52:19 +02:00
Florian
3091448d1a Expose bank account holder, label and number
Useful for automated texts on invoices to have those values available as well.
2021-09-16 15:40:25 +02:00
Laurent Destailleur
49ef24edcb Fix trans 2021-09-16 15:16:18 +02:00
Laurent Destailleur
fd3418d91d NEW Can edit the translation key of an overwrote translation key. 2021-09-16 15:13:15 +02:00
Laurent Destailleur
b70764af88 Fix translation of ticket categories 2021-09-16 15:08:04 +02:00
Laurent Destailleur
e9a3cca609 Fix lang file 2021-09-16 14:50:38 +02:00
Laurent Destailleur
1177e86f2e Fix language of group of tickets 2021-09-16 14:46:14 +02:00
Laurent Destailleur
d9751704c8 Fix ambiguous field 2021-09-16 14:37:38 +02:00
Laurent Destailleur
086754e149 Fix translation of category codes 2021-09-16 14:31:20 +02:00
Laurent Destailleur
8909702619 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/class/adherent.class.php
	htdocs/bom/class/bom.class.php
	htdocs/filefunc.inc.php
	htdocs/langs/en_US/eventorganization.lang
	htdocs/product/class/productfournisseurprice.class.php
2021-09-16 13:40:05 +02:00
Laurent Destailleur
5b07be0179 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/expedition/class/expedition.class.php
	htdocs/holiday/list.php
2021-09-16 13:33:49 +02:00
Laurent Destailleur
c68687bdf6 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/product/fournisseurs.php
2021-09-16 13:29:25 +02:00
Laurent Destailleur
87bb971d75 FIX autocalculation of the supplier price in main currency.
Conflicts:
	htdocs/product/fournisseurs.php
2021-09-16 13:22:22 +02:00
lmarcouiller
04a024570c update fetchKnowledge and html.formticket 2021-09-16 13:19:43 +02:00
Laurent Destailleur
f26601e836 FIX autocalculation of the supplier price in main currency. 2021-09-16 13:17:00 +02:00
Laurent Destailleur
9918873719 Better log 2021-09-16 13:07:02 +02:00
Laurent Destailleur
e6cd071e02 Fix email templates 2021-09-16 12:31:33 +02:00
Laurent Destailleur
3a04fc557b Fix email templates 2021-09-16 12:30:46 +02:00
Laurent Destailleur
0fc51b6564 Fix email content 2021-09-16 12:10:40 +02:00
Laurent Destailleur
b18e0e3d1e Add missing translation key 2021-09-16 12:04:46 +02:00
Christian Foellmann
fd1d4d9073 add missing css classes to buttons 2021-09-16 11:33:42 +02:00
Francis Appels
394e2b9db9 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-09-16 10:16:19 +02:00
stickler-ci
9d3b680259 Fixing style errors. 2021-09-16 07:31:23 +00:00
antonin_tdj
8c1b3efc47 Avoir Error 19 Constraint Violation (in case of password unchanged) 2021-09-16 09:31:00 +02:00
Alexandre SPANGARO
ed37f9fb7a FIX Accountancy - Some correction on export name 2021-09-16 06:40:43 +02:00
Laurent Destailleur
b18e25db87 Code comment 2021-09-16 03:13:44 +02:00
Laurent Destailleur
aab8d4a628 css 2021-09-16 02:24:25 +02:00
Laurent Destailleur
c907c6ed08 Fix trans 2021-09-16 02:19:08 +02:00
Laurent Destailleur
51d7622434 Fix trans 2021-09-16 02:18:00 +02:00
Laurent Destailleur
2b340579a1 Fix look 2021-09-15 21:12:16 +02:00
Laurent Destailleur
0ab399aa37 Fix try to find the thirdparty from contacts too. 2021-09-15 20:46:48 +02:00
Laurent Destailleur
f859967c24 Fix look and feel v14 2021-09-15 20:28:47 +02:00
Laurent Destailleur
db57aea163 Fix class does not exist 2021-09-15 20:05:37 +02:00
Laurent Destailleur
b1cb32c743 Fix some sql 2021-09-15 20:03:38 +02:00
Laurent Destailleur
5aaf8ff8f3 Fix sql 2021-09-15 19:58:55 +02:00
Laurent Destailleur
801bf83334 Css v14 2021-09-15 19:48:43 +02:00
Laurent Destailleur
eab4014f20 Rename url 2021-09-15 19:42:07 +02:00
Laurent Destailleur
29d9771b80 Code comment 2021-09-15 19:39:22 +02:00
Laurent Destailleur
4a2d3a55d4 FIX Selection of type "people" for membership must hide the company 2021-09-15 19:33:30 +02:00
Laurent Destailleur
3f7a75b0a3 FIX translation into email for member at membership validation. 2021-09-15 19:02:17 +02:00
antonin_tdj
2c73c19bd5 fix ldap passw bug with activedirectory
Fix to avoid LDAP Error: 53 (Unwilling to perform) on Samba4 AD
2021-09-15 18:26:32 +02:00
lmarcouiller
b26e9be36f Close #18677 : new show articles of KM 2021-09-15 15:36:57 +02:00
Laurent Destailleur
599621cc1b Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2021-09-15 13:29:55 +02:00
Laurent Destailleur
724badb522 Fix deletion of shipment when there is batch record 2021-09-15 13:29:19 +02:00
Benjamin Chantalat
5035ad9be1 Explicit date_creation instead of date 2021-09-15 12:32:18 +02:00
Ferran Marcet
7a637104b2 Fix: Not filter by company when it is an external user 2021-09-15 11:29:12 +02:00
Vincent Dieltiens
6a1588e925 FIX https://github.com/Dolibarr/dolibarr/issues/18717 2021-09-14 21:41:02 +02:00
Laurent Destailleur
3f2f6c3ed3 Fix online registration 2021-09-14 21:12:11 +02:00
Laurent Destailleur
81863e45f4 Fix link 2021-09-14 18:09:50 +02:00
Laurent Destailleur
6dbf316e66 Fix links 2021-09-14 17:56:06 +02:00
Laurent Destailleur
5f612dfd7c Trans 2021-09-14 17:38:17 +02:00
Laurent Destailleur
2d64c3e560 Fix filter 2021-09-14 17:35:54 +02:00
Laurent Destailleur
21462d0b82 Fix can reset filter in setup 2021-09-14 17:24:53 +02:00
Laurent Destailleur
aeead15a62 css 2021-09-14 17:07:29 +02:00
Laurent Destailleur
c7721563c5 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2021-09-14 17:00:01 +02:00
Laurent Destailleur
f3fcb7a48a Fix insertion of email templates 2021-09-14 16:59:49 +02:00
Erik van Berkum
f9f6eef7c3 Merge branch 'Dolibarr:develop' into develop 2021-09-14 17:06:56 +09:00
Christian Foellmann
c967c5c6d4 fix cancel redirects on product,warehouse cards 2021-09-14 08:46:07 +02:00
Alexandre SPANGARO
cb37c42b5e NEW Customer invoice template list - Add input date from/to 2021-09-14 04:50:05 +02:00
javieralapps4up
e1203d115a Update list.php 2021-09-14 02:22:30 +02:00
javieralapps4up
0763846805 Bug: #18670 date, account and payment type are lost when sorting by any field
Filtereds $date, $search_account and $search_paymenttype are not saved when sorting by any field
2021-09-14 02:15:22 +02:00
javieralapps4up
d7126e8d24 Update list.php
$search_account and $search_paymenttype are not saved when sorting by any field
2021-09-14 01:49:24 +02:00
Alexandre SPANGARO
eae4269745 Merge branch '14p19' of https://github.com/aspangaro/dolibarr into 14p19 2021-09-13 21:32:55 +02:00
Alexandre SPANGARO
42543ba005 Add alpha key 2021-09-13 21:29:31 +02:00
stickler-ci
6368ba9a6e Fixing style errors. 2021-09-13 19:21:53 +00:00
Alexandre SPANGARO
44f4f9e288 Merge branch '14.0' into 14p19 2021-09-13 21:13:26 +02:00
Alexandre SPANGARO
fe241cc71f FIX Accountancy - Format Quadra export - Missing line type C (act account) 2021-09-13 21:12:39 +02:00
ptibogxiv
0ad8dc2838 Update knowledgerecord.class.php 2021-09-13 19:01:25 +02:00
Laurent Destailleur
7420e6ab9a Merge pull request #18693 from FHenry/14_fix_ldap_limit
fix: User class fetch method if LDAP Search LIMIT must be after ORDER BY
2021-09-13 17:04:43 +02:00
Julien Gainza
65c4a21898 FIX move fetch_optionnal into $ac_static->fetch() 2021-09-13 16:35:13 +02:00
Laurent Destailleur
1ec9d08557 Merge pull request #18701 from aspangaro/14p18
FIX Accountancy - Trunc code_journal to 2 in format XIMPORT (Ciel, Sage50)
2021-09-13 16:33:43 +02:00
Laurent Destailleur
41f627b80d Prepare 14.0.3 2021-09-13 16:33:16 +02:00
Laurent Destailleur
283f37a364 Trans 2021-09-13 16:32:24 +02:00
lmarcouiller
324af09415 Close #18692 : Possibility to move directories in ecm 2021-09-13 15:57:21 +02:00
Alexandre SPANGARO
d7236fad99 Merge branch '14.0' into 14p18 2021-09-13 14:51:17 +02:00
Alexandre SPANGARO
3ee258fefc FIX Accountancy - Trunc code_journal to 2 in format XIMPORT (Ciel, Sage50) 2021-09-13 14:08:41 +02:00
lmarcouiller
977fa99681 update knowledgemanagement.key name 2021-09-13 11:39:08 +02:00
lmarcouiller
35ca516ef6 update knowledgerecord_card 2021-09-13 11:24:43 +02:00
lmarcouiller
4762fd9c2e Close #18678 : Implemention of tags/categories KM 2021-09-13 11:22:55 +02:00
Florian HENRY
d464922d71 fix: LDAP Search LIMIT must be after ORDER BY 2021-09-13 09:44:54 +02:00
atm-florian
9ec72acaa0 FIX: apply eldy's suggestion to not overwrite existing extrafields of $line
(cf. PR#18167)
2021-09-13 08:58:24 +02:00
Laurent Destailleur
e89f2ffb38 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-13 03:00:04 +02:00
Laurent Destailleur
549a3baa76 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-13 02:48:03 +02:00
Laurent Destailleur
bbacb4e740 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-13 02:45:00 +02:00
Laurent Destailleur
a974af131b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-13 01:32:35 +02:00
Laurent Destailleur
7deed57410 Fix scrutinizer errors 2021-09-13 01:32:20 +02:00
Laurent Destailleur
6fd191b01a Update doc 2021-09-13 01:22:53 +02:00
Laurent Destailleur
b26b9bde1b Merge pull request #18686 from frederic34/patch-2
doxygen
2021-09-13 01:03:21 +02:00
stickler-ci
e424df6447 Fixing style errors. 2021-09-12 12:15:33 +00:00
lainwir3d
2fe85f2a86 CLOSE #18689 REST API module: add api key generate / modify right. 2021-09-12 15:47:56 +04:00
Frédéric FRANCE
88cba08475 doxygen 2021-09-11 09:52:21 +02:00
Laurent Destailleur
f8b1e4d482 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-10 20:56:15 +02:00
Laurent Destailleur
edb1f31a19 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/customer/index.php
	htdocs/accountancy/expensereport/index.php
	htdocs/accountancy/supplier/index.php
2021-09-10 20:55:52 +02:00
Laurent Destailleur
93fe2c5514 Merge pull request #18672 from aspangaro/15a14
NEW Survey - Add a clickable link in email send
2021-09-10 20:05:27 +02:00
Laurent Destailleur
4bbda0115c Merge pull request #18682 from vincentjdc/product-price-in-product-select
Add product-id and price-id in dataset of product select
2021-09-10 19:51:24 +02:00
Laurent Destailleur
7eb3725862 Merge pull request #18680 from Hystepik/develop#2
Fix  #18604 : fix percentage on variant product
2021-09-10 19:44:04 +02:00
Laurent Destailleur
3850542733 Fix security file 2021-09-10 19:20:19 +02:00
Laurent Destailleur
fcffcf3858 Remove useless css 2021-09-10 18:54:42 +02:00
Laurent Destailleur
649c618370 CSS 2021-09-10 17:58:41 +02:00
Laurent Destailleur
32da715a6c Fix css and missing test 2021-09-10 17:39:08 +02:00
Laurent Destailleur
ae5b5defd5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-10 17:17:07 +02:00
Laurent Destailleur
a1e51e212e Array of fields accept 'tdcss' property 2021-09-10 17:16:42 +02:00
Alexandre SPANGARO
d32ab42654 Merge remote-tracking branch 'upstream/develop' into 15a14 2021-09-10 16:59:31 +02:00
Alexandre SPANGARO
26d5ccee61 NEW Survey - Add a clickable link in email send 2021-09-10 16:58:29 +02:00
Florian HENRY
e7eb17177d merge 2021-09-10 15:52:54 +02:00
Florian HENRY
865c5d19bf Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_new_splitcalc_suggestd_code_compta 2021-09-10 15:51:36 +02:00
Vincent Dieltiens
b3984798ba Add product-id and price-id in dataset of product select 2021-09-10 15:32:16 +02:00
lmarcouiller
3a1a688ab2 Fix #18604 : fix percentage on variant product 2021-09-10 15:03:08 +02:00
Laurent Destailleur
6810bbf3bb css 2021-09-10 14:28:38 +02:00
Laurent Destailleur
6f3170494f Merge pull request #18673 from cfoellmann/PR/input-desc
fix import of product desc without wrong linebreaks
2021-09-10 13:36:45 +02:00
Laurent Destailleur
c983e889b6 Merge pull request #18675 from Hystepik/develop#1
Fix : Sql error on movement_list
2021-09-10 13:35:58 +02:00
Laurent Destailleur
51d23250de Update movement_list.php 2021-09-10 13:35:47 +02:00
Laurent Destailleur
43684f26c9 Merge pull request #18628 from lainwir3d/fix_rest_api_fix_self_user_info_read
FIX #18627 REST API: Allow users with self read / modify rights to get own info
2021-09-10 13:34:56 +02:00
Laurent Destailleur
b1c23b9a93 Update api_users.class.php 2021-09-10 13:31:17 +02:00
Laurent Destailleur
d4bfbc69a4 Update api_users.class.php 2021-09-10 13:30:28 +02:00
Laurent Destailleur
999ad7629f Update api_users.class.php 2021-09-10 13:29:19 +02:00
Laurent Destailleur
17b9957197 Update api_users.class.php 2021-09-10 13:20:49 +02:00
lmarcouiller
b98f239739 Fix : Sql error on movement_list 2021-09-10 12:10:08 +02:00
Juanjo Menent
1eb4975a76 fix: Bad date creation for project clone 2021-09-10 11:44:58 +02:00
Laurent Destailleur
1504ff2d6e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-10 11:40:59 +02:00
Laurent Destailleur
11b6259130 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/holiday/class/holiday.class.php
	htdocs/langs/en_US/admin.lang
2021-09-10 11:40:45 +02:00
Christian Foellmann
e5192de9f2 fix import of product desc without wrong linebreaks 2021-09-10 11:36:08 +02:00
Laurent Destailleur
1ddcd2e709 Merge pull request #18668 from aspangaro/15a12
NEW Social Contributions - Add from/to on list
2021-09-10 11:26:28 +02:00
Laurent Destailleur
071a2959ab Fix trans 2021-09-10 11:04:49 +02:00
Alexandre SPANGARO
0aa0328313 Merge remote-tracking branch 'upstream/develop' into 15a14 2021-09-10 10:19:27 +02:00
Laurent Destailleur
6a296bf6c2 Debug setup 2021-09-10 10:18:46 +02:00
Laurent Destailleur
d382e8d8c9 Clean setup and translation 2021-09-10 09:21:37 +02:00
Alexandre SPANGARO
2eef38e44a Fix PR 2021-09-10 09:12:11 +02:00
Alexandre SPANGARO
4bb612650b NEW Survey - Add a clickable link in email send 2021-09-10 09:09:39 +02:00
Alexandre SPANGARO
12eb16b8b6 Merge branch '15a12' of https://github.com/aspangaro/dolibarr into 15a12 2021-09-09 22:24:42 +02:00
Alexandre SPANGARO
3ea6314494 Remove $year 2021-09-09 22:24:24 +02:00
stickler-ci
dfe1576b8d Fixing style errors. 2021-09-09 20:18:47 +00:00
Alexandre SPANGARO
f31b7fa3c4 NEW Social Contributions - Add from/to on list 2021-09-09 22:14:26 +02:00
Laurent Destailleur
5a87d94b3c Add missing fields into llx_holiday 2021-09-09 20:38:25 +02:00
Laurent Destailleur
77247ec43a Add date valid/approval 2021-09-09 20:35:57 +02:00
Laurent Destailleur
f4786c8a0a Include ref into label of log history
Conflicts:
	htdocs/holiday/card.php
2021-09-09 19:50:39 +02:00
Laurent Destailleur
22c77e0ff9 Include ref into label of log history 2021-09-09 19:46:40 +02:00
Laurent Destailleur
b7f5b5f7ed Merge pull request #18509 from aspangaro/15a8
NEW IHM - Include new options to manage dashboard
2021-09-09 19:26:24 +02:00
Laurent Destailleur
875b93aff2 Merge branch 'develop' into 15a8 2021-09-09 19:26:01 +02:00
Laurent Destailleur
e43d91ee6e Merge pull request #18665 from FHenry/14_fix_cat_icon_perms
fix: do not display icon to edit/delete tags if user not authorize
2021-09-09 19:00:04 +02:00
Laurent Destailleur
fba9567003 Merge pull request #18664 from Fyroeo/develop
CLOSE|Close #18663 Make "L'Annuaire des Entreprises" the default provider for SIREN verification.
2021-09-09 18:58:11 +02:00
Laurent Destailleur
caf0559985 Merge pull request #18624 from Hystepik/develop#1
Close #18584 : Code enhancement of MO
2021-09-09 18:54:34 +02:00
Mazaud Thomas
2091f915b5 Fix the provided URL
I made a typo in the URL.
2021-09-09 16:38:45 +02:00
Mazaud Thomas
512aa92b7e CLOSE|Close #18663 Make "L'Annuaire des Entreprises" the default provider for SIREN verification.
Changing the default provider for SIREN verification by making the Government Owned "L'annuaire des Entreprises" the default one.
2021-09-09 16:31:39 +02:00
Laurent Destailleur
fa28621709 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/reception/list.php
2021-09-09 16:11:29 +02:00
Laurent Destailleur
478918bd45 Fix phpunit 2021-09-09 15:59:43 +02:00
lainwir3d
20e2eb1d9a Merge remote-tracking branch 'origin/develop' into fix_rest_api_fix_self_user_info_read 2021-09-09 17:46:59 +04:00
lainwir3d
ad7a5eaf70 Merge remote-tracking branch 'origin/develop' into fix_rest_api_fix_self_user_info_read 2021-09-09 17:44:22 +04:00
lmarcouiller
dea7e83360 update of mo_production.php 2021-09-09 15:33:06 +02:00
Laurent Destailleur
e332ca88e4 Fix missing sql 2021-09-09 15:06:30 +02:00
Laurent Destailleur
085b893074 Update mo_production.php 2021-09-09 14:44:52 +02:00
Laurent Destailleur
402757bdfe Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-09 14:41:51 +02:00
Laurent Destailleur
3581c37b83 Merge pull request #18626 from fr69400/develop
FIX : line reorder dont work on supplier_proposal
2021-09-09 14:41:30 +02:00
Laurent Destailleur
cbe08183ac Merge pull request #18648 from atm-gauthier/NEW_mass_delete_objects
NEW : mass action delete, no more break if at least one object has child
2021-09-09 14:38:49 +02:00
Laurent Destailleur
d9cdddd688 Update actions_massactions.inc.php 2021-09-09 14:35:19 +02:00
Laurent Destailleur
7eba2f6f39 Code comment 2021-09-09 14:32:59 +02:00
Laurent Destailleur
dca743142e Merge pull request #18636 from Hystepik/develop#2
Close #18607 : Implementation of salary button
2021-09-09 14:29:56 +02:00
Laurent Destailleur
97f3296c73 Update card.php 2021-09-09 14:29:42 +02:00
Laurent Destailleur
4914ce74ab Merge pull request #18658 from atm-gregr/NEW/develop_SupplierOrder_ValidateMassAction
New : supplier order validate mass action
2021-09-09 14:21:43 +02:00
Laurent Destailleur
6df4f250a5 Update list.php 2021-09-09 14:21:20 +02:00
stickler-ci
1e8870eb95 Fixing style errors. 2021-09-09 09:30:29 +00:00
Gauthier PC portable 024
ceaa96c014 Merge branch 'NEW_mass_delete_objects' of github.com:atm-gauthier/dolibarr into NEW_mass_delete_objects 2021-09-09 11:27:55 +02:00
Gauthier PC portable 024
4e78a24a13 FIX : if delete return < 0, we break and rollback, if == 0, we set event message warning and we test other objects of list 2021-09-09 11:25:46 +02:00
stickler-ci
3da71418ac Fixing style errors. 2021-09-09 08:52:26 +00:00
atm-gregr
b88a16b563 Merge branch '11.0_SupplierOrder_ValidateMassAction' of github.com:atm-gregr/dolibarr into NEW/develop_SupplierOrder_ValidateMassAction 2021-09-09 10:49:05 +02:00
atm-gregr
24117851cc NEW : massaction validate on supplier orders 2021-09-09 10:43:15 +02:00
stickler-ci
dd7f6b6a5c Fixing style errors. 2021-09-09 08:17:52 +00:00
jpb
9078bcb9a9 Merge branch 'NEW_field_in_service_object' of github.com:atm-jpb/dolibarr into NEW_field_in_service_object 2021-09-09 10:15:09 +02:00
jpb
91e624fd5d change test 2021-09-09 10:14:39 +02:00
Laurent Destailleur
ba38bfd038 Merge pull request #18616 from cfoellmann/fix-redirect-soc
fix GET parameter on redirect
2021-09-09 04:58:44 +02:00
Laurent Destailleur
ca2aa6d031 Clean comment 2021-09-09 04:37:08 +02:00
Laurent Destailleur
5de3d7d5d2 Clean var not initialized 2021-09-09 03:49:07 +02:00
Laurent Destailleur
7533092f27 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-09-09 03:42:12 +02:00
Laurent Destailleur
88cd9afe84 Merge pull request #18643 from Gecka-Apps/14-takepos-fast-product-search
TakePos - fast product search
2021-09-09 03:37:52 +02:00
Laurent Destailleur
66a7992441 Fix var init 2021-09-09 03:34:51 +02:00
Laurent Destailleur
8b58de50d5 Clean code 2021-09-09 03:21:41 +02:00
Laurent Destailleur
722cc5f3f9 Merge pull request #18647 from Hystepik/develop#4
Fix fatal error with php 8.0 holiday creation
2021-09-09 03:06:54 +02:00
Laurent Destailleur
ff74fbdf16 Update card.php 2021-09-09 02:37:47 +02:00
Laurent Destailleur
4db234e036 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-09 02:29:10 +02:00
Laurent Destailleur
ad9bf27bea Clean code 2021-09-09 02:26:49 +02:00
Laurent Destailleur
034c5651c8 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/eventorganization/class/conferenceorbooth.class.php
	htdocs/langs/en_US/eventorganization.lang
	htdocs/public/eventorganization/attendee_subscription.php
2021-09-08 22:13:35 +02:00
Laurent Destailleur
bfa75e91e2 Code comment 2021-09-08 20:59:56 +02:00
Laurent Destailleur
405beb77f5 Fix sql error 2021-09-08 19:45:55 +02:00
Erik van Berkum
e7280feb0d Merge branch 'Dolibarr:develop' into develop 2021-09-08 11:24:03 +09:00
Laurent Destailleur
6089de568e Fix sort order 2021-09-07 23:15:06 +02:00
Laurent Destailleur
3df005778c Debug event module 2021-09-07 19:48:32 +02:00
Laurent Destailleur
f54e4690e6 Debug event organization module 2021-09-07 18:13:55 +02:00
Laurent Destailleur
32a09e9494 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/en_US/admin.lang
	htdocs/salaries/paiement_salary.php
2021-09-07 17:47:00 +02:00
Laurent Destailleur
1fda7d43ef Fix sql 2021-09-07 17:45:22 +02:00
Laurent Destailleur
f2df3aa151 css 2021-09-07 17:27:29 +02:00
Laurent Destailleur
4e0ae972f1 Fix css 2021-09-07 17:26:31 +02:00
stickler-ci
e94c560e82 Fixing style errors. 2021-09-07 14:55:49 +00:00
Gauthier PC portable 024
938092d67c NEW : when we delete several objects with massaction, if somes object has child we must see which objects are concerned and nevertheless delete objects which can be deleted 2021-09-07 16:46:48 +02:00
lmarcouiller
a10adcabcb Fix fatal error with php 8.0 holiday creation 2021-09-07 16:45:52 +02:00
Laurent Dinclaux
5ee51f965e Fixes coding standard 2021-09-08 00:12:55 +11:00
Laurent Dinclaux
303313b168 Takepos: set proper image directly when searching products
Bypasses genimg/index.php that either redirects to viewimage.php or to nophoto.png. That was making lots of request to the server and excessive load on the database server, that queues them slowing down the UI.
2021-09-08 00:02:27 +11:00
Laurent Destailleur
c3825e2394 css 2021-09-07 14:52:19 +02:00
Laurent Dinclaux
10780a343e TakePos: add temporization when searching products.
Adds a temporization after each typed letter, giving the user 700ms to type next letter before sending the search request
It prevents hammering the server for each typed letter and "results jumping" effect, which is error-prone.
2021-09-07 23:48:30 +11:00
Laurent Dinclaux
c8af143468 Fix coding standards 2021-09-07 23:27:31 +11:00
Laurent Destailleur
586e5c8b5b Can set sort order in the ->fields description array for foreign key 2021-09-07 14:10:26 +02:00
Laurent Dinclaux
807b4bf93e Fix cash payment in some cases. Make pay requests language independant and rely on payment method code. 2021-09-07 22:42:17 +11:00
Laurent Dinclaux
a39f469a50 Only check takepos configuration if a terminal is choosen, to prevent error message 2021-09-07 22:31:09 +11:00
Laurent Destailleur
4380c75c61 Show ref into bomco box and label 2021-09-07 13:09:12 +02:00
Laurent Destailleur
4cbe83fbc8 Add ref in combobox 2021-09-07 13:08:37 +02:00
Laurent Destailleur
7b43d07a36 Fix sql 2021-09-07 13:01:18 +02:00
lmarcouiller
0d9280f945 Close #18607 : Implementation of salary button 2021-09-07 10:39:41 +02:00
stickler-ci
f535a44921 Fixing style errors. 2021-09-06 13:58:23 +00:00
Julien Gainza
9d89e48d15 Fix : Add extrafields on API "get events list" 2021-09-06 15:55:33 +02:00
lainwir3d
09d1680ea0 FIX #18627 Allow users with self read / modify rights to get own info. 2021-09-06 17:52:41 +04:00
Laurent Destailleur
ae7a309e8d Fix css 2021-09-06 17:37:59 +04:00
Laurent Destailleur
4bf2259fb6 Fix css 2021-09-06 17:37:59 +04:00
Laurent Destailleur
93fdf41521 Fix css 2021-09-06 17:37:59 +04:00
Laurent Destailleur
fdce538380 Fix trans 2021-09-06 17:37:59 +04:00
Florian HENRY
a57c4c7cc5 ok for prod 2021-09-06 17:37:59 +04:00
Florian HENRY
8df911d728 work on event 2021-09-06 17:37:59 +04:00
fr69400
5c9100986d Update row.php
right write doesn't exist for supplier_proposal

->line order dont works
2021-09-06 15:19:35 +02:00
lmarcouiller
765f0c4d19 Close #18584 : Code enhancement of MO 2021-09-06 14:56:30 +02:00
Erik van Berkum
96a09543e9 Merge branch 'Dolibarr:develop' into develop 2021-09-06 18:24:49 +09:00
lmarcouiller
b9150c2441 add produce line if no produce objects 2021-09-06 11:20:36 +02:00
jpb
06b9f90383 merge conflict 2021-09-06 09:52:28 +02:00
jpb
65a2486f94 merge conflict 2021-09-06 09:43:52 +02:00
Christian Foellmann
c3f1ecb981 fix GET parameter on redirect 2021-09-06 09:14:19 +02:00
Laurent Destailleur
5b801665e3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-06 03:27:27 +02:00
Laurent Destailleur
2d6b9a2a0a CSS 2021-09-06 03:26:27 +02:00
Laurent Destailleur
7d77a71696 Fix missing id 2021-09-06 02:17:08 +02:00
Laurent Destailleur
9aaf11f8cd Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-06 01:52:34 +02:00
Laurent Destailleur
319a531571 Trans 2021-09-06 01:51:25 +02:00
Laurent Destailleur
8e90a374e0 Responsive 2021-09-06 01:47:18 +02:00
Laurent Destailleur
f288f36b71 NEW Can use textarea field into confirm popup.
Reponsive
2021-09-06 01:42:54 +02:00
stickler-ci
3ea23d75fe Fixing style errors. 2021-09-05 10:17:23 +00:00
ptibogxiv
940f77fb61 fix entity knowledgerecord 2021-09-05 12:15:11 +02:00
Erik van Berkum
5dd52d4cb7 Merge branch 'Dolibarr:develop' into develop 2021-09-05 12:49:08 +09:00
Laurent Destailleur
ed3919da13 Look and feel 2021-09-05 02:25:32 +02:00
Laurent Destailleur
2928c3dc9b NEW Add a PDF document template for Manufacturing Orders 2021-09-05 02:18:53 +02:00
Laurent Destailleur
4f744fb2c0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-05 02:03:31 +02:00
Laurent Destailleur
d0bbd33bb2 Merge pull request #18602 from mschamp/develop
Manufacturing order pdf template
2021-09-05 02:03:09 +02:00
Laurent Destailleur
0d6296e417 Merge pull request #18539 from GurvanKervern/undef4
Undef4
2021-09-05 01:57:16 +02:00
Laurent Destailleur
f79b883a4a Update invoice.php 2021-09-05 01:57:05 +02:00
Laurent Destailleur
5268539f14 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-05 01:42:32 +02:00
Laurent Destailleur
de8db34f43 Fix filter on status of order 2021-09-05 01:42:15 +02:00
Laurent Destailleur
4d314d557d Doc 2021-09-05 01:14:42 +02:00
Laurent Destailleur
af03c38d4c Merge pull request #18605 from ptibogxiv/patch-441
Add entity on knowledgemanagement
2021-09-05 01:07:29 +02:00
ptibogxiv
f3cf4f77b9 Update knowledgerecord.class.php 2021-09-04 21:30:56 +02:00
ptibogxiv
8850bd774c Update 14.0.0-15.0.0.sql 2021-09-04 19:37:36 +02:00
ptibogxiv
c276882442 Update 14.0.0-15.0.0.sql 2021-09-04 19:36:57 +02:00
ptibogxiv
885237f3ac Update llx_knowledgemanagement_knowledgerecord.sql 2021-09-04 19:32:15 +02:00
Laurent Destailleur
138af805b3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-04 14:11:38 +02:00
stickler-ci
35f3742d08 Fixing style errors. 2021-09-04 11:05:50 +00:00
mschamp
db6a2844ad Add files via upload 2021-09-04 12:36:54 +02:00
Laurent Destailleur
94e708d196 Fix sql error 2021-09-03 21:59:13 +02:00
Laurent Destailleur
ee066ad725 Cast sql var 2021-09-03 21:25:43 +02:00
Laurent Destailleur
f1fc17b663 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-03 18:04:31 +02:00
Laurent Destailleur
c4621f0433 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/filefunc.inc.php
2021-09-03 18:04:14 +02:00
Laurent Destailleur
a7d9889c40 Merge pull request #18592 from fr69400/develop
FIX : delete image from card.php page dont remove the thumbs
2021-09-03 15:12:04 +02:00
fr69400
a89a6b6343 bug image delete
Remove linked image from card.php (section builddoc) dont remove the thumbs of image file
2021-09-03 14:18:44 +02:00
Laurent Destailleur
248e68aada Code comment 2021-09-03 13:39:08 +02:00
Laurent Destailleur
30c29f13c8 Fix go back on thirdparty file after Save 2021-09-03 13:19:37 +02:00
Laurent Destailleur
e965d6d6f2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/pdf.php
	htdocs/api/class/api_access.class.php
2021-09-03 11:02:21 +02:00
Laurent Destailleur
dc81f1de68 Fix var_dump 2021-09-03 11:00:14 +02:00
Erik van Berkum
bb475328e4 Merge branch 'Dolibarr:develop' into develop 2021-09-03 10:42:32 +09:00
Erik van Berkum
cda25b7115 Previous commit was not a bug 2021-09-03 10:41:33 +09:00
Laurent Destailleur
77e9f15360 Work on #18448 2021-09-02 22:52:17 +02:00
Laurent Destailleur
7ca855d192 Update invoice.php 2021-09-02 21:14:01 +02:00
Laurent Destailleur
3598816763 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-02 21:05:00 +02:00
Laurent Destailleur
dd6647e6cb Fix label import fields 2021-09-02 21:03:49 +02:00
Laurent Destailleur
8ea1a9602b NEW Add import / export of MO and BOMLines - Close #18499 2021-09-02 21:00:31 +02:00
Laurent Destailleur
b217c5d43e Merge pull request #18537 from henrynopo/patch-15
Fix error no value of multicurrency discount amount consumed as payment to invoice
2021-09-02 19:36:12 +02:00
Gurvan Kervern
1061a9f9fe Update invoice.php 2021-09-03 01:27:43 +08:00
Laurent Destailleur
0c72734c4a Merge pull request #18536 from henrynopo/patch-14
Fix error of ValidateSending
2021-09-02 19:23:59 +02:00
Laurent Destailleur
2123d9ce44 Merge pull request #18585 from Givriz/dev_5
Compatibility phpv8
2021-09-02 19:21:03 +02:00
Laurent Destailleur
67cd41fe17 Update list.php 2021-09-02 19:20:21 +02:00
Laurent Destailleur
cc86ab8c5e Update list.php 2021-09-02 19:19:35 +02:00
Laurent Destailleur
74372a3bae Update index.php 2021-09-02 19:17:38 +02:00
Laurent Destailleur
67db0f1bdb Add link "Now" on date selection when cloning social contribution 2021-09-02 19:15:21 +02:00
Givriz
1c99bd7c4a Compatibility phpv8 2021-09-02 18:48:46 +02:00
Laurent Destailleur
51b1cd583b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-09-02 18:48:20 +02:00
Laurent Destailleur
7017a98071 Merge pull request #18446 from henrynopo/patch-6
Added function - using list of location_incoterms
2021-09-02 18:47:15 +02:00
Damien BENOIT
baaf1519d6 Merge pull request #36 from Dolibarr/develop
Update fork
2021-09-02 17:55:39 +02:00
Laurent Destailleur
9e994e6373 Merge pull request #18579 from Hystepik/develop_v14#1
Fix #18443 : overwrite file works fine
2021-09-02 17:27:19 +02:00
Laurent Destailleur
147583d58b Remove useless parameters 2021-09-02 17:25:11 +02:00
Laurent Destailleur
9619791eaa Merge pull request #18580 from frederic34/patch-8
fix tooltip info
2021-09-02 17:21:10 +02:00
Laurent Destailleur
fd2bfc82f2 Fix #18581 Fix #18582 2021-09-02 17:20:14 +02:00
Laurent Destailleur
cd313d7506 Save type (manufacture/disassemble) on MO. 2021-09-02 15:23:31 +02:00
Laurent Destailleur
b04ea59a51 More sql sanitizing 2021-09-02 13:58:42 +02:00
Laurent Destailleur
cac1a7ba5f Fix sql request when using encrypt 2021-09-02 13:45:44 +02:00
Frédéric FRANCE
18d61574d3 fix tooltip info 2021-09-02 12:40:05 +02:00
Damien BENOIT
09308c1035 Merge pull request #35 from Dolibarr/develop
Update fork
2021-09-02 11:53:45 +02:00
stickler-ci
e01ccabbd5 Fixing style errors. 2021-09-02 08:56:53 +00:00
lmarcouiller
ae38490042 Fix #18443 : overwrite file works fine 2021-09-02 10:53:22 +02:00
Laurent Destailleur
8600d8d00d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-01 22:50:06 +02:00
Laurent Destailleur
c762840dec FIX option "Default value for field 'Refuse bulk emailings'" 2021-09-01 22:37:15 +02:00
Laurent Destailleur
1bce356efa Fix responsive 2021-09-01 21:34:59 +02:00
Laurent Destailleur
c207dde5e1 Fix cancel button 2021-09-01 20:10:56 +02:00
Laurent Destailleur
c38161374d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-01 19:46:03 +02:00
Laurent Destailleur
207328c872 Example to fix the #18448 2021-09-01 19:45:46 +02:00
Laurent Destailleur
28aa57b169 Merge pull request #18497 from FHenry/dev_new_projtask_changefilterdate
NEW: date filter on project list and task list From->To
2021-09-01 19:19:08 +02:00
Laurent Destailleur
eaf1379751 Trans 2021-09-01 18:55:27 +02:00
Laurent Destailleur
a7b0a837d4 Fix cancel button must be named "$cancel" everywhere. 2021-09-01 18:46:06 +02:00
Laurent Destailleur
270eede593 Removed $_GET and $_REQUEST 2021-09-01 18:39:35 +02:00
Laurent Destailleur
4810db3dbf Merge pull request #18498 from GurvanKervern/undefVars2
Undef vars2
2021-09-01 18:36:26 +02:00
Laurent Destailleur
7e567d5fd2 Update list.php 2021-09-01 18:36:00 +02:00
Laurent Destailleur
cc1ec0aad9 Update list.php 2021-09-01 18:35:19 +02:00
Laurent Destailleur
7c429bca0d Merge pull request #18533 from cfoellmann/PR/fix-nature
fix product nature on create
2021-09-01 18:20:52 +02:00
Laurent Destailleur
c4acfe5fc0 Merge pull request #18577 from Givriz/dev_2
Compatibility phpv8
2021-09-01 18:06:06 +02:00
Laurent Destailleur
79a25248cd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
2021-09-01 17:55:32 +02:00
Laurent Destailleur
38c0e93285 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/card.php
	htdocs/core/class/commonobjectline.class.php
	htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
	htdocs/public/project/index.php
2021-09-01 17:52:04 +02:00
stickler-ci
1457afb9b9 Fixing style errors. 2021-09-01 15:35:23 +00:00
Laurent Destailleur
60e4e23870 Update object_discounts.tpl.php 2021-09-01 17:33:18 +02:00
Laurent Destailleur
7c5621a2d4 Merge pull request #18552 from aspangaro/15a12
NEW Invoice list - Use complete country select field with EEC or not
2021-09-01 17:17:48 +02:00
Laurent Destailleur
65c92f176c Merge pull request #18553 from Hystepik/develop#1
Fix : KnowledgeManagement menu permission
2021-09-01 16:43:01 +02:00
Givriz
688d217bed Compatibility phpv8 2021-09-01 16:39:28 +02:00
Laurent Destailleur
4b7b54e196 Update 14.0.0-15.0.0.sql 2021-09-01 16:32:25 +02:00
Laurent Destailleur
3b236f677d Update llx_product_association.sql 2021-09-01 16:31:16 +02:00
Laurent Destailleur
ef2bb99476 Update commonobject.class.php 2021-09-01 16:29:08 +02:00
Laurent Destailleur
8dd4dae8f8 Merge pull request #18558 from FHenry/dev_more_inv_task_comment
From #18530 display date and duration in invoice generation from task time spent
2021-09-01 16:27:24 +02:00
Laurent Destailleur
4ba189fffb Merge pull request #18560 from vincentjdc/supplier-order-dispatch-common-object-line
FournisseurCommandDispatch extends CommonObjectLine instead of CommonObject
2021-09-01 16:23:28 +02:00
Laurent Destailleur
46a38506a5 Merge pull request #18562 from vincentjdc/bill-supplier-validate
Bill supplier validate
2021-09-01 16:04:50 +02:00
Damien BENOIT
2d5be77561 Merge pull request #34 from Dolibarr/develop
Update fork
2021-09-01 15:40:30 +02:00
Laurent Destailleur
3728cca2f3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-01 15:23:53 +02:00
Laurent Destailleur
741bc5da20 Fix label 2021-09-01 15:13:31 +02:00
Alexandre SPANGARO
dbe6861f79 Merge remote-tracking branch 'upstream/develop' into 15a8 2021-09-01 14:09:02 +02:00
Laurent Destailleur
239599d1b1 Merge pull request #18564 from OPEN-DSI/new-agenda-ext-enable-default
NEW can enable/disable external calendar by default
2021-09-01 13:44:12 +02:00
Laurent Destailleur
9da82af74f Merge pull request #18566 from Dolibarr/scrutinizer-patch-2
Scrutinizer Auto-Fixes
2021-09-01 13:36:20 +02:00
Francis Appels
9ad9145db3 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-09-01 10:28:42 +02:00
Laurent Destailleur
19f0db23df Fix scrutinizer bugs 2021-08-31 20:31:05 +02:00
Laurent Destailleur
f257d4372a Fix bad test 2021-08-31 20:21:20 +02:00
Scrutinizer Auto-Fixer
312ca95feb Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-08-31 18:18:28 +00:00
Laurent Destailleur
d2d7b0defd Fix duplicate ; 2021-08-31 20:15:41 +02:00
lvessiller
163b12925a FIX stickler-ci 2021-08-31 18:37:34 +02:00
lvessiller
d64bc49d10 FIX stickler-ci 2021-08-31 18:35:56 +02:00
lvessiller
c367c1009b FIX stickler-ci 2021-08-31 18:34:26 +02:00
lvessiller
4781dca2c2 FIX stickler-ci 2021-08-31 18:30:11 +02:00
lvessiller
6c2cf4377a NEW can enable/disable external calendar by default 2021-08-31 18:14:16 +02:00
Laurent Destailleur
72131110e7 Fix protect public pages 2021-08-31 18:03:37 +02:00
Laurent Destailleur
0aa4868c34 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-31 13:14:01 +02:00
Vincent Dieltiens
a3f4ba11aa regroup BILL_SUPPLIER_VALIDATE actions 2021-08-31 12:47:32 +02:00
Vincent Dieltiens
19587fb88b Regroup BILL_SUPPLIER_VALIDATE triggers under the same condition 2021-08-31 12:45:03 +02:00
Laurent Destailleur
cceba665a2 NEW Option "Add a link on the PDF to make the online payment" 2021-08-31 12:29:14 +02:00
Vincent Dieltiens
cd47bede37 FournisseurCommandDispatch extends CommonObjectLine instead of CommonObject 2021-08-31 12:28:40 +02:00
Florian HENRY
673852c739 better line desc 2021-08-31 09:24:41 +02:00
Florian HENRY
009fa41762 add checkbox to ask detail on line desc 2021-08-31 09:10:57 +02:00
Erik van Berkum
a733628e10 Fix: select products in BOM, when adding new item the $conf->product->limit_size blocks loading all 2021-08-31 08:13:15 +09:00
Florian HENRY
0ae4e721c4 merge 2021-08-30 23:50:33 +02:00
Florian HENRY
ff1ba623c1 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_new_projtask_changefilterdate 2021-08-30 23:46:34 +02:00
Adrien Raze
58845082b1 FIX : Travis 2021-08-30 17:20:50 +02:00
Adrien Raze
f44ae62eb3 FIX : Travis 2021-08-30 16:59:09 +02:00
Laurent Destailleur
d2f3d134df Code comment. Better _checkFilters 2021-08-30 16:54:45 +02:00
Adrien Raze
fb183f4f5d FIX : Travis 2021-08-30 16:13:51 +02:00
Adrien Raze
08364d2492 FIX : Travis 2021-08-30 16:08:07 +02:00
Adrien Raze
7794a01a0b FIX : Stickler-ci 2021-08-30 15:51:59 +02:00
Adrien Raze
b1ada26f55 Merge branch 'NEW_develop_virtual_product_DragAndDrop' of github.com:atm-adrien/dolibarr into NEW_develop_virtual_product_DragAndDrop 2021-08-30 15:49:52 +02:00
Adrien Raze
317876eb0c NEW : Update SQL : install and migration 2021-08-30 15:48:22 +02:00
stickler-ci
73b4f0df51 Fixing style errors. 2021-08-30 13:38:55 +00:00
Adrien Raze
709a297563 NEW : Allow drag and drop on kits 2021-08-30 14:45:42 +02:00
lmarcouiller
31abb98a91 Fix : KnowledgeManagement menu permission 2021-08-30 14:38:36 +02:00
Alexandre SPANGARO
0132788266 NEW Invoice list - Use complete country select field with EEC or not 2021-08-30 13:56:31 +02:00
Laurent Destailleur
581efd0847 Fix the cancel action (good practices recommended by modulebuilder). 2021-08-29 19:40:04 +02:00
Laurent Destailleur
92defbc449 Fix warning 2021-08-29 19:39:37 +02:00
Laurent Destailleur
fbdee1316a Code comment 2021-08-29 19:36:11 +02:00
stickler-ci
6417d3ddf7 Fixing style errors. 2021-08-29 14:48:25 +00:00
GurvanKervern
b242387c43 Fix undef4-2
PHP8 warnings
2021-08-29 22:46:39 +08:00
GurvanKervern
ebd1b49d2a Fix undef 4-1
PHP8 warnings
2021-08-29 22:41:22 +08:00
Gurvan Kervern
66d1e5c74d Update eldy.lib.php 2021-08-29 18:15:09 +08:00
henrynopo
c9db6bfdf6 Update remx.php 2021-08-29 08:51:02 +08:00
henrynopo
71f6b472e3 Update stocks.lang 2021-08-29 07:51:29 +08:00
Laurent Destailleur
3336b5c405 Fixed implementation for #18373 2021-08-28 21:19:04 +02:00
Laurent Destailleur
c188ef0438 Fixed implementation for #18373 2021-08-28 21:09:52 +02:00
Laurent Destailleur
fc42c37e87 Merge pull request #18534 from Dolibarr/revert-18373-PDF_Ref_In_Title
Revert "[NEW] PDF Document ref in title option"
2021-08-28 21:00:26 +02:00
Laurent Destailleur
20e681d025 Revert "[NEW] PDF Document ref in title option" 2021-08-28 20:59:12 +02:00
Laurent Destailleur
f2f3c5daf5 Merge pull request #18373 from bb2a/PDF_Ref_In_Title
[NEW] PDF Document ref in title option
2021-08-28 20:41:55 +02:00
Christian Foellmann
38a225a035 fix product nature on create 2021-08-28 20:28:09 +02:00
Laurent Destailleur
bd67b46138 Fix duplicate code 2021-08-28 20:18:26 +02:00
Laurent Destailleur
e2eaa9b46e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-28 18:54:48 +02:00
Laurent Destailleur
5f08ed84f8 Fix 0 insert instead of null 2021-08-28 18:53:57 +02:00
Laurent Destailleur
97ee69e88f Fix 0 insert instead of null 2021-08-28 18:52:43 +02:00
Gurvan Kervern
39fcc53fa7 Update peruser.php 2021-08-29 00:51:01 +08:00
Laurent Destailleur
f7a9275c81 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-28 18:50:59 +02:00
Gurvan Kervern
5fd0e6ac28 Update eldy.lib.php 2021-08-29 00:50:00 +08:00
Laurent Destailleur
de44dcb691 Fix var init 2021-08-28 18:48:24 +02:00
Laurent Destailleur
a8f4eef0f6 Merge pull request #18445 from erikvanberkum/develop
Fix: TechnicalID displayed 2 times in both MO and BOM the PR hides 1.
2021-08-28 18:40:54 +02:00
Laurent Destailleur
fb8723d884 Merge pull request #18487 from cfoellmann/PR/fix-remaining-buttons
replace remaining SubmitCancel buttons
2021-08-28 18:39:06 +02:00
Laurent Destailleur
8b996627eb Merge pull request #18462 from grandoc/new_branch_22_08_2021
fix : Undefined property: stdClass:: in C:\wamp64\www\dolibarr-140\ht…
2021-08-28 18:35:40 +02:00
Laurent Destailleur
79bd3e0b24 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-28 18:31:40 +02:00
Laurent Destailleur
c1d3ddf10b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-28 18:31:06 +02:00
Laurent Destailleur
5ec286fdb7 Merge pull request #18500 from francisbesset/fix-fk_unit
Fix bad comparison for fk_unit to avoid always null value for all case
2021-08-28 17:57:26 +02:00
Laurent Destailleur
97064f1550 Update fournisseur.facture.class.php 2021-08-28 17:55:49 +02:00
Laurent Destailleur
fa2a4e4713 Merge pull request #18504 from vincentjdc/reception-list-printFieldListFrom-hook
Add  hook printFieldListFrom to reception/list.php to allow add joins
2021-08-28 17:44:53 +02:00
Laurent Destailleur
ceea5cb76f Merge pull request #18502 from plevray/patch-1
Update list.php
2021-08-28 17:43:52 +02:00
Laurent Destailleur
86af3ff3d7 Merge pull request #18492 from aspangaro/15a5
NEW Task - Add From/to input on search date
2021-08-28 17:43:15 +02:00
Laurent Destailleur
a5bb833a0a Update peruser.php 2021-08-28 17:39:23 +02:00
Laurent Destailleur
389660cb3a Merge pull request #18506 from henrynopo/patch-2
Supplier Invoice - Multicurrency remainder to pay (updated)
2021-08-28 17:38:01 +02:00
Laurent Destailleur
301d7134b3 Merge branch 'develop' into patch-2 2021-08-28 17:37:54 +02:00
Laurent Destailleur
373db3a623 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-28 17:36:17 +02:00
Laurent Destailleur
5cd609e14e Merge pull request #18507 from henrynopo/patch-5
Customer Invoice - Multicurrency Remaining to Pay (updated)
2021-08-28 17:36:01 +02:00
Laurent Destailleur
0a468e4ba9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-28 17:36:00 +02:00
Laurent Destailleur
4ba6b0059d Fix travis 2021-08-28 17:35:42 +02:00
stickler-ci
63427638d8 Fixing style errors. 2021-08-28 14:54:16 +00:00
henrynopo
444786b34f Update card.php 2021-08-28 22:52:06 +08:00
henrynopo
11497d4bf0 Update card.php 2021-08-28 22:38:17 +08:00
Laurent Destailleur
27f7ef5270 Merge pull request #18515 from mbinformatique68/develop
NEW Added address field into contacts list
2021-08-28 16:14:35 +02:00
Laurent Destailleur
0db67b40a0 Merge pull request #18525 from cfoellmann/PR/thirdparty-links
change links for thirdparty to target the type customer|supplier tab
2021-08-28 15:27:13 +02:00
Laurent Destailleur
fae0b3c8be Update card.php 2021-08-28 15:26:36 +02:00
Laurent Destailleur
6b8f6acf32 Update card.php 2021-08-28 15:26:06 +02:00
Laurent Destailleur
28752ddca4 Fix concat 2021-08-28 15:19:54 +02:00
Laurent Destailleur
82eb118583 Merge pull request #18530 from FHenry/dev_more_inv_task_comment
add hidden option to display date and duration in invoice generation from task time spent
2021-08-28 15:15:21 +02:00
Laurent Destailleur
5e94b1f1f9 Merge pull request #18512 from Hystepik/develop#1
FIx error 500 on restler api PHP 8.0
2021-08-28 14:53:11 +02:00
Laurent Destailleur
0e38e1e2c4 NEW Add hook hookGetEntity.
Change name and param of hook
2021-08-28 14:51:49 +02:00
Laurent Destailleur
9bed2557f5 Merge pull request #18514 from cfoellmann/PR/hook-functionGetEntity
add hook 'functionGetEntity'
2021-08-28 14:46:32 +02:00
Laurent Destailleur
2aa3eb3857 Merge pull request #18521 from Hystepik/develop#2
Close #18074 : REST API New /order/{id}/shipment get & post
2021-08-28 14:44:31 +02:00
Laurent Destailleur
049992aed4 Update api_orders.class.php 2021-08-28 14:44:13 +02:00
Laurent Destailleur
3585259b55 Update api_orders.class.php 2021-08-28 14:43:17 +02:00
Laurent Destailleur
d98390e675 Update api_orders.class.php 2021-08-28 14:42:31 +02:00
Laurent Destailleur
b6f6cd382d Merge pull request #18523 from Hystepik/develop#4
NEW : api for knowledgemanagement
2021-08-28 14:35:29 +02:00
Laurent Destailleur
7d2ff42cd7 Merge pull request #18532 from defrance/patch-172
Clean code (line in double)
2021-08-28 14:34:20 +02:00
Laurent Destailleur
daf270c492 Merge pull request #18528 from elsp1991/feature/emailcollector_link_events_to_objects
Close #18527 - Email collector link emails received to more objects
2021-08-28 14:33:48 +02:00
Laurent Destailleur
f359bfaaf2 Update emailcollector.class.php 2021-08-28 14:31:56 +02:00
BENKE Charlene
afb8a86aff Clean code (line in double) 2021-08-28 14:14:48 +02:00
Laurent Destailleur
b2791c3103 Fix generate the phpunit file from modulebuilder 2021-08-28 13:36:47 +02:00
Laurent Destailleur
f825d3fda4 Trans 2021-08-28 13:27:55 +02:00
stickler-ci
3598e0a246 Fixing style errors. 2021-08-28 07:32:07 +00:00
henrynopo
4ae29c53aa Update pdf_espadon.modules.php 2021-08-28 15:30:05 +08:00
stickler-ci
74ed754fcc Fixing style errors. 2021-08-28 07:22:25 +00:00
henrynopo
c219b8f576 Update card.php 2021-08-28 15:19:45 +08:00
Laurent Destailleur
aab6281ba6 Clean code 2021-08-28 05:38:40 +02:00
Laurent Destailleur
99b1a59a1e Fix warning event late on tab Resources 2021-08-28 05:38:12 +02:00
Laurent Destailleur
5c5b429dec Better error management of client WS unit test 2021-08-28 05:33:19 +02:00
Laurent Destailleur
1b859fe723 Fix warning 2021-08-28 05:24:53 +02:00
Laurent Destailleur
c932ea0710 Fix syntax error 2021-08-28 05:06:14 +02:00
Laurent Destailleur
c02fb6b9a8 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-28 03:15:47 +02:00
Laurent Destailleur
3d72a21396 Clean code 2021-08-28 03:09:41 +02:00
Laurent Destailleur
29abbbe2fb Clean code 2021-08-28 01:45:53 +02:00
Laurent Destailleur
51a4d7630f Clean code 2021-08-28 00:56:37 +02:00
Laurent Destailleur
11096a5453 Add hook checkSecureAccess.
It replaces mymodule_SUBPERMCATEGORY_FOR_DOCUMENTS and
mymodule_SQLPROTECTAGAINSTEXTERNALS_FOR_DOCUMENTS
2021-08-28 00:54:57 +02:00
Laurent Destailleur
2dd91bf312 Clean code 2021-08-27 23:36:06 +02:00
Laurent Destailleur
46d993c9a6 Clean code 2021-08-27 22:42:04 +02:00
Laurent Destailleur
3b6559b1a6 Clean code by adding cast int. 2021-08-27 18:53:45 +02:00
Florian HENRY
b492d49908 add hidden option to display date and duration in invoice generation from task time spent 2021-08-27 17:27:05 +02:00
Laurent Destailleur
2f225ee7e5 Clean code by adding cast int. 2021-08-27 16:33:03 +02:00
stickler-ci
2263c66754 Fixing style errors. 2021-08-27 13:43:06 +00:00
Ilias Patsiaouras
53b230a968 wip 2021-08-27 15:38:15 +02:00
Christian Foellmann
9752501ef6 change links for thirdparty to target the type customer|supplier tab 2021-08-27 15:32:53 +02:00
lmarcouiller
1bdfad9c29 fix permissions api for knowledgemanagement 2021-08-27 12:19:28 +02:00
lmarcouiller
4547de8d4a New : api for knowledgemanagement 2021-08-27 12:16:59 +02:00
lmarcouiller
b9039eea14 FIx warehouse limit testing 2021-08-27 10:45:04 +02:00
lmarcouiller
eb48566798 Close #18074 : New /order/{id}/shipment get & post 2021-08-27 10:40:33 +02:00
stickler-ci
b48566eed8 Fixing style errors. 2021-08-27 08:27:04 +00:00
Christian Foellmann
9914ebe90b add missing actions to admin page 2021-08-27 10:21:02 +02:00
henrynopo
2c7a788678 Update shipment.php 2021-08-27 11:09:10 +08:00
Laurent Destailleur
a6ed743af3 Fix duplicated code and missing declaration 2021-08-26 21:35:31 +02:00
Anthony Berton
4f4134b512 Merge branch 'add_option_pdf_global_with_picture' of https://github.com/bb2a/dolibarr into add_option_pdf_global_with_picture 2021-08-26 17:09:10 +02:00
Anthony Berton
afccd0b565 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into add_option_pdf_global_with_picture 2021-08-26 17:09:08 +02:00
lmarcouiller
c70813d718 New : rest api POST orders shipment 2021-08-26 17:03:00 +02:00
Anthony Berton
03080b7d01 Merge branch 'develop' into add_option_pdf_global_with_picture 2021-08-26 16:21:44 +02:00
Anthony Berton
4880973ec5 Merge branch 'develop' into Edit_in_propal 2021-08-26 16:11:41 +02:00
Christian Foellmann
ac7f0f8a4e add hook 'functionGetEntity' to manipulate entities for queries on the fly 2021-08-26 15:04:59 +02:00
mbinformatique68
ac803f7247 NEW Added address field into contacts list 2021-08-26 14:36:12 +02:00
Erik van Berkum
5a9d241882 Merge branch 'Dolibarr:develop' into develop 2021-08-26 21:06:58 +09:00
lmarcouiller
f482be84bf New : rest api GET orders shipements 2021-08-26 12:35:31 +02:00
Laurent Destailleur
ac2fc9c57f Fix import gender man/woman, not 0/1 + import of thirdparty for members 2021-08-26 11:53:57 +02:00
lmarcouiller
7dc7b746cb FIx error 500 on restler api PHP 8.0 2021-08-26 10:32:29 +02:00
Adrien Raze
0daa6b69ac Merge branch 'NEW_develop_sub_BOM' of github.com:atm-adrien/dolibarr into NEW_develop_sub_BOM 2021-08-26 09:44:55 +02:00
Adrien Raze
05444078bd FIX : stickler 2021-08-26 09:43:50 +02:00
stickler-ci
bdcddebb5f Fixing style errors. 2021-08-26 07:37:39 +00:00
Adrien Raze
a788486d81 Merge branch 'NEW_develop_sub_BOM' of github.com:atm-adrien/dolibarr into NEW_develop_sub_BOM 2021-08-26 09:34:56 +02:00
Adrien Raze
0222df7ecc FIX : Expected 1 space after closing brace; newline found 2021-08-26 09:34:30 +02:00
stickler-ci
578de93dc4 Fixing style errors. 2021-08-26 07:30:36 +00:00
Adrien Raze
4d96c5d345 Merge branch 'NEW_develop_sub_BOM' of github.com:atm-adrien/dolibarr into NEW_develop_sub_BOM 2021-08-26 09:28:05 +02:00
Adrien Raze
0463846df1 FIX : Stickler 2021-08-26 09:27:03 +02:00
Alexandre SPANGARO
006481cdff Update dashboard tab 2021-08-26 06:01:51 +02:00
henrynopo
a25580f97c Update bills.lang 2021-08-26 10:38:53 +08:00
henrynopo
a79abfd4e0 Update card.php 2021-08-26 10:37:03 +08:00
stickler-ci
bafe22ff77 Fixing style errors. 2021-08-26 02:29:45 +00:00
henrynopo
f6daad4480 Update card.php 2021-08-26 10:25:32 +08:00
henrynopo
daa34032ff Update bills.lang 2021-08-26 09:43:02 +08:00
henrynopo
054b466e0a Update card.php 2021-08-26 09:40:44 +08:00
Vincent Dieltiens
1aedcc54b5 Add hook to reception/list.php to allow add joins 2021-08-25 17:28:14 +02:00
stickler-ci
3a7d062d7d Fixing style errors. 2021-08-25 15:24:03 +00:00
Adrien Raze
5bf8685f72 NEW : Add comments 2021-08-25 16:58:22 +02:00
LVSInformatique
873a982fb0 Update list.php 2021-08-25 16:09:09 +02:00
Laurent Destailleur
6c71c6f5e5 Fix trans 2021-08-25 14:18:52 +02:00
Francis Besset
22ec43f4a3 Fix bad comparison for fk_unit to avoid always null value for all case 2021-08-25 13:46:18 +02:00
stickler-ci
9512861913 Fixing style errors. 2021-08-25 11:43:32 +00:00
henrynopo
236554948c Add files via upload 2021-08-25 19:40:58 +08:00
stickler-ci
601cc865fb Fixing style errors. 2021-08-25 10:54:09 +00:00
GurvanKervern
15445e9bba Fix undef vars 7
To remove PHP8 warnings
2021-08-25 18:50:05 +08:00
Florian HENRY
5e795e74d7 NEW: date filter on project list and task list From->To 2021-08-25 12:48:32 +02:00
Florian HENRY
03b04bea08 NEW: date filter on project list and task list From->To 2021-08-25 12:46:56 +02:00
GurvanKervern
7161b1ba59 Fix undef vars 6
To remove PHP8 warnings
2021-08-25 18:45:40 +08:00
GurvanKervern
8c99291638 Fix undef vars 5
To remove PHP8 warnings
2021-08-25 18:28:32 +08:00
GurvanKervern
628bfc9963 Fix undef vars 4
To remove PHP8 warnings
2021-08-25 18:15:32 +08:00
GurvanKervern
d34e44e55c Fix undef vars 3
To remove PHP8 warnings
2021-08-25 18:02:57 +08:00
GurvanKervern
07dd9d90f5 Fix undef vars
To remove PHP8 warnings
2021-08-25 17:29:29 +08:00
Adrien Raze
2ecc448bc0 FIX : Set total_cost for parent line by additionning total_cost of the children lines 2021-08-25 11:21:54 +02:00
Alexandre SPANGARO
01a6d8296e NEW Task - Add From/to input on search date 2021-08-25 09:30:52 +02:00
Laurent Destailleur
e4cbc2140e Fix doc and token renewal with NOSESSION 2021-08-24 21:48:38 +02:00
Christian Foellmann
f094b4c70c fix up most of the remaining submit inputs 2021-08-24 17:04:17 +02:00
Philippe Grand
ff47bf5226 Update card.php 2021-08-24 16:46:21 +02:00
Philippe Grand
0286a2e75d Update card.php 2021-08-24 16:42:04 +02:00
Laurent Destailleur
2268fc11ed Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-24 16:38:55 +02:00
Laurent Destailleur
07053d8605 Fix sql injection 2021-08-24 16:38:39 +02:00
Laurent Destailleur
90c12ae340 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-24 16:37:42 +02:00
Laurent Destailleur
07ab352877 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/facture/list.php
2021-08-24 16:37:18 +02:00
Erik van Berkum
a0dc6ca394 Fix: TechnicalID displayed 2 times in both MO and BOM the PR hides 1. Adjusted visible to -2 2021-08-24 23:12:04 +09:00
Christian Foellmann
227f61a711 replace remaining SubmitCancel buttons 2021-08-24 16:10:20 +02:00
Erik van Berkum
79903470fc Merge branch 'Dolibarr:develop' into develop 2021-08-24 22:58:03 +09:00
Laurent Destailleur
9752819fe3 Merge pull request #18342 from atm-gauthier/NEW_shpping_method_and_trackingurl_on_shipping_list
NEW : display shipping method and tracking url on shipment list
2021-08-24 15:54:21 +02:00
Laurent Destailleur
76c3f10842 Merge pull request #18438 from aspangaro/15a4
NEW Supplier order - Add From/to input on search date
2021-08-24 15:53:15 +02:00
Laurent Destailleur
02a0e44f07 Merge pull request #18440 from aspangaro/15a5
NEW Contract - Add From/to input on search date
2021-08-24 15:52:47 +02:00
Francis Appels
7acd0f82c0 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-08-24 15:32:42 +02:00
Laurent Destailleur
96fed159ec Merge pull request #18450 from frederic34/patch-8
make public url more readable
2021-08-24 15:30:08 +02:00
Laurent Destailleur
e0fd8b5eb8 Simplify code 2021-08-24 15:28:59 +02:00
Laurent Destailleur
22339a3ed3 Merge pull request #18451 from cfoellmann/PR/form-buttons-function
improve forms - buttonsSaveCreate()
2021-08-24 15:26:03 +02:00
Laurent Destailleur
c3fe1bfdc0 Merge pull request #18459 from henrynopo/patch-9
Fix error of supplier invoice (variable amount)
2021-08-24 15:09:53 +02:00
Laurent Destailleur
169282c82b Merge pull request #18458 from andreubisquerra/develop
NEW Split Sale in TakePOS
2021-08-24 14:51:08 +02:00
Laurent Destailleur
1a56fdad22 Fix type 2021-08-24 14:48:53 +02:00
Laurent Destailleur
b6d74be5cd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-24 14:48:08 +02:00
Laurent Destailleur
465c9bf287 NEW Introduce method hasRight 2021-08-24 14:47:50 +02:00
Laurent Destailleur
4a32788bff Merge pull request #18463 from aspangaro/14p14
FIX Invoice list - Wrong name for column total_tva
2021-08-24 14:20:57 +02:00
Laurent Destailleur
f93e899c0f Merge pull request #18472 from FHenry/dev_php8
fix: php 8 warning
2021-08-24 14:18:29 +02:00
Laurent Destailleur
1cfe165613 Better name for field 2021-08-24 13:34:10 +02:00
Laurent Destailleur
366fa13fc0 NEW Add property "copytoclipboard" in modulebuilder 2021-08-24 13:19:53 +02:00
Francis Appels
3a6188d42f Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-08-24 10:37:19 +02:00
Laurent Destailleur
56c314c671 Fix translation 2021-08-24 00:32:20 +02:00
Laurent Destailleur
3419e43a2c Fix phpunit 2021-08-23 21:02:07 +02:00
Laurent Destailleur
dc006b0ebb Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/html.form.class.php
2021-08-23 19:44:02 +02:00
Laurent Destailleur
bfbde54a90 Fix phpcs 2021-08-23 19:38:59 +02:00
Florian HENRY
4dc542acad fix: php 8 warning 2021-08-23 18:29:04 +02:00
Laurent Destailleur
4460206709 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-23 16:04:16 +02:00
Adrien Raze
7474d2eef5 FIX : Add BOM column for create view 2021-08-23 15:08:32 +02:00
Adrien Raze
e282feb397 NEW : Delete conf 2021-08-23 14:43:17 +02:00
Laurent Destailleur
b0817e132f FIX Add option $noescapecommand in executeCLI for better compatibility 2021-08-23 12:19:16 +02:00
Laurent Destailleur
8c017b9406 Sanitize $ and ; for filesystem path (like files). 2021-08-23 12:18:04 +02:00
Adrien Raze
6cd92ca829 NEW : Trad + Comments + Adding tooltips for conf 2021-08-23 12:15:09 +02:00
Adrien Raze
2343ff2ed4 NEW : ShowAll/HideAll Options 2021-08-23 11:58:15 +02:00
Laurent Destailleur
cced15e50a Fix option $nolog 2021-08-23 11:58:14 +02:00
Laurent Destailleur
eec5fba333 Fix can add a redirection into the executeCLI method. 2021-08-23 11:51:08 +02:00
Adrien Raze
093cec316d NEW : Hide/Show sub-BOM on clisk on the +/- + Multiply qty & total price of sub-BOM by qty of parent_line 2021-08-23 11:43:42 +02:00
Laurent Destailleur
34c1991730 NEW Add param $nolog to avoid logging into dol_delete_recursive_dir() 2021-08-23 11:32:25 +02:00
Philippe GRAND
7c2d19ffaf FIX : indentation 2021-08-23 10:20:22 +02:00
Philippe GRAND
f88fdbe71d FIX : for php8 compliance 2021-08-23 10:12:28 +02:00
Philippe GRAND
7baf98dbfa fix : Undefined property: Conf:: in C:\wamp64\www\dolibarr-140\htdocs\core\class\html.form.class.php on line 7957 2021-08-22 23:15:36 +02:00
Philippe GRAND
ba9ede39bf fix : Undefined property: stdClass:: in C:\wamp64\www\dolibarr-140\htdocs\comm\propal\card.php on line 265 2021-08-22 22:28:53 +02:00
Philippe GRAND
e439e0f14d fix : Undefined property: stdClass:: in C:\wamp64\www\dolibarr-140\htdocs\product\class\propalmergepdfproduct.class.php on line 251 2021-08-22 21:55:00 +02:00
Philippe GRAND
16f2a53fb8 fix : Undefined property: stdClass:: in C:\wamp64\www\dolibarr-140\htdocs\product\class\propalmergepdfproduct.class.php on line 236 2021-08-22 21:52:57 +02:00
Philippe GRAND
538b2e2a5f fix : Undefined property: stdClass:: in C:\wamp64\www\dolibarr-140\htdocs\core\class\commonobject.class.php on line 1705 2021-08-22 19:47:06 +02:00
Alexandre SPANGARO
56c23b79e0 FIX Invoice list - Wrong name for column total_tva 2021-08-22 14:02:33 +02:00
Alexandre SPANGARO
dd51e24afc FIX Field already present in SQL request 2021-08-22 14:01:29 +02:00
Philippe GRAND
2e3b9fce49 fix : Undefined array key 4 in C:\wamp64\www\dolibarr-140\htdocs\core\class\extrafields.class.php on line 1721 2021-08-22 12:18:26 +02:00
Philippe GRAND
6619099be9 fix : Undefined property: stdClass:: in C:\wamp64\www\dolibarr-140\htdocs\core\actions_builddoc.inc.php on line 69 2021-08-22 12:05:30 +02:00
Philippe GRAND
665dfb48e4 fix : Undefined property: stdClass:: in C:\wamp64\www\dolibarr-140\htdocs\comm\propal\card.php on line 125 2021-08-22 11:40:32 +02:00
henrynopo
b4096dc057 Fix error of supplier invoice (variable amount)
This update fixed the coding error for addline of deposit invoice for variable amount.

In addition, there is no invoice template for supplier invoice, so I also corrected the respective description.
2021-08-22 13:26:46 +08:00
Alexandre SPANGARO
a1d3e21e77 NEW IHM - Include new options to manage dashboard 2021-08-22 05:25:13 +02:00
Laurent Destailleur
58fa0740c3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/lib/functions.lib.php
	htdocs/langs/en_US/errors.lang
2021-08-22 01:41:18 +02:00
andreubisquerra
a6bdff59c9 Update lang 2021-08-21 22:31:54 +02:00
andreubisquerra
c4075605da CSS 2021-08-21 22:31:03 +02:00
andreubisquerra
fc06c557c2 New split.php 2021-08-21 22:30:13 +02:00
andreubisquerra
f020a7dba2 Update index.php 2021-08-21 22:29:18 +02:00
Christian Foellmann
3f895f7dc5 correct codestyle 2021-08-21 19:57:52 +02:00
Christian Foellmann
7ca490088a fix codestyle issues 2021-08-21 19:51:31 +02:00
Frédéric FRANCE
e93dbcd0c0 make public url more readable 2021-08-20 14:47:51 +02:00
Christian Foellmann
d706c3b1ec use Forms::buttonsSaveCreate() to generate most of the Save|Cancel forms combination 2021-08-20 14:41:30 +02:00
jpb
a3bae451d5 Merge branch 'NEW_field_in_service_object' of github.com:atm-jpb/dolibarr into NEW_field_in_service_object 2021-08-20 14:06:43 +02:00
jpb
ed65bca666 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_field_in_service_object 2021-08-20 14:06:13 +02:00
jpb
d9a07acfa3 remove duplicate code 2021-08-20 14:05:22 +02:00
henrynopo
0933b6c39f Update html.form.class.php 2021-08-20 20:04:53 +08:00
Adrien Raze
6de7d9b0af NEW : Add sub-BOM lines on BOM card 2021-08-20 13:37:28 +02:00
Laurent Destailleur
335e1ff405 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-20 12:45:37 +02:00
henrynopo
b2252106c3 Added function - using list of location_incoterms
Added function to call for list of location_incoterms from the existing order records or table of location_incoterms.

Accordingly, an dditional ajex file namely "locationincoterms.php" and a database table namely c_location_incoterms are required.
2021-08-20 10:43:34 +08:00
Anthony Berton
019241e3d4 Merge branch 'PDF_Ref_In_Title' of https://github.com/bb2a/dolibarr into PDF_Ref_In_Title 2021-08-19 18:17:10 +02:00
Anthony Berton
f50842cdef cop 2021-08-19 18:16:58 +02:00
stickler-ci
c750c5f7cf Fixing style errors. 2021-08-19 14:45:55 +00:00
Anthony Berton
58b50d02c7 default ref in title 2 2021-08-19 16:43:35 +02:00
Anthony Berton
10c445cf6a default ref in title 2021-08-19 16:13:41 +02:00
Adrien Raze
f4d4733b15 NEW : Select for BOM workable + JS to fill it according to the product selected 2021-08-19 15:37:32 +02:00
Anthony Berton
1e0373ed50 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into add_option_pdf_global_width_picture 2021-08-19 15:22:23 +02:00
Laurent Destailleur
0d0b147261 Merge pull request #18424 from GurvanKervern/undefined
Undefined
2021-08-19 13:43:57 +02:00
Laurent Destailleur
3ee4a6556a Merge branch 'develop' into undefined 2021-08-19 13:43:32 +02:00
stickler-ci
172b672437 Fixing style errors. 2021-08-19 10:19:25 +00:00
Gurvan Kervern
476dfc289e Update index.php 2021-08-19 18:16:47 +08:00
Erik van Berkum
e570c22398 Fix: TechnicalID displayed 2 times in both MO and BOM the PR hides 1. 2021-08-19 17:09:18 +09:00
Alexandre SPANGARO
954676b04b NEW Contract - Add From/to input on search date 2021-08-19 04:47:08 +02:00
Laurent Destailleur
4a4018df02 Test 2021-08-19 04:02:36 +02:00
Laurent Destailleur
0169dc0d04 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-19 02:55:33 +02:00
Laurent Destailleur
eb70cb2ecc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-19 02:49:24 +02:00
Alexandre SPANGARO
797372cac2 NEW Supplier order - Add From/to input on search date 2021-08-18 22:30:33 +02:00
Gurvan Kervern
4d20ba2e4e Update services_list.php 2021-08-19 04:29:09 +08:00
Laurent Destailleur
e0f8a87129 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-18 22:15:39 +02:00
Laurent Destailleur
60c9a882f1 Code comment 2021-08-18 22:15:20 +02:00
Laurent Destailleur
7af265db8a Update card.php 2021-08-18 22:03:16 +02:00
Laurent Destailleur
1df2aeb233 Update card.php 2021-08-18 22:01:53 +02:00
Laurent Destailleur
c9128fa59c Merge pull request #18436 from aspangaro/15a3
NEW Supplier proposal - Add From/to input on search date
2021-08-18 22:00:23 +02:00
Alexandre SPANGARO
c03b71dff3 NEW Supplier proposal - Add From/to input on search date 2021-08-18 21:41:11 +02:00
Laurent Destailleur
399a44ea20 Update objectline_create.tpl.php 2021-08-18 21:40:49 +02:00
Laurent Destailleur
79f9b30f29 Merge pull request #18409 from vincentjdc/product-generate-ref-after-form
NEW : Allows product ref generation after the form is validated with PRODUCT_GENERATE_REF_AFTER_FORM
2021-08-18 21:32:35 +02:00
Laurent Destailleur
fa3ba05a23 Update card.php 2021-08-18 21:31:54 +02:00
Laurent Destailleur
cec94b5f33 Merge pull request #18433 from aspangaro/15a2
NEW Ihm admin - Add tabs
2021-08-18 21:30:41 +02:00
Laurent Destailleur
c2bfc87c34 Merge pull request #18435 from henrynopo/patch-2
Added China into the list of country using State / province in address
2021-08-18 21:28:16 +02:00
Laurent Destailleur
ee6a2f73db css install 2021-08-18 19:32:07 +02:00
Laurent Destailleur
e4aafcf91e Code comment 2021-08-18 18:43:33 +02:00
henrynopo
526ea1a9b3 Added China into the list of country using State / province in address 2021-08-18 22:30:28 +08:00
stickler-ci
88b0408e42 Fixing style errors. 2021-08-18 13:57:19 +00:00
Gurvan Kervern
ab95c5f463 Update index.php 2021-08-18 21:55:00 +08:00
Gurvan Kervern
2d35106e0b Update card.php 2021-08-18 17:52:21 +08:00
Gurvan Kervern
3cde9a27ab Update list.php 2021-08-18 17:50:10 +08:00
Gurvan Kervern
66495f3a9d Update services_list.php 2021-08-18 17:47:59 +08:00
Gurvan Kervern
9253034007 Update list.php 2021-08-18 17:43:45 +08:00
Francis Appels
789be5e3e2 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-08-18 10:00:43 +02:00
jpb
fcd485f614 merge conflict 2021-08-18 09:16:28 +02:00
stickler-ci
b51ac49f90 Fixing style errors. 2021-08-18 07:15:05 +00:00
vincentjdc
dc037083ae Merge branch 'develop' into product-generate-ref-after-form 2021-08-18 09:13:01 +02:00
Anthony Berton
fcdb4bfafb Merge branch 'develop' into PDF_Ref_In_Title 2021-08-18 08:43:20 +02:00
stickler-ci
062e665874 Fixing style errors. 2021-08-18 02:45:29 +00:00
Alexandre SPANGARO
73dc98ed82 NEW Ihm admin - Add tabs 2021-08-18 04:36:37 +02:00
Laurent Destailleur
bc315be273 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-18 02:17:04 +02:00
Laurent Destailleur
b95b233c4b Position of fields 2021-08-18 02:07:48 +02:00
Laurent Destailleur
82db3ae1a9 NEW Use lang selector when using a field key 'lang' in modulebuilder 2021-08-18 01:54:13 +02:00
Laurent Destailleur
ddf425f73e Merge pull request #18159 from Hystepik/develop#1
New : Language support for knowledge record
2021-08-18 00:45:50 +02:00
Laurent Destailleur
3bc8a7345c Merge branch 'develop' into develop#1 2021-08-18 00:37:23 +02:00
Laurent Destailleur
04ce50c6f3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-18 00:15:05 +02:00
Laurent Destailleur
4d9fc36ff2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-18 00:14:55 +02:00
Laurent Destailleur
33b9787ea1 Clean code 2021-08-18 00:10:48 +02:00
Laurent Destailleur
da3fb82868 Merge pull request #18175 from defrance/patch-170
FIX : "disabled" field missing on definition
2021-08-17 23:34:34 +02:00
Laurent Destailleur
c001fb9555 Clean code 2021-08-17 23:23:15 +02:00
Laurent Destailleur
bbcea38793 Fix phpcs 2021-08-17 21:58:06 +02:00
Alexandre SPANGARO
a7cb9b2143 NEW Ihm admin - Add tabs 2021-08-17 21:29:15 +02:00
Laurent Destailleur
d4455a432c Merge pull request #18164 from trekmorris/patch-2
Update opensurvey.lang
2021-08-17 20:12:41 +02:00
Laurent Destailleur
1ff6c33276 Merge pull request #17537 from kastoras/create_share_on_file_upload_with_other_setup
New Add option MAIN_FORCE_SHARING_ON_ANY_UPLOADED_FILE to share file on any file upload
2021-08-17 20:11:54 +02:00
stickler-ci
5d0318c98f Fixing style errors. 2021-08-17 18:11:12 +00:00
Laurent Destailleur
659f24efa9 Update files.lib.php 2021-08-17 20:10:47 +02:00
Laurent Destailleur
9521a9e77f Clean code 2021-08-17 20:02:19 +02:00
Laurent Destailleur
aee291d079 Merge pull request #17865 from ATM-Consulting/NEW_develop_autocomplete_accounting_account_groups
New develop autocomplete accounting account groups
2021-08-17 19:46:46 +02:00
Laurent Destailleur
5201d87ba7 Merge pull request #17807 from atm-john/new_validation_method_for_common_object
New : Create validation method for common object
2021-08-17 19:42:06 +02:00
Laurent Destailleur
dafb3b5029 Update global.inc.php 2021-08-17 19:41:42 +02:00
Laurent Destailleur
59c9c48844 Merge branch 'develop' into new_validation_method_for_common_object 2021-08-17 19:35:36 +02:00
Laurent Destailleur
7487b23391 Merge pull request #18174 from defrance/patch-169
somme error on v14 fresh install
2021-08-17 19:32:07 +02:00
Laurent Destailleur
84073c6373 Merge branch 'develop' into patch-169 2021-08-17 19:31:30 +02:00
Laurent Destailleur
2a19c02f19 Merge pull request #18178 from defrance/patch-171
PHP V8 warning error, use of not declared array
2021-08-17 19:29:49 +02:00
Laurent Destailleur
f0f8210918 Update DolibarrModules.class.php 2021-08-17 19:28:26 +02:00
Laurent Destailleur
5d70ce4f99 Merge pull request #18310 from Hystepik/develop#2
Close #18302 : Mass action leave requests aproval
2021-08-17 19:23:30 +02:00
Laurent Destailleur
48fcc1f7f4 Merge pull request #18187 from Givriz/dev_2
Compatibility phpv8
2021-08-17 19:20:59 +02:00
Laurent Destailleur
cbdf121215 Merge branch 'develop' into dev_2 2021-08-17 19:20:42 +02:00
Laurent Destailleur
4f29a01da4 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-17 19:12:21 +02:00
Laurent Destailleur
95721d36ab Merge pull request #17687 from FHenry/dev_massaction_paid_custom_invoice
NEW : mass action paid customer invoice
2021-08-17 19:10:49 +02:00
Laurent Destailleur
794db94178 Update list.php 2021-08-17 19:08:55 +02:00
Laurent Destailleur
f38b9eb1c4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-17 19:02:29 +02:00
Laurent Destailleur
47b4fd3769 Complete migration 2021-08-17 19:02:16 +02:00
Laurent Destailleur
7bcd5c2fa2 Merge pull request #17076 from ptibogxiv/patch-422
NEW add action trigger for member excluded
2021-08-17 19:01:07 +02:00
Laurent Destailleur
b96dd7a796 Merge branch 'develop' into patch-422 2021-08-17 19:00:46 +02:00
Laurent Destailleur
7af5a714a6 Merge pull request #18372 from bb2a/PDF_Propal_frame_option
[NEW] PDF show Frame option
2021-08-17 18:34:33 +02:00
Laurent Destailleur
ec2df3b282 Update pdf.php 2021-08-17 18:33:10 +02:00
Laurent Destailleur
e8646c7919 Merge branch 'develop' into PDF_Propal_frame_option 2021-08-17 18:30:37 +02:00
Laurent Destailleur
d09c2de6a8 Better position of options 2021-08-17 18:18:08 +02:00
Laurent Destailleur
33697cec1c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-08-17 18:13:18 +02:00
Laurent Destailleur
fb1e5f72d3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-17 18:11:08 +02:00
Laurent Destailleur
ae28dad72e Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-17 18:08:40 +02:00
Laurent Destailleur
d1858e02b5 Update card.php 2021-08-17 17:03:41 +02:00
Laurent Destailleur
32c37188ae Merge pull request #18374 from bb2a/PDF_Option_show_code_client
NEW Add option to hide customer code on PDF documents
2021-08-17 16:56:32 +02:00
Laurent Destailleur
d4c35edef4 Update pdf.php 2021-08-17 16:55:56 +02:00
Laurent Destailleur
8eba57f722 Merge branch 'develop' into PDF_Option_show_code_client 2021-08-17 16:51:01 +02:00
Laurent Destailleur
9c78f8f647 Merge branch 'develop' into PDF_Ref_In_Title 2021-08-17 16:46:06 +02:00
Laurent Destailleur
0f175f1730 Merge pull request #18387 from bb2a/PDF_show_sender_name
NEW Can hide sender name on PDF documents
2021-08-17 16:41:48 +02:00
Laurent Destailleur
27a580dc95 Merge branch 'develop' into PDF_show_sender_name 2021-08-17 16:41:19 +02:00
Laurent Destailleur
6e7c8677eb Update admin.lang 2021-08-17 16:40:31 +02:00
Laurent Destailleur
a0d82e6bf7 Merge pull request #18404 from lainwir3d/add_url_shipment_substitute
CLOSE #18403 Add __URL_SHIPMENT__ substitute to get the shipment URL
2021-08-17 16:36:09 +02:00
Laurent Destailleur
582bf1415e Update functions.lib.php 2021-08-17 16:35:43 +02:00
Laurent Destailleur
2035499a34 Merge pull request #18402 from lainwir3d/add_newref_substitute
CLOSE #18401 Add __NEWREF__ subtitute to get new object reference.
2021-08-17 16:34:11 +02:00
Laurent Destailleur
3e5deeadf4 Merge pull request #18406 from vincentjdc/supplier-order-hide-product-label
NEW : Adds PDF_HIDE_PRODUCT_LABEL_IN_SUPPLIER_LINES to hide product label in supplier order lines
2021-08-17 16:24:19 +02:00
Laurent Destailleur
284207aeb3 Merge pull request #18429 from atm-quentin/NEW_hook_after_rank_update
NEW hook after rank update
2021-08-17 16:15:44 +02:00
Laurent Destailleur
7986f4881c Update commonobject.class.php 2021-08-17 16:12:45 +02:00
Laurent Destailleur
59479a4c6e Merge pull request #18405 from atm-gauthier/NEW/printFieldListFrom_on_several_lists
NEW : printFieldListFrom hook call on several lists
2021-08-17 15:58:28 +02:00
Laurent Destailleur
23e8b513c1 Merge pull request #18410 from ATM-Consulting/FIX_14.0_dolibarr_user_account_creation_from_recruitment_applicant_card
FIX: e-mail of applicant is not transferred to the new user when creating a user from an applicant card
2021-08-17 15:56:20 +02:00
Laurent Destailleur
46ca3ffd5c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-17 15:50:46 +02:00
Laurent Destailleur
1a8ad5abfa Propagate $outputlangs to getExtrafieldContent method. 2021-08-17 15:50:28 +02:00
Laurent Destailleur
22e595e572 Merge pull request #18420 from henrynopo/patch-1
Customer Invoice - Multicurrency Remaining to Pay
2021-08-17 15:26:36 +02:00
Laurent Destailleur
e2424bda1e Merge pull request #18419 from henrynopo/patch-2
Supplier Invoice - Multicurrency remainder to pay
2021-08-17 15:26:16 +02:00
Laurent Destailleur
758b7c404f Doc 2021-08-17 14:12:57 +02:00
Laurent Destailleur
f18f970b08 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-17 13:52:36 +02:00
Quentin VIAL-GOUTEYRON
5f4ab188cf NEW hook after rank update 2021-08-17 09:33:50 +02:00
Laurent Destailleur
a7cbf3ec21 Doc 2021-08-17 05:15:19 +02:00
Laurent Destailleur
558c716931 Trans 2021-08-17 05:10:30 +02:00
Laurent Destailleur
88ccaeb13f Help setup 2021-08-17 05:08:15 +02:00
Laurent Destailleur
92d6ad9597 Removed old simple POS module ('cashdesk' module) 2021-08-17 04:57:53 +02:00
Laurent Destailleur
4b89a45ade Trans 2021-08-17 02:16:25 +02:00
Laurent Destailleur
208d567201 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/mrp/mo_list.php
2021-08-17 02:13:05 +02:00
Laurent Destailleur
352b413a17 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-17 02:12:22 +02:00
Laurent Destailleur
6ff10cc20a Merge pull request #18413 from erikvanberkum/develop
Fix: MO status selector draft showing all values instead of showing o…
2021-08-17 01:11:00 +02:00
Laurent Destailleur
ecb673f15c Debug default BOM on product 2021-08-16 23:02:55 +02:00
Laurent Destailleur
baec6aa169 Optimize memory and perf for list of stock movements 2021-08-16 22:45:27 +02:00
Laurent Destailleur
23083427e8 NEW Can use the result_mode of mysqli driver. Save memory for list count 2021-08-16 22:36:30 +02:00
Laurent Destailleur
a5df1d28d7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-16 22:09:34 +02:00
Laurent Destailleur
06a0d922cc NEW Can use the result_mode of mysqli driver. Save memory for list count 2021-08-16 22:01:58 +02:00
stickler-ci
af1f29bb16 Fixing style errors. 2021-08-16 11:22:49 +00:00
Gurvan Kervern
9f1ced1fd0 fix warnings 6
Removing PHP8 warnings
2021-08-16 19:06:38 +08:00
Gurvan Kervern
031e13d438 fix warnings 5
Removing PHP8 warnings
2021-08-16 18:55:49 +08:00
Gurvan Kervern
1bd7b4a439 fix warnings 4
Fixing PHP8 warnings
2021-08-16 18:52:44 +08:00
Gurvan Kervern
f9c4ea8f6a fix warnings3
Fixing PHP8 warnings
2021-08-16 18:37:39 +08:00
Gurvan Kervern
d2e2dcf27e fix warnings 2
Fixing PHP8 warnings
2021-08-16 18:10:04 +08:00
Gurvan Kervern
b0ea9fed0a fix warnings 1
Removing all PHP8 warnings from error logs
2021-08-16 18:05:29 +08:00
stickler-ci
b92fe38bc0 Fixing style errors. 2021-08-16 01:47:49 +00:00
stickler-ci
ee65860b27 Fixing style errors. 2021-08-16 01:45:33 +00:00
henrynopo
76c39a86a0 Supplier Invoice - Multicurrency remainder to pay
Added multicurrency remainder to be paid.
2021-08-16 09:44:09 +08:00
henrynopo
9a65cbeab7 Customer Invoice - Multicurrency Remaining to Pay
Added the remainder to be paid in multicurrency mode.
2021-08-16 09:39:09 +08:00
Erik van Berkum
c67c9eb717 Fix: MO status selector draft showing all values instead of showing only draft values 2021-08-14 21:22:07 +09:00
atm-florian
1932bc308d FIX: e-mail of applicant is not transferred to the new user when creating a user from an applicant card 2021-08-13 13:26:11 +02:00
Vincent Dieltiens
2aef13c3b4 Adds global variable 'PRODUCT_GENERATE_REF_AFTER_FORM' to allow product ref generation after the form validation 2021-08-13 11:38:48 +02:00
Gauthier PC portable 024
b2dad4d2ce Merge branch 'NEW/printFieldListFrom_on_commande_list' of github.com:atm-gauthier/dolibarr into NEW/printFieldListFrom_on_several_lists 2021-08-12 15:44:20 +02:00
Gauthier PC portable 024
22eda3fd63 NEW : add missing printFieldListFrom hook call on several lists 2021-08-12 15:39:52 +02:00
lainwir3d
2125bc9aa5 CLOSE #18403 Add __URL_SHIPMENT__ substitute to get the URL of a shipment 2021-08-12 17:15:57 +04:00
lainwir3d
84b8717693 CLOSE #18401 Add __NEWREF__ subtitute to get new object reference.
Allow the use of __NEWREF__ to get for example the new reference a draft order will get after validation.
2021-08-12 17:05:00 +04:00
Vincent Dieltiens
e691217d00 Add a Global variable 'PDF_HIDE_PRODUCT_LABEL_IN_SUPPLIER_LINES' to have the possibility to hide product label in supplier order lines. 2021-08-12 13:56:41 +02:00
stickler-ci
73998ac927 Fixing style errors. 2021-08-12 08:36:38 +00:00
Anthony Berton
7d143c5575 Merge branch 'add_option_pdf_global_with_picture' of https://github.com/bb2a/dolibarr into add_option_pdf_global_width_picture 2021-08-12 10:33:55 +02:00
Anthony Berton
fdd85845ce erreur save const 2021-08-12 10:27:19 +02:00
Anthony Berton
67bc64d687 save no ajax 2021-08-12 10:19:55 +02:00
stickler-ci
14ad317acc Fixing style errors. 2021-08-12 08:18:44 +00:00
Anthony Berton
9c811f9051 Merge branch 'develop' into add_option_pdf_global_with_picture 2021-08-12 10:16:26 +02:00
Anthony Berton
52a255e0cb move at bottom of pdf_other.php page 2021-08-12 10:10:57 +02:00
Francis Appels
70aa549a37 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-08-12 10:02:55 +02:00
jpb
b1cba14718 merge conflict 2021-08-12 09:36:34 +02:00
Laurent Destailleur
340949e0a9 Merge pull request #17640 from bb2a/salesrepresentativeinorderandinvoicelist
NEW Add sale representative in order and invoice list
2021-08-11 22:24:26 +02:00
Laurent Destailleur
896cdf4845 Update list.php 2021-08-11 22:24:07 +02:00
Laurent Destailleur
f9f1440226 Merge branch 'develop' into salesrepresentativeinorderandinvoicelist 2021-08-11 22:22:26 +02:00
Laurent Destailleur
0d07135027 Update list.php 2021-08-11 22:19:53 +02:00
Laurent Destailleur
d7317025e9 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/pdf_other.php
2021-08-11 22:09:05 +02:00
Laurent Destailleur
745af0f025 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-08-11 21:54:35 +02:00
Laurent Destailleur
d66df5cb60 Complete #15548 2021-08-11 21:53:21 +02:00
Laurent Destailleur
2683a360c7 Merge pull request #15548 from defrance/patch-163
NEW Can set the default BOM on a product
2021-08-11 21:52:21 +02:00
Laurent Destailleur
0d2e3ece1a Update card.php 2021-08-11 21:50:28 +02:00
Laurent Destailleur
3af8e18b3c Create card.php 2021-08-11 21:47:28 +02:00
stickler-ci
3c0601d1f9 Fixing style errors. 2021-08-11 19:46:39 +00:00
Laurent Destailleur
5b30cf3e77 Update card.php 2021-08-11 21:44:18 +02:00
Laurent Destailleur
c36bb0fbf7 Merge branch 'develop' into patch-163 2021-08-11 21:43:42 +02:00
stickler-ci
eadfc9f4ae Fixing style errors. 2021-08-11 19:36:18 +00:00
Laurent Destailleur
3befe8f383 Update 12.0.0-13.0.0.sql 2021-08-11 21:34:11 +02:00
Laurent Destailleur
80673e0efc Update card.php 2021-08-11 21:32:39 +02:00
Laurent Destailleur
9e54dc0dcb typo 2021-08-11 21:31:14 +02:00
Laurent Destailleur
bf72143823 Fix phpcs 2021-08-11 21:04:03 +02:00
Laurent Destailleur
911f8daec6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-11 21:03:04 +02:00
Laurent Destailleur
06b50051f1 Merge pull request #18356 from altairisfr/iban
NEW: add constant MAIN_IBAN_IS_NEVER_MANDATORY
2021-08-11 21:02:51 +02:00
Laurent Destailleur
012eee7e06 Merge pull request #18317 from altairisfr/PROPAL_NOT_BILLABLE
NEW : add constant PROPOSAL_ARE_NOT_BILLABLE
2021-08-11 21:00:53 +02:00
Laurent Destailleur
7db6503431 Merge pull request #18333 from Daniel-Mietchen/patch-1
typo fix and copyedits in README.md
2021-08-11 20:59:55 +02:00
Laurent Destailleur
bfedd4a04c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-11 20:47:51 +02:00
Laurent Destailleur
ec4a1d4cb7 Merge pull request #18344 from Hystepik/develop#4
Fix lang error on hrm/index.php
2021-08-11 20:47:35 +02:00
Laurent Destailleur
23713d1deb Merge pull request #18328 from lainwir3d/shipment_close_order_on_close
NEW #18326 Workflow: Close order on shipment closing.
2021-08-11 20:47:06 +02:00
Laurent Destailleur
ab3874a203 Merge pull request #18349 from cfoellmann/fix-stdvalue-target
add GETPOST to 'target' value on new bookmarks
2021-08-11 20:05:36 +02:00
Laurent Destailleur
687eb536ae Update card.php 2021-08-11 20:05:03 +02:00
Laurent Destailleur
e50710b17f Merge pull request #18334 from Daniel-Mietchen/patch-2
typo fixes in .github/PULL_REQUEST_TEMPLATE.md
2021-08-11 20:01:01 +02:00
Laurent Destailleur
8e9d0a567a Merge pull request #18360 from andreubisquerra/develop
NEW Customer Display with TakePOS
2021-08-11 20:00:36 +02:00
Laurent Destailleur
366332a6f5 Merge pull request #18347 from erikvanberkum/develop
Fix: Change French word to English in English array.
2021-08-11 19:59:21 +02:00
Laurent Destailleur
5a0adfc80b Merge pull request #18362 from fappels/15_update_actioncomm
Update actioncomm.class
2021-08-11 19:58:25 +02:00
Laurent Destailleur
34b53592b8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-08-11 19:44:33 +02:00
Laurent Destailleur
310b5c974b Fix help 2021-08-11 19:43:12 +02:00
Anthony Berton
d421d3d8e3 Merge branch 'develop' into PDF_Ref_In_Title 2021-08-11 18:39:32 +02:00
Anthony Berton
32e5b531ba Merge branch 'develop' into PDF_show_sender_name 2021-08-11 18:38:30 +02:00
Anthony Berton
956bd00c13 CHANGE_CONST_ADD_DOC 2021-08-11 18:37:13 +02:00
Anthony Berton
fb42e3f473 add_doc 2021-08-11 18:25:48 +02:00
Anthony Berton
652cd3afa5 Merge branch 'develop' into PDF_Option_show_code_client 2021-08-11 18:17:58 +02:00
Anthony Berton
a8562704cf add_doc 2021-08-11 18:16:53 +02:00
Anthony Berton
0bab31e973 Merge branch 'develop' into PDF_Propal_frame_option 2021-08-11 18:12:02 +02:00
Anthony Berton
e89c1b49a8 add_espadon_doc 2021-08-11 17:44:40 +02:00
Anthony Berton
c62c53bf5e add_sponge_doc 2021-08-11 17:42:43 +02:00
Anthony Berton
fc10fd0901 add_cyan_doc 2021-08-11 17:32:09 +02:00
Anthony Berton
8d1a53ce98 add eratosthene doc 2021-08-11 16:28:13 +02:00
Anthony Berton
5938f131c8 erreur cut past logo height mouve 2021-08-11 16:24:11 +02:00
Anthony Berton
3b356fc366 params is duplicate 2021-08-11 16:20:41 +02:00
Anthony Berton
c5e8302ba2 Const 2021-08-11 16:18:16 +02:00
Laurent Destailleur
1cdab44252 Merge pull request #18363 from fappels/15_update_hook_printOriginObjectLine
Remove strange check on hook printOriginObjectLine.
2021-08-11 15:55:55 +02:00
Laurent Destailleur
0c64c09125 Merge pull request #18391 from bb2a/PDF_Add_propal_option_paiment
NEW PDF add param hide paiment option
2021-08-11 15:24:17 +02:00
Laurent Destailleur
065d7a781e Merge branch 'develop' into PDF_Add_propal_option_paiment 2021-08-11 15:24:10 +02:00
Laurent Destailleur
094a11fae6 Merge pull request #18390 from bb2a/save__pdf_option_other
[FIX] PDF other options save Yes/No
2021-08-11 15:19:38 +02:00
stickler-ci
3e2b4b45c1 Fixing style errors. 2021-08-11 11:00:11 +00:00
Anthony Berton
40329b9181 other_doc 2021-08-11 12:59:34 +02:00
Anthony Berton
967d526307 other_frame 2021-08-11 12:41:50 +02:00
Anthony Berton
b8ccbf39f3 other_doc 2021-08-11 12:39:24 +02:00
stickler-ci
b7441aaf45 Fixing style errors. 2021-08-11 10:37:06 +00:00
Anthony Berton
b45a57060f const_and_other_doc 2021-08-11 12:36:16 +02:00
Anthony Berton
816648f283 other_docs 2021-08-11 12:28:44 +02:00
stickler-ci
120ac51495 Fixing style errors. 2021-08-11 06:52:10 +00:00
stickler-ci
8f8ff50d35 Fixing style errors. 2021-08-11 06:50:50 +00:00
Laurent Destailleur
f48a9aa3ad Optimize size of html 2021-08-10 19:44:55 +02:00
Laurent Destailleur
21df418468 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-10 19:28:44 +02:00
Anthony Berton
7acc5e22d0 Merge branch 'PDF_show_sender_name' of https://github.com/bb2a/dolibarr into PDF_show_sender_name 2021-08-10 18:08:00 +02:00
Anthony Berton
be016197b4 Trans 2021-08-10 18:07:11 +02:00
Anthony Berton
bcb58ae6ef trans 2021-08-10 18:06:35 +02:00
Anthony Berton
2cb7e828a3 Trans 2021-08-10 18:05:58 +02:00
Anthony Berton
69e31e1655 ok 2021-08-10 18:04:59 +02:00
Anthony Berton
005e25375a ok 2021-08-10 17:51:39 +02:00
stickler-ci
1d9d90036d Fixing style errors. 2021-08-10 15:14:41 +00:00
Erik van Berkum
c05b1f5e29 Merge branch 'Dolibarr:develop' into develop 2021-08-10 23:59:50 +09:00
Laurent Destailleur
bef0989b15 Missing declaration 2021-08-10 13:34:21 +02:00
Anthony Berton
fb81db9426 yes/no save 2021-08-10 13:34:12 +02:00
Anthony Berton
21d6b9834a yes/no save 2021-08-10 13:31:25 +02:00
Anthony Berton
133bb0e699 yes/no save 2021-08-10 13:28:36 +02:00
Anthony Berton
a5accb8c3c yes/no 2021-08-10 13:18:07 +02:00
Anthony Berton
6a41edd3c2 ok 2021-08-10 13:02:37 +02:00
Laurent Destailleur
114f31df1d Doc 2021-08-10 12:55:43 +02:00
Laurent Destailleur
b10eaf08f1 Experiment a spider 2021-08-10 12:47:06 +02:00
Laurent Destailleur
93fb6bce71 css 2021-08-10 12:26:41 +02:00
Laurent Destailleur
3b73abed7c css 2021-08-10 11:40:25 +02:00
Anthony Berton
366625f300 const 2021-08-10 09:50:14 +02:00
stickler-ci
fcd174f3ad Fixing style errors. 2021-08-10 07:45:47 +00:00
Anthony Berton
f8df845442 Const and Com 2021-08-10 09:45:15 +02:00
Anthony Berton
3b04c28c4f const 2021-08-10 09:41:40 +02:00
Anthony Berton
284b40f152 CONST 2021-08-10 09:38:07 +02:00
Laurent Destailleur
6a9217474d FIX Can't set cost price when product is not on purchase 2021-08-09 20:01:06 +02:00
Anthony Berton
0bead55836 ok 2021-08-09 18:11:36 +02:00
stickler-ci
adc6f883e2 Fixing style errors. 2021-08-09 16:03:13 +00:00
Anthony Berton
6b3b6fd508 ok 2021-08-09 18:01:43 +02:00
stickler-ci
190ae8377e Fixing style errors. 2021-08-09 15:42:38 +00:00
Anthony Berton
41457d2adb ok 2021-08-09 17:16:48 +02:00
Laurent Destailleur
591b4c6793 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-09 16:49:16 +02:00
Laurent Destailleur
305314c04e Fix data structure 2021-08-09 16:18:33 +02:00
Francis Appels
40bb7244f8 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-08-09 11:46:17 +02:00
Francis Appels
91ef2a44fd Remove strange check on hook printOriginObjectLine.
Now need reshook.
2021-08-09 11:17:11 +02:00
andreubisquerra
ea531a4c88 Customer display settings 2021-08-08 19:16:11 +02:00
andreubisquerra
8a513ea468 Customer display on addline 2021-08-08 19:15:18 +02:00
andreubisquerra
bae5b39706 Customer display on click product 2021-08-08 19:14:28 +02:00
andreubisquerra
49b53e04f4 Customer Display total on pay 2021-08-08 19:13:31 +02:00
andreubisquerra
091f5ab23b Customer Display Lang 2021-08-08 19:12:45 +02:00
Laurent Destailleur
6b1fc48bd0 Fix var not initialized 2021-08-08 18:22:09 +02:00
Laurent Destailleur
671baa261d Fix var not defined 2021-08-08 12:57:00 +02:00
Laurent Destailleur
47d57b1ed2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-08 12:23:44 +02:00
Laurent Destailleur
7247b99170 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-08 12:15:25 +02:00
Laurent Destailleur
227f1605f6 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/user/group/perms.php
2021-08-08 12:10:21 +02:00
Laurent Destailleur
7365d61dfc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-08 12:05:45 +02:00
Laurent Destailleur
354d88df23 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-06 18:50:39 +02:00
Francis Appels
68482c637b Update actioncomm.class
Property contactid should be contact_id
2021-08-06 18:45:25 +02:00
Christophe Battarel
cbc7589559 NEW: add constant MAIN_IBAN_NOT_MANDATORY 2021-08-06 16:35:49 +02:00
Laurent Destailleur
4c3c613568 Fix filter to find files of a ref. 2021-08-06 13:24:40 +02:00
Laurent Destailleur
6cefd0a756 FIX Link of download main doc on vat list 2021-08-06 12:18:51 +02:00
Laurent Destailleur
470eec7f50 Remove (hide) not used field "deductible" on social contributions. 2021-08-06 11:32:39 +02:00
Christian Foellmann
80c63cae5e add GETPOST to 'target' value on new bookmarks -> allows to set default value 2021-08-06 08:32:40 +02:00
Erik van Berkum
d249ffd5ad Fix: Change French word to English in English array. 2021-08-06 13:40:19 +09:00
lmarcouiller
6b20b32f07 Fix lang error on hrm/index.php 2021-08-05 16:31:21 +02:00
Laurent Destailleur
c603dfb5ea Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-05 15:16:04 +02:00
Laurent Destailleur
047bbbb298 NEW Can set/unset the usual working day of the week 2021-08-05 14:42:28 +02:00
jpb
04d406bd39 remove useless boolean statment 2021-08-05 09:09:11 +02:00
Laurent Destailleur
f6abeca246 Fix example 2021-08-04 20:18:14 +02:00
Laurent Destailleur
76038e692d NEW Use an ajax call for the clicktodial feature instead of href link. 2021-08-04 20:07:12 +02:00
stickler-ci
ee55a7de5a Fixing style errors. 2021-08-04 15:50:59 +00:00
Gauthier PC portable 024
7b702d19d4 NEW : display shipping method and tracking url on shipemnt list 2021-08-04 17:47:40 +02:00
jpb
f99ba2c1e1 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_field_in_service_object 2021-08-04 17:26:23 +02:00
Hystepik
e02d93c401 Merge branch 'develop' into develop#1 2021-08-04 16:15:50 +02:00
Laurent Destailleur
0de10cea39 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-04 15:21:31 +02:00
lmarcouiller
8c8a542127 fix error with lang search 2021-08-04 15:06:08 +02:00
Laurent Destailleur
841176fdfd Fix set cookie with tag "secure" when https is forced. 2021-08-04 14:38:05 +02:00
Laurent Destailleur
928a2154b3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-04 13:22:55 +02:00
Laurent Destailleur
354b8aab01 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-04 13:18:33 +02:00
Laurent Destailleur
6a31d4657b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-04 13:12:46 +02:00
Laurent Destailleur
ce0d9f3b17 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-04 12:38:56 +02:00
Laurent Destailleur
d1af127c81 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-04 12:29:11 +02:00
lmarcouiller
8cbbcc01a9 Update to make lan field common 2021-08-04 11:25:23 +02:00
Francis Appels
58380acc31 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-08-04 08:50:47 +02:00
Daniel Mietchen
8c7b6e6666 typo fixes 2021-08-04 00:34:29 -04:00
Daniel Mietchen
26ba153169 typo fix and copyedits 2021-08-04 00:21:04 -04:00
Laurent Destailleur
6c19524fd7 code comment 2021-08-04 00:12:49 +02:00
Laurent Destailleur
7245fcec11 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-04 00:09:51 +02:00
Laurent Destailleur
ea6cfeb0e8 NEW Increase size of params of action for emailcollector 2021-08-03 19:21:18 +02:00
Marc de Lima Lucio
9d234a8541 FIX: multicurrency: fields in discount unitialized when creating deposit 2021-08-03 18:32:22 +02:00
Laurent Destailleur
5ec3245119 Migration 2021-08-03 17:15:55 +02:00
Laurent Destailleur
d3515253b2 Update 13.0.0-14.0.0.sql 2021-08-03 17:15:13 +02:00
Laurent Destailleur
78358d4ea1 Merge pull request #18190 from frederic34/migration_cat_tickets
add categories tickets migration
2021-08-03 17:13:06 +02:00
Laurent Destailleur
5becf13f2b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-03 17:09:09 +02:00
Laurent Destailleur
ede571dcfe Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/filefunc.inc.php
2021-08-03 17:08:49 +02:00
Laurent Destailleur
d3fa85cdb4 Merge pull request #18324 from Hystepik/develop#4
Close #18043 : fk_user_assign in create ticket
2021-08-03 17:06:55 +02:00
Laurent Destailleur
892ec3a661 Update card.php 2021-08-03 17:06:07 +02:00
Laurent Destailleur
1a0eeaf701 Fix phpcs 2021-08-03 16:35:47 +02:00
stickler-ci
1da9829d61 Fixing style errors. 2021-08-03 14:08:23 +00:00
lmarcouiller
6e68bf10ef Update of card.php to change status 2021-08-03 16:06:08 +02:00
lainwir3d
4873a91afc CLOSE #18326 Workflow: Close order on shipment closing.
Allow an order to be closed automatically when all linked shipment have been closed and all products / items have been shipped.
2021-08-03 17:55:28 +04:00
Christophe Battarel
f00694470f rename constant to PROPOSAL_ARE_NOT_BILLABLE 2021-08-03 15:40:01 +02:00
Laurent Destailleur
070fc26dcb Merge pull request #18309 from grandoc/new_branch_02_08_2021
New branch 02 08 2021
2021-08-03 15:31:25 +02:00
Laurent Destailleur
c40cc3a51e Merge pull request #18194 from FHenry/fix_bad_eoordisplay
fix: bad setEventMessages input
2021-08-03 15:23:22 +02:00
Laurent Destailleur
29715c2f2e Merge pull request #18318 from altairisfr/PROPAL_REOPEN_UNSIGNED_ONLY
NEW : add constant PROPAL_REOPEN_UNSIGNED_ONLY
2021-08-03 15:09:31 +02:00
Laurent Destailleur
f412af5885 Merge pull request #18320 from lainwir3d/restapi_shipment_close
CLOSE #18319 REST API - Shipment: Add 'close' action / endpoint
2021-08-03 15:07:53 +02:00
Laurent Destailleur
115b0e6831 Update api_shipments.class.php 2021-08-03 15:07:16 +02:00
lmarcouiller
c8fd7ccbb6 Close #18043 : fk_user_assign in create ticket 2021-08-03 15:06:53 +02:00
lainwir3d
d1f9762ca9 CLOSE #18319 REST API - Shipment: Add 'close' action / endpoint / POST method.
Allow "closing" a shipment through the REST API.
2021-08-03 13:37:28 +04:00
stickler-ci
9d2552e77b Fixing style errors. 2021-08-03 09:29:25 +00:00
Quentin VIAL-GOUTEYRON
2fab637b92 add dol_concatdesc 2021-08-03 11:26:57 +02:00
Christophe Battarel
7a7287489d NEW : add constant PROPAL_REOPEN_UNSIGNED_ONLY 2021-08-03 11:24:21 +02:00
Quentin VIAL-GOUTEYRON
f22a02a7ef fix br 2021-08-03 11:21:47 +02:00
Christophe Battarel
2998c94884 NEW : add constant PROPAL_NOT_BILLABLE 2021-08-03 11:12:19 +02:00
Laurent Destailleur
0c528db1eb Merge pull request #18306 from dolibit-ut/patch-365
Update ChangeLog
2021-08-02 20:22:03 +02:00
Laurent Destailleur
cad39cc75d Merge pull request #18307 from dolibit-ut/patch-366
Update llx_c_actioncomm.sql
2021-08-02 20:21:34 +02:00
Laurent Destailleur
0058e32207 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-08-02 19:03:38 +02:00
lmarcouiller
1cef6d31e8 Close #18302 : Mass action leave requests 2021-08-02 15:45:55 +02:00
Philippe GRAND
3c05cd0757 fix typo and translation 2021-08-02 12:41:55 +02:00
Philippe GRAND
703217acd0 backward 2021-08-02 12:39:45 +02:00
Philippe GRAND
3acb304dd3 fix typo and translation 2021-08-02 12:35:46 +02:00
UT from dolibit
b801188801 Update llx_c_actioncomm.sql 2021-08-02 12:12:57 +02:00
UT from dolibit
893bae0bd7 Update ChangeLog 2021-08-02 11:45:14 +02:00
Frédéric FRANCE
099164c043 Merge remote-tracking branch 'upstream/develop' into migration_cat_tickets 2021-08-02 09:01:27 +02:00
Laurent Destailleur
a4843f7d10 Merge pull request #18176 from ATM-Consulting/FIX_13.0_dispatch_cloned_datepicker_not_working
FIX: datepickers cloned using jquery are not working
2021-08-01 23:51:57 +02:00
Laurent Destailleur
7ab129d489 Merge pull request #18179 from joseplluis/patch-8
Add missing line product variables
2021-08-01 23:47:56 +02:00
Laurent Destailleur
d8a9a0cfb8 Merge pull request #18188 from frederic34/patch-11
fix php8 warnings
2021-08-01 23:42:17 +02:00
Laurent Destailleur
3ca1e1c4c0 Merge pull request #18196 from FHenry/develop_addexport
new: add column into export invoice
2021-08-01 23:32:51 +02:00
Laurent Destailleur
957b373ecd Merge pull request #18200 from frederic34/notify
notify class indent
2021-08-01 23:27:49 +02:00
Laurent Destailleur
7f28ad325b Merge pull request #18208 from dolibit-ut/patch-364
Update llx_00_c_country.sql
2021-08-01 14:55:29 +02:00
Laurent Destailleur
b332d02d20 Merge pull request #18248 from cfoellmann/agenda-fcomm-cancel
NEW add agenda auto creation on supplier_order cancellation
2021-07-31 17:02:08 +02:00
Laurent Destailleur
cb2c7d1485 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-31 17:00:00 +02:00
Laurent Destailleur
6f449cfd6c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-31 16:33:38 +02:00
Laurent Destailleur
0c024ca96b Merge pull request #18297 from cfoellmann/hook-menu
NEW add hook 'menuLeftMenuItems' to filter the leftmenu items
2021-07-31 16:13:49 +02:00
Laurent Destailleur
1e8f27975d Merge pull request #18207 from dolibit-ut/patch-363
Update llx_20_c_departements.sql
2021-07-31 13:30:53 +02:00
Laurent Destailleur
9f293066ab Merge pull request #18206 from Hystepik/develop#2
New : Inventory scanner tool implemented
2021-07-31 13:27:18 +02:00
Laurent Destailleur
58fa6ac4ab Merge pull request #18215 from netdrag/order_supplier_email_sender-patch-1
Order Supplier Email Sender Extension
2021-07-31 12:29:49 +02:00
Laurent Destailleur
8e068f1018 Merge pull request #18301 from leninrivas/patch-3
tva change too in facture
2021-07-31 12:14:44 +02:00
Lenin Rivas
5339154654 tva change too in facture 2021-07-30 17:47:05 -05:00
Florian HENRY
26551909a9 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_new_splitcalc_suggestd_code_compta 2021-07-30 20:27:29 +02:00
Laurent Destailleur
0f191e57f4 Merge pull request #18281 from cfoellmann/extend-getElementList-hook
extend the hook `getElementList` to make $ids in the hooked function
2021-07-30 15:20:25 +02:00
Christian Foellmann
055a5c4ab6 fix hook name 2021-07-30 15:19:05 +02:00
stickler-ci
3ceb451734 Fixing style errors. 2021-07-30 11:19:18 +00:00
Christian Foellmann
0102e73306 add hook 'menu_LeftMenuArray' to filter the leftmenu items 2021-07-30 13:15:01 +02:00
jpb
15578c2ec2 merge conflict 2021-07-30 10:57:04 +02:00
Christian Foellmann
b5c30126cb extend the hook getElementList to make $ids in the hooked function 2021-07-29 14:49:41 +02:00
lmarcouiller
b0133224d8 Update of var_dumper package 3.0 -> 3.2 2021-07-29 10:20:01 +02:00
Francis Appels
eae624efec Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-29 09:49:52 +02:00
Christian Foellmann
8d87bdcf7e add sql data for fresh install 2021-07-29 08:18:55 +02:00
Christian Foellmann
b9cb04d4b7 Merge branch 'develop' into agenda-fcomm-cancel 2021-07-29 08:14:02 +02:00
Laurent Destailleur
583f1ccc1a Merge pull request #18243 from Robin-Yann/13-hook
13 - add hook product part
2021-07-28 22:46:20 +02:00
Laurent Destailleur
9b73fac947 Merge pull request #18245 from frederic34/patch-12
Update dolreceiptprinter.class.php
2021-07-28 19:38:29 +02:00
Laurent Destailleur
d2311bcdeb Merge pull request #18234 from ptibogxiv/patch-432
fix for php 8
2021-07-28 19:36:13 +02:00
Laurent Destailleur
78a28e884d Merge pull request #18274 from joseplluis/patch-9
FIX totalDayAll hours in tasks
2021-07-28 18:53:32 +02:00
ptibogxiv
99e256a417 Update functions.lib.php 2021-07-28 18:22:26 +02:00
Josep Lluís
20add7d3fc FIX totalDayAll hours in tasks
The extra days hours were not considered in total hours
2021-07-28 18:02:55 +02:00
Laurent Destailleur
212f157c0f Merge pull request #18246 from FHenry/fix_ref_fourn_size
new: ref fourn and ref customer same size as ref product
2021-07-28 16:00:45 +02:00
Laurent Destailleur
9dc45ac6ec Merge pull request #18251 from cfoellmann/improve-makeorder
Improve makeorder
2021-07-28 15:41:09 +02:00
Laurent Destailleur
ededf43565 Merge pull request #18252 from cfoellmann/improve-receive
NEW add cancel button to `classifyreception` form on supplier_orders
2021-07-28 15:37:14 +02:00
Laurent Destailleur
c429aed0bd Merge pull request #18265 from OPEN-DSI/new_add_linkto_by_ref
NEW: add link to a element by ref
2021-07-28 15:24:12 +02:00
kamel
b4ccb1b355 Corrections stickler-ci 2021-07-28 12:29:17 +02:00
kamel
2cd7513936 NEW: add link to a element by ref 2021-07-28 12:18:35 +02:00
Laurent Destailleur
a635e82406 Merge pull request #18254 from leninrivas/patch-2
Add filter select company
2021-07-28 11:22:16 +02:00
Laurent Destailleur
a3110db5ba Merge pull request #18259 from cfoellmann/project-ref-field
longer field for project ref on create and edit
2021-07-28 11:15:05 +02:00
Christian Foellmann
0cd8527c35 longer field for project ref on create and edit 2021-07-28 11:01:38 +02:00
Lenin Rivas
6038ef6bba Add filter select company
Add filter with name alias and tva intra
2021-07-27 12:28:18 -05:00
Francis Appels
9b43ad2a68 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-27 17:41:41 +02:00
Christian Foellmann
51cfeddaaf add cancel button to classifyreception form on supplier_orders 2021-07-27 16:51:14 +02:00
Christian Foellmann
d9529f2600 save makeorder comment to agenda item 2021-07-27 16:37:34 +02:00
Christian Foellmann
cefbcf03f6 fix cancel on makeorder (supplier_order) 2021-07-27 16:18:06 +02:00
Christian Foellmann
8b118670c3 fix agenda item refuse 2021-07-27 15:11:13 +02:00
Christian Foellmann
faf50a5aaa add agenda auto creation on supplier_order cancellation 2021-07-27 15:06:28 +02:00
Florian HENRY
f4fd4d8e7d new: ref fourn and ref customer same size as ref product 2021-07-27 12:09:04 +02:00
Frédéric FRANCE
bc8be62809 Update dolreceiptprinter.class.php 2021-07-27 10:26:51 +02:00
lmarcouiller
7836651f84 Fix debug bar for php 8.0 2021-07-27 09:51:38 +02:00
Robin
d2dc2bfde2 add hook product composition 2021-07-27 09:13:50 +02:00
Robin
a386cf5e89 add hook product stat 2021-07-27 09:09:42 +02:00
ptibogxiv
dc30052d3e fix for php 8 2021-07-26 15:07:52 +02:00
jpb
b4199d8945 Merge branch 'NEW_field_in_service_object' of github.com:atm-jpb/dolibarr into NEW_field_in_service_object 2021-07-26 09:15:49 +02:00
jpb
8dc316797f move info to the left 2021-07-26 09:15:23 +02:00
Laurent Destailleur
079b014b14 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-26 00:41:35 +02:00
stickler-ci
5524320fbc Fixing style errors. 2021-07-23 17:46:44 +00:00
UT from dolibit
8920590e28 Update llx_00_c_country.sql
Singapour  -->  Singapore 
Iles Aland  -->  Åland Island 
Samoa américaines  -->  American Samoa 
Antarctique  -->  Antarctica 
Antigua-et-Barbuda  -->  Antigua and Barbuda 
Azerbaïdjan  -->  Azerbaijan
2021-07-23 12:48:25 +02:00
UT from dolibit
38b34b1f19 Update llx_20_c_departements.sql
Panama
2021-07-23 12:25:59 +02:00
netdrag
6cfd8c6f24 Order Supplier Email Sender Extension
Extended the advanced options to specify an email address for the order supplier. Useful if you operate under a brand, but order under a different.
2021-07-22 18:38:22 +02:00
Frédéric FRANCE
44fa70c7c7 notify class indent 2021-07-22 09:24:14 +02:00
Frédéric FRANCE
5e6c942caf notify class indent 2021-07-22 09:22:42 +02:00
Florian HENRY
8eafbf9101 add column into export invoice 2021-07-21 17:00:57 +02:00
Florian HENRY
ee1e6c2780 fix: bad setEventMessages input 2021-07-21 14:52:37 +02:00
stickler-ci
252765303e Fixing style errors. 2021-07-21 07:48:57 +00:00
jpb
0396573b91 fix focusout on mandatoryPeriod only 2021-07-21 09:46:38 +02:00
jpb
2189af1f2a Merge branch 'NEW_field_in_service_object' of github.com:atm-jpb/dolibarr into NEW_field_in_service_object 2021-07-21 08:57:09 +02:00
jpb
62d007e232 add focusout constraint 2021-07-21 08:56:40 +02:00
Frédéric FRANCE
f2dc3be051 add categories tickets migration 2021-07-21 08:40:07 +02:00
stickler-ci
c93e2cda0d Fixing style errors. 2021-07-21 06:31:07 +00:00
jpb
7f6e4886fc Merge branch 'NEW_field_in_service_object' of github.com:atm-jpb/dolibarr into NEW_field_in_service_object 2021-07-21 08:28:49 +02:00
jpb
32f9b1a556 fix cmd fourn no msg 2021-07-21 08:26:41 +02:00
Laurent Destailleur
afa6ced6c9 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/main.inc.php
2021-07-21 01:29:22 +02:00
Laurent Destailleur
e02fbadcd7 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/main.inc.php
2021-07-21 00:41:40 +02:00
Laurent Destailleur
219a2a860b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/en_US/main.lang
	htdocs/main.inc.php
2021-07-20 23:59:33 +02:00
Laurent Destailleur
08e06f9789 Fix #hunter2c606116-f212-49e0-967c-11f8666be43b 2021-07-20 23:28:57 +02:00
Laurent Destailleur
2383fd02c8 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-20 23:20:22 +02:00
stickler-ci
191163c7e7 Fixing style errors. 2021-07-20 20:41:49 +00:00
jpb
d61b831737 add field in create product 2021-07-20 22:39:30 +02:00
Frédéric FRANCE
828e65c724 Update html.form.class.php 2021-07-20 20:56:01 +02:00
Frédéric FRANCE
71b95f3511 fix php8 warnings 2021-07-20 20:54:27 +02:00
Givriz
3df4cd8857 Compatibility phpv8 2021-07-20 20:28:04 +02:00
jpb
875167d593 add escape to sql 2021-07-20 16:17:17 +02:00
jpb
953e311509 Merge branch 'NEW_field_in_service_object' of github.com:atm-jpb/dolibarr into NEW_field_in_service_object 2021-07-20 16:04:54 +02:00
jpb
f16eba1811 quick fix create product 2021-07-20 16:04:12 +02:00
stickler-ci
2f0ba41a53 Fixing style errors. 2021-07-20 13:35:10 +00:00
jpb
dc90a62d90 add tooltips helper on product card 2021-07-20 15:18:14 +02:00
lmarcouiller
60f0eeaea2 update inventory to be jquerry 2021-07-20 15:06:33 +02:00
jpb
1237c5ba55 add msg to formconfirm on propal invoice and commande 2021-07-20 14:46:56 +02:00
lmarcouiller
dd9eb28230 Barcode scanner tool update 2021-07-20 14:43:36 +02:00
jpb
367e839239 change class css and behavior js 2021-07-20 13:56:30 +02:00
jpb
e11afb7da0 add color on date dield and warning on line 2021-07-20 11:23:35 +02:00
Josep Lluís
20f347cd4c Add missing line product variables
Add missing line product variables: product_tobatch and product_barcode
2021-07-20 07:07:01 +02:00
BENKE Charlene
98a2c35ab5 PHP V8 warning error, use of not declared array 2021-07-19 17:51:06 +02:00
Damien BENOIT
dc5dac8c04 Merge pull request #31 from Dolibarr/develop
Update fork
2021-07-19 17:12:20 +02:00
atm-florian
8fdd9deb16 FIX: datepickers cloned using jquery are not working 2021-07-19 14:06:56 +02:00
jpb
97287af987 add field to object product, add sql 2021-07-19 14:03:03 +02:00
BENKE Charlene
acdac32845 FIX : "disabled" field missing on definition 2021-07-19 13:46:50 +02:00
lmarcouiller
b309af0ab8 First push new scan quanty inventory 2021-07-19 13:43:48 +02:00
BENKE Charlene
09954a3047 Update html.formcompany.class.php 2021-07-19 11:01:06 +02:00
BENKE Charlene
49a74c2b3b Update index.php 2021-07-19 10:42:11 +02:00
BENKE Charlene
29bdbe02f2 Update index.php 2021-07-19 10:21:18 +02:00
BENKE Charlene
1a23cfc6f9 Update list.php 2021-07-19 10:01:11 +02:00
atm-florian
c92278b4df Merge remote-tracking branch 'dol/13.0' into FIX_13.0_extrafields_inoperative_in_receptions 2021-07-19 09:50:31 +02:00
BENKE Charlene
4eeaac5ee7 warning error on PHP 8 2021-07-19 09:45:47 +02:00
Francis Appels
2c4a8a3c10 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-18 14:57:17 +02:00
atm-florian
68130ec274 FIX: line extrafields are inoperative in dispatch cards even when they exist 2021-07-16 19:24:34 +02:00
trekmorris
3440994e8e Update opensurvey.lang
Update the translation manually . This file is not auto sync from transifex .
2021-07-16 23:40:18 +08:00
lmarcouiller
1fb99a3185 Update to match eldy changes 2021-07-16 15:47:17 +02:00
Laurent Destailleur
c0d54fe608 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-16 15:03:52 +02:00
Laurent Destailleur
0ccc2d9033 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-16 15:01:11 +02:00
Laurent Destailleur
2fc8a80070 Merge pull request #17883 from marc-dll/develop_NEW_holiday_cron
NEW: holiday: handle monthly balance updates with cronjob
2021-07-16 12:48:12 +02:00
Laurent Destailleur
f7ed6c8a0b Merge pull request #18129 from evarisk-theo/add-ticket-categories-views
NEW: ticket categories views
2021-07-16 12:46:14 +02:00
Marc de Lima Lucio
4d6372dda1 FIX: holiday balances: revert part of commit 1e7df0ba9 to still increment on page visit 2021-07-16 12:10:25 +02:00
stickler-ci
2fd520cadc Fixing style errors. 2021-07-16 08:15:36 +00:00
lmarcouiller
cad84b1e0b Update language support knowledge record 2021-07-16 10:10:59 +02:00
lmarcouiller
f68f98cbdd New : language support for knowledgemanagement module 2021-07-16 09:59:15 +02:00
Laurent Destailleur
0637ef781f Add samples for imap functions test 2021-07-15 23:03:24 +02:00
Laurent Destailleur
0aeeb62628 More log on imap card 2021-07-15 22:29:03 +02:00
Francis Appels
6ffdf6f597 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-15 14:17:44 +02:00
Laurent Destailleur
fb8ecf10d9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-14 14:49:30 +02:00
Laurent Destailleur
638a66fbb9 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/en_US/main.lang
2021-07-14 14:49:06 +02:00
Laurent Destailleur
ddf067e9de Merge pull request #17801 from nicolas-eoxia/fix_process_payment_with_online_link_order
NEW : Auto create invoice for payment done on an order with online payment link of order
2021-07-14 14:05:13 +02:00
Laurent Destailleur
b2425c2a9d Update paymentok.php 2021-07-14 14:04:44 +02:00
Laurent Destailleur
c818e39374 Merge pull request #18149 from defrance/patch-168
add interventional drafts on commercial index
2021-07-14 13:59:07 +02:00
Laurent Destailleur
0fd980b005 Update index.php 2021-07-14 13:57:17 +02:00
Laurent Destailleur
a88ab8e443 Merge pull request #18147 from atm-john/fix_dialog_btn
Fix : dialog BTN and add doc
2021-07-14 13:53:41 +02:00
Laurent Destailleur
21f295565a Merge pull request #18144 from Hystepik/develop#1
Fix : remove of a button which was forgotten
2021-07-14 13:50:42 +02:00
BENKE Charlene
7406f2cc85 a interventional drafts on commercial index 2021-07-14 12:55:33 +02:00
Francis Appels
f4db643f37 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-14 10:09:45 +02:00
ATM john
87c26ae0e2 Add php doc 2021-07-14 10:07:03 +02:00
Laurent Destailleur
7f2cdbf96e Merge pull request #18128 from evarisk-theo/add-ticket-categories-functions
add: ticket categories functions
2021-07-14 02:21:13 +02:00
ATM john
1a330e0b88 Fix dialog BTN and add doc 2021-07-14 00:02:55 +02:00
lmarcouiller
9a12b5e424 Fix : remove of a button which was forgotten 2021-07-13 15:17:01 +02:00
evarisk-theo
f0599095ee Merge branch 'Dolibarr:develop' into add-ticket-categories-functions 2021-07-13 14:04:14 +02:00
Théo David
66f38d0012 fix: rename select_tickets_list into selectTicketsList 2021-07-13 14:00:16 +02:00
Laurent Destailleur
e755d68b06 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-13 13:22:20 +02:00
Laurent Destailleur
0d12f25341 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-13 13:21:50 +02:00
Laurent Destailleur
bbce0f9c1b Update html.form.class.php 2021-07-13 13:01:34 +02:00
Laurent Destailleur
f1c7207514 Merge pull request #18135 from Hystepik/develop#1
Fix #18110 : update of formticket.class.php
2021-07-13 11:48:36 +02:00
Laurent Destailleur
e5ed5edeab Merge pull request #18140 from Hystepik/develop#2
Close #18131 : new massaction for thirdparty
2021-07-13 11:45:47 +02:00
stickler-ci
85adefe721 Fixing style errors. 2021-07-13 08:08:01 +00:00
lmarcouiller
35b29481c7 Close #18131 : new massaction for thirdparty 2021-07-13 10:05:38 +02:00
Laurent Destailleur
224bbe96c3 Merge pull request #18133 from altairisfr/fixbadge
fix badge status bgcolor
2021-07-12 17:00:12 +02:00
stickler-ci
5b1525e77c Fixing style errors. 2021-07-12 14:15:28 +00:00
lmarcouiller
cfb03f065c Fix #18110 : update of formticket.class.php 2021-07-12 16:12:28 +02:00
Francis Appels
1d894e8517 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-12 15:30:23 +02:00
Théo David
12e327d6b4 fix: remove phpcs:enable tag 2021-07-12 14:37:07 +02:00
Théo David
b59c1f1a34 fix: rename select_tickets into selectTickets 2021-07-12 14:17:30 +02:00
Théo David
d8db447112 fix: rename select_tickets into selectTickets 2021-07-12 14:12:20 +02:00
Christophe Battarel
91d27a556c fix badge status bgcolor 2021-07-12 14:09:16 +02:00
Damien BENOIT
e6f4d2dab5 Merge pull request #30 from Dolibarr/develop
Update fork
2021-07-12 13:22:41 +02:00
Laurent Destailleur
6f4090f567 Merge pull request #18127 from evarisk-theo/add-ticket-categories-data-model
add: ticket categories data model
2021-07-12 13:19:47 +02:00
Laurent Destailleur
7533c9e3a5 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/fr_FR/interventions.lang
2021-07-12 12:01:53 +02:00
Laurent Destailleur
0cde1cfc38 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-12 11:56:13 +02:00
Laurent Destailleur
977600e3a5 v15 2021-07-12 11:55:30 +02:00
David
642d84a844 fix: code syntax 2021-07-12 09:26:18 +02:00
stickler-ci
ce9bd51cb2 Fixing style errors. 2021-07-12 07:17:08 +00:00
evarisk-theo
3bc2dec696 Merge branch 'Dolibarr:develop' into add-ticket-categories-views 2021-07-12 09:10:25 +02:00
evarisk-theo
41b0735150 Merge branch 'Dolibarr:develop' into add-ticket-categories-functions 2021-07-12 09:10:15 +02:00
evarisk-theo
8496c9e57f Merge branch 'Dolibarr:develop' into add-ticket-categories-data-model 2021-07-12 09:09:53 +02:00
Laurent Destailleur
d91051488c Merge pull request #18125 from fr69400/develop
NEW add hookmanager on note pages
2021-07-11 20:25:16 +02:00
Laurent Destailleur
c9242d83ab Clean code 2021-07-11 20:16:47 +02:00
Laurent Destailleur
fb13746644 Merge pull request #18019 from ATM-Consulting/NEW_develop_addFileIntoDatabaseIndex_facilitate_setting_description_and_keyword
NEW: make it easier to set the `keyword`, `keywords` and `description` attributes of an ecm file object
2021-07-11 20:15:29 +02:00
ATM john
7ad1738944 Fix setError 2021-07-11 15:58:34 +02:00
ATM john
19ab5ce420 Fix comments 2021-07-11 14:13:24 +02:00
ATM john
dc3f960ce8 Add validate to module builder 2021-07-11 14:05:26 +02:00
ATM john
a9a7315ce1 WIP - create validation method for common object 2021-07-11 13:30:30 +02:00
stickler-ci
986e86e6ae Fixing style errors. 2021-07-11 07:57:19 +00:00
fr69400
4d12c6eff6 Update recruitmentjobposition_note.php 2021-07-11 09:57:04 +02:00
stickler-ci
9ec1e7d50e Fixing style errors. 2021-07-11 07:55:48 +00:00
fr69400
e43da11ac8 Update workstation_note.php 2021-07-11 09:55:33 +02:00
fr69400
931d939d74 Update note.php 2021-07-11 09:55:18 +02:00
stickler-ci
8d75d37cad Fixing style errors. 2021-07-11 07:54:50 +00:00
fr69400
d5c8243a12 Update note.php 2021-07-11 09:54:35 +02:00
stickler-ci
b5606e3181 Fixing style errors. 2021-07-11 07:54:28 +00:00
fr69400
7e4cf44ed3 Update note.php 2021-07-11 09:54:13 +02:00
stickler-ci
8bf504d7f3 Fixing style errors. 2021-07-11 07:54:10 +00:00
fr69400
d35719b939 Update recruitmentcandidature_note.php 2021-07-11 09:53:57 +02:00
stickler-ci
e617f9ca38 Fixing style errors. 2021-07-11 07:53:53 +00:00
fr69400
f3ebbbbbc0 Update note.php 2021-07-11 09:53:38 +02:00
stickler-ci
b227a85d31 Fixing style errors. 2021-07-11 07:53:28 +00:00
fr69400
209fe70da0 Update note.php 2021-07-11 09:53:13 +02:00
stickler-ci
2d6efd2d4c Fixing style errors. 2021-07-11 07:53:01 +00:00
fr69400
eb6284e152 Update mo_note.php 2021-07-11 09:52:46 +02:00
stickler-ci
21e5d067e2 Fixing style errors. 2021-07-11 07:52:16 +00:00
fr69400
9a6cafb3c5 Update note.php 2021-07-11 09:52:01 +02:00
stickler-ci
2a1eb97b7d Fixing style errors. 2021-07-11 07:50:57 +00:00
fr69400
2e4b45488f Update note.php 2021-07-11 09:50:42 +02:00
stickler-ci
c6fb975d51 Fixing style errors. 2021-07-11 07:50:38 +00:00
fr69400
1b2f0fc155 Update note.php 2021-07-11 09:50:24 +02:00
stickler-ci
6810391a6a Fixing style errors. 2021-07-11 07:50:20 +00:00
fr69400
aeba1dd2b2 Update partnership_note.php 2021-07-11 09:50:06 +02:00
stickler-ci
21e213507f Fixing style errors. 2021-07-11 07:49:56 +00:00
fr69400
35c0008fa0 Update myobject_note.php 2021-07-11 09:49:42 +02:00
stickler-ci
efbf9db105 Fixing style errors. 2021-07-11 07:49:39 +00:00
fr69400
29e0ce787f Update note.php 2021-07-11 09:49:24 +02:00
stickler-ci
789cea9a85 Fixing style errors. 2021-07-11 07:49:05 +00:00
fr69400
7f18bdf85b Update knowledgerecord_note.php 2021-07-11 09:48:50 +02:00
fr69400
ce4cab04d4 Update note.php 2021-07-11 09:48:33 +02:00
stickler-ci
48846888cc Fixing style errors. 2021-07-11 07:48:30 +00:00
fr69400
beaee09c98 Update note.php 2021-07-11 09:48:15 +02:00
fr69400
b91f5ad500 Update note.php 2021-07-11 09:47:58 +02:00
stickler-ci
d22ed4be82 Fixing style errors. 2021-07-11 07:47:50 +00:00
fr69400
ce9cf63c36 Update note.php 2021-07-11 09:47:36 +02:00
stickler-ci
84493fb55d Fixing style errors. 2021-07-11 07:47:32 +00:00
fr69400
cd55445905 Update note.php 2021-07-11 09:47:17 +02:00
stickler-ci
fdaf29fd65 Fixing style errors. 2021-07-11 07:47:08 +00:00
fr69400
2eb10c40b2 Update conferenceorboothattendee_note.php 2021-07-11 09:46:52 +02:00
stickler-ci
a8752bf097 Fixing style errors. 2021-07-11 07:46:34 +00:00
fr69400
556c2c7e5a Update note.php 2021-07-11 09:46:15 +02:00
fr69400
d485d9d2fd Update note.php 2021-07-11 09:45:59 +02:00
fr69400
c7ad0a59c9 Update note.php 2021-07-11 09:45:38 +02:00
fr69400
a27b0cd797 Update note.php 2021-07-11 09:45:22 +02:00
stickler-ci
cc4defd212 Fixing style errors. 2021-07-11 07:44:41 +00:00
fr69400
bf03a30a9f Update note.php 2021-07-11 09:44:18 +02:00
fr69400
dafd0fb4b0 Update bom_note.php 2021-07-11 09:44:01 +02:00
stickler-ci
698f6db72e Fixing style errors. 2021-07-11 07:43:34 +00:00
fr69400
b8fd4394a1 Update note.php 2021-07-11 09:43:08 +02:00
stickler-ci
c7e6f66823 Fixing style errors. 2021-07-11 07:43:02 +00:00
fr69400
5ec903723d Update note.php 2021-07-11 09:42:35 +02:00
Laurent Destailleur
64bd4ef784 Fix component to select ticket groups 2021-07-10 20:09:51 +02:00
Laurent Destailleur
339fa6fbe3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-10 09:44:22 +02:00
Laurent Destailleur
f65aa6024f Add replace into forbidden sql in read-only mode 2021-07-10 09:42:20 +02:00
Laurent Destailleur
3fadd5cda5 NEW Add $dolibarr_main_db_readonly in conf.php for readonly access. 2021-07-09 19:37:12 +02:00
stickler-ci
4272f93aa4 Fixing style errors. 2021-07-09 16:41:41 +00:00
fr69400
e45d5c1d0d NEW add hookmanager on note pages 2021-07-09 18:36:21 +02:00
Laurent Destailleur
af8c973050 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-09 13:35:08 +02:00
Laurent Destailleur
e51e31dc11 Merge pull request #18087 from atm-john/new_modal_btn_option
New :  Add js confirm modal option to BTN created with dolGetButtonAction
2021-07-09 10:09:08 +02:00
Florian Mortgat
924cff44f3 FIX PR feedback: in addFileIntoDatabaseIndex, return error if $object is set with an ID but without a table_element 2021-07-09 09:16:27 +02:00
Florian Mortgat
407f314498 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_develop_addFileIntoDatabaseIndex_facilitate_setting_description_and_keyword 2021-07-09 09:11:11 +02:00
Laurent Destailleur
d9475b8b2b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 23:46:35 +02:00
Laurent Destailleur
cc1f15354a Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 23:26:43 +02:00
Laurent Destailleur
1306ff4c0b Clean code of lib_notification. Now use cache like other js. 2021-07-08 23:19:43 +02:00
ATM john
c2ce8e3c9d Fix comment 2021-07-08 22:29:41 +02:00
Laurent Destailleur
7d6b70f679 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 22:26:58 +02:00
Laurent Destailleur
9512865896 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 22:18:11 +02:00
Laurent Destailleur
ed60ea7b1e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 22:01:36 +02:00
Laurent Destailleur
8f534b2c20 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 22:01:25 +02:00
Laurent Destailleur
512f58a34a Merge pull request #18116 from aspangaro/14p3
FIX Accountancy - constant ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY
2021-07-08 21:57:19 +02:00
Laurent Destailleur
e5bc32bb7c Update card.php 2021-07-08 21:55:35 +02:00
Laurent Destailleur
76d02ecd77 Update card.php 2021-07-08 21:53:24 +02:00
Alexandre SPANGARO
c8162e6785 FIX Accountancy - constant ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY 2021-07-08 21:35:25 +02:00
Laurent Destailleur
797797d38b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 20:59:48 +02:00
Francis Appels
d2403d38b5 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-08 17:49:47 +02:00
Laurent Destailleur
ec09d95dc6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 17:24:39 +02:00
Laurent Destailleur
08adb73c6e Trans 2021-07-08 17:24:05 +02:00
Laurent Destailleur
310ebfbe2e Merge pull request #18089 from atm-jpb/NEW_CMD_LIST_Add_Filter
add filter
2021-07-08 16:55:04 +02:00
stickler-ci
327481dc78 Fixing style errors. 2021-07-08 14:47:38 +00:00
jpb
4df29292ab update comment 2021-07-08 16:44:24 +02:00
jpb
2e44acbc81 update comment 2021-07-08 16:43:05 +02:00
Laurent Destailleur
2e33d85b29 Merge pull request #18106 from EpixFr/develop
NEW : Adding accounting export model for iSuite Expert
2021-07-08 16:37:11 +02:00
Laurent Destailleur
fe20217bfe Update accountancyexport.class.php 2021-07-08 16:36:53 +02:00
Laurent Destailleur
752b55ac98 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-08 14:04:07 +02:00
Laurent Destailleur
470f683d41 Clean code 2021-07-08 10:38:36 +02:00
Laurent Destailleur
34c7295cbc Make code more jquery compliant 2021-07-07 21:01:30 +02:00
Laurent Destailleur
4ada220083 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/dict.php
2021-07-07 19:18:32 +02:00
Laurent Destailleur
6cfb3c0e16 Fix css for field pos/position in dictionary. 2021-07-07 18:41:37 +02:00
Laurent Destailleur
9d3f7c5cdd Support fk_parent into dictionary of ticket categories 2021-07-07 18:30:10 +02:00
stickler-ci
335c3029dc Fixing style errors. 2021-07-07 15:55:07 +00:00
EpixFr
edfd40719b Gestion des longueurs des comptes variables 2021-07-07 17:53:10 +02:00
EpixFr
45d36d9134 Ajout export compta iSuite Expert 2021-07-07 17:32:48 +02:00
stickler-ci
89ffa85290 Fixing style errors. 2021-07-07 06:40:12 +00:00
jpb
73bfeee4e7 fix comment 2021-07-07 08:37:49 +02:00
jpb
1a919c9f2b change comment 2021-07-07 08:35:31 +02:00
Laurent Destailleur
34f1cfe575 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/product/index.php
2021-07-07 02:09:53 +02:00
Francis Appels
9d98164558 Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-06 20:17:39 +02:00
Laurent Destailleur
f286017cab Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-06 19:03:55 +02:00
Laurent Destailleur
5444d45e68 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-06 16:13:40 +02:00
Laurent Destailleur
a37e55d117 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-06 16:00:16 +02:00
Laurent Destailleur
ced4ea1314 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/propal/list.php
	htdocs/core/tpl/objectline_view.tpl.php
2021-07-06 15:59:59 +02:00
Laurent Destailleur
c34edc095e Merge pull request #18083 from leninrivas/patch-1
Update unicode and name of currency
2021-07-06 14:58:54 +02:00
Laurent Destailleur
47db14570d Merge pull request #18086 from daamien/18085_pgsql_alter_table_llx_c_ticket_category
FIX #18085: Migration 13 to 14 : Explicit cast when changing the type…
2021-07-06 14:51:22 +02:00
Laurent Destailleur
c901e518a7 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-06 02:11:28 +02:00
Laurent Destailleur
0b7b9aae79 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-05 23:07:56 +02:00
Laurent Destailleur
2a5699a9a2 Merge 2021-07-05 23:07:40 +02:00
Laurent Destailleur
adec77e449 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-05 18:47:24 +02:00
Laurent Destailleur
fe5c4f4a0e Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-05 17:04:38 +02:00
Laurent Destailleur
22c45fe7cc Trans 2021-07-05 15:44:11 +02:00
Francis Appels
a4c9fba6cb Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-05 10:41:09 +02:00
stickler-ci
bcb06d5c90 Fixing style errors. 2021-07-05 07:40:44 +00:00
jpb
ad62062cd5 add filter 2021-07-05 08:55:03 +02:00
ATM john
752fe22c68 Add simple auto mode 2021-07-04 23:24:38 +02:00
ATM john
a709cc583f Add modal option to btn 2021-07-04 22:59:53 +02:00
Laurent Destailleur
5779a56ae0 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-04 21:23:53 +02:00
Laurent Destailleur
744a95ce7e Fix var init 2021-07-04 18:30:20 +02:00
damien clochard
cb7ac94e15 FIX #18085: Migration 13 to 14 : Explicit cast when changing the type of llx_c_ticket_category.pos 2021-07-04 14:27:51 +02:00
Lenin Rivas
d51599f8f1 Update unicode and name of currency 2021-07-03 22:41:16 -05:00
Laurent Destailleur
d1c6a9899c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-07-03 18:33:00 +02:00
Laurent Destailleur
30f9eb9f23 Fix phpcs 2021-07-03 18:32:52 +02:00
Laurent Destailleur
9b7c0a9246 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/filefunc.inc.php
2021-07-03 18:32:31 +02:00
Laurent Destailleur
b43fddfc74 Merge pull request #18058 from altairisfr/exportprices
add labels and export only latest prices
2021-07-02 16:35:58 +02:00
Laurent Destailleur
a562cd227a Merge pull request #18072 from Hystepik/develop#1
Fix #18063 : search filter status lost "Back to list"
2021-07-02 16:03:41 +02:00
Laurent Destailleur
2595e91f51 Merge pull request #18067 from Hystepik/develop#2
Fix Error type ent in fourn/commande/list.php
2021-07-02 16:02:55 +02:00
lmarcouiller
3bf268796c Fix #18063 : search filter status lost "Back to list" 2021-07-02 12:47:42 +02:00
John BOTELLA
167ae5b0f2 Merge branch 'develop' into new_validation_method_for_common_object 2021-07-02 12:04:14 +02:00
lmarcouiller
7c072c7960 Fix Error type ent in fourn/commande/list.php 2021-07-02 10:47:57 +02:00
Théo David
079608fe00 NEW #18046 Add ticket ticket categories functions 2021-07-02 10:26:03 +02:00
Théo David
110b0fecf5 NEW #18046 Add ticket categories views 2021-07-02 10:05:45 +02:00
Théo David
de847250b1 NEW #18046 Add ticket categories data model 2021-07-01 17:55:54 +02:00
Francis Appels
b9d4205a9e Merge remote-tracking branch 'Dolibarr/14.0' into 14 2021-07-01 15:32:15 +02:00
stickler-ci
b102dc619f Fixing style errors. 2021-07-01 10:15:55 +00:00
Nicolas Domenech
5c0086790e Merge branch 'develop' into fix_process_payment_with_online_link_order 2021-07-01 12:13:59 +02:00
Nicolas
3e6eeeb977 fix : remove comments 2021-07-01 11:59:00 +02:00
Nicolas
9b71f1e16b fix : move check if invoice module is enabled into paymentok.php 2021-07-01 11:55:06 +02:00
Laurent Destailleur
1a63a379cc Fix missing permission 2021-07-01 03:03:59 +02:00
Laurent Destailleur
aec4d6016c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2021-06-30 17:27:40 +02:00
Laurent Destailleur
6cb5ea6ec2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-06-30 17:27:20 +02:00
Christophe Battarel
ac6cb5853e fix for multientity 2021-06-30 15:35:55 +02:00
Laurent Destailleur
5c6ccfd3a6 Merge pull request #18051 from altairisfr/timespent2inter
NEW generate intervention from time spent
2021-06-30 14:52:16 +02:00
Laurent Destailleur
6ef42623da Merge pull request #18059 from Hystepik/develop#1
Fix php 8.0 errors
2021-06-30 14:38:37 +02:00
Christophe Battarel
3b4ea5c5af use formintervention 2021-06-30 10:56:09 +02:00
Christophe Battarel
27e2c62cab Merge branch 'develop' into timespent2inter 2021-06-30 10:34:22 +02:00
lmarcouiller
2ab97d522d Fix php 8.0 warning societe index 2021-06-30 10:30:46 +02:00
lmarcouiller
dcd4d53622 Fix php 8 warning in adherents list 2021-06-30 10:22:00 +02:00
Christophe Battarel
4f2e579bb2 add labels and export only latest prices 2021-06-30 10:21:31 +02:00
Christophe Battarel
0b5e231dd5 add labels and export only latest prices 2021-06-30 10:18:14 +02:00
Florian Mortgat
5d4c40fffa Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_develop_addFileIntoDatabaseIndex_facilitate_setting_description_and_keyword 2021-06-30 09:36:34 +02:00
Florian Mortgat
94416072d8 FIX after PR feedback: remove uses of keyword attribute of EcmFiles (use keywords instead) 2021-06-30 09:34:49 +02:00
Laurent Destailleur
94974af738 trans 2021-06-30 01:52:54 +02:00
Laurent Destailleur
5e37c2ef74 CSS 2021-06-30 01:36:49 +02:00
Laurent Destailleur
02a5755876 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/langs/nl_NL/main.lang
2021-06-29 19:59:51 +02:00
Laurent Destailleur
5f019e0857 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-06-29 19:57:06 +02:00
Laurent Destailleur
7d8770305a Merge pull request #17790 from aspangaro/14b11
NEW Add field date from/to in supplier payment list
2021-06-29 19:54:41 +02:00
Laurent Destailleur
04148dd5fb Merge pull request #17789 from aspangaro/14b10
NEW Add field date from/to in customer payment list
2021-06-29 19:54:12 +02:00
Laurent Destailleur
6196a77e64 Merge pull request #17861 from marc-dll/develop_NEW_project_block_timesheet
NEW: project time spent: conf to prevent recording time after X months
2021-06-29 19:53:20 +02:00
Laurent Destailleur
11b5c044bc Merge pull request #18052 from Hystepik/develop#3
New : selectGroupTicket  multilevel >1 level
2021-06-29 19:37:39 +02:00
Laurent Destailleur
1804c36a05 Merge pull request #18047 from aspangaro/14b16
Uniformize accounting displays
2021-06-29 19:24:57 +02:00
lmarcouiller
3d41c00199 New : selectGroupTicket multilevel >1 level 2021-06-29 16:13:03 +02:00
Christophe Battarel
c8f55907eb stickler 2021-06-29 15:52:50 +02:00
Christophe Battarel
d423e47d3b stickler 2021-06-29 15:50:41 +02:00
Laurent Destailleur
ba4a01dbea Merge pull request #18037 from atm-maxime/fix_mo_stuff
Fix MO and BOM links in boxes
2021-06-29 15:42:09 +02:00
Laurent Destailleur
ab4dbcf5ae Update box_mos.php 2021-06-29 15:41:48 +02:00
Laurent Destailleur
474df5fef2 Update box_boms.php 2021-06-29 15:41:21 +02:00
Christophe Battarel
6d77f5e12f fix translation string 2021-06-29 15:38:24 +02:00
Laurent Destailleur
ffef2191bd Merge pull request #18042 from Hystepik/develop#2
Fix CI bot error
2021-06-29 15:36:40 +02:00
Christophe Battarel
ef8aaa7fd7 generate intervention from time spent 2021-06-29 15:26:04 +02:00
Laurent Destailleur
17c3649905 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-06-29 02:42:50 +02:00
Laurent Destailleur
c90730d530 Prepare branch to dev v15 2021-06-29 02:40:05 +02:00
lmarcouiller
477b1272e0 Fix CI bot error 2021-06-28 13:30:26 +02:00
Francis Appels
b46836bb6f Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-06-28 10:24:11 +02:00
Maxime Kohlhaas
8332385bd5 Fix links in box last BOM 2021-06-27 08:42:08 +02:00
Maxime Kohlhaas
d86caa39e4 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into fix_mo_stuff 2021-06-27 08:34:11 +02:00
Florian Mortgat
d0a4ae88b1 NEW: make it easier to set the keyword, keywords and description attributes of an ecm file object 2021-06-24 11:50:34 +02:00
ATM john
b8244edb89 Merge branch 'new_validation_method_for_common_object' of github.com:atm-john/dolibarr into new_validation_method_for_common_object 2021-06-21 21:54:53 +02:00
ATM john
4d043b713c WIP - create validation method for common object 2021-06-21 21:54:03 +02:00
kamel
488d875854 Correction 2021-06-21 16:51:54 +02:00
Francis Appels
5fa5508490 Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-06-21 16:51:19 +02:00
kamel
dd61c49722 Correction 2021-06-21 16:44:31 +02:00
kamel
ba7b6a8d51 FIX: Reload values of the specified entity when change entity in the execution of cron job 2021-06-21 16:38:36 +02:00
Maxime Kohlhaas
2d9d46b9b5 Merge branch 'develop' of github.com:atm-maxime/dolibarr into fix_mo_stuff 2021-06-20 21:08:28 +02:00
stickler-ci
82f195dc30 Fixing style errors. 2021-06-14 19:15:53 +00:00
ATM john
be367c589f WIP - create validation method for common object 2021-06-14 21:12:48 +02:00
ATM john
23765bf459 WIP - create validation method for common object 2021-06-14 20:59:46 +02:00
Francis Appels
0122bb1ca7 Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-06-14 16:16:42 +02:00
Damien BENOIT
7c98ece1f2 Merge pull request #29 from Dolibarr/develop
Update fork
2021-06-14 15:03:23 +02:00
ATM john
43ecba2e63 WIP - create validation method for common object 2021-06-12 14:16:40 +02:00
ATM john
578dc9adde WIP - create validation method for common object 2021-06-12 12:58:20 +02:00
Francis Appels
62bee01002 Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-06-11 18:01:15 +02:00
stickler-ci
82feb57fcf Fixing style errors. 2021-06-10 19:56:03 +00:00
Marc de Lima Lucio
1e7df0ba9f NEW: holiday: handle monthly updates with cronjob 2021-06-10 21:53:06 +02:00
Francis Appels
87783cbf7a Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-06-10 16:23:39 +02:00
Florian HENRY
87276fadf8 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_new_splitcalc_suggestd_code_compta 2021-06-10 16:10:11 +02:00
stickler-ci
aae636bdc7 Fixing style errors. 2021-06-10 12:28:26 +00:00
Quentin VIAL-GOUTEYRON
1d279dedaa missing & 2021-06-10 14:24:01 +02:00
Quentin VIAL-GOUTEYRON
71386479ad Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into FIX_multiple_order_linked_to_facture 2021-06-10 14:22:15 +02:00
Nicolas
4e1fe23b7e FIX: add check display payment link if invoice module is enabled 2021-06-09 15:48:31 +02:00
stickler-ci
c62c668c68 Fixing style errors. 2021-06-09 09:29:22 +00:00
Marc de Lima Lucio
d383941596 Merge branch 'NEW_13.0_project_block_timesheet' of github.com:marc-dll/dolibarr into develop_NEW_project_block_timesheet 2021-06-09 11:24:17 +02:00
Marc de Lima Lucio
7317aad41f FIX: projet time spent: also restrict to X months back for update and delete 2021-06-09 11:08:38 +02:00
Marc de Lima Lucio
4c6dfd8d5c Merge branch 'NEW_13.0_project_block_timesheet' of github.com:marc-dll/dolibarr into develop 2021-06-09 11:03:04 +02:00
Marc de Lima Lucio
6733d278d8 NEW: project time spent: conf to prevent recording time after X months 2021-06-08 18:13:18 +02:00
stickler-ci
453ff4aa66 Fixing style errors. 2021-06-07 14:19:06 +00:00
Quentin VIAL-GOUTEYRON
66f7085225 Merge branch '12.0' of https://github.com/Dolibarr/dolibarr into FIX_multiple_order_linked_to_facture 2021-06-07 16:02:16 +02:00
Quentin VIAL-GOUTEYRON
d6c6170e9d fix multiple order linked to invoice 2021-06-07 16:01:58 +02:00
Maxime Kohlhaas
a63d3364b4 Fix links in box last MO 2021-06-06 22:51:27 +02:00
Florian HENRY
55761b31c6 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_new_splitcalc_suggestd_code_compta 2021-06-06 22:30:58 +02:00
ATM john
801f6cab2d WIP - create validation method for common object 2021-06-06 21:58:59 +02:00
ATM john
f1b1dcd1b1 WIP - create validation method for common object 2021-06-06 21:53:17 +02:00
ATM john
aa94d40ad0 WIP - create validation method for common object 2021-06-06 21:12:03 +02:00
Alexandre SPANGARO
c1757bdbd8 Remove warning 2021-06-06 06:28:38 +02:00
Alexandre SPANGARO
a92bd31ce1 Fix search_datexxx 2021-06-05 07:39:15 +02:00
Alexandre SPANGARO
6922359114 Merge remote-tracking branch 'upstream/develop' into 14b10 2021-06-05 07:22:38 +02:00
Alexandre SPANGARO
d2257c9986 Merge branch '14b11' of https://github.com/aspangaro/dolibarr into 14b11 2021-06-05 07:21:01 +02:00
Alexandre SPANGARO
7608ac2ded Merge remote-tracking branch 'upstream/develop' into 14b11 2021-06-05 07:20:31 +02:00
Alexandre SPANGARO
fb4cccde68 Merge branch 'develop' into 14b11 2021-06-05 07:17:54 +02:00
Alexandre SPANGARO
466bc26256 Fix with search_date_startxxx 2021-06-05 07:16:43 +02:00
Francis Appels
326fe9f5e6 Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-06-04 14:32:46 +02:00
Florian HENRY
ac6e108be6 fix syntax 2021-06-04 12:27:49 +02:00
Florian HENRY
729ca70bf3 NEW : rewrite bind accountancy code finding on sales invoice 2021-06-04 12:20:52 +02:00
Florian HENRY
2fdc6d9461 NEW : rewrite bind accountancy code finding on customer invoice 2021-06-04 11:35:12 +02:00
Francis Appels
1ee6cd8a19 Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-06-04 10:17:48 +02:00
ATM john
a7300d01b0 WIP - create validation method for common object 2021-06-03 09:49:07 +02:00
Nicolas
e46faacac1 FIX : Add process payment with online link order 2021-06-02 18:11:47 +02:00
Alexandre SPANGARO
c35124f036 NEW Add field date from/to in supplier payment list 2021-06-01 23:23:00 +02:00
Alexandre SPANGARO
3744ccdd28 Look & feel v14 2021-06-01 22:50:55 +02:00
Alexandre SPANGARO
b5904e49a0 NEW Add field date from/to in customer payment list 2021-06-01 22:43:43 +02:00
Florian Mortgat
e6deab5c85 FIX proposed new feature: autocomplete for accounting account groups 2021-05-28 08:42:38 +02:00
Florian Mortgat
c29d5fa747 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_develop_autocomplete_accounting_account_groups 2021-05-28 08:19:55 +02:00
Francis Appels
ac0bad15de Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-05-26 11:51:49 +02:00
Damien BENOIT
2439000050 Merge pull request #26 from Dolibarr/develop
Update fork
2021-05-21 14:54:07 +02:00
Florian HENRY
d70bbe29b5 fix 2021-05-20 14:03:18 +02:00
Florian HENRY
7a9102ac60 Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_massaction_paid_custom_invoice 2021-05-20 14:02:05 +02:00
Florian HENRY
4d7b09ff2a done 2021-05-20 14:00:43 +02:00
Florian HENRY
7c6ac86d32 ongoing 2021-05-20 13:41:23 +02:00
Florian HENRY
62bc6e9e1f on going 2021-05-20 13:15:32 +02:00
Florian Mortgat
8eb8889b17 NEW: autocomplete account group when editing an account card 2021-05-19 11:12:34 +02:00
Anthony Berton
c02e3eed6b checked 2021-05-18 18:45:07 +02:00
Francis Appels
68dc860c6a Merge remote-tracking branch 'Dolibarr/develop' into 14 2021-05-18 16:22:15 +02:00
Anthony Berton
70a062e2c1 change position 2021-05-17 23:59:42 +02:00
Anthony Berton
68130ec637 Merge branches 'develop' and 'develop' of https://github.com/Dolibarr/dolibarr into salesrepresentativeinorderandinvoicelist 2021-05-17 18:34:20 +02:00
Anthony Berton
09ab930806 sale_representative_order_invoice_list 2021-05-17 18:31:19 +02:00
Laurent Destailleur
aa9642b86f Update mails.lang 2021-05-17 08:38:38 +02:00
Laurent Destailleur
a4f4cca895 Prefix length may have different length and be at a different place so i remove this tag. Must be replaced by a generic method to substring a substitution variable. 2021-05-17 08:36:49 +02:00
Laurent Destailleur
40106ff767 Update html.formmail.class.php 2021-05-17 08:35:29 +02:00
Laurent Destailleur
09a6946281 Update html.formmail.class.php 2021-05-17 08:34:58 +02:00
stickler-ci
b8a3485c4c Fixing style errors. 2021-05-11 19:33:23 +00:00
kastoras
0ff941f00d Merge branch 'create_share_on_file_upload_with_other_setup' into HEAD 2021-05-11 22:32:27 +03:00
kastoras
cd9ea9566b Change parameter name to MAIN_FORCE_SHARING_ON_ANY_UPLOADED_FILE 2021-05-11 22:31:38 +03:00
kastoras
76c10f053a Change parameter name to MAIN_FORCE_SHARING_ON_ANY_UPLOADED_FILE 2021-05-11 22:29:07 +03:00
kastoras
55caff1dd9 Merge remote-tracking branch 'origin/create_share_on_file_upload_with_other_setup' into develop 2021-05-11 22:23:12 +03:00
Anthimidis Nikos
ecc2f25ccb Merge pull request #6 from Dolibarr/develop
Merge latest changes to fork
2021-05-11 22:20:22 +03:00
Pierre Payet
4ce81ee535 set new outside the loop, add fetch result check 2021-05-11 20:30:57 +02:00
Pierre Payet
ff178667a3 add thirdparty customer code to substitutionarray 2021-05-11 12:33:35 +02:00
stickler-ci
fc26e5eecf Fixing style errors. 2021-05-07 20:42:53 +00:00
kastoras
1a385052f6 New Create share link on file upload
Create MAIN_CREATE_SHARE_ON_FILE_UPLOAD, when this set to 1 and a file is uploaded a shared link will be created
2021-05-07 23:39:14 +03:00
Anthony Berton
2e50fde9aa edit_in_propal 2021-05-07 22:13:53 +02:00
Anthony Berton
1d81322120 Update pdf.php 2021-05-06 22:54:32 +02:00
Anthony Berton
b6ddea57f3 update 2021-04-29 00:17:55 +02:00
Anthony Berton
bb5a11ff75 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into pr/bb2a/17185 2021-04-29 00:06:35 +02:00
Anthony Berton
c1e6109c4b Update 2021-04-29 00:03:16 +02:00
Anthony Berton
d3053c0c1b delete_fr_lang 2021-04-28 23:35:47 +02:00
Damien BENOIT
6e18057976 Merge pull request #21 from Dolibarr/develop
Update fork
2021-04-25 14:30:37 +02:00
Anthony Berton
6cb83e5516 Merge branch 'formconfirm_notification' of https://github.com/bb2a/dolibarr into formconfirm_notification 2021-04-08 13:51:47 +02:00
Anthony Berton
822d9b227b Update notification.php 2021-04-08 13:50:55 +02:00
stickler-ci
c2cd54325f Fixing style errors. 2021-04-08 11:44:24 +00:00
Anthony Berton
f613688b28 add_option 2021-04-08 13:37:09 +02:00
Laurent Destailleur
d0abcf594c Merge branch 'develop' into patch-422 2021-04-04 01:38:17 +02:00
ptibogxiv
52bad238ff Update 13.0.0-14.0.0.sql 2021-04-03 10:25:44 +02:00
ptibogxiv
8675484d90 Update llx_c_action_trigger.sql 2021-04-03 10:25:29 +02:00
ptibogxiv
cacc785305 Update 13.0.0-14.0.0.sql 2021-04-02 13:48:51 +02:00
ptibogxiv
5329a1792e NEW add action trigger for member excluded 2021-04-02 13:48:27 +02:00
BENKE Charlene
5b40950f50 Update card.php
add on card
2020-11-26 12:45:06 +01:00
BENKE Charlene
c2bd30a7e9 working progress 2020-11-26 11:59:00 +01:00
BENKE Charlene
c860c0dc4a Add default BOM 2020-11-26 11:47:45 +01:00
5673 changed files with 218161 additions and 88868 deletions

View File

@@ -26,8 +26,9 @@ Default **language here is english**. So please prepare your contributions in en
1. [Fork](https://help.github.com/articles/fork-a-repo) the [GitHub repository](https://github.com/Dolibarr/dolibarr).
2. Clone your fork.
3. Choose a branch(See the [Branches](#branches) section below).
4. Commit and push your changes.
5. [Make a pull request](https://help.github.com/articles/creating-a-pull-request).
4. Read our developer documentation on the [Dolibarr Wiki](https://wiki.dolibarr.org/index.php?title=Developer_documentation).
5. Commit and push your changes.
6. [Make a pull request](https://help.github.com/articles/creating-a-pull-request).
<span id="branches" name="branches"></span>
### Branches
@@ -116,13 +117,13 @@ a process to follow to optimize the chance to have PRs merged efficiently...
Also, some code changes need a prior approbation:
* if you want to include a new external library (into htdocs/includes directory), please ask before to the core project manager (mention @dolibarr-yoda in your issue) to see if such a library can be accepted.
* if you want to include a new external library (into htdocs/includes directory), please ask before to the core project manager (mention @dolibarr-jedi in your issue) to see if such a library can be accepted.
* if you add a new table, you must first create a page on https://wiki.dolibarr.org/index.php/Category:Table_SQL (copy an existing page changing its name to see it into this index page). Then ask the project manager (@dolibarr-yoda) if the new data model you plan to add is compatible with curent and future works in progress and can be accepted as you suggest.
* if you add a new tables or fields, you MUST first submit a standalone PR with the data structure changes you plan to add/modify (and only data structure changes). Start development only once this data structure has been accepted.
Once a PR has been submitted, you may need to wait for its integration. It is common that the project leader let the PR open for a long delay to allow every developer discuss about the PR (A label is added in such a case).
If the label of PR start with "Draft" or "WIP" (Work In Progress), it will not be analyzed for merging until you change the label of PR (but it can be analyzed for discussion).
If the label of PR start with "Draft" or "WIP" (Work In Progress), it will not be analyzed for merging until you change the label of the PR (but it can be analyzed for discussion).
If your PR has errors reported by the Continuous Integration Platform, it means your PR is not valid and nothing will be done with it. It will be kept open to allow developers to fix this, or it may be closed several month later. Don't expect anything on your PR if you have such errors, you MUST first fix the Continuous Integration error to have it taken into consideration.

2
.github/FUNDING.yml vendored
View File

@@ -2,4 +2,4 @@
open_collective: dolibarr
custom: https://wiki.dolibarr.org/index.php/Subscribe
# github: [eldy]
github: [eldy]

View File

@@ -1,18 +1,18 @@
# Instructions
*This is a template to help you make good pull requests. You may use [Github Markdown](https://help.github.com/articles/getting-started-with-writing-and-formatting-on-github/) syntax to format your issue report.*
*Please:*
- *only keep the "Fix", "Close" or "New" section*
- *only keep the "FIX", "CLOSE" or "NEW" section* (use uppercase to have the PR appears into the ChangeLog, lowercase will not appears)
- *follow the project [contributing guidelines](/.github/CONTRIBUTING.md)*
- *replace the bracket enclosed textswith meaningful informations*
- *replace the bracket enclosed texts with meaningful information*
# Fix #[*issue_number Short description*]
# FIX|Fix #[*issue_number Short description*]
[*Long description*]
# Close #[*issue_number Short description*]
# CLOSE|Close #[*issue_number Short description*]
[*Long description*]
# New [*Short description*]
# NEW|New [*Short description*]
[*Long description*]

1
.gitignore vendored
View File

@@ -55,3 +55,4 @@ yarn.lock
package-lock.json
doc/install.lock
/factory/

View File

@@ -57,7 +57,7 @@ jobs:
php: nightly
env: DB=mysql
- stage: PHP Dev
if: type = push AND branch = 14.0
if: type = push AND branch = 15.0
php: nightly
env: DB=mysql
@@ -411,6 +411,9 @@ script:
php upgrade.php 13.0.0 14.0.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade13001400.log
php upgrade2.php 13.0.0 14.0.0 > $TRAVIS_BUILD_DIR/upgrade13001400-2.log
php step5.php 13.0.0 14.0.0 > $TRAVIS_BUILD_DIR/upgrade13001400-3.log
php upgrade.php 14.0.0 15.0.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade14001500.log
php upgrade2.php 14.0.0 15.0.0 > $TRAVIS_BUILD_DIR/upgrade14001500-2.log
php step5.php 14.0.0 15.0.0 > $TRAVIS_BUILD_DIR/upgrade14001500-3.log
ls -alrt $TRAVIS_BUILD_DIR/
- |

View File

@@ -170,12 +170,6 @@ source_file = htdocs/langs/en_US/hrm.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.intracommreport]
file_filter = htdocs/langs/<lang>/intracommreport.lang
source_file = htdocs/langs/en_US/intracommreport.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.install]
file_filter = htdocs/langs/<lang>/install.lang
source_file = htdocs/langs/en_US/install.lang
@@ -188,6 +182,12 @@ source_file = htdocs/langs/en_US/interventions.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.intracommreport]
file_filter = htdocs/langs/<lang>/intracommreport.lang
source_file = htdocs/langs/en_US/intracommreport.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.knowledgemanagement]
file_filter = htdocs/langs/<lang>/knowledgemanagement.lang
source_file = htdocs/langs/en_US/knowledgemanagement.lang
@@ -392,18 +392,18 @@ source_file = htdocs/langs/en_US/stripe.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.suppliers]
file_filter = htdocs/langs/<lang>/suppliers.lang
source_file = htdocs/langs/en_US/suppliers.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.supplier_proposal]
file_filter = htdocs/langs/<lang>/supplier_proposal.lang
source_file = htdocs/langs/en_US/supplier_proposal.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.suppliers]
file_filter = htdocs/langs/<lang>/suppliers.lang
source_file = htdocs/langs/en_US/suppliers.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.ticket]
file_filter = htdocs/langs/<lang>/ticket.lang
source_file = htdocs/langs/en_US/ticket.lang

396
ChangeLog
View File

@@ -2,6 +2,360 @@
English Dolibarr ChangeLog
--------------------------------------------------------------
***** ChangeLog for 15.0.0 compared to 14.0.0 *****
For users:
---------------
NEW: Online proposal signature
NEW: Can define some max limit on expense report (per period, per type or expense, ...)
NEW: Allow the use of __NEWREF__ to get for example the new reference a draft order will get after validation.
NEW: Add option to disable globaly some notifications emails.
NEW: #18401 Add __NEWREF__ subtitute to get new object reference.
NEW: #18403 Add __URL_SHIPMENT__ substitute to get the URL of a shipment
NEW: #18689 REST API module: add api key generate / modify permission.
NEW: #18663 Make "L'Annuaire des Entreprises" the default provider for SIREN verification for French thirdparties.
NEW: #18046 Add tags on ticket/categories
NEW: #18326 Workflow: Close order on shipment closing.
NEW: #18770 Can enter the buying price (for Weighted Average Price update) on lines during the reception step
NEW: #18814 Add legal form for Sweden
NEW: #18820 Accountancy - Add product account in import/export of thirdparty (level 3)
NEW: Accountancy - Format FEC/FEC2 - Add column NumFacture
NEW: Add $dolibarr_main_db_readonly in conf.php for readonly access.
NEW: add auto creation of agenda event on supplier_order cancellation
NEW: Add a PDF document template for Manufacturing Orders
NEW: Add budget field into task #18986
NEW: add cancel button to `classify reception` form on supplier_orders
NEW: Added address field into contacts list
NEW: Added documents page and send mail possibility in payments
NEW: Add edit option in propal
NEW: Added linked files page and send mail possibility in payments
NEW: Add field date from/to in customer and supplier payment list
NEW: Add filter from date to date into action/evt list
NEW: Add import / export of MO and BOMLines - Close #18499
NEW: Adding accounting export model for iSuite Expert
NEW: add link to an element by ref
NEW: add missing printFieldListFrom hook call on several lists
NEW: add MRP into Object Linked Box
NEW: Add option to hide customer code on PDF documents
NEW: Add param $nolog to avoid logging into dol_delete_recursive_dir()
NEW: Add sale representative in order and invoice list
NEW: add a setting to create PDF in PDF/A - 1b format #18990
NEW: Add `SOCIETE_SHOW_VAT_IN_LIST` to display VAT number in combo list of thirdparties
NEW: Add sortorder on units list
NEW: Adds PDF_HIDE_PRODUCT_LABEL_IN_SUPPLIER_LINES to hide product label in supplier order lines
NEW: Add STOCK_MOVEMENT_LIST_HIDE_UNIT_PRICE to hide unit price on some pages
NEW: add support for zstd compression
NEW: Allow drag and drop on kits
NEW: Allow exporting supplier order validation date + validation user
NEW: Allows product ref generation after the form is validated with PRODUCT_GENERATE_REF_AFTER_FORM
NEW: autocomplete account group when editing an account card
NEW: Auto create invoice for payment done on an order with online payment link of order
NEW: Can edit fields of proposal when proposal is not yet signed
NEW: Can edit the translation key of an overwrote translation key.
NEW: can enable/disable external calendar by default
NEW: Can hide sender name on PDF documents
NEW: Can select lot from a combo list of existing batch numbers (in MRP consumtion)
NEW: Can set the default BOM on a product
NEW: Can set/unset the usual working day of the week (friday, saturday, sunday)
NEW: Can show progression of task into combo list of tasks
NEW: can upload the odt file for the product doc template
NEW: Contract - Add From/to input on search date
NEW: Customer Display with TakePOS
NEW: Split Sale in TakePOS
NEW: Customer invoice template list - Add input date from/to
NEW: date filter on project list and task list From->To
NEW: display shipping method and tracking url on shipment list
NEW: expense reports: conf to force amounts to be entered only including taxes
NEW: expense reports: conf to pre-fill start/end dates with bounds of current month
NEW: expense reports: show link to already existing overlapping expense report
NEW: expense reports: can make project field mandatory on lines
NEW: Expose bank account holder, label and number
NEW: feature #18986
NEW: field and behavior in product object
NEW: generate intervention from time spent
NEW: holiday: handle monthly balance updates with cronjob
NEW: HRM integration, source code
NEW: HRM admin - Add tabs
NEW: HRM - Include more options to manage/custom dashboard
NEW: Increase size of params of actions for emailcollector
NEW: Invoice list - Use complete country select field with EEC or not
NEW: mass action delete, no more break if at least one object has child
NEW: mass action paid on customer invoice list
NEW: massaction validate on supplier orders list
NEW: Mass action send email to all attendees of an event.
NEW: expense reports: conf to pre-fill start/end dates with bounds of current month
NEW: Option "Add a link on the PDF to make the online payment"
NEW: More options to generate PDF (show Frame option, width of picture option)
NEW: Preview of pdf files of expense report lines
NEW: print without details
NEW: project time spent: conf to prevent recording time after X months
NEW: rewrite bind accountancy code finding on customer and sales invoice
NEW: Societe - Add perentity functionality on customer/supplier accountancy auxiliary account
NEW: Survey - Add a clickable link in email send
NEW: Social Contributions - Add from/to filter on list
NEW: Supplier order and proposal - Add From/to input on search date
NEW: Task - Add From/to input on search date
NEW: Add theme option THEME_ELDY_USEBORDERONTABLE
NEW: The Anti-CSRF protection MAIN_SECURITY_CSRF_WITH_TOKEN is on to value 1 by default
NEW: Update SQL : install and migration
NEW: Use an ajax call for the clicktodial feature instead of href link.
NEW: when multiple order linked to facture, show list into note.
NEW: when we delete several objects with massaction, if somes object has child we must see which objects are concerned and nevertheless delete objects which can be deleted
NEW: Editing a page in website module keep old page with name .back
NEW: External backups can be downloaded from the "About info page".
NEW: Add massaction to switch status on sale / on purchase of a product.
Modules
NEW: Stable module Knowledge Management
NEW: Experimental module Event Organization Management
NEW: Experimental module Workstations Management
NEW: Development of module Partnership Management
For developers:
---------------
NEW: Introduce method hasRight
NEW: Can use textarea field into a confirm popup.
NEW: Can use the result_mode of mysqli driver. Save memory for list count
NEW: #18319 REST API - Shipment: Add 'close' action / endpoint / POST method.
NEW: Add API /approve and /makeOrder for purchase orders.
NEW: add action trigger for member excluded
NEW: add option MAIN_IBAN_IS_NEVER_MANDATORY, MAIN_IBAN_NOT_MANDATORY, PROPAL_NOT_BILLABLE, PROPAL_REOPEN_UNSIGNED_ONLY, PROPOSAL_ARE_NOT_BILLABLE, TICKETS_MESSAGE_FORCE_MAIL
NEW: Add code codebar column on serial/lot structure
NEW: Add date_valid and date_approve columns in the list of supplier orders
NEW: add hook `beforeBodyClose`
NEW: Add hook hookGetEntity.
NEW: add hookmanager on note pages
NEW: add hook 'menuLeftMenuItems' to filter the leftmenu items
NEW: Add the property "copytoclipboard" in modulebuilder
NEW: api for knowledgemanagement
NEW: API get list of legal form of business
NEW: API list of staff units
NEW: hook after rank update
NEW: printFieldListFrom hook call on several lists
NEW: Use lang selector when using a field key 'lang' in modulebuilder
NEW: we need to be able to put more filters on deleteByParentField() function
NEW: make it easier to set the `keyword`, `keywords` and `description` attributes of an ecm file object
NEW: Experimental feature to manage user sessions in database
NEW: Hidden option API_DISABLE_COMPRESSION is now visible in API setup page.
NEW: Add hook printUnderHeaderPDFline on invoice PDF templates (can be used for example to add a barcode or more information on header of invoices).
Following changes may create regressions for some external modules, but were necessary to make Dolibarr better:
* ALL EXTERNAL MODULES THAT WERE NOT CORRECTLY DEVELOPPED WILL NOT WORK ON V15 (All modules that forgot to manage the security token field
into forms will be broken. The security token field is expected since Dolibarr v9 but a lot of external modules did not implement it).
* Update hook 'printOriginObjectLine', removed check on product type and special code. Need now reshook.
* Old deprecated module "SimplePOS" has been completely removed. Use module "TakePOS" is you need a Point Of Sale.
* The method static ActionComm::getActions($db, ...) is no more static. Use $actioncomm->getActions(...) instead (without $db param).
* The 'action=delete&file=...' has been replaced with 'action=deletefile&file=...' to avoid confusion with deletion of object lines.
* Method getDictvalue has been renamed into getDictionaryValue to match camel case rule.
* To execute shell or command line command, your code must never use method like exec, shell_exec, popen, .. but must use the built-in
method executeCLI() available into core/class/utils.class.php
* Class file expeditionbatch.class.php renamed to expeditionlinebatch.class.php
* ExpeditionLineBatch::fetchAll is not static anymore and first parameter $db is removed
* ExtraFields->showOutputField parameter 4 'extrafieldsobjectkey' is now required
* CommonObject method add_object_linked now sets targettype to 'mymodule_myobject' instead of 'myobject',
you can use hook 'setLinkedObjectSourceTargetType' to set your usual targettype
***** ChangeLog for 14.0.5 compared to 14.0.4 *****
FIX: 13.0: printFieldListWhere called twice on same query
FIX: 14.0.4 fatal error on cron list.
FIX: #19476
FIX: #19564
FIX: #19651
FIX: Accountancy - SQL error on subledger account search in journal
FIX: apply eldy's suggestion to not overwrite existing extrafields of $line
FIX: Can't close a down payment if paid with credit notes.
FIX: better compatibility with multicompany
FIX: contact card: bad colspan value for separator extrafield in creation/modification form
FIX: discounts are applied both when fetching the best supplier price and when displaying it
FIX: double display for contact categorie on societe create card
FIX: fatal error on cron list.
FIX: holiday list: only mass delete if leave request is not in draft, canceled or refused, like in card
FIX: holiday mass deletion: correct return of record deleted
FIX: Holiday month report
FIX: info tab on customer invoice record not found
FIX: line extrafields are inoperative in dispatch cards even when they exist
FIX: list of categories in stats of supplier invoices
FIX: missing default value for more comprehensive
FIX: multicurrency: fields in discount unitialized when creating deposit
FIX: Navigation on bank transaction list
FIX: Can't edit a bank transaction due to bad permission check.
FIX: Option MAIN_DIRECT_STATUS_UPDATE broken. Ajax on/off not saving value in DB after updating to version >=12
FIX: postgresql compatibility, "" as is not authorized
FIX: printFieldListWhere called twice (at different locations) for the same SQL query, can result in syntax errors
FIX: select too large into addrights (pb of missing parenthesis)
FIX: set optional from post, we can't untick boolean field on product card
FIX: Take into consideration work leave over serveral months
FIX: test if method exist on wrong object
FIX: title for nature of third party in company list
FIX: Urgent onglet contact inaccessible depuis une facture
FIX: wrong syntax of sql request
***** ChangeLog for 14.0.4 compared to 14.0.3 *****
FIX: $totalarray is overwritten, totals were lost
FIX: 13.0 - due to a typo in the 'mode' parameter, the "first name" column of the list of members displays the full name
FIX: 13.0: end date required to edit a ticket message
FIX: 13.0 feedback of PR #18993: make ticket messages punctual events with attr percentage = -1
FIX: 13.0 PR #18993: add comment on modified part
FIX: 13.0: sometimes firstname was mistyped as fistname
FIX: 14.0 - civility field of private third party creation form has inadequate width
FIX: 14.0 - civility field width inadequate due to select2 calculating the width while the field has no width (display: none)
FIX: 14.0 - due to a typo in the 'mode' parameter, the "first name" co…
FIX: #18634 : Problem of virtual stock with reception module enabled
FIX: #18695 Added ref_ext to supplier invoice
FIX: #18698 Supplier invoice list - "alert" checkbox not working
FIX: #18735
FIX: #18767 : Adherent delete
FIX: #18797
FIX: #18854
FIX: #18875 in v14
FIX: #18910
FIX: #18910 : MRP List SQL query syntax error with more than one extrafileds.
FIX: #18912 Accountancy - SQL error when custom group is added without country defined
FIX: #18934 on-registration in the extrafieldsline database for deliveries
FIX: #18968
FIX: #19008
FIX: #19014 - the properties of some fields are not updated when you submit the form
FIX: #19210
FIX: #19214 : PostgreSQL error on admin/limits.php
FIX: #19241 Project - Fix display salary in overview
FIX: #19305
FIX: 2 columns for total labels
FIX: Accountancy - Format Quadra export - Missing line type C to create automaticly a subledger account with label
FIX: Accountancy - If deposit invoice is used, force binding in deposit accounting account to solve transaction
FIX: Accountancy - Missing specific filename for export on format FEC2, Ciel & repare it
FIX: Accountancy - Option of export popup are inverted
FIX: Accountancy - PHP8
FIX: Accountancy - Product admin - SQL error when we affect accounting account with product_perentity activated
FIX: Accountancy simplified - Salaries are not present in report
FIX: Accountancy - Some correction on export name
FIX: Accountancy - Trunc code_journal to 2 in format XIMPORT (Ciel, Sage50)
FIX: add warehouse in projects' overview count
FIX: also on customer index for automatic binding
FIX: Attachment of pdf into shipment when sending email
FIX: autocalculation of the supplier price in main currency.
FIX: avoid warning if $categories is an id
FIX: bad sign of amount stored for multicurrency columns on credit notes
FIX: Bad use of a forced contact of another company on PDF/ODT documents
FIX: Bad use of dol_concatdesc()
FIX: Button text on proposal card for create a invoice
FIX: calculateCosts of BOM must not be included into fetch
FIX: calculation of balance in conciliation page on desc sorting.
FIX: card.php
FIX: Change date format of the inventorycode to be equal as mass stock transfert
FIX: check if greater 0
FIX: close cash with some terminals in TakePOS
FIX: compatibility with Multicompany
FIX: consistent UX when calling a tab from the invoice card with empty ref/id
FIX: default language defined for IN country
FIX: Expense report - In edit mode, field qty doesn't accept decimal unlike the create mode
FIX: fetch of product with modulebuilder load too much data
FIX: filter for export of accounting documents
FIX: Filter on categories
FIX: generate documents with PDF options
FIX: indentation
FIX: init hookmanager after loading $conf values
FIX: invoice: inpossible to create an invoice because of very bad check + warnings when trying to print tabs for invoice with no ID
FIX: legal issue on expense report pdf (must also show price without tax)
FIX: list of categories in stats of supplier invoices
FIX: load tranlate array after setting lang
FIX: lost superadmin grade after edit user card
FIX: missing filter status=1 on rss feeds
FIX: missing permission check reported by me@lainwir3d.net on product api
FIX: missing return status
FIX: missing sql filter by entity
FIX: move fetch_optionnal into $ac_static->fetch()
FIX: only a superadmin can modify entity
FIX: only ones value is return for dictionaries
FIX: optional visibility on create card
FIX: payment style and html5 tags
FIX: payment using wrong type in takepos when too many payment mode
FIX: PR#18931 Remove useless explicit call to dol_shutdown
FIX: Product accountancy affectation with product_perentity activated (PR #18620)
FIX: products/services card: hidden extrafields were overridden
FIX: project task list: extrafields could not be displayed
FIX: Propal list - Problem of pagination on date
FIX: reload user lang
FIX: Remove not complete order from the virtual stock
FIX: Replenish: SQL error when no warehouse has been created + Warning when there are no warehouses
FIX: resource list : Use standard code to handle list filters
FIX: restrictedArea for payment delete
FIX: Ret PR
FIX: second approval back in stable feature as is the setting for minimum amount (last part from PR#14286)
FIX: selected lines on supplier invoice create
FIX: Selection of type "people" for membership must hide the company
FIX: select list of orders not complete when field type of company is on
FIX: show end hours in events linked to objects
FIX: support of localtax on expense report
FIX: task time: can't filter by user with pgsql + show error message
FIX: task time: keep on using natural_search
FIX: tcpdf vulnerability to roman numeral bomb, cf. tecnickom/TCPDF issue #315
FIX: Test when date of invoie is in future (pb with TZ and offset)
FIX: Ticket - Card - Wrong font awesome library
FIX: Ticket - Duplicate field project when we create ticket from project
FIX: translation into email for member at membership validation.
FIX: Travis Sanitize SQL
FIX: unprivileged user can see task associated with a not allowed project
FIX: URGENT: impossible to create an invoice
FIX: Use of accent into filename of GED
FIX: user date timezone offset
FIX: User salary card - translation problem
FIX: user without permission can set ticket subject
FIX: We need a default price base type in variant creation case with multiprices when parent has been created with only one level price
FIX: wrong array key value
FIX: wrong check
FIX: wrong position of error message
Sync transifex.
***** ChangeLog for 14.0.3 compared to 14.0.2 *****
FIX: #18698 Supplier invoice list - "alert" checkbox not working
FIX: #18735
FIX: #18767 : Member delete
FIX: #18854
FIX: #18910 : MRP List SQL query syntax error with more than one extrafileds.
FIX: Accountancy - Format Quadra export - Missing line type C to create automaticly a subledger account with label
FIX: Accountancy - Missing specific filename for export on format FEC2, Ciel & repare it
FIX: Accountancy - Option of export popup are inverted
FIX: Accountancy - Some correction on export name
FIX: Accountancy - Trunc code_journal to 2 in format XIMPORT (Ciel, Sage50)
FIX: add warehouse in projects' overview count
FIX: autocalculation of the supplier price in main currency.
FIX: avoid warning if $categories is an id
FIX: Bad use of a forced contact of another company on PDF/ODT documents
FIX: Button text on proposal card to create a invoice
FIX: calculateCosts of BOM must not be included into fetch
FIX: check if greater 0
FIX: default language defined for IN country
FIX: fetch of product with modulebuilder load too much data
FIX: Filter on categories
FIX: indentation
FIX: init hookmanager after loading $conf values
FIX: legal issue on expense report pdf (must also show price without tax)
FIX: missing filter status=1 on rss feeds
FIX: move fetch_optionnal into $ac_static->fetch()
FIX: payment using wrong type in takepos when too many payment mode
FIX: Product accountancy affectation with product_perentity activated (PR #18620)
FIX: products/services card: hidden extrafields were overridden
FIX: Propal list - Problem of pagination on date
FIX: selected lines on supplier invoice create
FIX: Selection of type "people" for membership must hide the company
FIX: select list of orders not complete when field type of company is on
FIX: support of localtax on expense report
FIX: task time: can't filter by user with pgsql + show error message
FIX: task time: keep on using natural_search
FIX: Test when date of invoie is in future (pb with TZ and offset)
FIX: translation into email for member at membership validation.
FIX: unprivileged user can see task associated with a not allowed project
FIX: user without permission can set ticket subject
***** ChangeLog for 14.0.2 compared to 14.0.1 *****
FIX: #18353 Invoice list translation issue
@@ -306,7 +660,7 @@ Following changes may create regressions for some external modules, but were nec
* The ICS value for direct debit or credit transfer is now stored on each bank account instead of into the global setup.
* API /setup/shipment_methods has been replaced with API /setup/shipping_methods
* Field "total" renamed into "total_ht" for table llx_facture, llx_facture_rec for better field name consistency
* Field "tva" renamed into "total_tva" for table llx_propal, llx_supplier_proposal, llx_commande, llx_commande_fournisseur for better field name consistency
* Field "tva" renamed into "total_tva" for llx_facture, table llx_propal, llx_supplier_proposal, llx_commande, llx_commande_fournisseur for better field name consistency
* Field "total" renamed into "total_ttc" for table llx_propal, llx_supplier_proposal for better field name consistency
* If your database is PostgreSQL, you must use version 9.1.0 or more (Dolibarr need the SQL function CONCAT)
* If your database is MySQL or MariaDB, you need at least version 5.1
@@ -314,16 +668,48 @@ Following changes may create regressions for some external modules, but were nec
* Removed deprecated substitution key __REFCLIENT__ (replaced with __REF_CLIENT__)
* Removed constant MAIN_COUNTRIES_IN_EEC. You can now set if country is in Europe or not from the dictionary of countries.
* v14 seems to work correctly on PHP v8 but it generates a lot of verbose warnings. Currently, v14 i snot yet officialy supported with PHP 8.
* To execute shell or command line command, your code must never use method like exec, shell_exec, popen, .. but must use the built-in
method executeCLI() available into core/class/utils.class.php
***** ChangeLog for 13.0.5 compared to 13.0.4 *****
FIX: 13.0: class CommandeFournisseurDispatch provides trigger for UPDATE but not for CREATE / DELETE
FIX: #18389 Accountancy - Bug on LDcompta10 export for supplier invoice
FIX: #18591 : Remove double quotes of SQL Queries for postgresql compatibility
FIX: Accountancy - Debug Export Sage50 / CIEL Compta / CIEL Compta Evo (Format XIMPORT)
FIX: Accountancy - Some problems of length with general & subledger account
FIX: add DISTINCT
FIX: an approved holiday can be canceled by an admin.
FIX: autocalculation of the supplier price in main currency.
FIX: better sql request
FIX: cannot add time spend when column ref is not displayed
FIX: compatibility postgre sql
FIX: holiday card: hooks uninitialized
FIX: Invoice - Missing button to reopen an abandoned situation invoice
FIX: invoice validation: when checking if any VAT rate has a negative amount, prevent false positives with -1.0E-14 amounts
FIX: list of categories in stats of supplier invoices
FIX: Manage credit note on situation invoice for calculate margin
FIX: method_exists needs object at first param
FIX: move fetch_optionnal into $ac_static->fetch()
FIX: multicompany transverse mode compatibility
FIX: on supplier order, JOIN with product fourn price table must be done with fk_soc too to avoid display several times a same line (because of same supplier product ref)
FIX: postgre filter select search extrafield
FIX: products/services card: hidden extrafields were overridden
FIX: shipping validation workflow: 'ORDER_NEW' trigger called from wrong object
FIX: task time: can't filter by user with pgsql + show error message
FIX: task time: keep on using natural_search
FIX: wrong users count in multicompany transverse mode
***** ChangeLog for 13.0.4 compared to 13.0.3 *****
FIX: Allow disabling of a module (not a dangerous action) even if there is problem with token (due to bugged modules).
FIX: 13.0 - fatal - missing inclusion of ajax.lib.php for calling `ajax_autocompleter()`
FIX: #17919 pictures in docs.
FIX: 13.0 - fatal - missing inclusion of ajax.lib.php for calling 'ajax_autocompleter()'
FIX: #17919 pictures in docs
FIX: #18006
FIX: Accountancy - if we define a date start, automatic binding try to continue to solve old binding
FIX: Accoutancy Limit date payment not registered on purchases operations
FIX: Accountancy - Limit date payment not registered on purchases operations
FIX: Can't edit replacement invoice
FIX: deposit can create credit note in payment conf
FIX: division by zero on create
@@ -427,7 +813,7 @@ FIX: File attachment on lots/batches
FIX: handling $heightforinfotot when he's superior to a page height on Supplier Invoice
FIX: hourglass and hide button to pay
FIX: massaction validate invoice do not regenerate PDF
FIX: missing mp4 video mime
FIX: #16627 fix missing mp4 video mime
FIX: picto on shipment to reset qty to 0. Some quantities were not reset.
FIX: Protection to avoid #16504
FIX: rounding amount on card updating

View File

@@ -8,12 +8,10 @@ Il est simple d'utilisation et modulaire, vous permettant de n'activez que les f
![ScreenShot](https://www.dolibarr.org/medias/dolibarr_screenshot1_1920x1080.jpg)
## LICENCE
Dolibarr est distribué sous les termes de la licence GNU General Public License v3+ ou supérieure.
## INSTALLER DOLIBARR
### Configuration simple
@@ -54,7 +52,6 @@ Vous pouvez aussi utiliser un serveur Web et une base de données prise en charg
- Suivez les instructions de l'installateur
## METTRE A JOUR DOLIBARR
Pour mettre à jour Dolibarr depuis une vieille version vers celle ci:
@@ -65,14 +62,12 @@ Pour mettre à jour Dolibarr depuis une vieille version vers celle ci:
- Au prochain accès, Dolibarr proposera la page de "mise à jour" des données (si nécessaire).
Si un fichier install.lock existe pour verrouiller le processus de mise à jour, il sera demandé de le supprimer manuellement (vous devriez trouver le fichier install.lock dans le répertoire utilisé pour stocker les documents générés ou transférés sur le serveur. Dans la plupart des cas, c'est le répertoire appelé "documents")
*Note: Le processus de migration peut être lancé manuellement et plusieurs fois, sans risque, en appelant la page /install/*
Note: *Le processus de migration peut être lancé manuellement et plusieurs fois, sans risque, en appelant la page /install/*
## CE QUI EST NOUVEAU
See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) file.
## CE QUE DOLIBARR PEUT FAIRE
### Modules principaux (tous optionnels)
@@ -122,7 +117,7 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog)
- Peux être multi-société par ajout du module externe multi-société.
- Plusieurs thèmes visuels.
- Application simple à utiliser.
- Requiert PHP et MariaDb, Mysql ou Postgresql (Voir versions exactes sur https://wiki.dolibarr.org/index.php/Prérequis).
- Requiert PHP et MariaDb, Mysql ou Postgresql (Voir versions exactes sur [https://wiki.dolibarr.org/index.php/Prérequis](https://wiki.dolibarr.org/index.php/Prérequis)).
- Compatible avec toutes les offres Cloud du marché respectant les prérequis de base de données et PHP.
- APIs.
- Génération PDF et ODT des éléments (factures, propositions commerciales, commandes, bons expéditions, etc...)
@@ -142,7 +137,6 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog)
Dolibarr peut aussi être étendu à volonté avec l'ajout de module/applications externes développées par des développeus tiers, disponible sur [DoliStore](https://www.dolistore.com).
## CE QUE DOLIBARR NE PEUT PAS (ENCORE) FAIRE
Voici un liste de fonctionnalités pas encore gérées par Dolibarr:
@@ -152,18 +146,15 @@ Voici un liste de fonctionnalités pas encore gérées par Dolibarr:
- Dolibarr n'embarque pas de Webmail intégré nativement.
- Dolibarr ne fait pas le café (pas encore).
## DOCUMENTATION
La documentation utilisateur, développeur et traducteur est disponible sous forme de ressources de la communauté via le site [Wiki](https://wiki.dolibarr.org).
## CONTRIBUER
Ce projet existe grâce à ses nombreux contributeurs [[Contribuer](https://github.com/Dolibarr/dolibarr/blob/develop/.github/CONTRIBUTING.md)].
<a href="https://github.com/Dolibarr/dolibarr/graphs/contributors"><img src="https://opencollective.com/dolibarr/contributors.svg?width=890&button=false" /></a>
[![Dolibarr](https://opencollective.com/dolibarr/contributors.svg?width=890&button=false)](https://github.com/Dolibarr/dolibarr/graphs/contributors)
## CREDITS
@@ -171,7 +162,6 @@ Dolibarr est le résultat du travail de nombreux contributeurs depuis des année
Voir le fichier [COPYRIGHT](https://github.com/Dolibarr/dolibarr/blob/develop/COPYRIGHT)
## ACTUALITES ET RESEAUX SOCIAUX
Suivez le projet Dolibarr project sur les réseaux francophones

139
README.md
View File

@@ -4,6 +4,7 @@
![Build status](https://img.shields.io/travis/Dolibarr/dolibarr/develop.svg)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.6-8892BF.svg?style=flat-square)](https://php.net/)
[![GitHub release](https://img.shields.io/github/v/release/Dolibarr/dolibarr)](https://github.com/Dolibarr/dolibarr)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5521/badge)](https://bestpractices.coreinfrastructure.org/projects/5521)
Dolibarr ERP & CRM is a modern software package that helps manage your organization's activity (contacts, suppliers, invoices, orders, stocks, agenda…).
@@ -43,7 +44,7 @@ You can use a web server and a supported database (MariaDB, MySQL or PostgreSQL)
On GNU/Linux, first check if your distribution has already packaged Dolibarr.
#### Generic install steps:
#### Generic install steps
- Check that your installed PHP version is supported [see PHP support](https://wiki.dolibarr.org/index.php/Releases).
@@ -71,107 +72,107 @@ On GNU/Linux, first check if your distribution has already packaged Dolibarr.
- Follow the installer instructions
### Saas/Cloud setup
If you don't have time to install it yourself, you can try some commercial 'ready to use' Cloud offers (See https://saas.dolibarr.org). However, this third solution is not free.
If you don't have time to install it yourself, you can try some commercial 'ready to use' Cloud offers (See [https://saas.dolibarr.org](https://saas.dolibarr.org)). However, this third solution is not free.
## UPGRADING
Dolibarr supports upgrading usually wihtout the need for any (commercial) support (depending on if you use any commercial extensions) and supports upgrading all the way from any version after 2.8 without breakage. This is unique in the ERP ecosystem and a benefit our users highly appreciate!
- At first make a backup of your Dolibarr files & than [see](https://wiki.dolibarr.org/index.php/Installation_-_Upgrade#Upgrade_Dolibarr)
Dolibarr supports upgrading, usually without the need for any (commercial) support (depending on if you use any commercial extensions). It supports upgrading all the way from any version after 2.8 without breakage. This is unique in the ERP ecosystem and a benefit our users highly appreciate!
- At first make a backup of your Dolibarr files & then [see](https://wiki.dolibarr.org/index.php/Installation_-_Upgrade#Upgrade_Dolibarr)
- Check that your installed PHP version is supported by the new version [see PHP support](./doc/phpmatrix.md).
- Overwrite all old files from 'dolibarr' directory with files provided into the new version's package.
- At first next access, Dolibarr will redirect you to the "install/" page to follow the upgrade process.
 If an `install.lock` file exists to lock any other upgrade process, the application will ask you to remove the file manually (you should find the `install.lock` file in the directory used to store generated and uploaded documents, in most cases, it is the directory called "*documents*").
## WHAT'S NEW
See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) file.
## FEATURES
### Main application/modules (all optional)
- Third-Parties Management: Customers, Prospects (Leads) and/or Suppliers + Contacts
- Members/Membership/Foundation management
- Third-Parties Management: Customers, Prospects (Leads) and/or Suppliers + Contacts
- Members/Membership/Foundation management
Product Management
- Products and/or Services catalog
- Stock / Warehouse management + Inventory
- Barcodes
- Batches / Lots / Serials
- Product Variants
Product Management
- Products and/or Services catalog
- Stock / Warehouse management + Inventory
- Barcodes
- Batches / Lots / Serials
- Product Variants
- Bill of Materials (BOM)
- Manufacturing Orders
- Manufacturing Orders
Customer/Sales Management
- Customers/Prospects + Contacts management
- Opportunities or Leads management
- Commercial proposals management
- Customer Orders management
- Contracts/Subscription management
- Interventions management
- Ticket System
- Shipping management
- Customer Invoices/Credit notes and payment management
- Point of Sale (POS)
Customer/Sales Management
Supplier/Purchase Management
- Suppliers/Vendors + Contacts
- Supplier (price) requests
- Purchase Orders management
- Delivery/Receiption
- Supplier Invoices/credit notes and payment management
- INCOTERMS
- Customers/Prospects + Contacts management
- Opportunities or Leads management
- Commercial proposals management
- Customer Orders management
- Contracts/Subscription management
- Interventions management
- Ticket System
- Shipping management
- Customer Invoices/Credit notes and payment management
- Point of Sale (POS)
Finance / Accounting
- Invoices / Payments
- Bank accounts management
- Direct debit orders management (European SEPA)
- Accounting management
- Donations management
- Loan management
- Margins
- Reports
Supplier/Purchase Management
Collaboration
- Shared calendar/agenda (with ical and vcal export for third party tools integration)
- Projects & Tasks management
- Ticket System
- Suppliers/Vendors + Contacts
- Supplier (price) requests
- Purchase Orders management
- Delivery/Receiption
- Supplier Invoices/credit notes and payment management
- INCOTERMS
Finance / Accounting
- Invoices / Payments
- Bank accounts management
- Direct debit orders management (European SEPA)
- Accounting management
- Donations management
- Loan management
- Margins
- Reports
Collaboration
- Shared calendar/agenda (with ical and vcal export for third party tools integration)
- Projects & Tasks management
- Ticket System
- Surveys
HR
- Employee's leave requests management
- Expense reports
- Recruitment management
- Timesheets
HR
- Employee's leave requests management
- Expense reports
- Recruitment management
- Timesheets
### Other application/modules
- Electronic Document Management (EDM)
- Electronic Document Management (EDM)
- Bookmarks management
- Reporting
- Data export/import
- Barcodes
- Barcodes
- Margin calculations
- LDAP connectivity
- ClickToDial integration
- Mass emailing
- RSS integration
- Skype integration
- Social platforms linking
- Social platforms linking
- Payment platforms integration (PayPal, Stripe, Paybox...)
- Email-Collector
(around 100 modules available by default, 1000+ on the addon market place)
### Other general features
- Localization in most major languages
@@ -179,41 +180,35 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog)
- Multi-Users and groups with finely grained rights
- Multi-Currency
- Multi-Company (by adding of an external module)
- Very user friendly and easy to use
- customizable Dashboard
- Highly customizable: enable only the modules you need, add user personalized fields, choose your skin, several menu managers (can be used by internal users as a back-office with a particular menu, or by external users as a front-office with another one)
- APIs (REST, SOAP)
- Code that is easy to understand, maintain and develop (PHP with no heavy framework; trigger and hook architecture)
- Support a lot of country specific features:
- Spanish Tax RE and ISPF
- French NPR VAT rate (VAT called "Non Perçue Récupérable" for DOM-TOM)
- Canadian double taxes (federal/province) and other countries using cumulative VAT
- Tunisian tax stamp
- Argentina invoice numbering using A,B,C...
- Compatible with [European directives] (https://europa.eu/legislation_summaries/taxation/l31057_en.htm) (2006/112/CE ... 2010/45/UE)
- Compatible with [European directives](https://europa.eu/legislation_summaries/taxation/l31057_en.htm) (2006/112/CE ... 2010/45/UE)
- Compatible with European GDPR rules
- ...
- Flexible PDF & ODT generation for invoices, proposals, orders...
-
- ...
### System Environment / Requirements
- PHP
- MariaDB, MySQL or PostgreSQL
- MariaDB, MySQL or PostgreSQL
- Compatible with all Cloud solutions that match PHP & MySQL or PostgreSQL prerequisites.
See exact requirements on the [Wiki](https://wiki.dolibarr.org/index.php/Prerequisite)
### Extending
Dolibarr can be extended with a lot of other external application or modules from third party developers available at the [DoliStore](https://www.dolistore.com).
## WHAT DOLIBARR CAN'T DO YET
These are features that Dolibarr does **not** yet fully support:
@@ -223,21 +218,18 @@ These are features that Dolibarr does **not** yet fully support:
- No native embedded Webmail, but you can send email to contacts in Dolibarr with e.g. offers, invoices, etc.
- Dolibarr can't do coffee (yet)
## DOCUMENTATION
Administrator, user, developer and translator's documentations are available along with other community resources in the [Wiki](https://wiki.dolibarr.org).
## CONTRIBUTING
This project exists thanks to all the people who contribute.
This project exists thanks to all the people who contribute.
Please read the instructions how to contribute (report a bug/error, a feature request, send code ...) [[Contribute](https://github.com/Dolibarr/dolibarr/blob/develop/.github/CONTRIBUTING.md)]
A view on Contributors:
<a href="https://github.com/Dolibarr/dolibarr/graphs/contributors"><img src="https://opencollective.com/dolibarr/contributors.svg?width=890&button=false" /></a>
[![Dolibarr](https://opencollective.com/dolibarr/contributors.svg?width=890&button=false)](https://github.com/Dolibarr/dolibarr/graphs/contributors)
## CREDITS
@@ -245,7 +237,6 @@ Dolibarr is the work of many contributors over the years and uses some fine PHP
See [COPYRIGHT](https://github.com/Dolibarr/dolibarr/blob/develop/COPYRIGHT) file.
## NEWS AND SOCIAL NETWORKS
Follow Dolibarr project on:
@@ -256,8 +247,6 @@ Follow Dolibarr project on:
- [YouTube](https://www.youtube.com/user/DolibarrERPCRM)
- [GitHub](https://github.com/Dolibarr/dolibarr)
### Sponsors
Support this project by becoming a sponsor. Your logo will show up here. 🙏 [[Become a sponsor/backer](https://opencollective.com/dolibarr#backer)]

View File

@@ -4,16 +4,16 @@ This file contains some policies about the security reports on Dolibarr ERP CRM
## Supported Versions for security reports
| Version | Supported |
| --------- | ------------------ |
| <= 12.* | :x: |
| >= 13.* | :white_check_mark: |
| Version | Supported |
| ---------- | ---------------------- |
| <= 14.0.4 | :x: |
| >= 14.0.5+ | :white_check_mark: except CSRF attacks|
| >= develop | :white_check_mark: |
## Reporting a Vulnerability
To report a vulnerability, please use GitHub security advisory at https://github.com/Dolibarr/dolibarr/security/advisories/new (if you have permissions) or alternatively send an email to security@dolibarr.org (for everybody)
To report a vulnerability, for a private report, please use GitHub security advisory at [https://github.com/Dolibarr/dolibarr/security/advisories/new](https://github.com/Dolibarr/dolibarr/security/advisories/new) (if you have permissions).
Alternatively send an email to security@dolibarr.org (for everybody)
## Hunting vulnerabilities on Dolibarr
@@ -23,7 +23,7 @@ If you believe you've found a security bug in our service, we are happy to work
Any type of denial of service attacks is strictly forbidden, as well as any interference with network equipment and Dolibarr infrastructure.
We recommand to install Dolibarr ERP CRM on your own server (as most Open Source software, download and use is free: https://www.dolibarr.org/download) to get access on every side of application.
We recommand to install Dolibarr ERP CRM on your own server (as most Open Source software, download and use is free: [https://www.dolibarr.org/download](https://www.dolibarr.org/download)) to get access on every side of application.
### User Agent
@@ -31,8 +31,7 @@ If you try to find bug on Dolibarr, we recommend to append to your user-agent he
### Account access
You can install the web application yourself on your own platform/server so you get full access to application and sources. Download the zip of the files to put into your own web server virtual host from https://www.dolibarr.org/download
You can install the web application yourself on your own platform/server so you get full access to application and sources. Download the zip of the files to put into your own web server virtual host from [https://www.dolibarr.org/download](https://www.dolibarr.org/download)
## Eligibility and Responsible Disclosure
@@ -46,7 +45,6 @@ You must avoid tests that could cause degradation or interruption of our service
You must not leak, manipulate, or destroy any user data of third parties to find your vulnerability.
## Scope for qualified vulnerabilities
ONLY vulnerabilities discovered, when the following setup on test platform is used, are "valid":
@@ -54,17 +52,16 @@ ONLY vulnerabilities discovered, when the following setup on test platform is us
* $dolibarr_main_prod must be set to 1 into conf.php
* $dolibarr_nocsrfcheck must be kept to the value 0 into conf.php (this is the default value)
* $dolibarr_main_force_https must be set to something else than 0.
* The constant MAIN_SECURITY_CSRF_WITH_TOKEN must be set to 1 into backoffice menu Home - Setup - Other (this protection should be set to 1 soon by default)
* The constant MAIN_SECURITY_CSRF_WITH_TOKEN must be set to 3 into backoffice menu Home - Setup - Other (this protection should be set to 3 soon by default)
* The module DebugBar and ModuleBuilder must NOT be enabled (by default, these modules are not enabled. They are developer tools)
* ONLY security reports on modules provided by default and with the "stable" status are valid (troubles into "experimental", "developement" or external modules are not valid vulnerabilities).
* The root of web server must link to htdocs and the documents directory must be outside of the web server root (this is the default when using the default installer but may differs with external installer).
* The web server setup must be done so only the documents directory is in write mode. The root directory called htdocs must be readonly.
* CSRF attacks are accepted when using a POST URL, but when using GET URL, they are validated only for creating, updating or deleting data resctricted from pages restricted to admin users.
* CSRF attacks are accepted but double check that you have set MAIN_SECURITY_CSRF_WITH_TOKEN to value 3.
* Ability for a high level user to edit web site pages into the CMS by including HTML or Javascript is an expected feature. Vulnerabilities into the website module are validated only if HTML or Javascript injection can be done by a non allowed user.
Scope is the web application (back office) and the APIs.
## Qualifying vulnerabilities for reporting
* Remote code execution (RCE)
@@ -81,7 +78,6 @@ Scope is the web application (back office) and the APIs.
* Software version disclosure (for non admin users only)
* Stack traces or path disclosure (for non admin users only)
## Non-qualifying vulnerabilities for reporting
* "Self" XSS
@@ -90,9 +86,8 @@ Scope is the web application (back office) and the APIs.
* Clickjacking/UI redressing
* Physical or social engineering attempts or issues that require physical access to a victims computer/device
* Presence of autocomplete attribute on web forms
* Vulnerabilities affecting outdated browsers or platforms
* Vulnerabilities affecting outdated browsers or platforms, or vulnerabilities inside browsers themself.
* Logout and other instances of low-severity Cross-Site Request Forgery
* Missing cookie flags
* Missing security-related HTTP headers which do not lead directly to a vulnerability
* Reports from automated web vulnerability scanners (Acunetix, Vega, etc.) that have not been validated
* Invalid or missing SPF (Sender Policy Framework) records (Incomplete or missing SPF/DKIM/DMARC)
@@ -100,4 +95,3 @@ Scope is the web application (back office) and the APIs.
* Software version or private IP disclosure when logged user is admin
* Stack traces or path disclosure when logged user is admin
* Any vulnerabilities due to a configuration different than the one defined into chapter "Scope for qualified vulnerabilities".

View File

@@ -39,15 +39,13 @@ RUN chmod +x /usr/local/bin/docker-run.sh
RUN pecl install xdebug && docker-php-ext-enable xdebug
RUN echo 'zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20180731/xdebug.so"' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.remote_autostart=1' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.remote_enable=1' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.default_enable=1' >> ${PHP_INI_DIR}/php.ini
#RUN echo 'xdebug.remote_host=docker.host' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.remote_port=9000' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.remote_connect_back=1' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.profiler_enable=0' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.remote_log="/tmp/xdebug.log"' >> ${PHP_INI_DIR}/php.ini
#RUN echo 'localhost docker.host' >> /etc/hosts
RUN echo 'xdebug.mode=debug' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.start_with_request=yes' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.client_host=host.docker.internal' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.client_port=9003' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.discover_client_host=true' >> ${PHP_INI_DIR}/php.ini
#RUN echo 'xdebug.log="/tmp/xdebug.log"' >> ${PHP_INI_DIR}/php.ini
RUN echo 'xdebug.idekey="netbeans-xdebug"' >> ${PHP_INI_DIR}/php.ini
# set up sendmail config, to use maildev
RUN echo "account default" > /etc/msmtprc
@@ -57,7 +55,6 @@ RUN echo "host mail" >> /etc/msmtprc
RUN echo "from local@localdomain.com" >> /etc/msmtprc
RUN echo "domain localhost.localdomain" >> /etc/msmtprc
RUN echo "sendmail_path=/usr/bin/msmtp -t" >> /usr/local/etc/php/conf.d/php-sendmail.ini
RUN echo "localhost localhost.localdomain" >> /etc/hosts
EXPOSE 80

View File

@@ -46,6 +46,9 @@ services:
networks:
- internal-pod
- external-pod
extra_hosts:
- "localhost.localdomain:127.0.0.1"
- "host.docker.internal:host-gateway"
mail:
image: maildev/maildev

View File

@@ -166,7 +166,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/blockedlog
%_datadir/dolibarr/htdocs/bookmarks
%_datadir/dolibarr/htdocs/bom
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/collab
%_datadir/dolibarr/htdocs/comm

View File

@@ -247,7 +247,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/blockedlog
%_datadir/dolibarr/htdocs/bookmarks
%_datadir/dolibarr/htdocs/bom
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/collab
%_datadir/dolibarr/htdocs/comm

View File

@@ -163,7 +163,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/blockedlog
%_datadir/dolibarr/htdocs/bookmarks
%_datadir/dolibarr/htdocs/bom
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/collab
%_datadir/dolibarr/htdocs/comm

View File

@@ -174,7 +174,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/blockedlog
%_datadir/dolibarr/htdocs/bookmarks
%_datadir/dolibarr/htdocs/bom
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/collab
%_datadir/dolibarr/htdocs/comm

View File

@@ -35,7 +35,7 @@
"nnnick/chartjs" : "^2.9",
"stripe/stripe-php" : "6.43.1",
"maximebf/debugbar" : "1.15.1",
"symfony/var-dumper" : "3"
"symfony/var-dumper" : "3.2"
},
"require-dev" : {
"php-parallel-lint/php-parallel-lint" : "^0",

4
composer.lock generated
View File

@@ -591,7 +591,7 @@
},
{
"name": "symfony/var-dumper",
"version": "v3.0.0",
"version": "v3.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
@@ -616,7 +616,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
"dev-master": "3.2-dev"
}
},
"autoload": {

View File

@@ -168,6 +168,18 @@ In htdocs/includes/tecnickcom/tcpdf/tcpdf.php
- protected $default_monospaced_font = 'courier';
+ protected $default_monospaced_font = 'freemono';
* In tecnickcom/tcpdf/include/tcpdf_static, in function intToRoman, right at the beginning
of the function, replace:
$roman = '';
with:
$roman = '';
if ($number >= 4000) {
// do not represent numbers above 4000 in Roman numerals
return strval($number);
}
@@ -188,6 +200,11 @@ with:
with
} elseif (($key == '/Index') AND ($v[0] == PDF_TYPE_ARRAY AND count($v[1]) >= 2)) {
* Fix php fatal error on php 8.0 on tcpdi.php
while (list($k, $v) = each($value[1])) {
with
foreach ($value[1] as $k => $v) {
JSGANTT:
@@ -218,11 +235,13 @@ JCROP:
* Remove analytics tag into file index.html
JQUERYFILETREE:
---------------
* Remove directory htdocs/includes/jquery/plugins/jqueryFileTree/connectors
RESTLER:
--------

View File

@@ -132,7 +132,7 @@ then
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Password for Mysql user login :" 16 55 2> $fichtemp
--passwordbox "Password for Mysql user login :" 16 55 2> $fichtemp
valret=$?
@@ -153,7 +153,7 @@ then
# ---------------------------- confirmation
DIALOG=${DIALOG=dialog}
$DIALOG --title "Init Dolibarr with demo values" --clear \
--yesno "Do you confirm ? \n Dump file : '$dumpfile' \n Dump dir : '$mydir' \n Document dir : '$documentdir' \n Mysql database : '$base' \n Mysql port : '$port' \n Mysql login: '$admin' \n Mysql password : '$passwd'" 15 55
--yesno "Do you confirm ? \n Dump file : '$dumpfile' \n Dump dir : '$mydir' \n Document dir : '$documentdir' \n Mysql database : '$base' \n Mysql port : '$port' \n Mysql login: '$admin' \n Mysql password : --hidden--" 15 55
case $? in
0) echo "Ok, start process...";;

View File

@@ -171,7 +171,10 @@ if [ $res -ne 0 ]; then
fi
if [ -s "$mydir/initdemopostsql.sql" ]; then
echo A file initdemopostsql.sql was found, we execute it.
mysql -P$port $base < "$mydir/initdemopostsql.sql"
else
echo No file initdemopostsql.sql found, we extra sql action done.
fi

File diff suppressed because one or more lines are too long

View File

@@ -116,7 +116,7 @@ then
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Save Dolibarr with demo values" --clear \
--inputbox "Password for Mysql root login :" 16 55 2> $fichtemp
--passwordbox "Password for Mysql root login :" 16 55 2> $fichtemp
valret=$?
@@ -150,7 +150,7 @@ then
# ---------------------------- confirmation
DIALOG=${DIALOG=dialog}
$DIALOG --title "Save Dolibarr with demo values" --clear \
--yesno "Do you confirm ? \n Dump file : '$dumpfile' \n Dump dir : '$mydir' \n Mysql database : '$base' \n Mysql port : '$port' \n Mysql login: '$admin' \n Mysql password : '$passwd'" 15 55
--yesno "Do you confirm ? \n Dump file : '$dumpfile' \n Dump dir : '$mydir' \n Mysql database : '$base' \n Mysql port : '$port' \n Mysql login: '$admin' \n Mysql password : --hidden--" 15 55
case $? in
0) echo "Ok, start process...";;

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,

View File

@@ -0,0 +1,13 @@
List of QR Code format we found on some invoices
------------------------------------------------
* For SEPA QR payment Code format (Europe)
------------------------------------------
https://en.wikipedia.org/wiki/EPC_QR_code#Generators
* For ZATCA QR Code format (Saudi Arabia)
-----------------------------------------
https://www.pwc.com/m1/en/services/tax/me-tax-legal-news/2021/saudi-arabia-guide-to-develop-compliant-qr-code-for-simplified-einvoices.html

View File

@@ -1,3 +1,5 @@
Address format
https://bitboost.com/ref/international-address-formats.html#Formats
https://www.upu.int/en/Postal-Solutions/Programmes-Services/Addressing-Solutions

Binary file not shown.

View File

@@ -1,3 +1,5 @@
Date and number format
----------------------
For languages:
https://icu4c-demos.unicode.org/icu-bin/icudemos - Locale Explorer -> Error 404

View File

@@ -1,3 +1,6 @@
VAT Rates
---------
http://www.taxrates.cc/index.html
https://en.wikipedia.org/wiki/List_of_countries_by_tax_rates

View File

@@ -50,6 +50,10 @@ then
then
aaupper="SA"
fi
if [ $bb = "IQ" ]
then
aaupper="SA"
fi
bblower=`echo $dirshort | nawk -F"_" '{ print tolower($2) }'`
@@ -57,23 +61,29 @@ then
if [ "$aa" != "$bblower" -a "$dirshort" != "en_US" ]
then
reflang="htdocs/langs/"$aa"_"$aaupper
if [ -d $reflang -a $aa"_"$bb != $aa"_"$aaupper ]
echo $reflang" "$aa"_"$bb != $aa"_"$aaupper
# If $reflang is a main language to use to sanitize the alternative file
if [ -d $reflang ]
then
echo "***** Search original into "$reflang
echo $dirshort is an alternative language of $reflang
echo ./dev/translation/strip_language_file.php $aa"_"$aaupper $aa"_"$bb $2
./dev/translation/strip_language_file.php $aa"_"$aaupper $aa"_"$bb $2
for fic in `ls htdocs/langs/${aa}_${bb}/*.delta`; do f=`echo $fic | sed -e 's/\.delta//'`; echo $f; mv $f.delta $f; done
for fic in `ls htdocs/langs/${aa}_${bb}/*.lang`;
do f=`cat $fic | wc -l`;
#echo $f lines into file $fic;
if [ $f = 1 ]
then
echo Only one line remainging into file $fic, we delete it;
rm $fic
fi;
done
fi
if [ $aa"_"$bb != $aa"_"$aaupper ]
then
echo "***** Search original into "$reflang
echo $dirshort is an alternative language of $reflang
echo ./dev/translation/strip_language_file.php $aa"_"$aaupper $aa"_"$bb $2
./dev/translation/strip_language_file.php $aa"_"$aaupper $aa"_"$bb $2
for fic in `ls htdocs/langs/${aa}_${bb}/*.delta`; do f=`echo $fic | sed -e 's/\.delta//'`; echo $f; mv $f.delta $f; done
for fic in `ls htdocs/langs/${aa}_${bb}/*.lang`;
do f=`cat $fic | wc -l`;
#echo $f lines into file $fic;
if [ $f = 1 ]
then
echo Only one line remainging into file $fic, we delete it;
rm $fic
fi;
done
fi
fi
fi
done;
fi

View File

@@ -17,14 +17,14 @@ fi
# To detec
if [ "x$1" = "xlist" ]
then
find . \( -iname "functions" -o -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.sql" -o -iname "*.txt" -o -iname "*.xml" -o -iname "*.pml" \) -exec file "{}" + | grep -v 'documents\/website' | grep -v 'documents\/mdedias' | grep CRLF
# find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.sql" -o -iname "*.txt" -o -iname "*.xml" \) -exec file "{}" + | grep -v 'documents\/website' | grep -v 'documents\/mdedias' | grep -v 'htdocs\/includes' | grep CRLF
find . \( -iname "functions" -o -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.sql" -o -iname "*.txt" -o -iname "*.xml" -o -iname "*.pml" \) -exec file "{}" + | grep -v 'custom\/' | grep -v 'documents\/website' | grep -v 'documents\/medias' | grep -v 'documents\/sellyoursaas' | grep CRLF
# find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.sql" -o -iname "*.txt" -o -iname "*.xml" \) -exec file "{}" + | grep -v 'custom\/' | grep -v 'documents\/website' | grep -v 'documents\/medias' | grep -v 'documents\/sellyoursaas' | grep -v 'htdocs\/includes' | grep CRLF
fi
# To convert
if [ "x$1" = "xfix" ]
then
for fic in `find . \( -iname "functions" -o -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.sql" -o -iname "*.txt" -o -iname "*.xml" -o -iname "*.pml" \) -exec file "{}" + | grep -v 'documents\/website' | grep -v 'documents\/mdedias' | grep CRLF | awk -F':' '{ print $1 }' `
for fic in `find . \( -iname "functions" -o -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.sql" -o -iname "*.txt" -o -iname "*.xml" -o -iname "*.pml" \) -exec file "{}" + | grep -v 'custom\/' | grep -v 'documents\/website' | grep -v 'documents\/medias' | grep -v 'documents\/sellyoursaas' | grep CRLF | awk -F':' '{ print $1 }' `
do
echo "Fix file $fic"
dos2unix "$fic"

View File

@@ -14,7 +14,8 @@ max_output_size=0
usage()
{
cat <<EO
Usage: $PROGNAME [options]
Usage: $PROGNAME (list|fix) [options]
Example: optimize_images.sh (list|fix) -i dirtoscan
Script to optimize JPG and PNG images in a directory.
@@ -183,8 +184,8 @@ ARGS=$(getopt -s bash --options $SHORTOPTS --longoptions $LONGOPTS --name $PROGN
# Syntax
if [ "x$1" != "xlist" -a "x$1" != "xfix" ]
then
echo "Usage: optimize_images.sh (list|fix) -i dirtoscan"
exit
usage
exit 0
fi
eval set -- "$ARGS"

145
dev/tools/spider.php Normal file
View File

@@ -0,0 +1,145 @@
#!/usr/bin/env php
<?php
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* \file dev/tools/spider.php
* \brief Script to spider Dolibarr app.
*
* To use it:
* - Disable module "bookmark"
* - Exclude param optioncss, token, sortfield, sortorder
*/
$crawledLinks=array();
const MAX_DEPTH=2;
/**
* @param string $url URL
* @param string $depth Depth
* @return string String
*/
function followLink($url, $depth = 0)
{
global $crawledLinks;
$crawling=array();
if ($depth>MAX_DEPTH) {
echo "<div style='color:red;'>The Crawler is giving up!</div>";
return;
}
$options=array(
'http'=>array(
'method'=>"GET",
'user-agent'=>"gfgBot/0.1\n"
)
);
$context=stream_context_create($options);
$doc=new DomDocument();
@$doc->loadHTML(file_get_contents($url, false, $context));
$links=$doc->getElementsByTagName('a');
$pageTitle=getDocTitle($doc, $url);
$metaData=getDocMetaData($doc);
foreach ($links as $i) {
$link=$i->getAttribute('href');
if (ignoreLink($link)) continue;
$link=convertLink($url, $link);
if (!in_array($link, $crawledLinks)) {
$crawledLinks[]=$link;
$crawling[]=$link;
insertIntoDatabase($link, $pageTitle, $metaData, $depth);
}
}
foreach ($crawling as $crawlURL)
followLink($crawlURL, $depth+1);
}
/**
* @param string $site Site
* @param string $path Path
* @return string String
*/
function convertLink($site, $path)
{
if (substr_compare($path, "//", 0, 2)==0)
return parse_url($site)['scheme'].$path;
elseif (substr_compare($path, "http://", 0, 7)==0 or
substr_compare($path, "https://", 0, 8)==0 or
substr_compare($path, "www.", 0, 4)==0)
return $path;
else return $site.'/'.$path;
}
/**
* @param string $url URL
* @return boolean
*/
function ignoreLink($url)
{
return $url[0]=="#" or substr($url, 0, 11) == "javascript:";
}
/**
* @param string $link URL
* @param string $title Title
* @param string $metaData Array
* @param int $depth Depth
* @return void
*/
function insertIntoDatabase($link, $title, &$metaData, $depth)
{
//global $crawledLinks;
echo "Inserting new record {URL= ".$link.", Title = '$title', Description = '".$metaData['description']."', Keywords = ' ".$metaData['keywords']."'}<br/><br/><br/>";
//²$crawledLinks[]=$link;
}
/**
* @param string $doc Doc
* @param string $url URL
* @return string URL/Title
*/
function getDocTitle(&$doc, $url)
{
$titleNodes=$doc->getElementsByTagName('title');
if (count($titleNodes)==0 or !isset($titleNodes[0]->nodeValue))
return $url;
$title=str_replace('', '\n', $titleNodes[0]->nodeValue);
return (strlen($title)<1)?$url:$title;
}
/**
* @param string $doc Doc
* @return array Array
*/
function getDocMetaData(&$doc)
{
$metaData=array();
$metaNodes=$doc->getElementsByTagName('meta');
foreach ($metaNodes as $node)
$metaData[$node->getAttribute("name")] = $node->getAttribute("content");
if (!isset($metaData['description']))
$metaData['description']='No Description Available';
if (!isset($metaData['keywords'])) $metaData['keywords']='';
return array(
'keywords'=>str_replace('', '\n', $metaData['keywords']),
'description'=>str_replace('', '\n', $metaData['description'])
);
}
followLink("http://localhost/dolibarr_dev/htdocs");

View File

@@ -6,7 +6,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,

View File

@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -177,7 +177,7 @@ foreach ($filesToProcess as $fileToProcess) {
// Start reading and parsing English
$aEnglish = array();
if ($handle = fopen($lEnglishFile, 'r')) {
print "Read English File $lEnglishFile:\n";
$cnt = 0;
@@ -246,6 +246,9 @@ foreach ($filesToProcess as $fileToProcess) {
fwrite($oh, "# Dolibarr language file - Source file is en_US - ".(preg_replace('/\.lang$/', '', $fileToProcess))."\n");
$fileFirstFound = array();
$lineFirstFound = array();
$cnt = 0;
while (($line = fgets($handle)) !== false) {
$cnt++;
@@ -299,6 +302,7 @@ foreach ($filesToProcess as $fileToProcess) {
}
// String exists in both files and value into alternative language differs from main language but also from english files
// so we keep it.
if ((! empty($aSecondary[$key]) && $aSecondary[$key] != $aPrimary[$key]
&& ! empty($aEnglish[$key]) && $aSecondary[$key] != $aEnglish[$key])
|| in_array($key, $arrayofkeytoalwayskeep) || preg_match('/^FormatDate/', $key) || preg_match('/^FormatHour/', $key)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 946 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
doc/images/dolibarr_logo.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -38,6 +38,7 @@ $cancel = GETPOST('cancel', 'alpha');
$id = GETPOST('id', 'int');
$rowid = GETPOST('rowid', 'int');
$massaction = GETPOST('massaction', 'aZ09');
$optioncss = GETPOST('optioncss', 'alpha');
$contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'accountingaccountlist'; // To manage different context of search
$search_account = GETPOST('search_account', 'alpha');
@@ -51,14 +52,14 @@ $confirm = GETPOST('confirm', 'alpha');
$chartofaccounts = GETPOST('chartofaccounts', 'int');
$permissiontoadd = $user->rights->accounting->chartofaccount;
$permissiontodelete = $user->rights->accounting->chartofaccount;
$permissiontoadd = !empty($user->rights->accounting->chartofaccount);
$permissiontodelete = !empty($user->rights->accounting->chartofaccount);
// Security check
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->chartofaccount) {
if (empty($user->rights->accounting->chartofaccount)) {
accessforbidden();
}
@@ -195,7 +196,7 @@ if (empty($reshook)) {
} elseif ($action == 'enable' && $permissiontoadd) {
if ($accounting->fetch($id)) {
$mode = GETPOST('mode', 'int');
$result = $accounting->account_activate($id, $mode);
$result = $accounting->accountActivate($id, $mode);
}
$action = 'update';
if ($result < 0) {
@@ -362,7 +363,7 @@ if ($resql) {
$newcardbutton .= dolGetButtonTitle($langs->trans("New"), $langs->trans("Addanaccount"), 'fa fa-plus-circle', './card.php?action=create');
include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php';
print_barre_liste($langs->trans('ListAccounts'), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'title_accountancy', 0, $newcardbutton, '', $limit, 0, 0, 1);
print_barre_liste($langs->trans('ListAccounts'), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'accounting_account', 0, $newcardbutton, '', $limit, 0, 0, 1);
// Box to select active chart of account
print $langs->trans("Selectchartofaccounts")." : ";
@@ -392,7 +393,7 @@ if ($resql) {
}
print "</select>";
print ajax_combobox("chartofaccounts");
print '<input type="'.(empty($conf->use_javascript_ajax) ? 'submit' : 'button').'" class="button" name="change_chart" id="change_chart" value="'.dol_escape_htmltag($langs->trans("ChangeAndLoad")).'">';
print '<input type="'.(empty($conf->use_javascript_ajax) ? 'submit' : 'button').'" class="button button-edit" name="change_chart" id="change_chart" value="'.dol_escape_htmltag($langs->trans("ChangeAndLoad")).'">';
print '<br>';
print '<br>';
@@ -403,6 +404,11 @@ if ($resql) {
$moreforfilter = '';
$accountstatic = new AccountingAccount($db);
$accountparent = new AccountingAccount($db);
$totalarray = array();
$totalarray['nbfield'] = 0;
print '<div class="div-table-responsive">';
print '<table class="tagtable liste'.($moreforfilter ? " listwithfilterbefore" : "").'">'."\n";
@@ -438,44 +444,33 @@ if ($resql) {
print $searchpicto;
print '</td>';
print '</tr>';
$totalarray = array();
print '<tr class="liste_titre">';
if (!empty($arrayfields['aa.account_number']['checked'])) {
print_liste_field_titre($arrayfields['aa.account_number']['label'], $_SERVER["PHP_SELF"], "aa.account_number", "", $param, '', $sortfield, $sortorder);
$totalarray['nbfield']++;
}
if (!empty($arrayfields['aa.label']['checked'])) {
print_liste_field_titre($arrayfields['aa.label']['label'], $_SERVER["PHP_SELF"], "aa.label", "", $param, '', $sortfield, $sortorder);
$totalarray['nbfield']++;
}
if (!empty($arrayfields['aa.labelshort']['checked'])) {
print_liste_field_titre($arrayfields['aa.labelshort']['label'], $_SERVER["PHP_SELF"], "aa.labelshort", "", $param, '', $sortfield, $sortorder);
$totalarray['nbfield']++;
}
if (!empty($arrayfields['aa.account_parent']['checked'])) {
print_liste_field_titre($arrayfields['aa.account_parent']['label'], $_SERVER["PHP_SELF"], "aa.account_parent", "", $param, '', $sortfield, $sortorder, 'left ');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['aa.pcg_type']['checked'])) {
print_liste_field_titre($arrayfields['aa.pcg_type']['label'], $_SERVER["PHP_SELF"], 'aa.pcg_type,aa.account_number', '', $param, '', $sortfield, $sortorder, '', $arrayfields['aa.pcg_type']['help'], 1);
$totalarray['nbfield']++;
}
if ($conf->global->MAIN_FEATURES_LEVEL >= 2) {
if (!empty($arrayfields['aa.reconcilable']['checked'])) {
print_liste_field_titre($arrayfields['aa.reconcilable']['label'], $_SERVER["PHP_SELF"], 'aa.reconcilable', '', $param, '', $sortfield, $sortorder);
$totalarray['nbfield']++;
}
}
if (!empty($arrayfields['aa.active']['checked'])) {
print_liste_field_titre($arrayfields['aa.active']['label'], $_SERVER["PHP_SELF"], 'aa.active', '', $param, '', $sortfield, $sortorder);
$totalarray['nbfield']++;
}
print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ');
print "</tr>\n";
$accountstatic = new AccountingAccount($db);
$accountparent = new AccountingAccount($db);
$i = 0;
while ($i < min($num, $limit)) {
$obj = $db->fetch_object($resql);
@@ -620,8 +615,13 @@ if ($resql) {
}
if ($num == 0) {
$totalarray['nbfield']++;
print '<tr><td colspan="'.$totalarray['nbfield'].'"><span class="opacitymedium">'.$langs->trans("None").'</span></td></tr>';
$colspan = 1;
foreach ($arrayfields as $key => $val) {
if (!empty($val['checked'])) {
$colspan++;
}
}
print '<tr><td colspan="'.$colspan.'"><span class="opacitymedium">'.$langs->trans("None").'</span></td></tr>';
}
print "</table>";

View File

@@ -78,7 +78,7 @@ $search_country_id = GETPOST('search_country_id', 'int');
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->chartofaccount) {
if (empty($user->rights->accounting->chartofaccount)) {
accessforbidden();
}
@@ -495,7 +495,7 @@ if ($id) {
if ($valuetoshow != '') {
print '<td class="'.$class.'">';
if (!empty($tabhelp[$id][$value]) && preg_match('/^http(s*):/i', $tabhelp[$id][$value])) {
print '<a href="'.$tabhelp[$id][$value].'" target="_blank">'.$valuetoshow.' '.img_help(1, $valuetoshow).'</a>';
print '<a href="'.$tabhelp[$id][$value].'">'.$valuetoshow.' '.img_help(1, $valuetoshow).'</a>';
} elseif (!empty($tabhelp[$id][$value])) {
print $form->textwithpicto($valuetoshow, $tabhelp[$id][$value]);
} else {
@@ -535,7 +535,7 @@ if ($id) {
}
print '<td colspan="3" class="right">';
print '<input type="submit" class="button" name="actionadd" value="'.$langs->trans("Add").'">';
print '<input type="submit" class="button button-add" name="actionadd" value="'.$langs->trans("Add").'">';
print '</td>';
print "</tr>";
@@ -553,16 +553,16 @@ if ($id) {
$num = $db->num_rows($resql);
$i = 0;
$param = '&id='.$id;
$param = '&id='.urlencode($id);
if ($search_country_id > 0) {
$param .= '&search_country_id='.$search_country_id;
$param .= '&search_country_id='.urlencode($search_country_id);
}
$paramwithsearch = $param;
if ($sortorder) {
$paramwithsearch .= '&sortorder='.$sortorder;
$paramwithsearch .= '&sortorder='.urlencode($sortorder);
}
if ($sortfield) {
$paramwithsearch .= '&sortfield='.$sortfield;
$paramwithsearch .= '&sortfield='.urlencode($sortfield);
}
// There is several pages
@@ -631,7 +631,7 @@ if ($id) {
fieldListAccountModel($fieldlist, $obj, $tabname[$id], 'edit');
}
print '<td colspan="3" class="right"><a name="'.(!empty($obj->rowid) ? $obj->rowid : $obj->code).'">&nbsp;</a><input type="submit" class="button" name="actionmodify" value="'.$langs->trans("Modify").'">';
print '<td colspan="3" class="right"><a name="'.(!empty($obj->rowid) ? $obj->rowid : $obj->code).'">&nbsp;</a><input type="submit" class="button button-edit" name="actionmodify" value="'.$langs->trans("Modify").'">';
print '&nbsp;<input type="submit" class="button button-cancel" name="actioncancel" value="'.$langs->trans("Cancel").'"></td>';
} else {
$tmpaction = 'view';

View File

@@ -48,7 +48,7 @@ $label = GETPOST('label', 'alpha');
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->chartofaccount) {
if (empty($user->rights->accounting->chartofaccount)) {
accessforbidden();
}
@@ -61,7 +61,7 @@ $object = new AccountingAccount($db);
*/
if (GETPOST('cancel', 'alpha')) {
$urltogo = $backtopage ? $backtopage : dol_buildpath('/accountancy/admin/account.php', 1);
$urltogo = $backtopage ? $backtopage : DOL_URL_ROOT.'/accountancy/admin/account.php';
header("Location: ".$urltogo);
exit;
}
@@ -75,7 +75,7 @@ if ($action == 'add' && $user->rights->accounting->chartofaccount) {
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("Label")), null, 'errors');
$action = 'create';
} else {
$sql = 'SELECT pcg_version FROM ' . MAIN_DB_PREFIX . 'accounting_system WHERE rowid='.((int) $conf->global->CHARTOFACCOUNTS);
$sql = "SELECT pcg_version FROM " . MAIN_DB_PREFIX . "accounting_system WHERE rowid = ".((int) $conf->global->CHARTOFACCOUNTS);
dol_syslog('accountancy/admin/card.php:: $sql=' . $sql);
$result = $db->query($sql);
@@ -121,7 +121,7 @@ if ($action == 'add' && $user->rights->accounting->chartofaccount) {
}
if (!$error) {
setEventMessages("RecordCreatedSuccessfully", null, 'mesgs');
$urltogo = $backtopage ? $backtopage : dol_buildpath('/accountancy/admin/account.php', 1);
$urltogo = $backtopage ? $backtopage : DOL_URL_ROOT.'/accountancy/admin/account.php';
header("Location: " . $urltogo);
exit;
}
@@ -138,7 +138,7 @@ if ($action == 'add' && $user->rights->accounting->chartofaccount) {
} else {
$result = $object->fetch($id);
$sql = 'SELECT pcg_version FROM '.MAIN_DB_PREFIX.'accounting_system WHERE rowid='.((int) $conf->global->CHARTOFACCOUNTS);
$sql = "SELECT pcg_version FROM ".MAIN_DB_PREFIX."accounting_system WHERE rowid=".((int) $conf->global->CHARTOFACCOUNTS);
dol_syslog('accountancy/admin/card.php:: $sql=' . $sql);
$result2 = $db->query($sql);
@@ -257,7 +257,20 @@ if ($action == 'create') {
print $form->textwithpicto($langs->trans("Pcgtype"), $langs->transnoentitiesnoconv("PcgtypeDesc"));
print '</td>';
print '<td>';
print '<input type="text" name="pcg_type" value="'.dol_escape_htmltag(GETPOSTISSET('pcg_type') ? GETPOST('pcg_type', 'alpha') : $object->pcg_type).'">';
print '<input type="text" name="pcg_type" list="pcg_type_datalist" value="'.dol_escape_htmltag(GETPOSTISSET('pcg_type') ? GETPOST('pcg_type', 'alpha') : $object->pcg_type).'">';
// autosuggest from existing account types if found
print '<datalist id="pcg_type_datalist">';
$sql = "SELECT DISTINCT pcg_type FROM " . MAIN_DB_PREFIX . "accounting_account";
$sql .= " WHERE fk_pcg_version = '" . $db->escape($accountsystem->ref) . "'";
$sql .= ' AND entity in ('.getEntity('accounting_account', 0).')'; // Always limit to current entity. No sharing in accountancy.
$sql .= ' LIMIT 50000'; // just as a sanity check
$resql = $db->query($sql);
if ($resql) {
while ($obj = $db->fetch_object($resql)) {
print '<option value="' . dol_escape_htmltag($obj->pcg_type) . '">';
}
}
print '</datalist>';
print '</td></tr>';
// Category
@@ -320,7 +333,20 @@ if ($action == 'create') {
print $form->textwithpicto($langs->trans("Pcgtype"), $langs->transnoentitiesnoconv("PcgtypeDesc"));
print '</td>';
print '<td>';
print '<input type="text" name="pcg_type" value="'.dol_escape_htmltag(GETPOSTISSET('pcg_type') ? GETPOST('pcg_type', 'alpha') : $object->pcg_type).'">';
print '<input type="text" name="pcg_type" list="pcg_type_datalist" value="'.dol_escape_htmltag(GETPOSTISSET('pcg_type') ? GETPOST('pcg_type', 'alpha') : $object->pcg_type).'">';
// autosuggest from existing account types if found
print '<datalist id="pcg_type_datalist">';
$sql = 'SELECT DISTINCT pcg_type FROM ' . MAIN_DB_PREFIX . 'accounting_account';
$sql .= " WHERE fk_pcg_version = '" . $db->escape($accountsystem->ref) . "'";
$sql .= ' AND entity in ('.getEntity('accounting_account', 0).')'; // Always limit to current entity. No sharing in accountancy.
$sql .= ' LIMIT 50000'; // just as a sanity check
$resql = $db->query($sql);
if ($resql) {
while ($obj = $db->fetch_object($resql)) {
print '<option value="' . dol_escape_htmltag($obj->pcg_type) . '">';
}
}
print '</datalist>';
print '</td></tr>';
// Category
@@ -335,11 +361,7 @@ if ($action == 'create') {
print dol_get_fiche_end();
print '<div class="center">';
print '<input type="submit" class="button button-save" value="'.$langs->trans("Save").'">';
print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
print '<input type="submit" name="cancel" class="button button-cancel" value="'.$langs->trans("Cancel").'">';
print '</div>';
print $form->buttonsSaveCancel();
print '</form>';
} else {
@@ -395,13 +417,13 @@ if ($action == 'create') {
print '<div class="tabsAction">';
if (!empty($user->rights->accounting->chartofaccount)) {
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=update&token='.newToken().'&id='.$id.'">'.$langs->trans('Modify').'</a>';
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=update&token='.newToken().'&id='.$object->id.'">'.$langs->trans('Modify').'</a>';
} else {
print '<a class="butActionRefused classfortooltip" href="#" title="'.dol_escape_htmltag($langs->trans("NotAllowed")).'">'.$langs->trans('Modify').'</a>';
}
if (!empty($user->rights->accounting->chartofaccount)) {
print '<a class="butActionDelete" href="'.$_SERVER["PHP_SELF"].'?action=delete&token='.newToken().'&id='.$id.'">'.$langs->trans('Delete').'</a>';
print '<a class="butActionDelete" href="'.$_SERVER["PHP_SELF"].'?action=delete&token='.newToken().'&id='.$object->id.'">'.$langs->trans('Delete').'</a>';
} else {
print '<a class="butActionRefused classfortooltip" href="#" title="'.dol_escape_htmltag($langs->trans("NotAllowed")).'">'.$langs->trans('Delete').'</a>';
}

View File

@@ -110,7 +110,7 @@ print '<table class="border centpercent">';
print '<tr><td class="titlefield">'.$langs->trans("AccountingCategory").'</td>';
print '<td>';
$formaccounting->select_accounting_category($cat_id, 'account_category', 1, 0, 0, 1);
print '<input class="button" type="submit" value="'.$langs->trans("Select").'">';
print '<input type="submit" class="button" value="'.$langs->trans("Select").'">';
print '</td></tr>';
// Select the accounts
@@ -137,7 +137,7 @@ if (!empty($cat_id)) {
print '</select><br>';
print ajax_combobox('cpt_bk');
*/
print '<input class="button" type="submit" id="" class="action-delete" value="'.$langs->trans("Add").'"> ';
print '<input type="submit" class="button button-add" id="" class="action-delete" value="'.$langs->trans("Add").'"> ';
}
print '</td></tr>';
}

View File

@@ -1,6 +1,6 @@
<?php
/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2011-2017 Alexandre Spangaro <aspangaro@open-dsi.fr>
* Copyright (C) 2011-2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -91,19 +91,19 @@ $tabsql[32] = "SELECT a.rowid as rowid, a.code as code, a.label, a.range_account
$tabsqlsort = array();
$tabsqlsort[32] = "position ASC";
// Nom des champs en resultat de select pour affichage du dictionnaire
// Name of the fields in the result of select to display the dictionary
$tabfield = array();
$tabfield[32] = "code,label,range_account,category_type,formula,position,country";
// Nom des champs d'edition pour modification d'un enregistrement
// Name of editing fields for record modification
$tabfieldvalue = array();
$tabfieldvalue[32] = "code,label,range_account,category_type,formula,position,country_id";
// Nom des champs dans la table pour insertion d'un enregistrement
// Name of the fields in the table for inserting a record
$tabfieldinsert = array();
$tabfieldinsert[32] = "code,label,range_account,category_type,formula,position,fk_country";
// Nom du rowid si le champ n'est pas de type autoincrement
// Name of the rowid if the field is not of type autoincrement
// Example: "" if id field is "rowid" and has autoincrement on
// "nameoffield" if id field is not "rowid" or has not autoincrement on
$tabrowid = array();
@@ -151,7 +151,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) {
if ($value == 'range_account' && empty($_POST['range_account'])) {
continue;
}
if ($value == 'country' || $value == 'country_id') {
if (($value == 'country' || $value == 'country_id') && (!empty($_POST['country_id']))) {
continue;
}
if (!GETPOSTISSET($value) || GETPOST($value) == '') {
@@ -176,6 +176,9 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) {
if ($fieldnamekey == 'category_type') {
$fieldnamekey = 'Calculated';
}
if ($fieldnamekey == 'country') {
$fieldnamekey = 'Country';
}
setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->transnoentities($fieldnamekey)), null, 'errors');
}
@@ -263,7 +266,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha')) {
}
}
// Si verif ok et action modify, on modifie la ligne
// If check ok and action modify, we modify the line
if ($ok && GETPOST('actionmodify', 'alpha')) {
if ($tabrowid[$id]) {
$rowidcol = $tabrowid[$id];
@@ -430,12 +433,12 @@ print load_fiche_titre($titre, $linkback, $titlepicto);
print '<span class="opacitymedium">'.$langs->trans("AccountingAccountGroupsDesc", $langs->transnoentitiesnoconv("ByPersonalizedAccountGroups")).'</span><br><br>';
// Confirmation de la suppression de la ligne
// Confirmation of the deletion of the line
if ($action == 'delete') {
print $form->formconfirm($_SERVER["PHP_SELF"].'?'.($page ? 'page='.$page.'&' : '').'sortfield='.$sortfield.'&sortorder='.$sortorder.'&rowid='.$rowid.'&code='.$code.'&id='.$id.($search_country_id > 0 ? '&search_country_id='.$search_country_id : ''), $langs->trans('DeleteLine'), $langs->trans('ConfirmDeleteLine'), 'confirm_delete', '', 0, 1);
}
// Complete requete recherche valeurs avec critere de tri
// Complete search query with sorting criteria
$sql = $tabsql[$id];
if ($search_country_id > 0) {
@@ -517,7 +520,7 @@ if ($tabname[$id]) {
if ($valuetoshow != '') {
print '<td class="'.$class.'">';
if (!empty($tabhelp[$id][$value]) && preg_match('/^http(s*):/i', $tabhelp[$id][$value])) {
print '<a href="'.$tabhelp[$id][$value].'" target="_blank">'.$valuetoshow.' '.img_help(1, $valuetoshow).'</a>';
print '<a href="'.$tabhelp[$id][$value].'">'.$valuetoshow.' '.img_help(1, $valuetoshow).'</a>';
} elseif (!empty($tabhelp[$id][$value])) {
print $form->textwithpicto($valuetoshow, $tabhelp[$id][$value]);
} else {
@@ -558,7 +561,7 @@ if ($tabname[$id]) {
}
print '<td colspan="4" class="right">';
print '<input type="submit" class="button" name="actionadd" value="'.$langs->trans("Add").'">';
print '<input type="submit" class="button button-add" name="actionadd" value="'.$langs->trans("Add").'">';
print '</td>';
print "</tr>";
@@ -580,7 +583,7 @@ if ($resql) {
$param = '&id='.$id;
if ($search_country_id > 0) {
$param .= '&search_country_id='.$search_country_id;
$param .= '&search_country_id='.urlencode($search_country_id);
}
$paramwithsearch = $param;
if ($sortorder) {
@@ -634,14 +637,14 @@ if ($resql) {
// Title of lines
print '<tr class="liste_titre">';
foreach ($fieldlist as $field => $value) {
// Determine le nom du champ par rapport aux noms possibles
// dans les dictionnaires de donnees
$showfield = 1; // By defaut
// Determines the name of the field in relation to the possible names
// in data dictionaries
$showfield = 1; // By default
$class = "left";
$sortable = 1;
$valuetoshow = '';
$valuetoshow = ucfirst($fieldlist[$field]); // By defaut
$valuetoshow = ucfirst($fieldlist[$field]); // By default
$valuetoshow = $langs->trans($valuetoshow); // try to translate
if ($fieldlist[$field] == 'source') {
$valuetoshow = $langs->trans("Contact");
@@ -734,14 +737,14 @@ if ($resql) {
print '<td class="center">';
print '<input type="hidden" name="page" value="'.$page.'">';
print '<input type="hidden" name="rowid" value="'.$rowid.'">';
print '<input type="submit" class="button" name="actionmodify" value="'.$langs->trans("Modify").'">';
print '<input type="submit" class="button button-edit" name="actionmodify" value="'.$langs->trans("Modify").'">';
print '<div name="'.(!empty($obj->rowid) ? $obj->rowid : $obj->code).'"></div>';
print '<input type="submit" class="button button-cancel" name="actioncancel" value="'.$langs->trans("Cancel").'">';
print '</td>';
print '<td></td>';
} else {
$tmpaction = 'view';
$parameters = array('var'=>$var, 'fieldlist'=>$fieldlist, 'tabname'=>$tabname[$id]);
$parameters = array('fieldlist'=>$fieldlist, 'tabname'=>$tabname[$id]);
$reshook = $hookmanager->executeHooks('viewDictionaryFieldlist', $parameters, $obj, $tmpaction); // Note that $action and $object may have been modified by some hooks
$error = $hookmanager->error; $errors = $hookmanager->errors;
@@ -811,7 +814,7 @@ if ($resql) {
// Modify link
if ($canbemodified) {
print '<td class="center"><a class="reposition editfielda" href="'.$url.'action=edit">'.img_edit().'</a></td>';
print '<td class="center"><a class="reposition editfielda" href="'.$url.'action=edit&token='.newToken().'">'.img_edit().'</a></td>';
} else {
print '<td>&nbsp;</td>';
}
@@ -820,7 +823,7 @@ if ($resql) {
if ($iserasable) {
print '<td class="center">';
if ($user->admin) {
print '<a href="'.$url.'action=delete">'.img_delete().'</a>';
print '<a href="'.$url.'action=delete&token='.newToken().'">'.img_delete().'</a>';
}
//else print '<a href="#">'.img_delete().'</a>'; // Some dictionary can be edited by other profile than admin
print '</td>';

View File

@@ -109,7 +109,7 @@ foreach ($list_account_main as $key) {
print '</td>';
// Value
print '<td>'; // Do not force class=right, or it align also the content of the select box
print $formaccounting->select_account($conf->global->$key, $key, 1, '', 1, 1);
print $formaccounting->select_account(getDolGlobalString($key), $key, 1, '', 1, 1);
print '</td>';
print '</tr>';
}
@@ -124,7 +124,7 @@ print '</td></tr>';
print "</table>\n";
print '<div class="center"><input type="submit" class="button" value="'.$langs->trans('Modify').'" name="button"></div>';
print '<div class="center"><input type="submit" class="button button-edit" name="button" value="'.$langs->trans('Modify').'"></div>';
print '</form>';

View File

@@ -52,6 +52,7 @@ $list_account_main = array(
);
$list_account = array();
$list_account[] = '---Product---';
$list_account[] = 'ACCOUNTING_PRODUCT_SOLD_ACCOUNT';
if ($mysoc->isInEEC()) {
@@ -63,6 +64,7 @@ if ($mysoc->isInEEC()) {
$list_account[] = 'ACCOUNTING_PRODUCT_BUY_INTRA_ACCOUNT';
}
$list_account[] = 'ACCOUNTING_PRODUCT_BUY_EXPORT_ACCOUNT';
$list_account[] = '---Service---';
$list_account[] = 'ACCOUNTING_SERVICE_SOLD_ACCOUNT';
if ($mysoc->isInEEC()) {
@@ -74,11 +76,11 @@ if ($mysoc->isInEEC()) {
$list_account[] = 'ACCOUNTING_SERVICE_BUY_INTRA_ACCOUNT';
}
$list_account[] = 'ACCOUNTING_SERVICE_BUY_EXPORT_ACCOUNT';
$list_account[] = '---Others---';
$list_account[] = 'ACCOUNTING_VAT_BUY_ACCOUNT';
$list_account[] = 'ACCOUNTING_VAT_SOLD_ACCOUNT';
$list_account[] = 'ACCOUNTING_VAT_PAY_ACCOUNT';
$list_account[] = 'ACCOUNTING_ACCOUNT_SUSPENSE';
if ($conf->banque->enabled) {
$list_account[] = 'ACCOUNTING_ACCOUNT_TRANSFER_CASH';
}
@@ -96,6 +98,7 @@ if ($conf->loan->enabled) {
if ($conf->societe->enabled) {
$list_account[] = 'ACCOUNTING_ACCOUNT_CUSTOMER_DEPOSIT';
}
$list_account[] = 'ACCOUNTING_ACCOUNT_SUSPENSE';
/*
* Actions
@@ -154,6 +157,7 @@ print '<input type="hidden" name="action" value="update">';
// Define main accounts for thirdparty
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre"><td>'.$langs->trans("ThirdParties").' | '.$langs->trans("Users").'</td><td></td></tr>';
@@ -164,17 +168,29 @@ foreach ($list_account_main as $key) {
$keydesc = $key.'_Desc';
$htmltext = $langs->trans($keydesc);
print '<td class="fieldrequired" width="50%">';
print '<td class="fieldrequired">';
if ($key == 'ACCOUNTING_ACCOUNT_CUSTOMER') {
print img_picto('', 'company', 'class="pictofixedwidth"');
} elseif ($key == 'ACCOUNTING_ACCOUNT_SUPPLIER') {
print img_picto('', 'company', 'class="pictofixedwidth"');
} else {
print img_picto('', 'user', 'class="pictofixedwidth"');
}
print $form->textwithpicto($label, $htmltext);
print '</td>';
// Value
print '<td>'; // Do not force class=right, or it align also the content of the select box
print '<td class="right">'; // Do not force class=right, or it align also the content of the select box
print $formaccounting->select_account($conf->global->$key, $key, 1, '', 1, 1, 'minwidth100 maxwidth300 maxwidthonsmartphone', 'accountsmain');
print '</td>';
print '</tr>';
}
print "</table>\n";
print "</div>\n";
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
foreach ($list_account as $key) {
$reg = array();
if (preg_match('/---(.*)---/', $key, $reg)) {
@@ -183,10 +199,33 @@ foreach ($list_account as $key) {
print '<tr class="oddeven value">';
// Param
$label = $langs->trans($key);
print '<td width="50%">'.$label.'</td>';
print '<td>';
if (preg_match('/^ACCOUNTING_PRODUCT/', $key)) {
print img_picto('', 'product', 'class="pictofixedwidth"');
} elseif (preg_match('/^ACCOUNTING_SERVICE/', $key)) {
print img_picto('', 'service', 'class="pictofixedwidth"');
} elseif (preg_match('/^ACCOUNTING_VAT_PAY_ACCOUNT/', $key)) {
print img_picto('', 'payment_vat', 'class="pictofixedwidth"');
} elseif (preg_match('/^ACCOUNTING_VAT/', $key)) {
print img_picto('', 'vat', 'class="pictofixedwidth"');
} elseif (preg_match('/^ACCOUNTING_ACCOUNT_CUSTOMER/', $key)) {
print img_picto('', 'bill', 'class="pictofixedwidth"');
} elseif (preg_match('/^LOAN_ACCOUNTING_ACCOUNT/', $key)) {
print img_picto('', 'loan', 'class="pictofixedwidth"');
} elseif (preg_match('/^DONATION_ACCOUNTING/', $key)) {
print img_picto('', 'donation', 'class="pictofixedwidth"');
} elseif (preg_match('/^ADHERENT_SUBSCRIPTION/', $key)) {
print img_picto('', 'member', 'class="pictofixedwidth"');
} elseif (preg_match('/^ACCOUNTING_ACCOUNT_TRANSFER/', $key)) {
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
} elseif (preg_match('/^ACCOUNTING_ACCOUNT_SUSPENSE/', $key)) {
print img_picto('', 'question', 'class="pictofixedwidth"');
}
print $label;
print '</td>';
// Value
print '<td>'; // Do not force class=right, or it align also the content of the select box
print $formaccounting->select_account($conf->global->$key, $key, 1, '', 1, 1, 'minwidth100 maxwidth300 maxwidthonsmartphone', 'accounts');
print '<td class="right">'; // Do not force class=right, or it align also the content of the select box
print $formaccounting->select_account(getDolGlobalString($key), $key, 1, '', 1, 1, 'minwidth100 maxwidth300 maxwidthonsmartphone', 'accounts');
print '</td>';
print '</tr>';
}
@@ -194,9 +233,9 @@ foreach ($list_account as $key) {
print "</table>\n";
print "</div>\n";
print '<div class="center"><input type="submit" class="button" value="'.$langs->trans('Modify').'" name="button"></div>';
print '<div class="center"><input type="submit" class="button button-edit" name="button" value="'.$langs->trans('Modify').'"></div>';
print '</form>';

View File

@@ -142,7 +142,7 @@ $linkback = '';
print load_fiche_titre($langs->trans('ExportOptions'), $linkback, 'accountancy');
print "\n".'<script type="text/javascript" language="javascript">'."\n";
print "\n".'<script type="text/javascript">'."\n";
print 'jQuery(document).ready(function () {'."\n";
print ' function initfields()'."\n";
print ' {'."\n";

View File

@@ -52,7 +52,7 @@ $langs->loadLangs(array("admin", "compta"));
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->fiscalyear->write) { // If we can read accounting records, we should be able to see fiscal year.
if (empty($user->rights->accounting->fiscalyear->write)) { // If we can read accounting records, we should be able to see fiscal year.
accessforbidden();
}
@@ -127,7 +127,6 @@ if ($result) {
$title = $langs->trans('AccountingPeriods');
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $params, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'title_accountancy', 0, $addbutton, '', $limit, 1);
// Load attribute_label
print '<div class="div-table-responsive">';
print '<table class="tagtable liste centpercent">';
print '<tr class="liste_titre">';

View File

@@ -242,11 +242,7 @@ if ($action == 'create') {
print '</table>';
print '<br><div class="center">';
print '<input type="submit" class="button button-save" value="'.$langs->trans("Save").'">';
print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
print '<input type="submit" name="cancel" class="button button-cancel" value="'.$langs->trans("Cancel").'">';
print '</div>';
print $form->buttonsSaveCancel();
print '</form>';

View File

@@ -33,7 +33,7 @@ $langs->loadLangs(array("admin", "compta"));
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->fiscalyear->write) {
if (empty($user->rights->accounting->fiscalyear->write)) {
accessforbidden();
}

View File

@@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2013-2019 Alexandre Spangaro <aspangaro@open-dsi.fr>
* Copyright (C) 2013-2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
* Copyright (C) 2014-2015 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
@@ -260,6 +260,22 @@ $linkback = '';
//$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php?restore_lastsearch_values=1">' . $langs->trans("BackToModuleList") . '</a>';
print load_fiche_titre($title, $linkback, 'accountancy');
// Show message if accountancy hidden options are activated to help to resolve some problems
if (!$user->admin) {
if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) {
print '<div class="info">' . $langs->trans("ConstantIsOn", "FACTURE_DEPOSITS_ARE_JUST_PAYMENTS") . '</div>';
}
if (!empty($conf->global->ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY)) {
print '<div class="info">' . $langs->trans("ConstantIsOn", "ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY") . '</div>';
}
if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) {
print '<div class="info">' . $langs->trans("ConstantIsOn", "MAIN_COMPANY_PERENTITY_SHARED") . '</div>';
}
if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) {
print '<div class="info">' . $langs->trans("ConstantIsOn", "MAIN_PRODUCT_PERENTITY_SHARED") . '</div>';
}
}
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post">';
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<input type="hidden" name="action" value="update">';
@@ -446,7 +462,7 @@ print '</tr>';
print '</table>';
print '<div class="center"><input type="submit" class="button" value="'.$langs->trans('Modify').'" name="button"></div>';
print '<div class="center"><input type="submit" class="button button-edit" name="button" value="'.$langs->trans('Modify').'"></div>';
print '</form>';

View File

@@ -58,8 +58,8 @@ $listoffset = GETPOST('listoffset', 'alpha');
$listlimit = GETPOST('listlimit', 'int') > 0 ?GETPOST('listlimit', 'int') : 1000;
$active = 1;
$sortfield = GETPOST("sortfield", 'alpha');
$sortorder = GETPOST("sortorder", 'alpha');
$sortfield = GETPOST('sortfield', 'aZ09comma');
$sortorder = GETPOST('sortorder', 'aZ09comma');
$page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int');
if (empty($page) || $page == -1) {
$page = 0;
@@ -453,7 +453,7 @@ if ($id) {
if ($valuetoshow != '') {
print '<td class="'.$class.'">';
if (!empty($tabhelp[$id][$value]) && preg_match('/^http(s*):/i', $tabhelp[$id][$value])) {
print '<a href="'.$tabhelp[$id][$value].'" target="_blank">'.$valuetoshow.' '.img_help(1, $valuetoshow).'</a>';
print '<a href="'.$tabhelp[$id][$value].'">'.$valuetoshow.' '.img_help(1, $valuetoshow).'</a>';
} elseif (!empty($tabhelp[$id][$value])) {
print $form->textwithpicto($valuetoshow, $tabhelp[$id][$value]);
} else {
@@ -494,7 +494,7 @@ if ($id) {
}
print '<td colspan="4" class="right">';
print '<input type="submit" class="button" name="actionadd" value="'.$langs->trans("Add").'">';
print '<input type="submit" class="button button-add" name="actionadd" value="'.$langs->trans("Add").'">';
print '</td>';
print "</tr>";
@@ -512,7 +512,7 @@ if ($id) {
$param = '&id='.$id;
if ($search_country_id > 0) {
$param .= '&search_country_id='.$search_country_id;
$param .= '&search_country_id='.urlencode($search_country_id);
}
$paramwithsearch = $param;
if ($sortorder) {
@@ -606,13 +606,13 @@ if ($id) {
print '<td class="center" colspan="4">';
print '<input type="hidden" name="page" value="'.$page.'">';
print '<input type="hidden" name="rowid" value="'.$rowid.'">';
print '<input type="submit" class="button" name="actionmodify" value="'.$langs->trans("Modify").'">';
print '<input type="submit" class="button button-edit" name="actionmodify" value="'.$langs->trans("Modify").'">';
print '<input type="submit" class="button button-cancel" name="actioncancel" value="'.$langs->trans("Cancel").'">';
print '<div name="'.(!empty($obj->rowid) ? $obj->rowid : $obj->code).'"></div>';
print '</td>';
} else {
$tmpaction = 'view';
$parameters = array('var'=>$var, 'fieldlist'=>$fieldlist, 'tabname'=>$tabname[$id]);
$parameters = array('fieldlist'=>$fieldlist, 'tabname'=>$tabname[$id]);
$reshook = $hookmanager->executeHooks('viewDictionaryFieldlist', $parameters, $obj, $tmpaction); // Note that $action and $object may have been modified by some hooks
$error = $hookmanager->error; $errors = $hookmanager->errors;

View File

@@ -4,6 +4,7 @@
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2015 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2021 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -41,15 +42,18 @@ $langs->loadLangs(array("companies", "compta", "accountancy", "products"));
if (empty($conf->accounting->enabled)) {
accessforbidden();
}
if (!$user->rights->accounting->bind->write) {
if (empty($user->rights->accounting->bind->write)) {
accessforbidden();
}
// search & action GETPOST
$action = GETPOST('action', 'aZ09');
$massaction = GETPOST('massaction', 'alpha');
$codeventil_buy = GETPOST('codeventil_buy', 'array');
$codeventil_sell = GETPOST('codeventil_sell', 'array');
$chk_prod = GETPOST('chk_prod', 'array');
$default_account = GETPOST('default_account', 'int');
$confirm = GETPOST('confirm', 'alpha');
$account_number_buy = GETPOST('account_number_buy');
$account_number_sell = GETPOST('account_number_sell');
$changeaccount = GETPOST('changeaccount', 'array');
@@ -68,16 +72,16 @@ $search_onsell = GETPOST('search_onsell', 'alpha');
$search_onpurchase = GETPOST('search_onpurchase', 'alpha');
$accounting_product_mode = GETPOST('accounting_product_mode', 'alpha');
$btn_changeaccount = GETPOST('changeaccount', 'alpha');
$btn_changetype = GETPOST('changetype', 'alpha');
$optioncss = GETPOST('optioncss', 'alpha');
if (empty($accounting_product_mode)) {
$accounting_product_mode = 'ACCOUNTANCY_SELL';
}
$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (empty($conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION) ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION);
$sortfield = GETPOST("sortfield", 'alpha');
$sortorder = GETPOST("sortorder", 'alpha');
$sortfield = GETPOST('sortfield', 'aZ09comma');
$sortorder = GETPOST('sortorder', 'aZ09comma');
$page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int');
if (empty($page) || $page == -1) {
$page = 0;
@@ -164,7 +168,7 @@ if ($action == 'update') {
}
}
if (!empty($btn_changeaccount)) {
if (!empty($chk_prod) && $massaction === 'changeaccount') {
//$msg = '<div><span class="accountingprocessing">' . $langs->trans("Processing") . '...</span></div>';
if (!empty($chk_prod) && in_array($accounting_product_mode, $accounting_product_modes)) {
$accounting = new AccountingAccount($db);
@@ -186,19 +190,38 @@ if ($action == 'update') {
$msg .= '<div><span style="color:red">'.$langs->trans("ErrorDB").' : '.$langs->trans("Product").' '.$productid.' '.$langs->trans("NotVentilatedinAccount").' : id='.$accounting_account_id.'<br> <pre>'.$sql.'</pre></span></div>';
$ko++;
} else {
$db->begin();
$sql = '';
if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) {
$sql = "INSERT INTO ".MAIN_DB_PREFIX."product_perentity (fk_product, entity, '".$db->escape($accountancy_field_name)."')";
$sql .= " VALUES (".((int) $productid).", ".((int) $conf->entity).", '".$db->escape($accounting->account_number)."')";
$sql .= " ON DUPLICATE KEY UPDATE ".$accountancy_field_name." = '".$db->escape($accounting->account_number)."'";
$sql_exists = "SELECT rowid FROM " . MAIN_DB_PREFIX . "product_perentity";
$sql_exists .= " WHERE fk_product = " . ((int) $productid) . " AND entity = " . ((int) $conf->entity);
$resql_exists = $db->query($sql_exists);
if (!$resql_exists) {
$msg .= '<div><span style="color:red">'.$langs->trans("ErrorDB").' : '.$langs->trans("Product").' '.$productid.' '.$langs->trans("NotVentilatedinAccount").' : id='.$accounting_account_id.'<br> <pre>'.$resql_exists.'</pre></span></div>';
$ko++;
} else {
$nb_exists = $db->num_rows($resql_exists);
if ($nb_exists <= 0) {
// insert
$sql = "INSERT INTO " . MAIN_DB_PREFIX . "product_perentity (fk_product, entity, " . $db->escape($accountancy_field_name) . ")";
$sql .= " VALUES (" . ((int) $productid) . ", " . ((int) $conf->entity) . ", '" . $db->escape($accounting->account_number) . "')";
} else {
$obj_exists = $db->fetch_object($resql_exists);
// update
$sql = "UPDATE " . MAIN_DB_PREFIX . "product_perentity";
$sql .= " SET " . $accountancy_field_name . " = '" . $db->escape($accounting->account_number) . "'";
$sql .= " WHERE rowid = " . ((int) $obj_exists->rowid);
}
}
} else {
$sql = " UPDATE ".MAIN_DB_PREFIX."product";
$sql .= " SET ".$accountancy_field_name." = '".$db->escape($accounting->account_number)."'";
$sql .= " WHERE rowid = ".((int) $productid);
}
dol_syslog("/accountancy/admin/productaccount.php sql=".$sql, LOG_DEBUG);
dol_syslog("/accountancy/admin/productaccount.php", LOG_DEBUG);
$db->begin();
if ($db->query($sql)) {
$ok++;
$db->commit();
@@ -234,35 +257,35 @@ $form = new FormAccounting($db);
// so we need to get those the rowid of those default value first
$accounting = new AccountingAccount($db);
// TODO: we should need to check if result is already exists accountaccount rowid.....
$aarowid_servbuy = $accounting->fetch('', $conf->global->ACCOUNTING_SERVICE_BUY_ACCOUNT, 1);
$aarowid_servbuy_intra = $accounting->fetch('', $conf->global->ACCOUNTING_SERVICE_BUY_INTRA_ACCOUNT, 1);
$aarowid_servbuy_export = $accounting->fetch('', $conf->global->ACCOUNTING_SERVICE_BUY_EXPORT_ACCOUNT, 1);
$aarowid_prodbuy = $accounting->fetch('', $conf->global->ACCOUNTING_PRODUCT_BUY_ACCOUNT, 1);
$aarowid_prodbuy_intra = $accounting->fetch('', $conf->global->ACCOUNTING_PRODUCT_BUY_INTRA_ACCOUNT, 1);
$aarowid_prodbuy_export = $accounting->fetch('', $conf->global->ACCOUNTING_PRODUCT_BUY_EXPORT_ACCOUNT, 1);
$aarowid_servsell = $accounting->fetch('', $conf->global->ACCOUNTING_SERVICE_SOLD_ACCOUNT, 1);
$aarowid_servsell_intra = $accounting->fetch('', $conf->global->ACCOUNTING_SERVICE_SOLD_INTRA_ACCOUNT, 1);
$aarowid_servsell_export = $accounting->fetch('', $conf->global->ACCOUNTING_SERVICE_SOLD_EXPORT_ACCOUNT, 1);
$aarowid_prodsell = $accounting->fetch('', $conf->global->ACCOUNTING_PRODUCT_SOLD_ACCOUNT, 1);
$aarowid_prodsell_intra = $accounting->fetch('', $conf->global->ACCOUNTING_PRODUCT_SOLD_INTRA_ACCOUNT, 1);
$aarowid_prodsell_export = $accounting->fetch('', $conf->global->ACCOUNTING_PRODUCT_SOLD_EXPORT_ACCOUNT, 1);
$aarowid_servbuy = $accounting->fetch('', getDolGlobalString('ACCOUNTING_SERVICE_BUY_ACCOUNT'), 1);
$aarowid_servbuy_intra = $accounting->fetch('', getDolGlobalString('ACCOUNTING_SERVICE_BUY_INTRA_ACCOUNT'), 1);
$aarowid_servbuy_export = $accounting->fetch('', getDolGlobalString('ACCOUNTING_SERVICE_BUY_EXPORT_ACCOUNT'), 1);
$aarowid_prodbuy = $accounting->fetch('', getDolGlobalString('ACCOUNTING_PRODUCT_BUY_ACCOUNT'), 1);
$aarowid_prodbuy_intra = $accounting->fetch('', getDolGlobalString('ACCOUNTING_PRODUCT_BUY_INTRA_ACCOUNT'), 1);
$aarowid_prodbuy_export = $accounting->fetch('', getDolGlobalString('ACCOUNTING_PRODUCT_BUY_EXPORT_ACCOUNT'), 1);
$aarowid_servsell = $accounting->fetch('', getDolGlobalString('ACCOUNTING_SERVICE_SOLD_ACCOUNT'), 1);
$aarowid_servsell_intra = $accounting->fetch('', getDolGlobalString('ACCOUNTING_SERVICE_SOLD_INTRA_ACCOUNT'), 1);
$aarowid_servsell_export = $accounting->fetch('', getDolGlobalString('ACCOUNTING_SERVICE_SOLD_EXPORT_ACCOUNT'), 1);
$aarowid_prodsell = $accounting->fetch('', getDolGlobalString('ACCOUNTING_PRODUCT_SOLD_ACCOUNT'), 1);
$aarowid_prodsell_intra = $accounting->fetch('', getDolGlobalString('ACCOUNTING_PRODUCT_SOLD_INTRA_ACCOUNT'), 1);
$aarowid_prodsell_export = $accounting->fetch('', getDolGlobalString('ACCOUNTING_PRODUCT_SOLD_EXPORT_ACCOUNT'), 1);
$aacompta_servbuy = (!empty($conf->global->ACCOUNTING_SERVICE_BUY_ACCOUNT) ? $conf->global->ACCOUNTING_SERVICE_BUY_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_servbuy_intra = (!empty($conf->global->ACCOUNTING_SERVICE_BUY_INTRA_ACCOUNT) ? $conf->global->ACCOUNTING_SERVICE_BUY_INTRA_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_servbuy_export = (!empty($conf->global->ACCOUNTING_SERVICE_BUY_EXPORT_ACCOUNT) ? $conf->global->ACCOUNTING_SERVICE_BUY_EXPORT_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_prodbuy = (!empty($conf->global->ACCOUNTING_PRODUCT_BUY_ACCOUNT) ? $conf->global->ACCOUNTING_PRODUCT_BUY_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_prodbuy_intra = (!empty($conf->global->ACCOUNTING_PRODUCT_BUY_INTRA_ACCOUNT) ? $conf->global->ACCOUNTING_PRODUCT_BUY_INTRA_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_prodbuy_export = (!empty($conf->global->ACCOUNTING_PRODUCT_BUY_EXPORT_ACCOUNT) ? $conf->global->ACCOUNTING_PRODUCT_BUY_EXPORT_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_servsell = (!empty($conf->global->ACCOUNTING_SERVICE_SOLD_ACCOUNT) ? $conf->global->ACCOUNTING_SERVICE_SOLD_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_servsell_intra = (!empty($conf->global->ACCOUNTING_SERVICE_SOLD_INTRA_ACCOUNT) ? $conf->global->ACCOUNTING_SERVICE_SOLD_INTRA_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_servsell_export = (!empty($conf->global->ACCOUNTING_SERVICE_SOLD_EXPORT_ACCOUNT) ? $conf->global->ACCOUNTING_SERVICE_SOLD_EXPORT_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_prodsell = (!empty($conf->global->ACCOUNTING_PRODUCT_SOLD_ACCOUNT) ? $conf->global->ACCOUNTING_PRODUCT_SOLD_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_prodsell_intra = (!empty($conf->global->ACCOUNTING_PRODUCT_SOLD_INTRA_ACCOUNT) ? $conf->global->ACCOUNTING_PRODUCT_SOLD_INTRA_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_prodsell_export = (!empty($conf->global->ACCOUNTING_PRODUCT_SOLD_EXPORT_ACCOUNT) ? $conf->global->ACCOUNTING_PRODUCT_SOLD_EXPORT_ACCOUNT : $langs->trans("CodeNotDef"));
$aacompta_servbuy = getDolGlobalString('ACCOUNTING_SERVICE_BUY_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_servbuy_intra = getDolGlobalString('ACCOUNTING_SERVICE_BUY_INTRA_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_servbuy_export = getDolGlobalString('ACCOUNTING_SERVICE_BUY_EXPORT_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_prodbuy = getDolGlobalString('ACCOUNTING_PRODUCT_BUY_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_prodbuy_intra = getDolGlobalString('ACCOUNTING_PRODUCT_BUY_INTRA_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_prodbuy_export = getDolGlobalString('ACCOUNTING_PRODUCT_BUY_EXPORT_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_servsell = getDolGlobalString('ACCOUNTING_SERVICE_SOLD_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_servsell_intra = getDolGlobalString('ACCOUNTING_SERVICE_SOLD_INTRA_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_servsell_export = getDolGlobalString('ACCOUNTING_SERVICE_SOLD_EXPORT_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_prodsell = getDolGlobalString('ACCOUNTING_PRODUCT_SOLD_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_prodsell_intra = getDolGlobalString('ACCOUNTING_PRODUCT_SOLD_INTRA_ACCOUNT', $langs->trans("CodeNotDef"));
$aacompta_prodsell_export = getDolGlobalString('ACCOUNTING_PRODUCT_SOLD_EXPORT_ACCOUNT', $langs->trans("CodeNotDef"));
llxHeader('', $langs->trans("ProductsBinding"));
$pcgverid = $conf->global->CHARTOFACCOUNTS;
$pcgverid = getDolGlobalString('CHARTOFACCOUNTS');
$pcgvercode = dol_getIdFromCode($db, $pcgverid, 'accounting_system', 'rowid', 'pcg_version');
if (empty($pcgvercode)) {
$pcgvercode = $pcgverid;
@@ -329,7 +352,7 @@ if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST)) {
$sql .= $db->plimit($limit + 1, $offset);
dol_syslog("/accountancy/admin/productaccount.php:: sql=".$sql, LOG_DEBUG);
dol_syslog("/accountancy/admin/productaccount.php", LOG_DEBUG);
$result = $db->query($sql);
if ($result) {
$num = $db->num_rows($result);
@@ -416,11 +439,27 @@ if ($result) {
$varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage;
$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
if ($massaction !== 'set_default_account') {
$arrayofmassactions = array(
'changeaccount'=>img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("Save")
,'set_default_account'=>img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("ConfirmPreselectAccount")
);
$massactionbutton = $form->selectMassAction('', $arrayofmassactions, 1);
}
$buttonsave = '<input type="submit" class="button button-save" id="changeaccount" name="changeaccount" value="'.$langs->trans("Save").'">';
//print '<br><div class="center">'.$buttonsave.'</div>';
$texte = $langs->trans("ListOfProductsServices");
print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $buttonsave, $num, $nbtotalofrecords, '', 0, '', '', $limit, 0, 0, 1);
print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, '', 0, '', '', $limit, 0, 0, 1);
if ($massaction == 'set_default_account') {
$formquestion[]=array('type' => 'other',
'name' => 'set_default_account',
'label' => $langs->trans("AccountancyCode"),
'value' => $form->select_account('', 'default_account', 1, array(), 0, 0, 'maxwidth200 maxwidthonsmartphone', 'cachewithshowemptyone'));
print $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans("ConfirmPreselectAccount"), $langs->trans("ConfirmPreselectAccountQuestion", count($chk_prod)), "confirm_set_default_account", $formquestion, 1, 0, 200, 500, 1);
}
print '<div class="div-table-responsive">';
print '<table class="liste '.($moreforfilter ? "listwithfilterbefore" : "").'">';
@@ -625,7 +664,7 @@ if ($result) {
if (!empty($obj->aaid)) {
$defaultvalue = ''; // Do not suggest default new value is code is already valid
}
print $form->select_account($defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print $form->select_account(($default_account > 0 && $confirm === 'yes' && in_array($product_static->id, $chk_prod)) ? $default_account : $defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print '</td>';
} elseif ($accounting_product_mode == 'ACCOUNTANCY_BUY_INTRA') {
// Accounting account buy intra (In EEC)
@@ -639,7 +678,7 @@ if ($result) {
if (!empty($obj->aaid)) {
$defaultvalue = ''; // Do not suggest default new value is code is already valid
}
print $form->select_account($defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print $form->select_account(($default_account > 0 && $confirm === 'yes' && in_array($product_static->id, $chk_prod)) ? $default_account : $defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print '</td>';
} elseif ($accounting_product_mode == 'ACCOUNTANCY_BUY_EXPORT') {
// Accounting account buy export (Out of EEC)
@@ -653,7 +692,7 @@ if ($result) {
if (!empty($obj->aaid)) {
$defaultvalue = ''; // Do not suggest default new value is code is already valid
}
print $form->select_account($defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print $form->select_account(($default_account > 0 && $confirm === 'yes' && in_array($product_static->id, $chk_prod)) ? $default_account : $defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print '</td>';
} elseif ($accounting_product_mode == 'ACCOUNTANCY_SELL') {
// Accounting account sell
@@ -667,7 +706,7 @@ if ($result) {
if (!empty($obj->aaid)) {
$defaultvalue = ''; // Do not suggest default new value is code is already valid
}
print $form->select_account($defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print $form->select_account(($default_account > 0 && $confirm === 'yes' && in_array($product_static->id, $chk_prod)) ? $default_account : $defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print '</td>';
} elseif ($accounting_product_mode == 'ACCOUNTANCY_SELL_INTRA') {
// Accounting account sell intra (In EEC)
@@ -681,7 +720,7 @@ if ($result) {
if (!empty($obj->aaid)) {
$defaultvalue = ''; // Do not suggest default new value is code is already valid
}
print $form->select_account($defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print $form->select_account(($default_account > 0 && $confirm === 'yes' && in_array($product_static->id, $chk_prod)) ? $default_account : $defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print '</td>';
} else {
// Accounting account sell export (Out of EEC)
@@ -694,20 +733,27 @@ if ($result) {
if (!empty($obj->aaid)) {
$defaultvalue = ''; // Do not suggest default new value is code is already valid
}
print $form->select_account($defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print $form->select_account(($default_account > 0 && $confirm === 'yes' && in_array($product_static->id, $chk_prod)) ? $default_account : $defaultvalue, 'codeventil_'.$product_static->id, 1, array(), 1, 0, 'maxwidth300 maxwidthonsmartphone productforselect');
print '</td>';
}
if (!empty($chk_prod)) {
$ischecked = 0;
if (in_array($product_static->id, $chk_prod)) {
$ischecked=true;
}
}
// Checkbox select
print '<td class="center">';
print '<input type="checkbox" class="checkforselect productforselectcodeventil_'.$product_static->id.'" name="chk_prod[]" value="'.$obj->rowid.'"/></td>';
print '<input type="checkbox" class="checkforselect productforselectcodeventil_'.$product_static->id.'" name="chk_prod[]" '.($ischecked ? "checked" : "").' value="'.$obj->rowid.'"/></td>';
print "</tr>";
$i++;
}
print '</table>';
print '</div>';
print '<script type="text/javascript" language="javascript">
print '<script type="text/javascript">
jQuery(document).ready(function() {
function init_savebutton()
{

View File

@@ -36,6 +36,7 @@ $cancel = GETPOST('cancel', 'alpha');
$id = GETPOST('id', 'int');
$rowid = GETPOST('rowid', 'int');
$massaction = GETPOST('massaction', 'aZ09');
$optioncss = GETPOST('optioncss', 'alpha');
$contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'accountingsubaccountlist'; // To manage different context of search
$search_subaccount = GETPOST('search_subaccount', 'alpha');
@@ -46,7 +47,7 @@ $search_type = GETPOST('search_type', 'int');
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->chartofaccount) {
if (empty($user->rights->accounting->chartofaccount)) {
accessforbidden();
}
@@ -367,6 +368,7 @@ if ($resql) {
print "</tr>\n";
$totalarray = array();
$totalarray['nbfield'] = 0;
$i = 0;
while ($i < min($num, $limit)) {
$obj = $db->fetch_object($resql);
@@ -439,13 +441,13 @@ if ($resql) {
$e = '';
// Customer
if ($obj->type == 1) {
$e .= '<a class="editfielda" title="'.$langs->trans("Customer").'" href="'.DOL_URL_ROOT.'/societe/card.php?action=edit&socid='.$obj->rowid.'&backtopage='.urlencode($_SERVER["PHP_SELF"]).'">'.img_edit().'</a>';
$e .= '<a class="editfielda" title="'.$langs->trans("Customer").'" href="'.DOL_URL_ROOT.'/societe/card.php?action=edit&token='.newToken().'&socid='.$obj->rowid.'&backtopage='.urlencode($_SERVER["PHP_SELF"]).'">'.img_edit().'</a>';
} elseif ($obj->type == 2) {
// Supplier
$e .= '<a class="editfielda" title="'.$langs->trans("Supplier").'" href="'.DOL_URL_ROOT.'/societe/card.php?action=edit&socid='.$obj->rowid.'&backtopage='.urlencode($_SERVER["PHP_SELF"]).'">'.img_edit().'</a>';
$e .= '<a class="editfielda" title="'.$langs->trans("Supplier").'" href="'.DOL_URL_ROOT.'/societe/card.php?action=edit&token='.newToken().'&socid='.$obj->rowid.'&backtopage='.urlencode($_SERVER["PHP_SELF"]).'">'.img_edit().'</a>';
} elseif ($obj->type == 3) {
// User
$e .= '<a class="editfielda" title="'.$langs->trans("Employee").'" href="'.DOL_URL_ROOT.'/user/card.php?action=edit&id='.$obj->rowid.'&backtopage='.urlencode($_SERVER["PHP_SELF"]).'">'.img_edit().'</a>';
$e .= '<a class="editfielda" title="'.$langs->trans("Employee").'" href="'.DOL_URL_ROOT.'/user/card.php?action=edit&token='.newToken().'&id='.$obj->rowid.'&backtopage='.urlencode($_SERVER["PHP_SELF"]).'">'.img_edit().'</a>';
}
print $e;
print '</td>'."\n";

View File

@@ -40,6 +40,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
$langs->loadLangs(array("accountancy", "compta"));
$action = GETPOST('action', 'aZ09');
$contextpage = GETPOST('contextpage', 'aZ09');
// Load variable for pagination
$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit;
@@ -120,19 +121,19 @@ if ($limit > 0 && $limit != $conf->liste_limit) {
$filter = array();
if (!empty($search_date_start)) {
$filter['t.doc_date>='] = $search_date_start;
$param .= '&amp;date_startmonth='.GETPOST('date_startmonth', 'int').'&amp;date_startday='.GETPOST('date_startday', 'int').'&amp;date_startyear='.GETPOST('date_startyear', 'int');
$param .= '&date_startmonth='.GETPOST('date_startmonth', 'int').'&date_startday='.GETPOST('date_startday', 'int').'&date_startyear='.GETPOST('date_startyear', 'int');
}
if (!empty($search_date_end)) {
$filter['t.doc_date<='] = $search_date_end;
$param .= '&amp;date_endmonth='.GETPOST('date_endmonth', 'int').'&amp;date_endday='.GETPOST('date_endday', 'int').'&amp;date_endyear='.GETPOST('date_endyear', 'int');
$param .= '&date_endmonth='.GETPOST('date_endmonth', 'int').'&date_endday='.GETPOST('date_endday', 'int').'&date_endyear='.GETPOST('date_endyear', 'int');
}
if (!empty($search_accountancy_code_start)) {
$filter['t.numero_compte>='] = $search_accountancy_code_start;
$param .= '&amp;search_accountancy_code_start='.$search_accountancy_code_start;
$param .= '&search_accountancy_code_start='.urlencode($search_accountancy_code_start);
}
if (!empty($search_accountancy_code_end)) {
$filter['t.numero_compte<='] = $search_accountancy_code_end;
$param .= '&amp;search_accountancy_code_end='.$search_accountancy_code_end;
$param .= '&search_accountancy_code_end='.urlencode($search_accountancy_code_end);
}
if (!empty($search_ledger_code)) {
$filter['t.code_journal'] = $search_ledger_code;
@@ -240,7 +241,7 @@ if ($action != 'export_csv') {
if (empty($reshook)) {
$button = '<input type="button" id="exportcsvbutton" name="exportcsvbutton" class="butAction" value="'.$langs->trans("Export").' ('.$conf->global->ACCOUNTING_EXPORT_FORMAT.')" />';
print '<script type="text/javascript" language="javascript">
print '<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#exportcsvbutton").click(function() {
event.preventDefault();
@@ -416,7 +417,7 @@ if ($action != 'export_csv') {
// Show first line of a break
print '<tr class="trforbreak">';
print '<td colspan="'.($colspan+1).'" style="font-weight:bold; border-bottom: 1pt solid black;">'.$line->numero_compte.($root_account_description ? ' - '.$root_account_description : '').'</td>';
print '<td colspan="'.($colspan+1).'" class="tdforbreak">'.$line->numero_compte.($root_account_description ? ' - '.$root_account_description : '').'</td>';
print '</tr>';
$displayed_account = $root_account_number;
@@ -429,7 +430,7 @@ if ($action != 'export_csv') {
print '<tr class="oddeven">';
print '<td>'.$accounting_account.'</td>';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '<td class="right nowraponall amount">'.price($opening_balance).'</td>';
print '<td class="right nowraponall amount">'.price(price2num($opening_balance, 'MT')).'</td>';
}
$urlzoom = '';
@@ -443,9 +444,9 @@ if ($action != 'export_csv') {
}
}
// Debit
print '<td class="right nowraponall amount"><a href="'.$urlzoom.'">'.price($line->debit).'</a></td>';
print '<td class="right nowraponall amount"><a href="'.$urlzoom.'">'.price(price2num($line->debit, 'MT')).'</a></td>';
// Credit
print '<td class="right nowraponall amount"><a href="'.$urlzoom.'">'.price($line->credit).'</a></td>';
print '<td class="right nowraponall amount"><a href="'.$urlzoom.'">'.price(price2num($line->credit, 'MT')).'</a></td>';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '<td class="right nowraponall amount">'.price(price2num($opening_balance + $line->debit - $line->credit, 'MT')).'</td>';
@@ -466,10 +467,10 @@ if ($action != 'export_csv') {
if (!empty($show_subgroup)) {
print '<tr class="liste_total"><td class="right">'.$langs->trans("SubTotal").':</td>';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '<td class="right nowraponall amount">'.price($sous_total_opening_balance).'</td>';
print '<td class="right nowraponall amount">'.price(price2num($sous_total_opening_balance, 'MT')).'</td>';
}
print '<td class="right nowraponall amount">'.price($sous_total_debit).'</td>';
print '<td class="right nowraponall amount">'.price($sous_total_credit).'</td>';
print '<td class="right nowraponall amount">'.price(price2num($sous_total_debit, 'MT')).'</td>';
print '<td class="right nowraponall amount">'.price(price2num($sous_total_credit, 'MT')).'</td>';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '<td class="right nowraponall amount">' . price(price2num($sous_total_opening_balance + $sous_total_debit - $sous_total_credit, 'MT')) . '</td>';
} else {
@@ -481,10 +482,10 @@ if ($action != 'export_csv') {
print '<tr class="liste_total"><td class="right">'.$langs->trans("AccountBalance").':</td>';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '<td class="nowrap right">'.price($total_opening_balance).'</td>';
print '<td class="nowrap right">'.price(price2num($total_opening_balance, 'MT')).'</td>';
}
print '<td class="right nowraponall amount">'.price($total_debit).'</td>';
print '<td class="right nowraponall amount">'.price($total_credit).'</td>';
print '<td class="right nowraponall amount">'.price(price2num($total_debit, 'MT')).'</td>';
print '<td class="right nowraponall amount">'.price(price2num($total_credit, 'MT')).'</td>';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '<td class="right nowraponall amount">' . price(price2num($total_opening_balance + $total_debit - $total_credit, 'MT')) . '</td>';
} else {

View File

@@ -38,6 +38,8 @@ require_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountingaccount.class.php';
$langs->loadLangs(array("accountancy", "bills", "compta"));
$action = GETPOST('action', 'aZ09');
$cancel = GETPOST('cancel', 'aZ09');
$optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print')
$id = GETPOST('id', 'int'); // id of record
@@ -92,6 +94,11 @@ if (empty($user->rights->accounting->mouvements->lire)) {
* Actions
*/
if ($cancel) {
header("Location: ".DOL_URL_ROOT.'/accountancy/bookkeeping/list.php');
exit;
}
if ($action == "confirm_update") {
$error = 0;
@@ -389,11 +396,7 @@ if ($action == 'create') {
print dol_get_fiche_end();
print '<div class="center">';
print '<input type="submit" class="button" value="'.$langs->trans("Create").'">';
print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
print '<input type="button" value="'.$langs->trans("Cancel").'" class="button button-cancel" onclick="history.go(-1)" />';
print '</div>';
print $form->buttonsSaveCancel("Create");
print '</form>';
} else {
@@ -437,7 +440,7 @@ if ($action == 'create') {
print $langs->trans('Docdate');
print '</td>';
if ($action != 'editdate') {
print '<td class="right"><a class="editfielda reposition" href="'.$_SERVER["PHP_SELF"].'?action=editdate&amp;piece_num='.$object->piece_num.'&amp;mode='.$mode.'">'.img_edit($langs->transnoentitiesnoconv('SetDate'), 1).'</a></td>';
print '<td class="right"><a class="editfielda reposition" href="'.$_SERVER["PHP_SELF"].'?action=editdate&token='.newToken().'&piece_num='.urlencode($object->piece_num).'&mode='.urlencode($mode).'">'.img_edit($langs->transnoentitiesnoconv('SetDate'), 1).'</a></td>';
}
print '</tr></table>';
print '</td><td colspan="3">';
@@ -450,7 +453,7 @@ if ($action == 'create') {
print '<input type="hidden" name="action" value="setdate">';
print '<input type="hidden" name="mode" value="'.$mode.'">';
print $form->selectDate($object->doc_date ? $object->doc_date : - 1, 'doc_date', '', '', '', "setdate");
print '<input type="submit" class="button" value="'.$langs->trans('Modify').'">';
print '<input type="submit" class="button button-edit" value="'.$langs->trans('Modify').'">';
print '</form>';
} else {
print $object->doc_date ? dol_print_date($object->doc_date, 'day') : '&nbsp;';
@@ -464,7 +467,7 @@ if ($action == 'create') {
print $langs->trans('Codejournal');
print '</td>';
if ($action != 'editjournal') {
print '<td class="right"><a class="editfielda reposition" href="'.$_SERVER["PHP_SELF"].'?action=editjournal&amp;piece_num='.$object->piece_num.'&amp;mode='.$mode.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).'</a></td>';
print '<td class="right"><a class="editfielda reposition" href="'.$_SERVER["PHP_SELF"].'?action=editjournal&token='.newToken().'&piece_num='.urlencode($object->piece_num).'&mode='.urlencode($mode).'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).'</a></td>';
}
print '</tr></table>';
print '</td><td>';
@@ -477,7 +480,7 @@ if ($action == 'create') {
print '<input type="hidden" name="action" value="setjournal">';
print '<input type="hidden" name="mode" value="'.$mode.'">';
print $formaccounting->select_journal($object->code_journal, 'code_journal', 0, 0, array(), 1, 1);
print '<input type="submit" class="button" value="'.$langs->trans('Modify').'">';
print '<input type="submit" class="button button-edit" value="'.$langs->trans('Modify').'">';
print '</form>';
} else {
print $object->code_journal;
@@ -491,7 +494,7 @@ if ($action == 'create') {
print $langs->trans('Piece');
print '</td>';
if ($action != 'editdocref') {
print '<td class="right"><a class="editfielda reposition" href="'.$_SERVER["PHP_SELF"].'?action=editdocref&amp;piece_num='.$object->piece_num.'&amp;mode='.$mode.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).'</a></td>';
print '<td class="right"><a class="editfielda reposition" href="'.$_SERVER["PHP_SELF"].'?action=editdocref&token='.newToken().'&piece_num='.urlencode($object->piece_num).'&mode='.urlencode($mode).'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).'</a></td>';
}
print '</tr></table>';
print '</td><td>';
@@ -504,7 +507,7 @@ if ($action == 'create') {
print '<input type="hidden" name="action" value="setdocref">';
print '<input type="hidden" name="mode" value="'.$mode.'">';
print '<input type="text" size="20" name="doc_ref" value="'.dol_escape_htmltag($object->doc_ref).'">';
print '<input type="submit" class="button" value="'.$langs->trans('Modify').'">';
print '<input type="submit" class="button button-edit" value="'.$langs->trans('Modify').'">';
print '</form>';
} else {
print $object->doc_ref;
@@ -516,10 +519,10 @@ if ($action == 'create') {
print '</div>';
print '<div class="fichehalfright"><div class="ficheaddleft">';
print '<div class="fichehalfright">';
print '<div class="underbanner clearboth"></div>';
print '<table class="border tableforfield" width="100%">';
print '<table class="border tableforfield centpercent">';
// Doc type
if (!empty($object->doc_type)) {
@@ -595,7 +598,7 @@ if ($action == 'create') {
*/
print "</table>\n";
print '</div></div><!-ee-->';
print '</div>';
print dol_get_fiche_end();
@@ -622,9 +625,10 @@ if ($action == 'create') {
print '<input type="hidden" name="fk_docdet" value="'.$object->fk_docdet.'">'."\n";
print '<input type="hidden" name="mode" value="'.$mode.'">'."\n";
print '<table class="noborder centpercent">';
if (count($object->linesmvt) > 0) {
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
$total_debit = 0;
$total_credit = 0;
@@ -674,8 +678,14 @@ if ($action == 'create') {
print '<input type="submit" class="button" name="update" value="'.$langs->trans("Update").'">';
print '</td>';
} else {
$accountingaccount->fetch(null, $line->numero_compte, true);
print '<td>'.$accountingaccount->getNomUrl(0, 1, 1, '', 0).'</td>';
$resultfetch = $accountingaccount->fetch(null, $line->numero_compte, true);
print '<td>';
if ($resultfetch > 0) {
print $accountingaccount->getNomUrl(0, 1, 1, '', 0);
} else {
print $line->numero_compte.' <span class="warning">('.$langs->trans("AccountRemovedFromCurrentChartOfAccount").')</span>';
}
print '</td>';
print '<td>'.length_accounta($line->subledger_account);
if ($line->subledger_label) {
print ' - <span class="opacitymedium">'.$line->subledger_label.'</span>';
@@ -685,11 +695,15 @@ if ($action == 'create') {
print '<td class="right nowraponall amount">'.price($line->debit).'</td>';
print '<td class="right nowraponall amount">'.price($line->credit).'</td>';
print '<td class="center">';
print '<td class="center nowraponall">';
if (empty($line->date_export) && empty($line->date_validation)) {
print '<a class="editfielda reposition" href="' . $_SERVER["PHP_SELF"] . '?action=update&id=' . $line->id . '&piece_num=' . urlencode($line->piece_num) . '&mode=' . urlencode($mode) . '&token=' . urlencode(newToken()) . '">';
print img_edit('', 0, 'class="marginrightonly"');
print '</a> &nbsp;';
} else {
print '<a class="editfielda nohover cursornotallowed reposition disabled" href="#" title="'.dol_escape_htmltag($langs->trans("ForbiddenTransactionAlreadyExported")).'">';
print img_edit($langs->trans("ForbiddenTransactionAlreadyExported"), 0, 'class="marginrightonly"');
print '</a> &nbsp;';
}
if (empty($line->date_validation)) {
@@ -700,9 +714,13 @@ if ($action == 'create') {
print '<a href="' . $_SERVER["PHP_SELF"] . '?action=' . $actiontodelete . '&id=' . $line->id . '&piece_num=' . urlencode($line->piece_num) . '&mode=' . urlencode($mode) . '&token=' . urlencode(newToken()) . '">';
print img_delete();
print '</a>';
} else {
print '<a class="editfielda nohover cursornotallowed disabled" href="#" title="'.dol_escape_htmltag($langs->trans("ForbiddenTransactionAlreadyExported")).'">';
print img_delete($langs->trans("ForbiddenTransactionAlreadyValidated"));
print '</a>';
}
print '</a>';
print '</td>';
}
print "</tr>\n";
@@ -737,12 +755,16 @@ if ($action == 'create') {
print '<td><input type="text" class="minwidth200" name="label_operation" value="' . $label_operation . '"/></td>';
print '<td class="right"><input type="text" size="6" class="right" name="debit" value=""/></td>';
print '<td class="right"><input type="text" size="6" class="right" name="credit" value=""/></td>';
print '<td><input type="submit" class="button" name="save" value="' . $langs->trans("Add") . '"></td>';
print '<td>';
print '<input type="submit" class="button" name="save" value="' . $langs->trans("Add") . '">';
print '</td>';
print '</tr>';
}
print '</table>';
}
print '</table>';
print '</div>';
if ($mode == '_tmp' && $action == '') {
print '<br>';
print '<div class="center">';
@@ -757,8 +779,9 @@ if ($action == 'create') {
print "</div>";
}
print '</form>';
}
print '</form>';
}
} else {
print load_fiche_titre($langs->trans("NoRecords"));

View File

@@ -24,6 +24,7 @@
* \ingroup Accountancy (Double entries)
* \brief List operation of book keeping
*/
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountancyexport.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
@@ -333,10 +334,6 @@ if (empty($reshook)) {
$filter['t.numero_compte<='] = $search_accountancy_code_end;
$param .= '&search_accountancy_code_end='.urlencode($search_accountancy_code_end);
}
if (!empty($search_accountancy_aux_code)) {
$filter['t.subledger_account'] = $search_accountancy_aux_code;
$param .= '&search_accountancy_aux_code='.urlencode($search_accountancy_aux_code);
}
if (!empty($search_accountancy_aux_code_start)) {
$filter['t.subledger_account>='] = $search_accountancy_aux_code_start;
$param .= '&search_accountancy_aux_code_start='.urlencode($search_accountancy_aux_code_start);
@@ -530,25 +527,25 @@ $sqlwhere = array();
if (count($filter) > 0) {
foreach ($filter as $key => $value) {
if ($key == 't.doc_date') {
$sqlwhere[] = $key.'=\''.$db->idate($value).'\'';
$sqlwhere[] = $key."='".$db->idate($value)."'";
} elseif ($key == 't.doc_date>=' || $key == 't.doc_date<=') {
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
} elseif ($key == 't.numero_compte>=' || $key == 't.numero_compte<=') {
$sqlwhere[] = $key.'\''.$db->escape($value).'\'';
$sqlwhere[] = $key."'".$db->idate($value)."'";
} elseif ($key == 't.numero_compte>=' || $key == 't.numero_compte<=' || $key == 't.subledger_account>=' || $key == 't.subledger_account<=') {
$sqlwhere[] = $key."'".$db->escape($value)."'";
} elseif ($key == 't.fk_doc' || $key == 't.fk_docdet' || $key == 't.piece_num') {
$sqlwhere[] = $key.'='.$value;
} elseif ($key == 't.numero_compte') {
$sqlwhere[] = $key.' LIKE \''.$db->escape($value).'%\'';
$sqlwhere[] = $key.'='.((int) $value);
} elseif ($key == 't.subledger_account' || $key == 't.numero_compte') {
$sqlwhere[] = $key." LIKE '".$db->escape($value)."%'";
} elseif ($key == 't.subledger_account') {
$sqlwhere[] = natural_search($key, $value, 0, 1);
} elseif ($key == 't.date_creation>=' || $key == 't.date_creation<=') {
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
$sqlwhere[] = $key."'".$db->idate($value)."'";
} elseif ($key == 't.tms>=' || $key == 't.tms<=') {
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
$sqlwhere[] = $key."'".$db->idate($value)."'";
} elseif ($key == 't.date_export>=' || $key == 't.date_export<=') {
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
$sqlwhere[] = $key."'".$db->idate($value)."'";
} elseif ($key == 't.date_validated>=' || $key == 't.date_validated<=') {
$sqlwhere[] = $key.'\''.$db->idate($value).'\'';
$sqlwhere[] = $key."'".$db->idate($value)."'";
} elseif ($key == 't.credit' || $key == 't.debit') {
$sqlwhere[] = natural_search($key, $value, 1, 1);
} elseif ($key == 't.reconciled_option') {
@@ -591,7 +588,7 @@ if ($action == 'export_fileconfirm' && $user->rights->accounting->mouvements->ex
if (!empty($accountancyexport->errors)) {
setEventMessages('', $accountancyexport->errors, 'errors');
} elseif (!$notifiedexportdate || !$notifiedvalidationdate) {
} elseif (!empty($notifiedexportdate) || !empty($notifiedvalidationdate)) {
// Specify as export : update field date_export or date_validated
$error = 0;
$db->begin();
@@ -602,17 +599,18 @@ if ($action == 'export_fileconfirm' && $user->rights->accounting->mouvements->ex
$sql = " UPDATE ".MAIN_DB_PREFIX."accounting_bookkeeping";
$sql .= " SET";
if (!$notifiedexportdate && !$notifiedvalidationdate) {
if (!empty($notifiedexportdate) && !empty($notifiedvalidationdate)) {
$sql .= " date_export = '".$db->idate($now)."'";
$sql .= ", date_validated = '".$db->idate($now)."'";
} elseif (!$notifiedexportdate) {
} elseif (!empty($notifiedexportdate)) {
$sql .= " date_export = '".$db->idate($now)."'";
} elseif (!$notifiedvalidationdate) {
} elseif (!empty($notifiedvalidationdate)) {
$sql .= " date_validated = '".$db->idate($now)."'";
}
$sql .= " WHERE rowid = ".((int) $movement->id);
dol_syslog("/accountancy/bookeeping/list.php Function export_file Specify movements as exported sql=".$sql, LOG_DEBUG);
dol_syslog("/accountancy/bookkeeping/list.php Function export_file Specify movements as exported", LOG_DEBUG);
$result = $db->query($sql);
if (!$result) {
$error++;
@@ -695,9 +693,11 @@ if ($action == 'export_file') {
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?'.$param, $langs->trans("ExportFilteredList").' ('.$listofformat[$formatexportset].')', $langs->trans('ConfirmExportFile'), 'export_fileconfirm', $form_question, '', 1, 300, 600);
}
if ($action == 'delmouv') {
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?mvt_num='.GETPOST('mvt_num').$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvtPartial'), 'delmouvconfirm', '', 0, 1);
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?mvt_num='.urlencode(GETPOST('mvt_num')).$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvtPartial'), 'delmouvconfirm', '', 0, 1);
}
if ($action == 'delbookkeepingyear') {
$form_question = array();
$delyear = GETPOST('delyear', 'int');
@@ -718,6 +718,7 @@ if ($action == 'delbookkeepingyear') {
'type' => 'select',
'label' => $langs->trans('DelMonth'),
'values' => $month_array,
'morecss' => 'minwidth150',
'default' => ''
);
$form_question['delyear'] = array(
@@ -735,7 +736,7 @@ if ($action == 'delbookkeepingyear') {
'default' => $deljournal
);
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?'.$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvt', $langs->transnoentitiesnoconv("RegistrationInAccounting")), 'delbookkeepingyearconfirm', $form_question, '', 1, 300);
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?'.$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvt', $langs->transnoentitiesnoconv("RegistrationInAccounting")), 'delbookkeepingyearconfirm', $form_question, '', 1, 320);
}
// Print form confirm
@@ -1250,7 +1251,7 @@ while ($i < min($num, $limit)) {
}
if (empty($line->date_validation)) {
if ($user->rights->accounting->mouvements->supprimer) {
print '<a class="reposition paddingleft marginrightonly" href="'.$_SERVER['PHP_SELF'].'?action=delmouv&mvt_num='.$line->piece_num.$param.'&page='.$page.($sortfield ? '&sortfield='.$sortfield : '').($sortorder ? '&sortorder='.$sortorder : '').'">'.img_delete().'</a>';
print '<a class="reposition paddingleft marginrightonly" href="'.$_SERVER['PHP_SELF'].'?action=delmouv&token='.newToken().'&mvt_num='.$line->piece_num.$param.'&page='.$page.($sortfield ? '&sortfield='.$sortfield : '').($sortorder ? '&sortorder='.$sortorder : '').'">'.img_delete().'</a>';
}
}
print '</td>';
@@ -1274,7 +1275,7 @@ print '</div>';
// TODO Replace this with mass delete action
if ($user->rights->accounting->mouvements->supprimer_tous) {
print '<div class="tabsAction tabsActionNoBottom">'."\n";
print '<a class="butActionDelete" name="button_delmvt" href="'.$_SERVER["PHP_SELF"].'?action=delbookkeepingyear'.($param ? '&'.$param : '').'">'.$langs->trans("DeleteMvt").'</a>';
print '<a class="butActionDelete" name="button_delmvt" href="'.$_SERVER["PHP_SELF"].'?action=delbookkeepingyear&token='.newToken().($param ? '&'.$param : '').'">'.$langs->trans("DeleteMvt").'</a>';
print '</div>';
}

View File

@@ -711,8 +711,8 @@ while ($i < min($num, $limit)) {
}
// Show the break account
print "<tr>";
print '<td colspan="'.($totalarray['nbfield'] ? $totalarray['nbfield'] : 10).'" style="font-weight:bold; border-bottom: 1pt solid black;">';
print '<tr class="trforbreak">';
print '<td colspan="'.($totalarray['nbfield'] ? $totalarray['nbfield'] : 10).'" class="tdforbreak">';
if ($line->numero_compte != "" && $line->numero_compte != '-1') {
print length_accountg($line->numero_compte).' : '.$object->get_compte_desc($line->numero_compte);
} else {
@@ -904,7 +904,7 @@ while ($i < min($num, $limit)) {
}
if (empty($line->date_validation)) {
if ($user->rights->accounting->mouvements->supprimer) {
print '<a class="reposition paddingleft marginrightonly" href="'.$_SERVER['PHP_SELF'].'?action=delmouv&mvt_num='.$line->piece_num.$param.'&page='.$page.($sortfield ? '&sortfield='.$sortfield : '').($sortorder ? '&sortorder='.$sortorder : '').'">'.img_delete().'</a>';
print '<a class="reposition paddingleft marginrightonly" href="'.$_SERVER['PHP_SELF'].'?action=delmouv&token='.newToken().'&mvt_num='.$line->piece_num.$param.'&page='.$page.($sortfield ? '&sortfield='.$sortfield : '').($sortorder ? '&sortorder='.$sortorder : '').'">'.img_delete().'</a>';
}
}
print '</td>';
@@ -957,7 +957,7 @@ print '</div>';
// TODO Replace this with mass delete action
if ($user->rights->accounting->mouvements->supprimer_tous) {
print '<div class="tabsAction tabsActionNoBottom">'."\n";
print '<a class="butActionDelete" name="button_delmvt" href="'.$_SERVER["PHP_SELF"].'?action=delbookkeepingyear'.($param ? '&'.$param : '').'">'.$langs->trans("DeleteMvt").'</a>';
print '<a class="butActionDelete" name="button_delmvt" href="'.$_SERVER["PHP_SELF"].'?action=delbookkeepingyear&token='.newToken().($param ? '&'.$param : '').'">'.$langs->trans("DeleteMvt").'</a>';
print '</div>';
}

View File

@@ -713,8 +713,8 @@ while ($i < min($num, $limit)) {
}
// Show the break account
print "<tr>";
print '<td colspan="'.($totalarray['nbfield'] ? $totalarray['nbfield'] : 10).'" style="font-weight:bold; border-bottom: 1pt solid black;">';
print '<tr class="trforbreak">';
print '<td colspan="'.($totalarray['nbfield'] ? $totalarray['nbfield'] : 10).'" class="tdforbreak">';
if ($line->subledger_account != "" && $line->subledger_account != '-1') {
print $line->subledger_label.' : '.length_accounta($line->subledger_account);
} else {
@@ -915,7 +915,7 @@ while ($i < min($num, $limit)) {
}
if (empty($line->date_validation)) {
if ($user->rights->accounting->mouvements->supprimer) {
print '<a class="reposition paddingleft marginrightonly" href="'.$_SERVER['PHP_SELF'].'?action=delmouv&mvt_num='.$line->piece_num.$param.'&page='.$page.($sortfield ? '&sortfield='.$sortfield : '').($sortorder ? '&sortorder='.$sortorder : '').'">'.img_delete().'</a>';
print '<a class="reposition paddingleft marginrightonly" href="'.$_SERVER['PHP_SELF'].'?action=delmouv&token='.newToken().'&mvt_num='.$line->piece_num.$param.'&page='.$page.($sortfield ? '&sortfield='.$sortfield : '').($sortorder ? '&sortorder='.$sortorder : '').'">'.img_delete().'</a>';
}
}
print '</td>';
@@ -968,7 +968,7 @@ print '</div>';
// TODO Replace this with mass delete action
if ($user->rights->accounting->mouvements->supprimer_tous) {
print '<div class="tabsAction tabsActionNoBottom">'."\n";
print '<a class="butActionDelete" name="button_delmvt" href="'.$_SERVER["PHP_SELF"].'?action=delbookkeepingyear'.($param ? '&'.$param : '').'">'.$langs->trans("DeleteMvt").'</a>';
print '<a class="butActionDelete" name="button_delmvt" href="'.$_SERVER["PHP_SELF"].'?action=delbookkeepingyear&token='.newToken().($param ? '&'.$param : '').'">'.$langs->trans("DeleteMvt").'</a>';
print '</div>';
}

View File

@@ -48,8 +48,8 @@ $socid = GETPOSTINT("socid");
// if ($user->socid) $socid=$user->socid;
$limit = GETPOSTISSET('limit') ? GETPOST('limit', 'int') : $conf->liste_limit;
$sortfield = GETPOST("sortfield", 'alpha');
$sortorder = GETPOST("sortorder", 'alpha');
$sortfield = GETPOST('sortfield', 'aZ09comma');
$sortorder = GETPOST('sortorder', 'aZ09comma');
$page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int');
if (empty($page) || $page == - 1) {
$page = 0;
@@ -157,7 +157,7 @@ $sql = "SELECT bk.rowid, bk.doc_date, bk.doc_type, bk.doc_ref, ";
$sql .= " bk.subledger_account, bk.numero_compte , bk.label_compte, bk.debit, ";
$sql .= " bk.credit, bk.montant, bk.sens, bk.code_journal, bk.piece_num, bk.lettering_code";
$sql .= " FROM ".MAIN_DB_PREFIX."accounting_bookkeeping as bk";
$sql .= " WHERE (bk.subledger_account = '".$db->escape($object->code_compta)."' AND bk.numero_compte = '".$db->escape($conf->global->ACCOUNTING_ACCOUNT_CUSTOMER)."' )";
$sql .= " WHERE (bk.subledger_account = '".$db->escape($object->code_compta)."' AND bk.numero_compte = '".$db->escape($conf->global->ACCOUNTING_ACCOUNT_CUSTOMER)."' )";
/*
if (dol_strlen($search_date_start) || dol_strlen($search_date_end)) {

View File

@@ -48,8 +48,8 @@ $socid = GETPOSTINT("socid");
$limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit;
$sortfield = GETPOST("sortfield", 'alpha');
$sortorder = GETPOST("sortorder", 'alpha');
$sortfield = GETPOST('sortfield', 'aZ09comma');
$sortorder = GETPOST('sortorder', 'aZ09comma');
$page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int');
if (empty($page) || $page == - 1) {
$page = 0;

View File

@@ -212,7 +212,7 @@ class AccountancyCategory // extends CommonObject
$sql .= " ".(!isset($this->position) ? 'NULL' : ((int) $this->position)).",";
$sql .= " ".(!isset($this->fk_country) ? 'NULL' : ((int) $this->fk_country)).",";
$sql .= " ".(!isset($this->active) ? 'NULL' : ((int) $this->active));
$sql .= ", ".$conf->entity;
$sql .= ", ".((int) $conf->entity);
$sql .= ")";
$this->db->begin();
@@ -433,7 +433,7 @@ class AccountancyCategory // extends CommonObject
$this->lines_display = array();
dol_syslog(__METHOD__." sql=".$sql, LOG_DEBUG);
dol_syslog(__METHOD__, LOG_DEBUG);
$resql = $this->db->query($sql);
if ($resql) {
$num = $this->db->num_rows($resql);
@@ -632,7 +632,7 @@ class AccountancyCategory // extends CommonObject
$sql .= " WHERE aa.rowid = ".((int) $cpt_id);
$this->db->begin();
dol_syslog(__METHOD__." sql=".$sql, LOG_DEBUG);
dol_syslog(__METHOD__, LOG_DEBUG);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;

View File

@@ -59,6 +59,8 @@ class AccountancyExport
public static $EXPORT_TYPE_LDCOMPTA10 = 120;
public static $EXPORT_TYPE_GESTIMUMV3 = 130;
public static $EXPORT_TYPE_GESTIMUMV5 = 135;
public static $EXPORT_TYPE_ISUITEEXPERT = 200;
// Generic FEC after that
public static $EXPORT_TYPE_FEC = 1000;
public static $EXPORT_TYPE_FEC2 = 1010;
@@ -85,11 +87,11 @@ class AccountancyExport
*
* @param DoliDb $db Database handler
*/
public function __construct(DoliDB &$db)
public function __construct(DoliDB $db)
{
global $conf;
$this->db = &$db;
$this->db = $db;
$this->separator = $conf->global->ACCOUNTING_EXPORT_SEPARATORCSV;
$this->end_line = empty($conf->global->ACCOUNTING_EXPORT_ENDLINE) ? "\n" : ($conf->global->ACCOUNTING_EXPORT_ENDLINE == 1 ? "\n" : "\r\n");
}
@@ -119,10 +121,11 @@ class AccountancyExport
self::$EXPORT_TYPE_CHARLEMAGNE => $langs->trans('Modelcsv_charlemagne'),
self::$EXPORT_TYPE_LDCOMPTA => $langs->trans('Modelcsv_LDCompta'),
self::$EXPORT_TYPE_LDCOMPTA10 => $langs->trans('Modelcsv_LDCompta10'),
self::$EXPORT_TYPE_GESTIMUMV3 => $langs->trans('Modelcsv_Gestinum_v3'),
self::$EXPORT_TYPE_GESTIMUMV5 => $langs->trans('Modelcsv_Gestinum_v5'),
self::$EXPORT_TYPE_GESTIMUMV3 => $langs->trans('Modelcsv_Gestinumv3'),
self::$EXPORT_TYPE_GESTIMUMV5 => $langs->trans('Modelcsv_Gestinumv5'),
self::$EXPORT_TYPE_FEC => $langs->trans('Modelcsv_FEC'),
self::$EXPORT_TYPE_FEC2 => $langs->trans('Modelcsv_FEC2'),
self::$EXPORT_TYPE_ISUITEEXPERT => 'Export iSuite Expert',
);
ksort($listofexporttypes, SORT_NUMERIC);
@@ -158,6 +161,7 @@ class AccountancyExport
self::$EXPORT_TYPE_GESTIMUMV5 => 'gestimumv5',
self::$EXPORT_TYPE_FEC => 'fec',
self::$EXPORT_TYPE_FEC2 => 'fec2',
self::$EXPORT_TYPE_ISUITEEXPERT => 'isuiteexpert',
);
return $formatcode[$type];
@@ -243,6 +247,10 @@ class AccountancyExport
'label' => $langs->trans('Modelcsv_FEC2'),
'ACCOUNTING_EXPORT_FORMAT' => 'txt',
),
self::$EXPORT_TYPE_ISUITEEXPERT => array(
'label' => 'iSuite Expert',
'ACCOUNTING_EXPORT_FORMAT' => 'csv',
),
),
'cr'=> array(
'1' => $langs->trans("Unix"),
@@ -334,6 +342,9 @@ class AccountancyExport
case self::$EXPORT_TYPE_FEC2:
$this->exportFEC2($TData);
break;
case self::$EXPORT_TYPE_ISUITEEXPERT :
$this->exportiSuiteExpert($TData);
break;
default:
$this->errors[] = $langs->trans('accountancy_error_modelnotfound');
break;
@@ -468,7 +479,7 @@ class AccountancyExport
/**
* Export format : CIEL (Format XIMPORT)
* Format since 2003 compatible CIEL version > 2002 / Sage50
* Last review for this format : 2021/07/28 Alexandre Spangaro (aspangaro@open-dsi.fr)
* Last review for this format : 2021-09-13 Alexandre Spangaro (aspangaro@open-dsi.fr)
*
* Help : https://sage50c.online-help.sage.fr/aide-technique/
* In sage software | Use menu : "Exchange" > "Importing entries..."
@@ -496,7 +507,7 @@ class AccountancyExport
$Tab = array();
$Tab['num_ecriture'] = str_pad($data->piece_num, 5);
$Tab['code_journal'] = str_pad($data->code_journal, 2);
$Tab['code_journal'] = str_pad(self::trunc($data->code_journal, 2), 2);
$Tab['date_ecriture'] = str_pad($date_document, 8, ' ', STR_PAD_LEFT);
$Tab['date_echeance'] = str_pad($date_echeance, 8, ' ', STR_PAD_LEFT);
$Tab['num_piece'] = str_pad(self::trunc($data->doc_ref, 12), 12);
@@ -504,9 +515,9 @@ class AccountancyExport
$Tab['libelle_ecriture'] = str_pad(self::trunc(dol_string_unaccent($data->doc_ref).dol_string_unaccent($data->label_operation), 25), 25);
$Tab['montant'] = str_pad(price2fec(abs($data->debit - $data->credit)), 13, ' ', STR_PAD_LEFT);
$Tab['type_montant'] = str_pad($data->sens, 1);
$Tab['vide'] = str_repeat(' ', 18);
$Tab['vide'] = str_repeat(' ', 18); // Analytical accounting - Not managed in Dolibarr
$Tab['intitule_compte'] = str_pad(self::trunc(dol_string_unaccent($data->label_operation), 34), 34);
$Tab['end'] = 'O2003';
$Tab['end'] = 'O2003'; // 0 = EUR | 2003 = Format Ciel
$Tab['end_line'] = $end_line;
@@ -516,14 +527,19 @@ class AccountancyExport
}
/**
* Export format : Quadratus
* Export format : Quadratus (Format ASCII)
* Format since 2015 compatible QuadraCOMPTA
* Last review for this format : 2021/09/13 Alexandre Spangaro (aspangaro@open-dsi.fr)
*
* Help : https://docplayer.fr/20769649-Fichier-d-entree-ascii-dans-quadracompta.html
* In QuadraCompta | Use menu : "Outils" > "Suivi des dossiers" > "Import ASCII(Compta)"
*
* @param array $TData data
* @return void
*/
public function exportQuadratus(&$TData)
{
global $conf;
global $conf, $db;
$end_line = "\r\n";
@@ -536,6 +552,44 @@ class AccountancyExport
$code_compta = $data->subledger_account;
}
$Tab = array();
if (!empty($data->subledger_account)) {
$Tab['type_ligne'] = 'C';
$Tab['num_compte'] = str_pad(self::trunc($data->subledger_account, 8), 8);
$Tab['lib_compte'] = str_pad(self::trunc($data->subledger_label, 30), 30);
if ($data->doc_type == 'customer_invoice') {
$Tab['lib_alpha'] = strtoupper(str_pad('C'.self::trunc($data->subledger_label, 6), 6));
$Tab['filler'] = str_repeat(' ', 52);
$Tab['coll_compte'] = str_pad(self::trunc($conf->global->ACCOUNTING_ACCOUNT_CUSTOMER, 8), 8);
} elseif ($data->doc_type == 'supplier_invoice') {
$Tab['lib_alpha'] = strtoupper(str_pad('F'.self::trunc($data->subledger_label, 6), 6));
$Tab['filler'] = str_repeat(' ', 52);
$Tab['coll_compte'] = str_pad(self::trunc($conf->global->ACCOUNTING_ACCOUNT_SUPPLIER, 8), 8);
} else {
$Tab['filler'] = str_repeat(' ', 59);
$Tab['coll_compte'] = str_pad(' ', 8);
}
$Tab['filler2'] = str_repeat(' ', 110);
$Tab['Maj'] = 2; // Partial update (alpha key, label, address, collectif, RIB)
if ($data->doc_type == 'customer_invoice') {
$Tab['type_compte'] = 'C';
} elseif ($data->doc_type == 'supplier_invoice') {
$Tab['coll_compte'] = 'F';
} else {
$Tab['coll_compte'] = 'G';
}
$Tab['filler3'] = str_repeat(' ', 235);
$Tab['end_line'] = $end_line;
print implode($Tab);
}
$Tab = array();
$Tab['type_ligne'] = 'M';
$Tab['num_compte'] = str_pad(self::trunc($code_compta, 8), 8);
@@ -860,7 +914,8 @@ class AccountancyExport
print "ValidDate".$separator;
print "Montantdevise".$separator;
print "Idevise".$separator;
print "DateLimitReglmt";
print "DateLimitReglmt".$separator;
print "NumFacture";
print $end_line;
foreach ($objectLines as $line) {
@@ -870,9 +925,26 @@ class AccountancyExport
$date_creation = dol_print_date($line->date_creation, '%Y%m%d');
$date_document = dol_print_date($line->doc_date, '%Y%m%d');
$date_lettering = dol_print_date($line->date_lettering, '%Y%m%d');
$date_validation = dol_print_date($line->date_validated, '%Y%m%d');
$date_validation = dol_print_date($line->date_validation, '%Y%m%d');
$date_limit_payment = dol_print_date($line->date_lim_reglement, '%Y%m%d');
$refInvoice = '';
if ($line->doc_type == 'customer_invoice') {
// Customer invoice
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
$invoice = new Facture($this->db);
$invoice->fetch($line->fk_doc);
$refInvoice = $invoice->ref;
} elseif ($line->doc_type == 'supplier_invoice') {
// Supplier invoice
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
$invoice = new FactureFournisseur($this->db);
$invoice->fetch($line->fk_doc);
$refInvoice = $invoice->ref_supplier;
}
// FEC:JournalCode
print $line->code_journal . $separator;
@@ -925,10 +997,13 @@ class AccountancyExport
print $line->multicurrency_amount . $separator;
// FEC:Idevise
print $line->multicurrency_code.$separator;
print $line->multicurrency_code . $separator;
// FEC_suppl:DateLimitReglmt
print $date_limit_payment;
print $date_limit_payment . $separator;
// FEC_suppl:NumFacture
print dol_trunc(self::toAnsi($refInvoice), 17, 'right', 'UTF-8', 1);
print $end_line;
}
@@ -966,7 +1041,8 @@ class AccountancyExport
print "ValidDate".$separator;
print "Montantdevise".$separator;
print "Idevise".$separator;
print "DateLimitReglmt";
print "DateLimitReglmt".$separator;
print "NumFacture";
print $end_line;
foreach ($objectLines as $line) {
@@ -976,9 +1052,26 @@ class AccountancyExport
$date_creation = dol_print_date($line->date_creation, '%Y%m%d');
$date_document = dol_print_date($line->doc_date, '%Y%m%d');
$date_lettering = dol_print_date($line->date_lettering, '%Y%m%d');
$date_validation = dol_print_date($line->date_validated, '%Y%m%d');
$date_validation = dol_print_date($line->date_validation, '%Y%m%d');
$date_limit_payment = dol_print_date($line->date_lim_reglement, '%Y%m%d');
$refInvoice = '';
if ($line->doc_type == 'customer_invoice') {
// Customer invoice
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
$invoice = new Facture($this->db);
$invoice->fetch($line->fk_doc);
$refInvoice = $invoice->ref;
} elseif ($line->doc_type == 'supplier_invoice') {
// Supplier invoice
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
$invoice = new FactureFournisseur($this->db);
$invoice->fetch($line->fk_doc);
$refInvoice = $invoice->ref_supplier;
}
// FEC:JournalCode
print $line->code_journal . $separator;
@@ -1034,7 +1127,11 @@ class AccountancyExport
print $line->multicurrency_code . $separator;
// FEC_suppl:DateLimitReglmt
print $date_limit_payment;
print $date_limit_payment . $separator;
// FEC_suppl:NumFacture
print dol_trunc(self::toAnsi($refInvoice), 17, 'right', 'UTF-8', 1);
print $end_line;
}
@@ -1763,6 +1860,62 @@ class AccountancyExport
}
}
/**
* Export format : iSuite Expert
*
* by OpenSolus [https://opensolus.fr]
*
* @param array $objectLines data
*
* @return void
*/
public function exportiSuiteExpert($objectLines)
{
$this->separator = ';';
$this->end_line = "\r\n";
foreach ($objectLines as $line) {
$tab = array();
$date = dol_print_date($line->doc_date, '%d/%m/%Y');
$tab[] = $line->piece_num;
$tab[] = $date;
$tab[] = substr($date, 6, 4);
$tab[] = substr($date, 3, 2);
$tab[] = substr($date, 0, 2);
$tab[] = $line->doc_ref;
//Conversion de chaine UTF8 en Latin9
$tab[] = mb_convert_encoding(str_replace(' - Compte auxiliaire', '', $line->label_operation), "Windows-1252", 'UTF-8');
//Calcul de la longueur des numéros de comptes
$taille_numero = strlen(length_accountg($line->numero_compte));
//Création du numéro de client générique
$numero_cpt_client = '411';
for ($i = 1; $i <= ($taille_numero - 3); $i++) {
$numero_cpt_client .= '0';
}
//Création des comptes auxiliaire des clients
if (length_accountg($line->numero_compte) == $numero_cpt_client) {
$tab[] = rtrim(length_accounta($line->subledger_account), "0");
} else {
$tab[] = length_accountg($line->numero_compte);
}
$nom_client = explode(" - ", $line->label_operation);
$tab[] = mb_convert_encoding($nom_client[0], "Windows-1252", 'UTF-8');
$tab[] = price($line->debit);
$tab[] = price($line->credit);
$tab[] = price($line->montant);
$tab[] = $line->code_journal;
$separator = $this->separator;
print implode($separator, $tab) . $this->end_line;
}
}
/**
* trunc
*

View File

@@ -55,8 +55,8 @@ class AccountancyImport
$fieldname = $fieldArr[1];
}
$debit = trim($arrayrecord[11]['val']);
$credit = trim($arrayrecord[12]['val']);
$debit = floatval(trim($arrayrecord[11]['val']));
$credit = floatval(trim($arrayrecord[12]['val']));
if (!empty($debit)) {
$amount = $debit;
} else {
@@ -86,7 +86,7 @@ class AccountancyImport
$fieldname = $fieldArr[1];
}
$debit = trim($arrayrecord[11]['val']);
$debit = floatval(trim($arrayrecord[11]['val']));
if (!empty($debit)) {
$sens = 'D';
} else {

View File

@@ -105,7 +105,7 @@ class AccountancySystem
$sql .= " a.pcg_version = '".$this->db->escape($ref)."'";
}
dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::fetch", LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
$obj = $this->db->fetch_object($result);
@@ -143,9 +143,9 @@ class AccountancySystem
$sql = "INSERT INTO ".MAIN_DB_PREFIX."accounting_system";
$sql .= " (date_creation, fk_user_author, numero, label)";
$sql .= " VALUES ('".$this->db->idate($now)."',".$user->id.",'".$this->db->escape($this->numero)."','".$this->db->escape($this->label)."')";
$sql .= " VALUES ('".$this->db->idate($now)."',".((int) $user->id).",'".$this->db->escape($this->numero)."','".$this->db->escape($this->label)."')";
dol_syslog(get_class($this)."::create sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::create", LOG_DEBUG);
$resql = $this->db->query($sql);
if ($resql) {
$id = $this->db->last_insert_id(MAIN_DB_PREFIX."accounting_system");

View File

@@ -1,10 +1,10 @@
<?php
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2020 Alexandre Spangaro <aspangaro@open-dsi.fr>
* Copyright (C) 2013-2014 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2013-2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
* Copyright (C) 2013-2021 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2015 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,6 +26,10 @@
* \brief File of class to manage accounting accounts
*/
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
/**
* Class to manage accounting accounts
*/
@@ -105,6 +109,11 @@ class AccountingAccount extends CommonObject
*/
public $account_category;
/**
* @var int Label category account
*/
public $account_category_label;
/**
* @var int Status
*/
@@ -140,6 +149,16 @@ class AccountingAccount extends CommonObject
*/
public $reconcilable;
/**
* @var array cache array
*/
private $accountingaccount_codetotid_cache = array();
const STATUS_ENABLED = 1;
const STATUS_DISABLED = 0;
/**
* Constructor
*
@@ -150,7 +169,7 @@ class AccountingAccount extends CommonObject
global $conf;
$this->db = $db;
$this->next_prev_filter = 'fk_pcg_version IN (SELECT pcg_version FROM '.MAIN_DB_PREFIX.'accounting_system WHERE rowid='.$conf->global->CHARTOFACCOUNTS.')'; // Used to add a filter in Form::showrefnav method
$this->next_prev_filter = "fk_pcg_version IN (SELECT pcg_version FROM ".MAIN_DB_PREFIX."accounting_system WHERE rowid = ".((int) $conf->global->CHARTOFACCOUNTS).")"; // Used to add a filter in Form::showrefnav method
}
/**
@@ -158,7 +177,7 @@ class AccountingAccount extends CommonObject
*
* @param int $rowid Id
* @param string $account_number Account number
* @param int|boolean $limittocurrentchart 1 or true=Load record only if it is into current active char of account
* @param int|boolean $limittocurrentchart 1 or true=Load record only if it is into current active chart of account
* @param string $limittoachartaccount 'ABC'=Load record only if it is into chart account with code 'ABC' (better and faster than previous parameter if you have chart of account code).
* @return int <0 if KO, 0 if not found, Id of record if OK and found
*/
@@ -179,13 +198,14 @@ class AccountingAccount extends CommonObject
$sql .= " AND a.entity = ".$conf->entity;
}
if (!empty($limittocurrentchart)) {
$sql .= ' AND a.fk_pcg_version IN (SELECT pcg_version FROM '.MAIN_DB_PREFIX.'accounting_system WHERE rowid='.$this->db->escape($conf->global->CHARTOFACCOUNTS).')';
$sql .= ' AND a.fk_pcg_version IN (SELECT pcg_version FROM '.MAIN_DB_PREFIX.'accounting_system WHERE rowid = '.((int) $conf->global->CHARTOFACCOUNTS).')';
}
if (!empty($limittoachartaccount)) {
$sql .= " AND a.fk_pcg_version = '".$this->db->escape($limittoachartaccount)."'";
}
dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::fetch rowid=".$rowid." account_number=".$account_number, LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
$obj = $this->db->fetch_object($result);
@@ -225,8 +245,8 @@ class AccountingAccount extends CommonObject
/**
* Insert new accounting account in chart of accounts
*
* @param User $user User making action
* @param int $notrigger Disable triggers
* @param User $user User making action
* @param int $notrigger Disable triggers
* @return int <0 if KO, >0 if OK
*/
public function create($user, $notrigger = 0)
@@ -259,7 +279,7 @@ class AccountingAccount extends CommonObject
// Put here code to add control on parameters values
// Insert request
$sql = "INSERT INTO ".MAIN_DB_PREFIX."accounting_account(";
$sql = "INSERT INTO " . MAIN_DB_PREFIX . "accounting_account(";
$sql .= "datec";
$sql .= ", entity";
$sql .= ", fk_pcg_version";
@@ -274,7 +294,7 @@ class AccountingAccount extends CommonObject
$sql .= ", reconcilable";
$sql .= ") VALUES (";
$sql .= " '".$this->db->idate($now)."'";
$sql .= ", ".$conf->entity;
$sql .= ", ".((int) $conf->entity);
$sql .= ", ".(empty($this->fk_pcg_version) ? 'NULL' : "'".$this->db->escape($this->fk_pcg_version)."'");
$sql .= ", ".(empty($this->pcg_type) ? 'NULL' : "'".$this->db->escape($this->pcg_type)."'");
$sql .= ", ".(empty($this->account_number) ? 'NULL' : "'".$this->db->escape($this->account_number)."'");
@@ -282,22 +302,22 @@ class AccountingAccount extends CommonObject
$sql .= ", ".(empty($this->label) ? "''" : "'".$this->db->escape($this->label)."'");
$sql .= ", ".(empty($this->labelshort) ? "''" : "'".$this->db->escape($this->labelshort)."'");
$sql .= ", ".(empty($this->account_category) ? 0 : (int) $this->account_category);
$sql .= ", ".$user->id;
$sql .= ", ".((int) $user->id);
$sql .= ", ".(int) $this->active;
$sql .= ", ".(int) $this->reconcilable;
$sql .= ")";
$this->db->begin();
dol_syslog(get_class($this)."::create sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::create", LOG_DEBUG);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;
$this->errors[] = "Error ".$this->db->lasterror();
$this->errors[] = "Error " . $this->db->lasterror();
}
if (!$error) {
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."accounting_account");
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX . "accounting_account");
// Uncomment this and change MYOBJECT to your own tag if you
// want this action to call a trigger.
@@ -313,8 +333,8 @@ class AccountingAccount extends CommonObject
// Commit or rollback
if ($error) {
foreach ($this->errors as $errmsg) {
dol_syslog(get_class($this)."::create ".$errmsg, LOG_ERR);
$this->error .= ($this->error ? ', '.$errmsg : $errmsg);
dol_syslog(get_class($this) . "::create " . $errmsg, LOG_ERR);
$this->error .= ($this->error ? ', ' . $errmsg : $errmsg);
}
$this->db->rollback();
return -1 * $error;
@@ -327,7 +347,7 @@ class AccountingAccount extends CommonObject
/**
* Update record
*
* @param User $user Use making update
* @param User $user Use making update
* @return int <0 if KO, >0 if OK
*/
public function update($user)
@@ -339,20 +359,20 @@ class AccountingAccount extends CommonObject
$this->db->begin();
$sql = "UPDATE ".MAIN_DB_PREFIX."accounting_account ";
$sql .= " SET fk_pcg_version = ".($this->fk_pcg_version ? "'".$this->db->escape($this->fk_pcg_version)."'" : "null");
$sql .= " , pcg_type = ".($this->pcg_type ? "'".$this->db->escape($this->pcg_type)."'" : "null");
$sql .= " , account_number = '".$this->db->escape($this->account_number)."'";
$sql .= " , account_parent = ".(int) $this->account_parent;
$sql .= " , label = ".($this->label ? "'".$this->db->escape($this->label)."'" : "''");
$sql .= " , labelshort = ".($this->labelshort ? "'".$this->db->escape($this->labelshort)."'" : "''");
$sql .= " , fk_accounting_category = ".(empty($this->account_category) ? 0 : (int) $this->account_category);
$sql .= " , fk_user_modif = ".((int) $user->id);
$sql .= " , active = ".(int) $this->active;
$sql .= " , reconcilable = ".(int) $this->reconcilable;
$sql .= " WHERE rowid = ".((int) $this->id);
$sql = "UPDATE " . MAIN_DB_PREFIX . "accounting_account ";
$sql .= " SET fk_pcg_version = " . ($this->fk_pcg_version ? "'" . $this->db->escape($this->fk_pcg_version) . "'" : "null");
$sql .= " , pcg_type = " . ($this->pcg_type ? "'" . $this->db->escape($this->pcg_type) . "'" : "null");
$sql .= " , account_number = '" . $this->db->escape($this->account_number) . "'";
$sql .= " , account_parent = " . (int) $this->account_parent;
$sql .= " , label = " . ($this->label ? "'" . $this->db->escape($this->label) . "'" : "''");
$sql .= " , labelshort = " . ($this->labelshort ? "'" . $this->db->escape($this->labelshort) . "'" : "''");
$sql .= " , fk_accounting_category = " . (empty($this->account_category) ? 0 : (int) $this->account_category);
$sql .= " , fk_user_modif = " . ((int) $user->id);
$sql .= " , active = " . (int) $this->active;
$sql .= " , reconcilable = " . (int) $this->reconcilable;
$sql .= " WHERE rowid = " . ((int) $this->id);
dol_syslog(get_class($this)."::update sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::update", LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
$this->db->commit();
@@ -374,12 +394,12 @@ class AccountingAccount extends CommonObject
global $langs;
$sql = "(SELECT fk_code_ventilation FROM ".MAIN_DB_PREFIX."facturedet";
$sql .= " WHERE fk_code_ventilation=".$this->id.")";
$sql .= " WHERE fk_code_ventilation=".((int) $this->id).")";
$sql .= "UNION";
$sql .= " (SELECT fk_code_ventilation FROM ".MAIN_DB_PREFIX."facture_fourn_det";
$sql .= " WHERE fk_code_ventilation=".$this->id.")";
$sql .= " WHERE fk_code_ventilation=".((int) $this->id).")";
dol_syslog(get_class($this)."::checkUsage sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::checkUsage", LOG_DEBUG);
$resql = $this->db->query($sql);
if ($resql) {
@@ -413,22 +433,22 @@ class AccountingAccount extends CommonObject
$this->db->begin();
if (!$error) {
$sql = "DELETE FROM ".MAIN_DB_PREFIX."accounting_account";
$sql .= " WHERE rowid=".((int) $this->id);
$sql = "DELETE FROM " . MAIN_DB_PREFIX . "accounting_account";
$sql .= " WHERE rowid=" . ((int) $this->id);
dol_syslog(get_class($this)."::delete sql=".$sql);
dol_syslog(get_class($this) . "::delete sql=" . $sql);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;
$this->errors[] = "Error ".$this->db->lasterror();
$this->errors[] = "Error " . $this->db->lasterror();
}
}
// Commit or rollback
if ($error) {
foreach ($this->errors as $errmsg) {
dol_syslog(get_class($this)."::delete ".$errmsg, LOG_ERR);
$this->error .= ($this->error ? ', '.$errmsg : $errmsg);
dol_syslog(get_class($this) . "::delete " . $errmsg, LOG_ERR);
$this->error .= ($this->error ? ', ' . $errmsg : $errmsg);
}
$this->db->rollback();
return -1 * $error;
@@ -444,20 +464,20 @@ class AccountingAccount extends CommonObject
/**
* Return clicable name (with picto eventually)
*
* @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto
* @param int $withlabel 0=No label, 1=Include label of account
* @param int $nourl 1=Disable url
* @param string $moretitle Add more text to title tooltip
* @param int $notooltip 1=Disable tooltip
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
* @param int $withcompletelabel 0=Short label (field short label), 1=Complete label (field label)
* @param string $option 'ledger', 'journals', 'accountcard'
* @return string String with URL
* @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto
* @param int $withlabel 0=No label, 1=Include label of account
* @param int $nourl 1=Disable url
* @param string $moretitle Add more text to title tooltip
* @param int $notooltip 1=Disable tooltip
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
* @param int $withcompletelabel 0=Short label (field short label), 1=Complete label (field label)
* @param string $option 'ledger', 'journals', 'accountcard'
* @return string String with URL
*/
public function getNomUrl($withpicto = 0, $withlabel = 0, $nourl = 0, $moretitle = '', $notooltip = 0, $save_lastsearch_value = -1, $withcompletelabel = 0, $option = '')
{
global $langs, $conf;
require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php';
if (!empty($conf->dol_no_mouse_hover)) {
$notooltip = 1; // Force disable tooltips
@@ -465,15 +485,16 @@ class AccountingAccount extends CommonObject
$result = '';
$url = ''; $labelurl = '';
$url = '';
$labelurl = '';
if (empty($option) || $option == 'ledger') {
$url = DOL_URL_ROOT.'/accountancy/bookkeeping/listbyaccount.php?search_accountancy_code_start='.urlencode($this->account_number).'&search_accountancy_code_end='.urlencode($this->account_number);
$url = DOL_URL_ROOT . '/accountancy/bookkeeping/listbyaccount.php?search_accountancy_code_start=' . urlencode($this->account_number) . '&search_accountancy_code_end=' . urlencode($this->account_number);
$labelurl = $langs->trans("ShowAccountingAccountInLedger");
} elseif ($option == 'journals') {
$url = DOL_URL_ROOT.'/accountancy/bookkeeping/list.php?search_accountancy_code_start='.urlencode($this->account_number).'&search_accountancy_code_end='.urlencode($this->account_number);
$url = DOL_URL_ROOT . '/accountancy/bookkeeping/list.php?search_accountancy_code_start=' . urlencode($this->account_number) . '&search_accountancy_code_end=' . urlencode($this->account_number);
$labelurl = $langs->trans("ShowAccountingAccountInJournals");
} elseif ($option == 'accountcard') {
$url = DOL_URL_ROOT.'/accountancy/admin/card.php?id='.urlencode($this->id);
$url = DOL_URL_ROOT . '/accountancy/admin/card.php?id=' . urlencode($this->id);
$labelurl = $langs->trans("ShowAccountingAccount");
}
@@ -486,7 +507,7 @@ class AccountingAccount extends CommonObject
$url .= '&save_lastsearch_values=1';
}
$picto = 'billr';
$picto = 'accounting_account';
$label = '';
if (empty($this->labelshort) || $withcompletelabel == 1) {
@@ -495,29 +516,29 @@ class AccountingAccount extends CommonObject
$labeltoshow = $this->labelshort;
}
$label = '<u>'.$labelurl.'</u>';
$label = '<u>' . $labelurl . '</u>';
if (!empty($this->account_number)) {
$label .= '<br><b>'.$langs->trans('AccountAccounting').':</b> '.length_accountg($this->account_number);
$label .= '<br><b>' . $langs->trans('AccountAccounting') . ':</b> ' . length_accountg($this->account_number);
}
if (!empty($labeltoshow)) {
$label .= '<br><b>'.$langs->trans('Label').':</b> '.$labeltoshow;
$label .= '<br><b>' . $langs->trans('Label') . ':</b> ' . $labeltoshow;
}
if ($moretitle) {
$label .= ' - '.$moretitle;
$label .= ' - ' . $moretitle;
}
$linkclose = '';
if (empty($notooltip)) {
if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
$label = $labelurl;
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
$linkclose .= ' alt="' . dol_escape_htmltag($label, 1) . '"';
}
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
$linkclose .= ' title="' . dol_escape_htmltag($label, 1) . '"';
$linkclose .= ' class="classfortooltip"';
}
$linkstart = '<a href="'.$url.'"';
$linkstart .= $linkclose.'>';
$linkstart = '<a href="' . $url . '"';
$linkstart .= $linkclose . '>';
$linkend = '</a>';
if ($nourl) {
@@ -528,17 +549,17 @@ class AccountingAccount extends CommonObject
$label_link = length_accountg($this->account_number);
if ($withlabel) {
$label_link .= ' - '.($nourl ? '<span class="opacitymedium">' : '').$labeltoshow.($nourl ? '</span>' : '');
$label_link .= ' - ' . ($nourl ? '<span class="opacitymedium">' : '') . $labeltoshow . ($nourl ? '</span>' : '');
}
if ($withpicto) {
$result .= ($linkstart.img_object(($notooltip ? '' : $label), $picto, ($notooltip ? '' : 'class="classfortooltip"'), 0, 0, $notooltip ? 0 : 1).$linkend);
$result .= ($linkstart . img_object(($notooltip ? '' : $label), $picto, ($notooltip ? '' : 'class="classfortooltip"'), 0, 0, $notooltip ? 0 : 1) . $linkend);
}
if ($withpicto && $withpicto != 2) {
$result .= ' ';
}
if ($withpicto != 2) {
$result .= $linkstart.$label_link.$linkend;
$result .= $linkstart . $label_link . $linkend;
}
return $result;
}
@@ -546,16 +567,16 @@ class AccountingAccount extends CommonObject
/**
* Information on record
*
* @param int $id of record
* @param int $id ID of record
* @return void
*/
public function info($id)
{
$sql = 'SELECT a.rowid, a.datec, a.fk_user_author, a.fk_user_modif, a.tms';
$sql .= ' FROM '.MAIN_DB_PREFIX.'accounting_account as a';
$sql .= ' WHERE a.rowid = '.((int) $id);
$sql .= ' FROM ' . MAIN_DB_PREFIX . 'accounting_account as a';
$sql .= ' WHERE a.rowid = ' . ((int) $id);
dol_syslog(get_class($this).'::info sql='.$sql);
dol_syslog(get_class($this) . '::info sql=' . $sql);
$result = $this->db->query($sql);
if ($result) {
@@ -584,8 +605,8 @@ class AccountingAccount extends CommonObject
/**
* Deactivate an account (for status active or status reconcilable)
*
* @param int $id Id
* @param int $mode 0=field active, 1=field reconcilable
* @param int $id Id
* @param int $mode 0=field active, 1=field reconcilable
* @return int <0 if KO, >0 if OK
*/
public function accountDeactivate($id, $mode = 0)
@@ -604,7 +625,7 @@ class AccountingAccount extends CommonObject
$sql .= "SET ".$fieldtouse." = '0'";
$sql .= " WHERE rowid = ".((int) $id);
dol_syslog(get_class($this)."::accountDeactivate ".$fieldtouse." sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::accountDeactivate ".$fieldtouse, LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
@@ -620,15 +641,15 @@ class AccountingAccount extends CommonObject
}
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Account activated
*
* @param int $id Id
* @param int $mode 0=field active, 1=field reconcilable
* @param int $id Id
* @param int $mode 0=field active, 1=field reconcilable
* @return int <0 if KO, >0 if OK
*/
public function account_activate($id, $mode = 0)
public function accountActivate($id, $mode = 0)
{
// phpcs:enable
$this->db->begin();
@@ -642,7 +663,7 @@ class AccountingAccount extends CommonObject
$sql .= " SET ".$fieldtouse." = '1'";
$sql .= " WHERE rowid = ".((int) $id);
dol_syslog(get_class($this)."::account_activate ".$fieldtouse." sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::account_activate ".$fieldtouse, LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
$this->db->commit();
@@ -654,12 +675,11 @@ class AccountingAccount extends CommonObject
}
}
/**
* Retourne le libelle du statut d'un user (actif, inactif)
*
* @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long, 5=Libelle court + Picto
* @return string Label of status
* @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long, 5=Libelle court + Picto
* @return string Label of status
*/
public function getLibStatut($mode = 0)
{
@@ -670,51 +690,214 @@ class AccountingAccount extends CommonObject
/**
* Renvoi le libelle d'un statut donne
*
* @param int $status Id status
* @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long, 5=Libelle court + Picto
* @return string Label of status
* @param int $status Id status
* @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long, 5=Libelle court + Picto
* @return string Label of status
*/
public function LibStatut($status, $mode = 0)
{
// phpcs:enable
global $langs;
$langs->loadLangs(array("users"));
if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
global $langs;
$langs->load("users");
$this->labelStatus[self::STATUS_ENABLED] = $langs->transnoentitiesnoconv('Enabled');
$this->labelStatus[self::STATUS_DISABLED] = $langs->transnoentitiesnoconv('Disabled');
$this->labelStatusShort[self::STATUS_ENABLED] = $langs->transnoentitiesnoconv('Enabled');
$this->labelStatusShort[self::STATUS_DISABLED] = $langs->transnoentitiesnoconv('Disabled');
}
if ($mode == 0) {
if ($status == 1) {
return $langs->trans('Enabled');
} elseif ($status == 0) {
return $langs->trans('Disabled');
$statusType = 'status4';
if ($status == self::STATUS_DISABLED) {
$statusType = 'status5';
}
return dolGetStatus($this->labelStatus[$status], $this->labelStatusShort[$status], '', $statusType, $mode);
}
/**
* Return Suggest accounting accounts to bind
*
* @param Societe $buyer Object buyer
* @param Societe $seller Object seller
* @param Product $product Product object sell or buy
* @param Facture|FactureFournisseur $facture Facture
* @param FactureLigne|SupplierInvoiceLine $factureDet Facture Det
* @param array $accountingAccount Array of Account account
* @param string $type Customer / Supplier
* @return array Accounting accounts suggested
*/
public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product $product, $facture, $factureDet, $accountingAccount = array(), $type = '')
{
global $conf;
global $hookmanager;
// Instantiate hooks for external modules
$hookmanager->initHooks(array('accoutancyBindingCalculation'));
// Execute hook accoutancyBindingCalculation
$parameters = array('buyer' => $buyer, 'seller' => $seller, 'product' => $product, 'facture' => $facture, 'factureDet' => $factureDet ,'accountingAccount'=>$accountingAccount, $type);
$reshook = $hookmanager->executeHooks('accoutancyBindingCalculation', $parameters); // Note that $action and $object may have been modified by some hooks
if (empty($reshook)) {
if ($type == 'customer') {
$const_name = "SOLD";
} elseif ($type == 'supplier') {
$const_name = "BUY";
}
} elseif ($mode == 1) {
if ($status == 1) {
return $langs->trans('Enabled');
} elseif ($status == 0) {
return $langs->trans('Disabled');
require_once DOL_DOCUMENT_ROOT . '/core/lib/company.lib.php';
$isBuyerInEEC = isInEEC($buyer);
$isSellerInEEC = isInEEC($seller);
$code_l = ''; // Default value for generic product/service
$code_p = ''; // Value for the product/service in parameter ($product)
$code_t = ''; // Default value of product account for the thirdparty
$suggestedid = '';
// Level 1 (define $code_l): Search suggested default account for product/service
$suggestedaccountingaccountbydefaultfor = '';
if ($factureDet->product_type == 1) {
if ($buyer->country_code == $seller->country_code || empty($buyer->country_code)) { // If buyer in same country than seller (if not defined, we assume it is same country)
$code_l = (!empty($conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = '';
} else {
if ($isSellerInEEC && $isBuyerInEEC && $factureDet->tva_tx != 0) { // European intravat sale, but with a VAT
$code_l = (!empty($conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'eecwithvat';
} elseif ($isSellerInEEC && $isBuyerInEEC && empty($buyer->tva_intra)) { // European intravat sale, without VAT intra community number
$code_l = (!empty($conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'eecwithoutvatnumber';
} elseif ($isSellerInEEC && $isBuyerInEEC) { // European intravat sale
$code_l = (!empty($conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_INTRA_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_INTRA_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'eec';
} else { // Foreign sale
$code_l = (!empty($conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_EXPORT_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_SERVICE_' . $const_name . '_EXPORT_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'export';
}
}
} elseif ($factureDet->product_type == 0) {
if ($buyer->country_code == $seller->country_code || empty($buyer->country_code)) { // If buyer in same country than seller (if not defined, we assume it is same country)
$code_l = (!empty($conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = '';
} else {
if ($isSellerInEEC && $isBuyerInEEC && $factureDet->tva_tx != 0) { // European intravat sale, but with a VAT
$code_l = (!empty($conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'eecwithvat';
} elseif ($isSellerInEEC && $isBuyerInEEC && empty($buyer->tva_intra)) { // European intravat sale, without VAT intra community number
$code_l = (!empty($conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'eecwithoutvatnumber';
} elseif ($isSellerInEEC && $isBuyerInEEC) { // European intravat sale
$code_l = (!empty($conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_INTRA_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_INTRA_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'eec';
} else {
$code_l = (!empty($conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_EXPORT_ACCOUNT'}) ? $conf->global->{'ACCOUNTING_PRODUCT_' . $const_name . '_EXPORT_ACCOUNT'} : '');
$suggestedaccountingaccountbydefaultfor = 'export';
}
}
}
} elseif ($mode == 2) {
if ($status == 1) {
return img_picto($langs->trans('Enabled'), 'statut4').' '.$langs->trans('Enabled');
} elseif ($status == 0) {
return img_picto($langs->trans('Disabled'), 'statut5').' '.$langs->trans('Disabled');
if ($code_l == -1) {
$code_l = '';
}
} elseif ($mode == 3) {
if ($status == 1) {
return img_picto($langs->trans('Enabled'), 'statut4');
} elseif ($status == 0) {
return img_picto($langs->trans('Disabled'), 'statut5');
// Level 2 (define $code_p): Search suggested account for product/service (similar code exists in page index.php to make automatic binding)
$suggestedaccountingaccountfor = '';
if ((($buyer->country_code == $seller->country_code) || empty($buyer->country_code))) {
// If buyer in same country than seller (if not defined, we assume it is same country)
if ($type=='customer' && !empty($product->accountancy_code_sell)) {
$code_p = $product->accountancy_code_sell;
} elseif ($type=='supplier' && !empty($product->accountancy_code_buy)) {
$code_p = $product->accountancy_code_buy;
}
$suggestedid = $accountingAccount['dom'];
$suggestedaccountingaccountfor = 'prodserv';
} else {
if ($isSellerInEEC && $isBuyerInEEC && $factureDet->tva_tx != 0) {
// European intravat sale, but with VAT
if ($type=='customer' && !empty($product->accountancy_code_sell)) {
$code_p = $product->accountancy_code_sell;
} elseif ($type=='supplier' && !empty($product->accountancy_code_buy)) {
$code_p = $product->accountancy_code_buy;
}
$suggestedid = $accountingAccount['dom'];
$suggestedaccountingaccountfor = 'eecwithvat';
} elseif ($isSellerInEEC && $isBuyerInEEC && empty($buyer->tva_intra)) {
// European intravat sale, without VAT intra community number
if ($type=='customer' && !empty($product->accountancy_code_sell)) {
$code_p = $product->accountancy_code_sell;
} elseif ($type=='supplier' && !empty($product->accountancy_code_buy)) {
$code_p = $product->accountancy_code_buy;
}
$suggestedid = $accountingAccount['dom']; // There is a doubt for this case. Is it an error on vat or we just forgot to fill vat number ?
$suggestedaccountingaccountfor = 'eecwithoutvatnumber';
} elseif ($isSellerInEEC && $isBuyerInEEC && !empty($product->accountancy_code_sell_intra)) {
// European intravat sale
if ($type=='customer' && !empty($product->accountancy_code_sell_intra)) {
$code_p = $product->accountancy_code_sell_intra;
} elseif ($type=='supplier' && !empty($product->accountancy_code_buy_intra)) {
$code_p = $product->accountancy_code_buy_intra;
}
$suggestedid = $accountingAccount['intra'];
$suggestedaccountingaccountfor = 'eec';
} else {
// Foreign sale
if ($type=='customer' && !empty($product->accountancy_code_sell_export)) {
$code_p = $product->accountancy_code_sell_export;
} elseif ($type=='supplier' && !empty($product->accountancy_code_buy_export)) {
$code_p = $product->accountancy_code_buy_export;
}
$suggestedid = $accountingAccount['export'];
$suggestedaccountingaccountfor = 'export';
}
}
} elseif ($mode == 4) {
if ($status == 1) {
return img_picto($langs->trans('Enabled'), 'statut4').' '.$langs->trans('Enabled');
} elseif ($status == 0) {
return img_picto($langs->trans('Disabled'), 'statut5').' '.$langs->trans('Disabled');
// Level 3 (define $code_t): Search suggested account for this thirdparty (similar code exists in page index.php to make automatic binding)
if (!empty($conf->global->ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY)) {
if (!empty($buyer->code_compta_product)) {
$code_t = $buyer->code_compta_product;
$suggestedid = $accountingAccount['thirdparty'];
$suggestedaccountingaccountfor = 'thridparty';
}
}
} elseif ($mode == 5) {
if ($status == 1) {
return $langs->trans('Enabled').' '.img_picto($langs->trans('Enabled'), 'statut4');
} elseif ($status == 0) {
return $langs->trans('Disabled').' '.img_picto($langs->trans('Disabled'), 'statut5');
// Manage Deposit
if ($factureDet->desc == "(DEPOSIT)" || $facture->type == $facture::TYPE_DEPOSIT) {
$accountdeposittoventilated = new self($this->db);
$result = $accountdeposittoventilated->fetch('', $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER_DEPOSIT, 1);
if ($result < 0) {
return -1;
}
$code_l = $accountdeposittoventilated->ref;
$suggestedid = $accountdeposittoventilated->rowid;
$suggestedaccountingaccountfor = 'deposit';
}
// If $suggestedid could not be guessed yet, we set it from the generic default accounting code $code_l
if (empty($suggestedid) && empty($code_p) && !empty($code_l) && empty($conf->global->ACCOUNTANCY_DO_NOT_AUTOFILL_ACCOUNT_WITH_GENERIC)) {
if (empty($this->accountingaccount_codetotid_cache[$code_l])) {
$tmpaccount = new self($this->db);
$result = $tmpaccount->fetch(0, $code_l, 1);
if ($result < 0) {
return -1;
}
if ($tmpaccount->id > 0) {
$suggestedid = $tmpaccount->id;
}
$this->accountingaccount_codetotid_cache[$code_l] = $tmpaccount->id;
} else {
$suggestedid = $this->accountingaccount_codetotid_cache[$code_l];
}
}
return array(
'suggestedaccountingaccountbydefaultfor' => $suggestedaccountingaccountbydefaultfor,
'suggestedaccountingaccountfor' => $suggestedaccountingaccountfor,
'suggestedid' => $suggestedid,
'code_l' => $code_l,
'code_p' => $code_p,
'code_t' => $code_t,
);
} else {
if (is_array($hookmanager->resArray) && !empty($hookmanager->resArray)) {
return $hookmanager->resArray;
}
}
}

View File

@@ -113,7 +113,7 @@ class AccountingJournal extends CommonObject
$sql .= " AND entity = ".$conf->entity;
}
dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::fetch", LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
$obj = $this->db->fetch_object($result);
@@ -170,18 +170,18 @@ class AccountingJournal extends CommonObject
$sql .= ' WHERE 1 = 1';
$sql .= " AND entity IN (".getEntity('accountancy').")";
if (count($sqlwhere) > 0) {
$sql .= ' AND '.implode(' '.$filtermode.' ', $sqlwhere);
$sql .= " AND ".implode(" ".$filtermode." ", $sqlwhere);
}
if (!empty($sortfield)) {
$sql .= $this->db->order($sortfield, $sortorder);
}
if (!empty($limit)) {
$sql .= ' '.$this->db->plimit($limit + 1, $offset);
$sql .= $this->db->plimit($limit + 1, $offset);
}
$this->lines = array();
dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::fetch", LOG_DEBUG);
$resql = $this->db->query($sql);
if ($resql) {
$num = $this->db->num_rows($resql);

View File

@@ -331,7 +331,7 @@ class BookKeeping extends CommonObject
if (empty($this->piece_num)) {
$sqlnum = "SELECT MAX(piece_num)+1 as maxpiecenum";
$sqlnum .= " FROM ".MAIN_DB_PREFIX.$this->table_element;
$sqlnum .= " WHERE entity = ".$conf->entity; // Do not use getEntity for accounting features
$sqlnum .= " WHERE entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
$resqlnum = $this->db->query($sqlnum);
if ($resqlnum) {
@@ -382,15 +382,15 @@ class BookKeeping extends CommonObject
$sql .= ", '".$this->db->escape($this->numero_compte)."'";
$sql .= ", ".(!empty($this->label_compte) ? ("'".$this->db->escape($this->label_compte)."'") : "NULL");
$sql .= ", '".$this->db->escape($this->label_operation)."'";
$sql .= ", ".$this->debit;
$sql .= ", ".$this->credit;
$sql .= ", ".$this->montant;
$sql .= ", ".((float) $this->debit);
$sql .= ", ".((float) $this->credit);
$sql .= ", ".((float) $this->montant);
$sql .= ", ".(!empty($this->sens) ? ("'".$this->db->escape($this->sens)."'") : "NULL");
$sql .= ", '".$this->db->escape($this->fk_user_author)."'";
$sql .= ", '".$this->db->idate($now)."'";
$sql .= ", '".$this->db->escape($this->code_journal)."'";
$sql .= ", ".(!empty($this->journal_label) ? ("'".$this->db->escape($this->journal_label)."'") : "NULL");
$sql .= ", ".$this->db->escape($this->piece_num);
$sql .= ", ".((int) $this->piece_num);
$sql .= ", ".(!isset($this->entity) ? $conf->entity : $this->entity);
$sql .= ")";
@@ -647,7 +647,7 @@ class BookKeeping extends CommonObject
$sql .= ' '.(!isset($this->credit) ? 'NULL' : $this->credit).',';
$sql .= ' '.(!isset($this->montant) ? 'NULL' : $this->montant).',';
$sql .= ' '.(!isset($this->sens) ? 'NULL' : "'".$this->db->escape($this->sens)."'").',';
$sql .= ' '.$user->id.',';
$sql .= ' '.((int) $user->id).',';
$sql .= ' '."'".$this->db->idate($now)."',";
$sql .= ' '.(empty($this->code_journal) ? 'NULL' : "'".$this->db->escape($this->code_journal)."'").',';
$sql .= ' '.(empty($this->journal_label) ? 'NULL' : "'".$this->db->escape($this->journal_label)."'").',';
@@ -736,7 +736,7 @@ class BookKeeping extends CommonObject
$sql .= " t.date_validated as date_validation";
$sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.$mode.' as t';
$sql .= ' WHERE 1 = 1';
$sql .= " AND entity IN (".getEntity('accountancy').")";
$sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
if (null !== $ref) {
$sql .= " AND t.ref = '".$this->db->escape($ref)."'";
} else {
@@ -881,23 +881,23 @@ class BookKeeping extends CommonObject
}
$sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.' as t';
$sql .= ' WHERE 1 = 1';
$sql .= " AND entity IN (".getEntity('accountancy').")";
$sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
if (count($sqlwhere) > 0) {
$sql .= ' AND '.implode(' '.$filtermode.' ', $sqlwhere);
$sql .= " AND ".implode(" ".$filtermode." ", $sqlwhere);
}
// Affichage par compte comptable
if (!empty($option)) {
$sql .= ' AND t.subledger_account IS NOT NULL';
$sql .= ' ORDER BY t.subledger_account ASC';
$sortfield = 't.subledger_account'.($sortfield ? ','.$sortfield : '');
$sortorder = 'ASC'.($sortfield ? ','.$sortfield : '');
} else {
$sql .= ' ORDER BY t.numero_compte ASC';
$sortfield = 't.numero_compte'.($sortfield ? ','.$sortfield : '');
$sortorder = 'ASC'.($sortorder ? ','.$sortorder : '');
}
if (!empty($sortfield)) {
$sql .= ', '.$sortfield.' '.$sortorder;
}
$sql .= $this->db->order($sortfield, $sortorder);
if (!empty($limit)) {
$sql .= ' '.$this->db->plimit($limit + 1, $offset);
$sql .= $this->db->plimit($limit + 1, $offset);
}
$resql = $this->db->query($sql);
@@ -937,7 +937,6 @@ class BookKeeping extends CommonObject
$line->piece_num = $obj->piece_num;
$line->date_creation = $this->db->jdate($obj->date_creation);
$line->date_export = $this->db->jdate($obj->date_export);
$line->date_validation = $this->db->jdate($obj->date_validated);
$line->date_validation = $this->db->jdate($obj->date_validation);
$this->lines[] = $line;
@@ -1014,7 +1013,7 @@ class BookKeeping extends CommonObject
} elseif ($key == 't.numero_compte>=' || $key == 't.numero_compte<=' || $key == 't.subledger_account>=' || $key == 't.subledger_account<=') {
$sqlwhere[] = $key.'\''.$this->db->escape($value).'\'';
} elseif ($key == 't.fk_doc' || $key == 't.fk_docdet' || $key == 't.piece_num') {
$sqlwhere[] = $key.'='.$value;
$sqlwhere[] = $key.'='.((int) $value);
} elseif ($key == 't.subledger_account' || $key == 't.numero_compte') {
$sqlwhere[] = $key.' LIKE \''.$this->db->escape($value).'%\'';
} elseif ($key == 't.date_creation>=' || $key == 't.date_creation<=') {
@@ -1038,18 +1037,18 @@ class BookKeeping extends CommonObject
}
}
}
$sql .= ' WHERE t.entity IN ('.getEntity('accountancy').')';
$sql .= ' WHERE t.entity = ' . ((int) $conf->entity); // Do not use getEntity for accounting features
if ($showAlreadyExportMovements == 0) {
$sql .= " AND t.date_export IS NULL";
}
if (count($sqlwhere) > 0) {
$sql .= ' AND '.implode(' '.$filtermode.' ', $sqlwhere);
$sql .= ' AND '.implode(" ".$filtermode." ", $sqlwhere);
}
if (!empty($sortfield)) {
$sql .= $this->db->order($sortfield, $sortorder);
}
if (!empty($limit)) {
$sql .= ' '.$this->db->plimit($limit + 1, $offset);
$sql .= $this->db->plimit($limit + 1, $offset);
}
$this->lines = array();
@@ -1090,7 +1089,6 @@ class BookKeeping extends CommonObject
$line->date_lim_reglement = $this->db->jdate($obj->date_lim_reglement);
$line->date_modification = $this->db->jdate($obj->date_modification);
$line->date_export = $this->db->jdate($obj->date_export);
$line->date_validation = $this->db->jdate($obj->date_validated);
$line->date_validation = $this->db->jdate($obj->date_validation);
$this->lines[] = $line;
@@ -1137,17 +1135,17 @@ class BookKeeping extends CommonObject
if (count($filter) > 0) {
foreach ($filter as $key => $value) {
if ($key == 't.doc_date') {
$sqlwhere[] = $key.'=\''.$this->db->idate($value).'\'';
$sqlwhere[] = $key." = '".$this->db->idate($value)."'";
} elseif ($key == 't.doc_date>=' || $key == 't.doc_date<=') {
$sqlwhere[] = $key.'\''.$this->db->idate($value).'\'';
$sqlwhere[] = $key."'".$this->db->idate($value)."'";
} elseif ($key == 't.numero_compte>=' || $key == 't.numero_compte<=' || $key == 't.subledger_account>=' || $key == 't.subledger_account<=') {
$sqlwhere[] = $key.'\''.$this->db->escape($value).'\'';
$sqlwhere[] = $key."'".$this->db->escape($value)."'";
} elseif ($key == 't.fk_doc' || $key == 't.fk_docdet' || $key == 't.piece_num') {
$sqlwhere[] = $key.'='.$value;
$sqlwhere[] = $key." = ".((int) $value);
} elseif ($key == 't.subledger_account' || $key == 't.numero_compte') {
$sqlwhere[] = $key.' LIKE \''.$this->db->escape($value).'%\'';
$sqlwhere[] = $key." LIKE '".$this->db->escape($value)."%'";
} elseif ($key == 't.subledger_label') {
$sqlwhere[] = $key.' LIKE \''.$this->db->escape($value).'%\'';
$sqlwhere[] = $key." LIKE '".$this->db->escape($value)."%'";
} elseif ($key == 't.code_journal' && !empty($value)) {
if (is_array($value)) {
$sqlwhere[] = natural_search("t.code_journal", join(',', $value), 3, 1);
@@ -1155,13 +1153,13 @@ class BookKeeping extends CommonObject
$sqlwhere[] = natural_search("t.code_journal", $value, 3, 1);
}
} else {
$sqlwhere[] = $key.' LIKE \'%'.$this->db->escape($value).'%\'';
$sqlwhere[] = $key." LIKE '%".$this->db->escape($value)."%'";
}
}
}
$sql .= ' WHERE entity IN ('.getEntity('accountancy').')';
$sql .= ' WHERE entity = ' . ((int) $conf->entity); // Do not use getEntity for accounting features
if (count($sqlwhere) > 0) {
$sql .= ' AND '.implode(' '.$filtermode.' ', $sqlwhere);
$sql .= " AND ".implode(" ".$filtermode." ", $sqlwhere);
}
$sql .= ' GROUP BY t.numero_compte';
@@ -1170,7 +1168,7 @@ class BookKeeping extends CommonObject
$sql .= $this->db->order($sortfield, $sortorder);
}
if (!empty($limit)) {
$sql .= ' '.$this->db->plimit($limit + 1, $offset);
$sql .= $this->db->plimit($limit + 1, $offset);
}
$resql = $this->db->query($sql);
@@ -1347,8 +1345,9 @@ class BookKeeping extends CommonObject
$this->db->begin();
$sql = "UPDATE ".MAIN_DB_PREFIX.$this->table_element.$mode;
$sql .= ' SET '.$field.'='.(is_numeric($value) ? $value : "'".$this->db->escape($value)."'");
$sql .= " WHERE piece_num = '".$this->db->escape($piece_num)."'";
$sql .= " SET ".$field." = ".(is_numeric($value) ? ((float) $value) : "'".$this->db->escape($value)."'");
$sql .= " WHERE piece_num = ".((int) $piece_num);
$resql = $this->db->query($sql);
if (!$resql) {
@@ -1456,7 +1455,7 @@ class BookKeeping extends CommonObject
*/
public function deleteByYearAndJournal($delyear = 0, $journal = '', $mode = '', $delmonth = 0)
{
global $langs;
global $conf, $langs;
if (empty($delyear) && empty($journal)) {
$this->error = 'ErrorOneFieldRequired';
@@ -1477,7 +1476,7 @@ class BookKeeping extends CommonObject
if (!empty($journal)) {
$sql .= " AND code_journal = '".$this->db->escape($journal)."'";
}
$sql .= " AND entity IN (".getEntity('accountancy').")";
$sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
// Exclusion of validated entries at the time of deletion
$sql .= " AND date_validated IS NULL";
@@ -1516,7 +1515,7 @@ class BookKeeping extends CommonObject
$sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element;
$sql .= " WHERE piece_num = ".(int) $piecenum;
$sql .= " AND date_validated IS NULL"; // For security, exclusion of validated entries at the time of deletion
$sql .= " AND entity IN (".getEntity('accountancy').")";
$sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
$resql = $this->db->query($sql);
@@ -1637,8 +1636,8 @@ class BookKeeping extends CommonObject
$sql .= ", date_export";
}
$sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element.$mode;
$sql .= " WHERE piece_num = ".$piecenum;
$sql .= " AND entity IN (".getEntity('accountancy').")";
$sql .= " WHERE piece_num = ".((int) $piecenum);
$sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
dol_syslog(__METHOD__, LOG_DEBUG);
$result = $this->db->query($sql);
@@ -1676,9 +1675,10 @@ class BookKeeping extends CommonObject
global $conf;
$sql = "SELECT MAX(piece_num)+1 as max FROM ".MAIN_DB_PREFIX.$this->table_element.$mode;
$sql .= " WHERE entity IN (".getEntity('accountancy').")";
$sql .= " WHERE entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
dol_syslog(get_class($this)."::getNextNumMvt", LOG_DEBUG);
dol_syslog(get_class($this)."getNextNumMvt sql=".$sql, LOG_DEBUG);
$result = $this->db->query($sql);
if ($result) {
@@ -1718,8 +1718,8 @@ class BookKeeping extends CommonObject
$sql .= ", date_export";
}
$sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element.$mode;
$sql .= " WHERE piece_num = ".$piecenum;
$sql .= " AND entity IN (".getEntity('accountancy').")";
$sql .= " WHERE piece_num = ".((int) $piecenum);
$sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
dol_syslog(__METHOD__, LOG_DEBUG);
$result = $this->db->query($sql);
@@ -1751,7 +1751,6 @@ class BookKeeping extends CommonObject
$line->date_creation = $obj->date_creation;
$line->date_modification = $obj->date_modification;
$line->date_export = $obj->date_export;
$line->date_validation = $obj->date_validated;
$line->date_validation = $obj->date_validation;
$this->linesmvt[] = $line;
@@ -1783,7 +1782,7 @@ class BookKeeping extends CommonObject
$sql .= " montant as amount, sens, fk_user_author, import_key, code_journal, piece_num,";
$sql .= " date_validated as date_validation";
$sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element;
$sql .= " WHERE entity IN (".getEntity('accountancy').")";
$sql .= " WHERE entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
dol_syslog(get_class($this)."::export_bookkeeping", LOG_DEBUG);
@@ -1816,7 +1815,6 @@ class BookKeeping extends CommonObject
$line->sens = $obj->sens;
$line->code_journal = $obj->code_journal;
$line->piece_num = $obj->piece_num;
$line->date_validation = $obj->date_validated;
$line->date_validation = $obj->date_validation;
$this->linesexport[] = $line;
@@ -1840,6 +1838,8 @@ class BookKeeping extends CommonObject
*/
public function transformTransaction($direction = 0, $piece_num = '')
{
global $conf;
$error = 0;
$this->db->begin();
@@ -1858,15 +1858,15 @@ class BookKeeping extends CommonObject
$sql .= ' SELECT doc_date, doc_type,';
$sql .= ' doc_ref, fk_doc, fk_docdet, entity, thirdparty_code, subledger_account, subledger_label,';
$sql .= ' numero_compte, label_compte, label_operation, debit, credit,';
$sql .= ' montant, sens, fk_user_author, import_key, code_journal, journal_label, '.$next_piecenum.", '".$this->db->idate($now)."'";
$sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num);
$sql .= ' montant, sens, fk_user_author, import_key, code_journal, journal_label, '.((int) $next_piecenum).", '".$this->db->idate($now)."'";
$sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num).' AND entity = ' .((int) $conf->entity);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;
$this->errors[] = 'Error '.$this->db->lasterror();
dol_syslog(__METHOD__.' '.join(',', $this->errors), LOG_ERR);
}
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num);
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num).' AND entity = ' .((int) $conf->entity);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;
@@ -1874,7 +1874,7 @@ class BookKeeping extends CommonObject
dol_syslog(__METHOD__.' '.join(',', $this->errors), LOG_ERR);
}
} elseif ($direction == 1) {
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num);
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num).' AND entity = ' .((int) $conf->entity);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;
@@ -1889,14 +1889,14 @@ class BookKeeping extends CommonObject
$sql .= ' doc_ref, fk_doc, fk_docdet, thirdparty_code, subledger_account, subledger_label,';
$sql .= ' numero_compte, label_compte, label_operation, debit, credit,';
$sql .= ' montant, sens, fk_user_author, import_key, code_journal, journal_label, piece_num';
$sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.' WHERE piece_num = '.((int) $piece_num);
$sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.' WHERE piece_num = '.((int) $piece_num).' AND entity = ' .((int) $conf->entity);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;
$this->errors[] = 'Error '.$this->db->lasterror();
dol_syslog(__METHOD__.' '.join(',', $this->errors), LOG_ERR);
}
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num);
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num).' AND entity = ' .((int) $conf->entity);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;
@@ -1951,7 +1951,7 @@ class BookKeeping extends CommonObject
$sql .= " AND aa.active = 1";
$sql .= " INNER JOIN ".MAIN_DB_PREFIX."accounting_system as asy ON aa.fk_pcg_version = asy.pcg_version";
$sql .= " AND asy.rowid = ".((int) $pcgver);
$sql .= " AND ab.entity IN (".getEntity('accountancy').")";
$sql .= " AND ab.entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
$sql .= " ORDER BY account_number ASC";
dol_syslog(get_class($this)."::select_account", LOG_DEBUG);
@@ -2015,9 +2015,9 @@ class BookKeeping extends CommonObject
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as parent ON aa.account_parent = parent.rowid AND parent.active = 1";
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as root ON parent.account_parent = root.rowid AND root.active = 1";
$sql .= " WHERE aa.account_number = '".$this->db->escape($account)."'";
$sql .= " AND aa.entity IN (".getEntity('accountancy').")";
$sql .= " AND aa.entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
dol_syslog(get_class($this)."::select_account sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::select_account", LOG_DEBUG);
$resql = $this->db->query($sql);
if ($resql) {
$obj = '';
@@ -2055,9 +2055,9 @@ class BookKeeping extends CommonObject
$sql .= " AND asy.rowid = ".((int) $pcgver);
$sql .= " AND aa.active = 1";
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_accounting_category as cat ON aa.fk_accounting_category = cat.rowid";
$sql .= " WHERE aa.entity IN (".getEntity('accountancy').")";
$sql .= " WHERE aa.entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features
dol_syslog(get_class($this)."::select_account sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::select_account", LOG_DEBUG);
$resql = $this->db->query($sql);
if ($resql) {
$obj = '';
@@ -2117,15 +2117,26 @@ class BookKeepingLine
public $montant;
/**
* @var float Amount
* @var float Amount
*/
public $amount;
/**
* @var float Multicurrency amount
*/
public $multicurrency_amount;
/**
* @var float Multicurrency code
*/
public $multicurrency_code;
/**
* @var string Sens
*/
public $sens;
public $lettering_code;
public $date_lettering;
/**
* @var int ID
@@ -2156,4 +2167,9 @@ class BookKeepingLine
* @var integer|string $date_validation;
*/
public $date_validation;
/**
* @var integer|string $date_lim_reglement;
*/
public $date_lim_reglement;
}

View File

@@ -6,7 +6,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -279,7 +279,7 @@ class Lettering extends BookKeeping
$sql .= " WHERE rowid IN (".$this->db->sanitize(implode(',', $ids)).") AND date_validated IS NULL ";
$this->db->begin();
dol_syslog(get_class($this)."::update sql=".$sql, LOG_DEBUG);
dol_syslog(get_class($this)."::update", LOG_DEBUG);
$resql = $this->db->query($sql);
if (!$resql) {
$error++;

View File

@@ -31,7 +31,8 @@ require_once DOL_DOCUMENT_ROOT.'/accountancy/class/bookkeeping.class.php';
// Load translation files required by the page
$langs->loadLangs(array("compta", "bills", "other", "accountancy"));
$socid = GETPOST('socid', 'int');
$validatemonth = GETPOST('validatemonth', 'int');
$validateyear = GETPOST('validateyear', 'int');
$action = GETPOST('action', 'aZ09');
@@ -63,57 +64,52 @@ if (empty($conf->accounting->enabled)) {
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->fiscalyear->write) {
if (empty($user->rights->accounting->fiscalyear->write)) {
accessforbidden();
}
/*
* Actions
*/
$now = dol_now();
if ($action == 'validate_movements_confirm' && !empty($user->rights->accounting->fiscalyear->write)) {
$result = $object->fetchAll();
$date_start = dol_mktime(0, 0, 0, GETPOST('date_startmonth', 'int'), GETPOST('date_startday', 'int'), GETPOST('date_startyear', 'int'));
$date_end = dol_mktime(23, 59, 59, GETPOST('date_endmonth', 'int'), GETPOST('date_endday', 'int'), GETPOST('date_endyear', 'int'));
if ($result < 0) {
setEventMessages($object->error, $object->errors, 'errors');
} else {
// Specify as export : update field date_validated on selected month/year
$error = 0;
$db->begin();
$error = 0;
$date_start = dol_mktime(0, 0, 0, GETPOST('date_startmonth', 'int'), GETPOST('date_startday', 'int'), GETPOST('date_startyear', 'int'));
$date_end = dol_mktime(23, 59, 59, GETPOST('date_endmonth', 'int'), GETPOST('date_endday', 'int'), GETPOST('date_endyear', 'int'));
$db->begin();
if (is_array($object->lines)) {
foreach ($object->lines as $movement) {
$now = dol_now();
// Specify as export : update field date_validated on selected month/year
$sql = " UPDATE ".MAIN_DB_PREFIX."accounting_bookkeeping";
$sql .= " SET date_validated = '".$db->idate($now)."'";
$sql .= " WHERE entity = " . ((int) $conf->entity);
$sql .= " AND doc_date >= '" . $db->idate($date_start) . "'";
$sql .= " AND doc_date <= '" . $db->idate($date_end) . "'";
$sql .= " AND date_validated IS NULL";
$sql = " UPDATE ".MAIN_DB_PREFIX."accounting_bookkeeping";
$sql .= " SET date_validated = '".$db->idate($now)."'";
$sql .= " WHERE rowid = ".((int) $movement->id);
$sql .= " AND doc_date >= '" . $db->idate($date_start) . "'";
$sql .= " AND doc_date <= '" . $db->idate($date_end) . "'";
dol_syslog("/accountancy/closure/index.php action=validate_movement_confirm -> Set movements as validated", LOG_DEBUG);
$result = $db->query($sql);
if (!$result) {
$error++;
}
dol_syslog("/accountancy/closure/index.php :: Function validate_movement_confirm Specify movements as validated sql=".$sql, LOG_DEBUG);
$result = $db->query($sql);
if (!$result) {
$error++;
break;
}
}
}
if (!$error) {
$db->commit();
setEventMessages($langs->trans("AllMovementsWereRecordedAsValidated"), null, 'mesgs');
if (!$error) {
$db->commit();
setEventMessages($langs->trans("AllMovementsWereRecordedAsValidated"), null, 'mesgs');
} else {
$error++;
$db->rollback();
setEventMessages($langs->trans("NotAllMovementsCouldBeRecordedAsValidated"), null, 'errors');
}
header("Location: ".$_SERVER['PHP_SELF']."?year=".$year_start);
exit;
} else {
$db->rollback();
setEventMessages($langs->trans("NotAllMovementsCouldBeRecordedAsValidated"), null, 'errors');
$action = '';
}
}
@@ -189,7 +185,7 @@ for ($i = 1; $i <= 12; $i++) {
if ($j > 12) {
$j -= 12;
}
$sql .= " SUM(".$db->ifsql('MONTH(b.doc_date)='.$j, '1', '0').") AS month".str_pad($j, 2, '0', STR_PAD_LEFT).",";
$sql .= " SUM(".$db->ifsql("MONTH(b.doc_date)=".$j, "1", "0").") AS month".str_pad($j, 2, "0", STR_PAD_LEFT).",";
}
$sql .= " COUNT(b.rowid) as total";
$sql .= " FROM ".MAIN_DB_PREFIX."accounting_bookkeeping as b";
@@ -198,7 +194,7 @@ $sql .= " AND b.doc_date <= '".$db->idate($search_date_end)."'";
$sql .= " AND b.entity IN (".getEntity('bookkeeping', 0).")"; // We don't share object for accountancy
$sql .= " AND date_validated IS NULL";
dol_syslog('htdocs/accountancy/closure/index.php sql='.$sql, LOG_DEBUG);
dol_syslog('htdocs/accountancy/closure/index.php', LOG_DEBUG);
$resql = $db->query($sql);
if ($resql) {
$num = $db->num_rows($resql);

View File

@@ -117,7 +117,7 @@ if (!empty($id)) {
$sql .= " WHERE f.fk_statut > 0 AND l.rowid = ".((int) $id);
$sql .= " AND f.entity IN (".getEntity('invoice', 0).")"; // We don't share object for accountancy
dol_syslog("/accounting/customer/card.php sql=".$sql, LOG_DEBUG);
dol_syslog("/accounting/customer/card.php", LOG_DEBUG);
$result = $db->query($sql);
if ($result) {

View File

@@ -31,10 +31,14 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountingaccount.class.php';
// Load translation files required by the page
$langs->loadLangs(array("compta", "bills", "other", "accountancy"));
$validatemonth = GETPOST('validatemonth', 'int');
$validateyear = GETPOST('validateyear', 'int');
// Security check
if (empty($conf->accounting->enabled)) {
accessforbidden();
@@ -42,10 +46,11 @@ if (empty($conf->accounting->enabled)) {
if ($user->socid > 0) {
accessforbidden();
}
if (!$user->rights->accounting->bind->write) {
if (empty($user->rights->accounting->bind->write)) {
accessforbidden();
}
$accountingAccount = new AccountingAccount($db);
$month_start = ($conf->global->SOCIETE_FISCAL_MONTH_START ? ($conf->global->SOCIETE_FISCAL_MONTH_START) : 1);
if (GETPOST("year", 'int')) {
@@ -71,13 +76,24 @@ $action = GETPOST('action', 'aZ09');
$chartaccountcode = dol_getIdFromCode($db, $conf->global->CHARTOFACCOUNTS, 'accounting_system', 'rowid', 'pcg_version');
// Security check
if (empty($conf->accounting->enabled)) {
accessforbidden();
}
if ($user->socid > 0) {
accessforbidden();
}
if (empty($user->rights->accounting->mouvements->lire)) {
accessforbidden();
}
/*
* Actions
*/
if ($action == 'clean' || $action == 'validatehistory') {
// Clean database
if (($action == 'clean' || $action == 'validatehistory') && $user->rights->accounting->bind->write) {
// Clean database by removing binding done on non existing or no more existing accounts
$db->begin();
$sql1 = "UPDATE ".MAIN_DB_PREFIX."facturedet as fd";
$sql1 .= " SET fk_code_ventilation = 0";
@@ -85,8 +101,8 @@ if ($action == 'clean' || $action == 'validatehistory') {
$sql1 .= ' (SELECT accnt.rowid ';
$sql1 .= ' FROM '.MAIN_DB_PREFIX.'accounting_account as accnt';
$sql1 .= ' INNER JOIN '.MAIN_DB_PREFIX.'accounting_system as syst';
$sql1 .= ' ON accnt.fk_pcg_version = syst.pcg_version AND syst.rowid='.$conf->global->CHARTOFACCOUNTS.' AND accnt.entity = '.$conf->entity.')';
$sql1 .= ' AND fd.fk_facture IN (SELECT rowid FROM '.MAIN_DB_PREFIX.'facture WHERE entity = '.$conf->entity.')';
$sql1 .= ' ON accnt.fk_pcg_version = syst.pcg_version AND syst.rowid='.((int) $conf->global->CHARTOFACCOUNTS).' AND accnt.entity = '.((int) $conf->entity).')';
$sql1 .= ' AND fd.fk_facture IN (SELECT rowid FROM '.MAIN_DB_PREFIX.'facture WHERE entity = '.((int) $conf->entity).')';
$sql1 .= ' AND fk_code_ventilation <> 0';
dol_syslog("htdocs/accountancy/customer/index.php fixaccountancycode", LOG_DEBUG);
@@ -103,6 +119,9 @@ if ($action == 'clean' || $action == 'validatehistory') {
if ($action == 'validatehistory') {
$error = 0;
$nbbinddone = 0;
$notpossible = 0;
$db->begin();
// Now make the binding. Bind automatically only for product with a dedicated account that exists into chart of account, others need a manual bind
@@ -110,13 +129,13 @@ if ($action == 'validatehistory') {
$sql1 = "UPDATE " . MAIN_DB_PREFIX . "facturedet";
$sql1 .= " SET fk_code_ventilation = accnt.rowid";
$sql1 .= " FROM " . MAIN_DB_PREFIX . "product as p, " . MAIN_DB_PREFIX . "accounting_account as accnt , " . MAIN_DB_PREFIX . "accounting_system as syst";
$sql1 .= " WHERE " . MAIN_DB_PREFIX . "facturedet.fk_product = p.rowid AND accnt.fk_pcg_version = syst.pcg_version AND syst.rowid=" . ((int) $conf->global->CHARTOFACCOUNTS).' AND accnt.entity = '.$conf->entity;
$sql1 .= " WHERE " . MAIN_DB_PREFIX . "facturedet.fk_product = p.rowid AND accnt.fk_pcg_version = syst.pcg_version AND syst.rowid=" . ((int) $conf->global->CHARTOFACCOUNTS).' AND accnt.entity = '.((int) $conf->entity);
$sql1 .= " AND accnt.active = 1 AND p.accountancy_code_sell=accnt.account_number";
$sql1 .= " AND " . MAIN_DB_PREFIX . "facturedet.fk_code_ventilation = 0";
} else {
$sql1 = "UPDATE " . MAIN_DB_PREFIX . "facturedet as fd, " . MAIN_DB_PREFIX . "product as p, " . MAIN_DB_PREFIX . "accounting_account as accnt , " . MAIN_DB_PREFIX . "accounting_system as syst";
$sql1 .= " SET fk_code_ventilation = accnt.rowid";
$sql1 .= " WHERE fd.fk_product = p.rowid AND accnt.fk_pcg_version = syst.pcg_version AND syst.rowid=" . ((int) $conf->global->CHARTOFACCOUNTS).' AND accnt.entity = '.$conf->entity;
$sql1 .= " WHERE fd.fk_product = p.rowid AND accnt.fk_pcg_version = syst.pcg_version AND syst.rowid=" . ((int) $conf->global->CHARTOFACCOUNTS).' AND accnt.entity = '.((int) $conf->entity);
$sql1 .= " AND accnt.active = 1 AND p.accountancy_code_sell=accnt.account_number";
$sql1 .= " AND fd.fk_code_ventilation = 0";
}*/
@@ -134,18 +153,17 @@ if ($action == 'validatehistory') {
$sql .= " co.code as country_code, co.label as country_label,";
$sql .= " s.tva_intra,";
if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) {
$sql .= " spe.accountancy_code_sell as company_code_sell";
$sql .= " spe.accountancy_code_sell as company_code_sell"; // accounting code for product but stored on thirdparty
} else {
$sql .= " s.accountancy_code_sell as company_code_sell";
$sql .= " s.accountancy_code_sell as company_code_sell"; // accounting code for product but stored on thirdparty
}
$sql .= " FROM ".MAIN_DB_PREFIX."facture as f";
$sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc";
if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) {
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity);
}
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as co ON co.rowid = s.fk_pays ";
$sql .= " INNER JOIN ".MAIN_DB_PREFIX."facturedet as l ON f.rowid = l.fk_facture";
$sql .= " INNER JOIN ".MAIN_DB_PREFIX."facturedet as l ON f.rowid = l.fk_facture"; // the main table
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product";
if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) {
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity);
@@ -156,13 +174,16 @@ if ($action == 'validatehistory') {
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa2 ON " . $alias_product_perentity . ".accountancy_code_sell_intra = aa2.account_number AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity;
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa3 ON " . $alias_product_perentity . ".accountancy_code_sell_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity;
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa4 ON " . $alias_societe_perentity . ".accountancy_code_sell = aa4.account_number AND aa4.active = 1 AND aa4.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa4.entity = ".$conf->entity;
$sql .= " WHERE f.fk_statut > 0 AND l.fk_code_ventilation <= 0";
$sql .= " AND l.product_type <= 2";
$sql .= " WHERE f.fk_statut > 0 AND l.fk_code_ventilation <= 0 AND l.product_type <= 2 AND f.entity = ".((int) $conf->entity);
if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) {
$sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'";
}
if ($validatemonth && $validateyear) {
$sql .= dolSqlDateFilter('f.datef', 0, $validatemonth, $validateyear);
}
dol_syslog('htdocs/accountancy/customer/index.php');
$result = $db->query($sql);
if (!$result) {
$error++;
@@ -170,71 +191,112 @@ if ($action == 'validatehistory') {
} else {
$num_lines = $db->num_rows($result);
$facture_static = new Facture($db);
$isSellerInEEC = isInEEC($mysoc);
$thirdpartystatic = new Societe($db);
$facture_static = new Facture($db);
$facture_static_det = new FactureLigne($db);
$product_static = new Product($db);
$i = 0;
while ($i < min($num_lines, 10000)) { // No more than 10000 at once
$objp = $db->fetch_object($result);
$isBuyerInEEC = isInEEC($objp); // This make a database request but there is a cache into $conf->cache['country_code_in_EEC']
$thirdpartystatic->id = $objp->socid;
$thirdpartystatic->name = $objp->name;
$thirdpartystatic->client = $objp->client;
$thirdpartystatic->fournisseur = $objp->fournisseur;
$thirdpartystatic->code_client = $objp->code_client;
$thirdpartystatic->code_compta_client = $objp->code_compta_client;
$thirdpartystatic->code_fournisseur = $objp->code_fournisseur;
$thirdpartystatic->code_compta_fournisseur = $objp->code_compta_fournisseur;
$thirdpartystatic->email = $objp->email;
$thirdpartystatic->country_code = $objp->country_code;
$thirdpartystatic->tva_intra = $objp->tva_intra;
$thirdpartystatic->code_compta_product = $objp->company_code_sell; // The accounting account for product stored on thirdparty object (for level3 suggestion)
// Level 2: Search suggested account for product/service (similar code exists in page list.php to make manual binding)
$suggestedaccountingaccountfor = '';
if (($objp->country_code == $mysoc->country_code) || empty($objp->country_code)) { // If buyer in same country than seller (if not defined, we assume it is same country)
$objp->code_sell_p = $objp->code_sell;
$objp->aarowid_suggest = $objp->aarowid;
$suggestedaccountingaccountfor = '';
$product_static->ref = $objp->product_ref;
$product_static->id = $objp->product_id;
$product_static->type = $objp->type;
$product_static->label = $objp->product_label;
$product_static->status = $objp->status;
$product_static->status_buy = $objp->status_buy;
$product_static->accountancy_code_sell = $objp->code_sell;
$product_static->accountancy_code_sell_intra = $objp->code_sell_intra;
$product_static->accountancy_code_sell_export = $objp->code_sell_export;
$product_static->accountancy_code_buy = $objp->code_buy;
$product_static->accountancy_code_buy_intra = $objp->code_buy_intra;
$product_static->accountancy_code_buy_export = $objp->code_buy_export;
$product_static->tva_tx = $objp->tva_tx_prod;
$facture_static->ref = $objp->ref;
$facture_static->id = $objp->facid;
$facture_static->type = $objp->ftype;
$facture_static->date = $objp->datef;
$facture_static_det->id = $objp->rowid;
$facture_static_det->total_ht = $objp->total_ht;
$facture_static_det->tva_tx = $objp->tva_tx_line;
$facture_static_det->vat_src_code = $objp->vat_src_code;
$facture_static_det->product_type = $objp->type_l;
$facture_static_det->desc = $objp->description;
$accountingAccountArray = array(
'dom'=>$objp->aarowid,
'intra'=>$objp->aarowid_intra,
'export'=>$objp->aarowid_export,
'thirdparty' =>$objp->aarowid_thirdparty);
$code_sell_p_notset = '';
$code_sell_t_notset = '';
$suggestedid = 0;
$return=$accountingAccount->getAccountingCodeToBind($thirdpartystatic, $mysoc, $product_static, $facture_static, $facture_static_det, $accountingAccountArray, 'customer');
if (!is_array($return) && $return < 0) {
setEventMessage($accountingAccount->error, 'errors');
} else {
if ($isSellerInEEC && $isBuyerInEEC && $objp->tva_tx_line != 0) { // European intravat sale, but with VAT
$objp->code_sell_p = $objp->code_sell;
$objp->aarowid_suggest = $objp->aarowid;
$suggestedaccountingaccountfor = 'eecwithvat';
} elseif ($isSellerInEEC && $isBuyerInEEC && empty($objp->tva_intra)) { // European intravat sale, without VAT intra community number
$objp->code_sell_p = $objp->code_sell;
$objp->aarowid_suggest = 0; // There is a doubt, no automatic binding
$suggestedaccountingaccountfor = 'eecwithoutvatnumber';
} elseif ($isSellerInEEC && $isBuyerInEEC) { // European intravat sale
$objp->code_sell_p = $objp->code_sell_intra;
$objp->aarowid_suggest = $objp->aarowid_intra;
$suggestedaccountingaccountfor = 'eec';
} else { // Foreign sale
$objp->code_sell_p = $objp->code_sell_export;
$objp->aarowid_suggest = $objp->aarowid_export;
$suggestedaccountingaccountfor = 'export';
$suggestedid = $return['suggestedid'];
$suggestedaccountingaccountfor = $return['suggestedaccountingaccountfor'];
if (!empty($suggestedid) && $suggestedaccountingaccountfor != '' && $suggestedaccountingaccountfor != 'eecwithoutvatnumber') {
$suggestedid = $return['suggestedid'];
} else {
$suggestedid = 0;
}
}
if (!empty($conf->global->ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY)) {
// Level 3: Search suggested account for this thirdparty (similar code exists in page index.php to make automatic binding)
if (!empty($objp->company_code_sell)) {
$objp->code_sell_t = $objp->company_code_sell;
$objp->aarowid_suggest = $objp->aarowid_thirdparty;
$suggestedaccountingaccountfor = '';
}
}
if ($objp->aarowid_suggest > 0) {
if ($suggestedid > 0) {
$sqlupdate = "UPDATE ".MAIN_DB_PREFIX."facturedet";
$sqlupdate .= " SET fk_code_ventilation = ".((int) $objp->aarowid_suggest);
$sqlupdate .= " WHERE fk_code_ventilation <= 0 AND product_type <= 2 AND rowid = ".((int) $objp->rowid);
$sqlupdate .= " SET fk_code_ventilation = ".((int) $suggestedid);
$sqlupdate .= " WHERE fk_code_ventilation <= 0 AND product_type <= 2 AND rowid = ".((int) $facture_static_det->id);
$resqlupdate = $db->query($sqlupdate);
if (!$resqlupdate) {
$error++;
setEventMessages($db->lasterror(), null, 'errors');
break;
} else {
$nbbinddone++;
}
} else {
$notpossible++;
}
$i++;
}
if ($num_lines > 10000) {
$notpossible += ($num_lines - 10000);
}
}
if ($error) {
$db->rollback();
} else {
$db->commit();
setEventMessages($langs->trans('AutomaticBindingDone'), null, 'mesgs');
setEventMessages($langs->trans('AutomaticBindingDone', $nbbinddone, $notpossible), null, 'mesgs');
}
}
@@ -258,21 +320,38 @@ print '</span><br>';
$y = $year_current;
$buttonbind = '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?year='.$year_current.'&action=validatehistory">'.$langs->trans("ValidateHistory").'</a>';
$buttonbind = '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?action=validatehistory&token='.newToken().'">'.$langs->trans("ValidateHistory").'</a>';
print_barre_liste($langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, $buttonbind, '', 0, 1, 1);
print_barre_liste(img_picto('', 'unlink', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, $buttonbind, '', 0, 1, 1);
//print load_fiche_titre($langs->trans("OverviewOfAmountOfLinesNotBound"), $buttonbind, '');
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre"><td class="minwidth100">'.$langs->trans("Account").'</td>';
print '<td class="left">'.$langs->trans("Label").'</td>';
print '<td>'.$langs->trans("Label").'</td>';
for ($i = 1; $i <= 12; $i++) {
$j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) - 1;
if ($j > 12) {
$j -= 12;
}
print '<td width="60" class="right">'.$langs->trans('MonthShort'.str_pad($j, 2, '0', STR_PAD_LEFT)).'</td>';
$cursormonth = $j;
if ($cursormonth > 12) {
$cursormonth -= 12;
}
$cursoryear = ($cursormonth < ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1)) ? $y + 1 : $y;
$tmp = dol_getdate(dol_get_last_day($cursoryear, $cursormonth, 'gmt'), false, 'gmt');
print '<td width="60" class="right">';
if (!empty($tmp['mday'])) {
$param = 'search_date_startday=1&search_date_startmonth='.$cursormonth.'&search_date_startyear='.$cursoryear;
$param .= '&search_date_endday='.$tmp['mday'].'&search_date_endmonth='.$tmp['mon'].'&search_date_endyear='.$tmp['year'];
print '<a href="'.DOL_URL_ROOT.'/accountancy/customer/list.php?'.$param.'">';
}
print $langs->trans('MonthShort'.str_pad($j, 2, '0', STR_PAD_LEFT));
if (!empty($tmp['mday'])) {
print '</a>';
}
print '</td>';
}
print '<td width="60" class="right"><b>'.$langs->trans("Total").'</b></td></tr>';
@@ -283,7 +362,7 @@ for ($i = 1; $i <= 12; $i++) {
if ($j > 12) {
$j -= 12;
}
$sql .= " SUM(".$db->ifsql('MONTH(f.datef)='.$j, 'fd.total_ht', '0').") AS month".str_pad($j, 2, '0', STR_PAD_LEFT).",";
$sql .= " SUM(".$db->ifsql("MONTH(f.datef)=".$j, "fd.total_ht", "0").") AS month".str_pad($j, 2, "0", STR_PAD_LEFT).",";
}
$sql .= " SUM(fd.total_ht) as total";
$sql .= " FROM ".MAIN_DB_PREFIX."facturedet as fd";
@@ -306,34 +385,49 @@ if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) {
}
$sql .= " GROUP BY fd.fk_code_ventilation,aa.account_number,aa.label";
dol_syslog('htdocs/accountancy/customer/index.php sql='.$sql, LOG_DEBUG);
dol_syslog('htdocs/accountancy/customer/index.php', LOG_DEBUG);
$resql = $db->query($sql);
if ($resql) {
$num = $db->num_rows($resql);
while ($row = $db->fetch_row($resql)) {
print '<tr class="oddeven"><td>';
print '<tr class="oddeven">';
print '<td>';
if ($row[0] == 'tobind') {
print '<span class="opacitymedium">'.$langs->trans("Unknown").'</span>';
} else {
print length_accountg($row[0]);
}
print '</td>';
print '<td class="left">';
print '<td>';
if ($row[0] == 'tobind') {
print $langs->trans("UseMenuToSetBindindManualy", DOL_URL_ROOT.'/accountancy/customer/list.php?search_year='.$y, $langs->transnoentitiesnoconv("ToBind"));
print $langs->trans("UseMenuToSetBindindManualy", DOL_URL_ROOT.'/accountancy/customer/list.php?search_year='.((int) $y), $langs->transnoentitiesnoconv("ToBind"));
} else {
print $row[1];
}
print '</td>';
for ($i = 2; $i <= 12; $i++) {
print '<td class="right nowraponall amount">'.price($row[$i]).'</td>';
for ($i = 2; $i <= 13; $i++) {
$cursormonth = (($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) + $i - 2);
if ($cursormonth > 12) {
$cursormonth -= 12;
}
$cursoryear = ($cursormonth < ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1)) ? $y + 1 : $y;
$tmp = dol_getdate(dol_get_last_day($cursoryear, $cursormonth, 'gmt'), false, 'gmt');
print '<td class="right nowraponall amount">';
print price($row[$i]);
print '</td>';
}
print '<td class="right nowraponall amount">'.price($row[13]).'</td>';
print '<td class="right nowraponall amount"><b>'.price($row[14]).'</b></td>';
print '</tr>';
}
$db->free($resql);
if ($num == 0) {
print '<tr class="oddeven"><td colspan="16">';
print '<span class="opacitymedium">'.$langs->trans("NoRecordFound").'</span>';
print '</td></tr>';
}
} else {
print $db->lasterror(); // Show last sql error
}
@@ -344,19 +438,36 @@ print '</div>';
print '<br>';
print_barre_liste($langs->trans("OverviewOfAmountOfLinesBound"), '', '', '', '', '', '', -1, '', '', 0, '', '', 0, 1, 1);
print_barre_liste(img_picto('', 'link', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesBound"), '', '', '', '', '', '', -1, '', '', 0, '', '', 0, 1, 1);
//print load_fiche_titre($langs->trans("OverviewOfAmountOfLinesBound"), '', '');
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre"><td class="minwidth100">'.$langs->trans("Account").'</td>';
print '<td class="left">'.$langs->trans("Label").'</td>';
print '<td>'.$langs->trans("Label").'</td>';
for ($i = 1; $i <= 12; $i++) {
$j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) - 1;
if ($j > 12) {
$j -= 12;
}
print '<td width="60" class="right">'.$langs->trans('MonthShort'.str_pad($j, 2, '0', STR_PAD_LEFT)).'</td>';
$cursormonth = $j;
if ($cursormonth > 12) {
$cursormonth -= 12;
}
$cursoryear = ($cursormonth < ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1)) ? $y + 1 : $y;
$tmp = dol_getdate(dol_get_last_day($cursoryear, $cursormonth, 'gmt'), false, 'gmt');
print '<td width="60" class="right">';
if (!empty($tmp['mday'])) {
$param = 'search_date_startday=1&search_date_startmonth='.$cursormonth.'&search_date_startyear='.$cursoryear;
$param .= '&search_date_endday='.$tmp['mday'].'&search_date_endmonth='.$tmp['mon'].'&search_date_endyear='.$tmp['year'];
print '<a href="'.DOL_URL_ROOT.'/accountancy/customer/lines.php?'.$param.'">';
}
print $langs->trans('MonthShort'.str_pad($j, 2, '0', STR_PAD_LEFT));
if (!empty($tmp['mday'])) {
print '</a>';
}
print '</td>';
}
print '<td width="60" class="right"><b>'.$langs->trans("Total").'</b></td></tr>';
@@ -367,7 +478,7 @@ for ($i = 1; $i <= 12; $i++) {
if ($j > 12) {
$j -= 12;
}
$sql .= " SUM(".$db->ifsql('MONTH(f.datef)='.$j, 'fd.total_ht', '0').") AS month".str_pad($j, 2, '0', STR_PAD_LEFT).",";
$sql .= " SUM(".$db->ifsql("MONTH(f.datef)=".$j, "fd.total_ht", "0").") AS month".str_pad($j, 2, "0", STR_PAD_LEFT).",";
}
$sql .= " SUM(fd.total_ht) as total";
$sql .= " FROM ".MAIN_DB_PREFIX."facturedet as fd";
@@ -389,6 +500,7 @@ if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) {
}
$sql .= " AND aa.account_number IS NOT NULL";
$sql .= " GROUP BY fd.fk_code_ventilation,aa.account_number,aa.label";
$sql .= ' ORDER BY aa.account_number';
dol_syslog('htdocs/accountancy/customer/index.php');
$resql = $db->query($sql);
@@ -396,7 +508,8 @@ if ($resql) {
$num = $db->num_rows($resql);
while ($row = $db->fetch_row($resql)) {
print '<tr class="oddeven"><td>';
print '<tr class="oddeven">';
print '<td>';
if ($row[0] == 'tobind') {
print $langs->trans("Unknown");
} else {
@@ -404,22 +517,36 @@ if ($resql) {
}
print '</td>';
print '<td class="left">';
print '<td>';
if ($row[0] == 'tobind') {
print $langs->trans("UseMenuToSetBindindManualy", DOL_URL_ROOT.'/accountancy/customer/list.php?search_year='.$y, $langs->transnoentitiesnoconv("ToBind"));
print $langs->trans("UseMenuToSetBindindManualy", DOL_URL_ROOT.'/accountancy/customer/list.php?search_year='.((int) $y), $langs->transnoentitiesnoconv("ToBind"));
} else {
print $row[1];
}
print '</td>';
for ($i = 2; $i <= 12; $i++) {
print '<td class="right nowraponall amount">'.price($row[$i]).'</td>';
for ($i = 2; $i <= 13; $i++) {
$cursormonth = (($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) + $i - 2);
if ($cursormonth > 12) {
$cursormonth -= 12;
}
$cursoryear = ($cursormonth < ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1)) ? $y + 1 : $y;
$tmp = dol_getdate(dol_get_last_day($cursoryear, $cursormonth, 'gmt'), false, 'gmt');
print '<td class="right nowraponall amount">';
print price($row[$i]);
print '</td>';
}
print '<td class="right nowraponall amount">'.price($row[13]).'</td>';
print '<td class="right nowraponall amount"><b>'.price($row[14]).'</b></td>';
print '</tr>';
}
$db->free($resql);
if ($num == 0) {
print '<tr class="oddeven"><td colspan="16">';
print '<span class="opacitymedium">'.$langs->trans("NoRecordFound").'</span>';
print '</td></tr>';
}
} else {
print $db->lasterror(); // Show last sql error
}
@@ -452,7 +579,7 @@ if ($conf->global->MAIN_FEATURES_LEVEL > 0) { // This part of code looks strange
if ($j > 12) {
$j -= 12;
}
$sql .= " SUM(".$db->ifsql('MONTH(f.datef)='.$j, 'fd.total_ht', '0').") AS month".str_pad($j, 2, '0', STR_PAD_LEFT).",";
$sql .= " SUM(".$db->ifsql("MONTH(f.datef)=".$j, "fd.total_ht", "0").") AS month".str_pad($j, 2, "0", STR_PAD_LEFT).",";
}
$sql .= " SUM(fd.total_ht) as total";
$sql .= " FROM ".MAIN_DB_PREFIX."facturedet as fd";
@@ -506,16 +633,22 @@ if ($conf->global->MAIN_FEATURES_LEVEL > 0) { // This part of code looks strange
print '<td width="60" class="right">'.$langs->trans('MonthShort'.str_pad($j, 2, '0', STR_PAD_LEFT)).'</td>';
}
print '<td width="60" class="right"><b>'.$langs->trans("Total").'</b></td></tr>';
$sql = "SELECT '".$db->escape($langs->trans("Vide"))."' AS marge,";
for ($i = 1; $i <= 12; $i++) {
$j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) - 1;
if ($j > 12) {
$j -= 12;
}
$sql .= " SUM(".$db->ifsql('MONTH(f.datef)='.$j, '(fd.total_ht-(fd.qty * fd.buy_price_ht))', '0').") AS month".str_pad($j, 2, '0', STR_PAD_LEFT).",";
$sql .= " SUM(".$db->ifsql("MONTH(f.datef)=".$j,
" (".$db->ifsql("fd.total_ht < 0",
" (-1 * (abs(fd.total_ht) - (fd.buy_price_ht * fd.qty * (fd.situation_percent / 100))))",
" (fd.total_ht - (fd.buy_price_ht * fd.qty * (fd.situation_percent / 100)))").")",
0).") AS month".str_pad($j, 2, '0', STR_PAD_LEFT).",";
}
$sql .= " SUM((fd.total_ht-(fd.qty * fd.buy_price_ht))) as total";
$sql .= " SUM(".$db->ifsql("fd.total_ht < 0",
" (-1 * (abs(fd.total_ht) - (fd.buy_price_ht * fd.qty * (fd.situation_percent / 100))))",
" (fd.total_ht - (fd.buy_price_ht * fd.qty * (fd.situation_percent / 100)))").") as total";
$sql .= " FROM ".MAIN_DB_PREFIX."facturedet as fd";
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."facture as f ON f.rowid = fd.fk_facture";
$sql .= " WHERE f.datef >= '".$db->idate($search_date_start)."'";
@@ -532,7 +665,6 @@ if ($conf->global->MAIN_FEATURES_LEVEL > 0) { // This part of code looks strange
} else {
$sql .= " AND f.type IN (".Facture::TYPE_STANDARD.", ".Facture::TYPE_REPLACEMENT.", ".Facture::TYPE_CREDIT_NOTE.", ".Facture::TYPE_DEPOSIT.", ".Facture::TYPE_SITUATION.")";
}
dol_syslog('htdocs/accountancy/customer/index.php');
$resql = $db->query($sql);
if ($resql) {

Some files were not shown because too many files have changed in this diff Show More