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
Laurent Destailleur
13b17fa0da
FIX #19564
2021-12-19 20:28:27 +01:00
Laurent Destailleur
5c4fad3cc0
phpcs
2021-12-19 00:37:43 +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
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
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
43e682b56f
Fix several pb with down payments
2021-12-16 12:33:45 +01:00
John BOTELLA
d149596043
fix test of method exist on wrong object
2021-12-16 10:33:53 +01:00
Frans Bosman
cf05f38e54
Update functions.lib.php
...
Change exists to isset in price2num
2021-12-13 19:56:06 +01:00
jpb
ac8538a812
add info for acces right
2021-12-13 16:53:34 +01:00
Gauthier PC portable 024
b609c579b6
FIX : postgresql compatibility, "" as is not authorized
2021-12-10 11:40:25 +01:00
Regis Houssin
1098426005
FIX wrong syntax of sql request
2021-12-09 10:31:02 +01:00
Laurent Destailleur
8f7b222764
Fix phpcs
2021-12-08 18:37:07 +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
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
Quentin VIAL-GOUTEYRON
826bde0656
FIX set optional from post
2021-12-06 11:19:12 +01:00
Laurent Destailleur
2b505ec9b8
Fix can read category if can run takepos.
2021-12-05 13:01:05 +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
5d7f8d3831
Fix fatal error
2021-11-30 15:54:28 +01:00
Ferran Marcet
ac975ecc61
Undo changes
2021-11-30 13:30:17 +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
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
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
Francis Appels
5bb21a93a1
FIX fatal error on cron list.
2021-11-27 18:25:38 +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
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
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
Laurent Destailleur
78f94b1c76
Fix css and label for recurring invoices
2021-11-25 14:17:20 +01:00
Laurent Destailleur
e07008f6e9
Fix tooltip
2021-11-25 09:40:54 +01:00
Laurent Destailleur
cdc160b9a9
FIX column alignement on valid confirm page of shipment
2021-11-19 11:12:53 +01:00
Laurent Destailleur
e609622f2b
Fix test on verifCond for value 0
2021-11-18 13:17:48 +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
a94b2b4f7e
Clean code
2021-11-08 03:22:49 +01:00
Laurent Destailleur
3b7c385c6c
Fix syntax error
2021-11-07 13:53:30 +01:00
Laurent Destailleur
ccc1d4d1fa
Fix warning
2021-11-07 12:24:25 +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
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
19b9412c13
FIX #19305
2021-11-05 12:49:33 +01:00
Laurent Destailleur
3959d12a39
Update DoliDB.class.php
2021-11-05 12:42:42 +01:00
ATM john
dd8d4e9e98
Fix missing return status
2021-11-04 12:10:19 +01:00
daraelmin
d334fe1292
Fix Bad count of subscription by year
...
If
2021-11-03 13:12:33 +01:00
Laurent Destailleur
0e4c113e7f
Fix phpcs
2021-10-31 17:11:23 +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
fb6a1d1f51
FIX #19210
2021-10-31 16:59:48 +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
e6e440e573
Fix #19257 error in the page Overview of a project
2021-10-31 15:14:15 +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
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
Alexandre SPANGARO
54b81312b5
FIX Ticket - Duplicate field project when we create ticket from project
2021-10-30 22:49: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
f033e91cb0
phpcs
2021-10-28 11:03:27 +02:00
Laurent Destailleur
41bba0e879
Fix import of members
2021-10-28 00:12:41 +02:00
Florian HENRY
46119c99a2
fix: warning dol_print_date setTimeStamp when time empty
2021-10-27 09:23:54 +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
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
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
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
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
Maxime Kohlhaas
6abd4cc120
Fix #8716 : tasks were not shown in ecm auto tree
2021-10-24 11:38:45 +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
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
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
Florian HENRY
0c770b8810
fix various warning
2021-10-22 10:54:33 +02:00
Florian HENRY
64bb2e6ece
fix various warning
2021-10-22 10:49:47 +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-lena
806c53d4c4
FIX Ret PR
2021-10-21 09:49:14 +02:00
Alexandre SPANGARO
632751cebc
Use getDolGlobalInt()
2021-10-20 12:37:49 +02:00
Alexandre SPANGARO
bee6abd6fc
Merge branch '14.0' into 14p24
2021-10-20 07:38:54 +02:00
lvessiller
98a613edec
FIX show end hours in events linked to objects
2021-10-18 14:31:37 +02:00
Alexandre SPANGARO
053740792f
Update accounting.lib.php
2021-10-18 10:19:50 +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
b30d7371a4
Fix allow ' - ' into file name
2021-10-17 12:21:22 +02:00
Laurent Destailleur
830e067eff
Fix for tzuser
2021-10-16 21:03:47 +02: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
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
4e9c7c9efb
FIX Attachment of pdf into shipment when sending email
2021-10-11 20:04:45 +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
Laurent Destailleur
816e4cdde6
Comment
2021-10-08 10:59:11 +02:00
Laurent Destailleur
88a482c615
Fix phpcs
2021-10-06 18:40:32 +02:00
Laurent Destailleur
4be2d1414e
Fix regression
2021-10-06 14:03:10 +02:00
Francis Appels
dceb2b5341
Fix fatal error
2021-10-06 13:36:11 +02:00
Laurent Destailleur
ea3e3b133d
Debug eventorganization modules
2021-10-06 12:55:07 +02:00
Laurent Destailleur
93b4853f8e
Fix var_dump
2021-10-06 11:52:12 +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
Laurent Destailleur
d6e1a6be93
Look and feel v14
2021-10-03 18:20:01 +02:00
Laurent Destailleur
166d3b08d6
Add LIBXML_NONET to simplexml_load_string
2021-09-30 20:12:01 +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
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
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
34dacca77c
Css
2021-09-29 16:31:40 +02:00
Regis Houssin
6e08ecde04
FIX indentation
2021-09-29 08:47:22 +02:00
Laurent Destailleur
baadf2dc6c
Fix reposition
2021-09-29 01:51:34 +02:00
Laurent Destailleur
1e840fe7ed
Code comment
2021-09-28 18:07:04 +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
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
a70f5dd90e
Doc
2021-09-28 12:12:11 +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
d5d4b8d8e0
Fix escape the undescore on search in website module
2021-09-26 14:21:23 +02:00
Laurent Destailleur
567334318a
Fix sql eventorganization
2021-09-25 21:13:55 +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
4c80e0425b
Fix date for tasks created during project creation
2021-09-24 02:10:42 +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
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
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
Laurent Destailleur
6c7c6c9efd
FIX legal issue on expense report pdf (must also show price without tax)
2021-09-22 12:47:06 +02:00
Noé Cendrier
c89468428e
add warehouse in projects elements count
2021-09-21 17:22:55 +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
Laurent Destailleur
c75fbb7642
FIX fetch of product with modulebuilder load too much data
2021-09-20 16:00:11 +02:00
Laurent Destailleur
0eff2fa15b
FIX default language defined for IN country
2021-09-20 13:20:54 +02:00
Laurent Destailleur
052511d081
Fix sql error
2021-09-18 15:05:31 +02:00
Laurent Destailleur
5fa62f25fa
Fix registration of attendee
2021-09-18 12:39:26 +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
stickler-ci
46e8f1bebf
Fixing style errors.
2021-09-17 10:59:42 +02:00