Frédéric FRANCE
216da52972
Merge remote-tracking branch 'upstream/develop' into patch-8
2021-01-16 14:00:05 +01:00
Laurent Destailleur
4864808e4d
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/html.formmail.class.php
2021-01-16 13:45:34 +01:00
Laurent Destailleur
b3d7783a29
Fix multicompany compatibility of preview of file in email form
2021-01-16 13:41:27 +01:00
Laurent Destailleur
c7c74e8ed1
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/fourn/facture/card.php
2021-01-15 19:53:46 +01:00
andreubisquerra
2f9f933ea8
FIX Avoid php errors if negative var in Receipt Module
2021-01-15 19:28:12 +01:00
Laurent Destailleur
d36c406074
Code comment
2021-01-15 19:24:53 +01:00
Laurent Destailleur
80ed651c5e
Fix GETPOST
2021-01-15 19:23:56 +01:00
Laurent Destailleur
ea266c1f2d
Fix missing alias
2021-01-15 17:59:08 +01:00
Laurent Destailleur
32bd194f8e
Sort array
2021-01-15 17:47:14 +01:00
Laurent Destailleur
4b66f6bcd3
Restrict list to customer and supplier only
...
Merge 2 sql request in to 1
2021-01-15 17:43:54 +01:00
Laurent Destailleur
0e636031ba
Add option
...
MAIN_USE_VAT_OF_PRODUCT_FOR_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID
2021-01-15 16:07:00 +01:00
Laurent Destailleur
9350774808
Add option
...
MAIN_USE_VAT_OF_PRODUCT_FOR_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID
2021-01-15 16:06:22 +01:00
Laurent Destailleur
c778eafc4a
Fix very slow effect.
2021-01-15 14:54:23 +01:00
Alexandre SPANGARO
0904212c0b
Better works
2021-01-15 14:19:41 +01:00
Laurent Destailleur
39b6f2fb6a
Revert. restore old behaviour, the picto before the input field lead to
...
confusion for some users and break presentation with some pages
2021-01-15 13:36:24 +01:00
Laurent Destailleur
dc9cd28437
Look and feel v14
2021-01-15 13:14:21 +01:00
Laurent Destailleur
4c50f25c12
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-15 11:41:45 +01:00
zuiko
dd9031432a
Update functions.lib.php
...
Fix #15820
function price2num
add underscore and - in the pattern in instruction
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>]/', '', $amount);
as this:
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>\_\-]/', '', $amount);
in order to cover some constantes cases as 20% (TX_NORMAL) or 10% (TX_REDUIT) for example where underscore or - can be used.
I don't know if other characters have to be added to this pattern.
2021-01-15 10:29:31 +01:00
Florian HENRY
cd62c9ed6d
Merge branch '13.0' of github.com:Dolibarr/dolibarr into 13.0
2021-01-15 08:11:30 +01:00
Alexandre SPANGARO
e812c200c5
Optimize select_auxaccount
2021-01-15 03:37:17 +01:00
Laurent Destailleur
0d704b0714
FIX error managent and db transaction balance
2021-01-14 19:09:57 +01:00
zuiko
fd5948f716
Update functions.lib.php
...
Fix #15820
Fix #15820
function price2num
add underscore in the pattern in instruction
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>]/', '', $amount);
as this:
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>\_\-]/', '', $amount);
in order to cover some constantes cases as 20% (TX_NORMAL) or 10% (TX_REDUIT) where underscore is used.
it seems that some constantes use also "-" so I added it in the pattern.
I don't know if other characters have to be added to this pattern.
2021-01-14 15:00:53 +01:00
zuiko
727751e0c1
Update functions.lib.php
...
Fix #15820
function price2num
add underscore in the pattern in instruction
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>]/', '', $amount);
as this:
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>\_]/', '', $amount);
in order to cover some constantes cases as 20% (TX_NORMAL) or 10% (TX_REDUIT) where underscore is used.
I don't know if other characters have to be added to this pattern.
2021-01-14 14:44:32 +01:00
Laurent Destailleur
aaddda9a6e
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/list.php
htdocs/accountancy/bookkeeping/listbysubaccount.php
htdocs/accountancy/class/accountancyexport.class.php
htdocs/user/class/usergroup.class.php
2021-01-14 14:13:08 +01:00
Laurent Destailleur
d76aab4d08
Clean code and comment to have code easier to undestand.
2021-01-14 10:56:24 +01:00
Frédéric FRANCE
225c68d5e6
Update box_members.php
2021-01-13 22:00:40 +01:00
Frédéric FRANCE
923a5fe2a5
Merge remote-tracking branch 'upstream/develop' into davadmin
2021-01-13 18:45:29 +01:00
Laurent Destailleur
43161be711
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-13 17:45:38 +01:00
Laurent Destailleur
0af5c9ae91
Fix phpcs
2021-01-13 17:45:17 +01:00
Laurent Destailleur
7f04307adf
Merge branch 'develop' into develop#2
2021-01-13 17:40:21 +01:00
Frédéric FRANCE
40a45efb63
fix code
2021-01-13 16:23:54 +01:00
Frédéric FRANCE
cb7266d261
fix trans
2021-01-13 16:18:23 +01:00
Laurent Destailleur
b7402ecf3f
Merge branch 'develop' into NEW_product_customer_price_ref
2021-01-13 13:38:19 +01:00
Laurent Destailleur
015c5a028b
Doxygen
2021-01-13 12:45:23 +01:00
Laurent Destailleur
93a2edd8d9
Fix property not used
2021-01-13 12:21:26 +01:00
Laurent Destailleur
3bed2c91c7
Fix version
2021-01-13 12:20:32 +01:00
stickler-ci
432d45b289
Fixing style errors.
2021-01-13 11:19:39 +00:00
Laurent Destailleur
1571b0496c
Merge pull request #15794 from atm-gauthier/develop_new_workstation
...
NEW : Workstations management
2021-01-13 12:19:38 +01:00
Laurent Destailleur
1499998a99
Debug
2021-01-13 12:17:45 +01:00
Frédéric FRANCE
dad329602a
Update html.formmail.class.php
2021-01-12 23:46:29 +01:00
Frédéric FRANCE
cf24fd5d85
code syntax
2021-01-12 23:30:59 +01:00
zuiko
f718a396d5
Update mod_barcode_product_standard.php
...
$out .= $obj->libelle; //take the libelle corresponding to the type rowid in the database
Take the libelle instead the code for the litteral value of the barcode type rowid.
2021-01-12 21:59:09 +01:00
Florian HENRY
1cc88794b5
merge from 12.0 because this bug comme from it
2021-01-12 21:48:34 +01:00
Florian HENRY
34b792e9a2
betterfix
2021-01-12 21:44:18 +01:00
zuiko
364158c35b
Update mod_barcode_product_standard.php
...
Blank line after comment removed...
2021-01-12 21:24:55 +01:00
stickler-ci
14e3be630c
Fixing style errors.
2021-01-12 20:16:34 +00:00
zuiko
ff06798660
Update mod_barcode_product_standard.php
...
More evolving coding by testing the type of barcode in literal form.
Does not change deeply the #15918 correction principle in order to fix bug #15633 .
2021-01-12 21:14:43 +01:00
Laurent Destailleur
958b255822
Fix #15949 by introducing 'alphawithlgt' as GETPOST possible param.
2021-01-12 21:06:02 +01:00
Laurent Destailleur
a7c78c2f60
Merge pull request #15960 from seblu/fix_ldap_login
...
Use login from LDAP attribute
2021-01-12 20:59:46 +01:00
Florian HENRY
f30b303269
Merge branch '12.0' into 13.0
2021-01-12 17:45:54 +01:00
Florian HENRY
5b21702508
extrafeild selllist can be use with string fk
2021-01-12 17:44:22 +01:00
Marc de Lima Lucio
82b0f18378
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into NEW_product_customer_price_ref
2021-01-12 15:10:15 +01:00
Laurent Destailleur
2e9f3b803d
Add some hooks to add new buttons (compensation of removal of tabs).
...
Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
2021-01-12 13:59:20 +01:00
Sébastien Luttringer
3f13dacacd
Use login from LDAP attribute
...
The LDAP authentication function (check_user_password_ldap) returns the login
sting when authentication is successful.
The current implementation always return the provided login to the check function,
instead of LDAP entry login field (as defined in the LDAP_FIELD_LOGIN).
This is problematic when you expect user to log with several login, like mail,
or the LDAP login doesn't match the dolibarr database.
For example, the following filter allows users auth with mail and cn ldap fields:
$dolibarr_main_auth_ldap_filter = '(&(objectClass=person)(|(cn=%1%)(mail=%1%)))';
but, dolibarr will not find the user when mail is provided.
This patch returns the $ldap->login when LDAP_FIELD_LOGIN is configured.
2021-01-12 12:07:36 +01:00
Florian HENRY
98eff62aff
Merge branch '13_backport' into dev_fix_contact_bulk
2021-01-12 10:25:18 +01:00
Florian HENRY
e34a797899
Merge branch '13.0' of github.com:Dolibarr/dolibarr into 13_backport
2021-01-12 10:21:35 +01:00
Laurent Destailleur
3906acc951
Must use the generic version
2021-01-12 10:00:05 +01:00
Florian HENRY
21e1d5c8c9
Merge branch '13.0' of github.com:Dolibarr/dolibarr into 13_8fablab
2021-01-11 18:07:10 +01:00
Laurent Destailleur
c2187b2ff1
Merge branch 'develop' into develop_new_workstation
2021-01-11 17:59:13 +01:00
Laurent Destailleur
cae9dc3acf
Merge pull request #15925 from FHenry/dev_add_tag_contact_thirdpartycontactcreateion
...
NEW : Add contact tag and bulk email status on thirparty+contact create form
2021-01-11 17:28:12 +01:00
Laurent Destailleur
df3034d13a
Merge branch 'develop' into patch-1
2021-01-11 17:15:46 +01:00
Laurent Destailleur
238fd5accb
Merge pull request #15346 from ATM-Consulting/FIX_12.0_date_extrafields_are_not_filterable_on_lists
...
NEW Can filter on extrafields date on lists
2021-01-11 16:41:01 +01:00
Laurent Destailleur
307d718e82
Merge pull request #15931 from ATM-Nicolas/new_shipping_workflow
...
NEW : Workflow to set a shipment as closed
2021-01-11 16:34:26 +01:00
stickler-ci
f5fa7928ca
Fixing style errors.
2021-01-11 15:29:33 +00:00
Laurent Destailleur
5ee97dfd4a
Update mod_barcode_product_standard.php
2021-01-11 16:27:37 +01:00
Laurent Destailleur
9962c182c4
Merge pull request #15805 from FHenry/dev_exfields_of_lines_into_line_tr
...
NEW : Extrafields of documents lines are inside the lines, not any more on separate TR
2021-01-11 16:15:45 +01:00
Laurent Destailleur
f6de607889
Fix warning
2021-01-11 16:07:02 +01:00
Laurent Destailleur
9a5ae77615
Merge pull request #15926 from FHenry/develop
...
fix : remove php warning on install pages
2021-01-11 16:04:04 +01:00
Laurent Destailleur
ed00f6bfb9
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-11 13:46:50 +01:00
Laurent Destailleur
f9f84f84ba
Fix rounding of foreign amount
2021-01-11 13:46:23 +01:00
Laurent Destailleur
5bd59cd6d1
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-11 13:37:59 +01:00
Laurent Destailleur
8debb58f7c
Fix rounding of currency unit prices
2021-01-11 13:36:53 +01:00
Laurent Destailleur
5660159a6d
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/bom/bom_card.php
2021-01-11 13:13:26 +01:00
Laurent Destailleur
c10072ccef
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
2021-01-11 13:07:31 +01:00
Gauthier PC portable 024
6668cfa311
FIX : name in copyrights
2021-01-11 11:40:04 +01:00
Gauthier PC portable 024
e3e4f0590c
FIX : get and delete linked items with association tables methods created in common object
2021-01-11 11:36:19 +01:00
Gauthier PC portable 024
8dfb088fc5
Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop_new_workstation
2021-01-11 10:34:38 +01:00
Florian HENRY
c7cddb19be
fix stickler
2021-01-10 11:58:22 +01:00
Florian HENRY
2a3a73c831
Merge HEAD, branch 'develop' of github.com:Dolibarr/dolibarr into develop
2021-01-10 11:58:06 +01:00
Laurent Destailleur
f411b29b28
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/listbysubaccount.php
htdocs/langs/en_US/main.lang
htdocs/langs/fr_FR/accountancy.lang
2021-01-09 02:34:43 +01:00
Laurent Destailleur
b3461161ec
Add option MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH
2021-01-09 02:28:50 +01:00
zuiko
bcff65c3d3
Update mod_barcode_product_standard.php
...
get barcode type configuration for products only if $type not set
2021-01-09 01:01:14 +01:00
ATM-Nicolas
5a6e4f54f0
NEW : Workflow to set a shipment as closed
2021-01-08 16:25:54 +01:00
Florian Mortgat
d7d44e22e3
FIX warning when filtering on date extrafield (cannot concatenate array to string)
2021-01-08 10:30:39 +01:00
Florian Mortgat
6a759b4bd0
Merge branch 'refs/heads/develop' into FIX_12.0_date_extrafields_are_not_filterable_on_lists
2021-01-08 09:21:58 +01:00
Florian Mortgat
77933de467
Merge branch '12.0' into FIX_12.0_date_extrafields_are_not_filterable_on_lists
2021-01-08 09:08:52 +01:00
Florian Mortgat
5418fcd5be
[minor fix] remove useless intval()
2021-01-08 09:05:32 +01:00
Florian HENRY
7c08e3330c
Merge HEAD, branch 'develop' of github.com:Dolibarr/dolibarr into develop
2021-01-07 17:54:49 +01:00
Florian HENRY
04d8a679a7
fix warning message on install
2021-01-07 17:51:45 +01:00
Florian HENRY
8adfe54949
bulk email management
2021-01-07 17:33:57 +01:00
Florian HENRY
9b1b755cc2
Merge branch '13.0' of github.com:Dolibarr/dolibarr into 13_8fablab
2021-01-07 17:24:53 +01:00
Florian HENRY
5c53a963e2
bulk email management
2021-01-07 17:23:02 +01:00
Laurent Destailleur
2794327e10
Update box_birthdays.php
2021-01-07 12:50:14 +01:00
Lars Wallenborn
1880e51d1c
[FIX] sort order in birthday box
...
The current sort order is by date and not by day of month. This yields
the following unexpected results:
Given
* Person A, born on 1980-01-10
* Person B, born on 1970-01-30
I expect Person A to be listed first because their birthday is before
that of Person B _in January_. But without this fix, Person B would show
up first because 1970 is before 1980.
2021-01-07 12:50:07 +01:00
Laurent Destailleur
a498f8dfe1
Fix sort by day
2021-01-07 12:49:54 +01:00
Laurent Destailleur
094ea841db
Fix sort by day
2021-01-07 12:49:19 +01:00
Laurent Destailleur
28cb391924
Merge pull request #15922 from larsborn/develop
...
Fix sort order in birthday box
2021-01-07 12:47:30 +01:00
Laurent Destailleur
ddc3f35be1
Update box_birthdays.php
2021-01-07 12:47:16 +01:00
Laurent Destailleur
6da3ed1a51
Merge 2 exclusive options into 1
2021-01-07 12:39:51 +01:00
Lars Wallenborn
f578164b42
[FIX] sort order in birthday box
...
The current sort order is by date and not by day of month. This yields
the following unexpected results:
Given
* Person A, born on 1980-01-10
* Person B, born on 1970-01-30
I expect Person A to be listed first because their birthday is before
that of Person B _in January_. But without this fix, Person B would show
up first because 1970 is before 1980.
2021-01-07 11:43:11 +01:00