Laurent Destailleur
c41578a3c3
Fix php compatibility
2021-11-28 15:43:22 +01:00
Frédéric FRANCE
3301790647
clean code
2021-11-23 23:56:52 +01:00
Frédéric FRANCE
21a3a6cc7a
clean code
2021-11-23 23:55:01 +01:00
Frédéric FRANCE
d9bcd27764
can merge products but experimental
2021-11-23 21:55:48 +01:00
Frédéric FRANCE
d601f62194
can merge products but experimental
2021-11-23 21:38:29 +01:00
Laurent Destailleur
441af6b6fb
Fix add rel="noopener noreferrer"
2021-11-22 02:35:55 +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
cdc160b9a9
FIX column alignement on valid confirm page of shipment
2021-11-19 11:12:53 +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
Laurent Destailleur
1934a37676
Escape to avoid false positive, even if it should be useless.
2021-11-07 17:35:43 +01:00
Laurent Destailleur
dc1226b116
Fix #yogosha7508
2021-10-25 18:40:19 +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
fc29aa7d3b
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
2021-10-23 23:58:00 +02:00
John BOTELLA
55cdb8ac6f
Fix numeric value
2021-10-23 01:00:24 +02:00
Frédéric FRANCE
46c4f28478
fix multiple warnings
2021-10-22 22:15:59 +02:00
Laurent Destailleur
6c870bb3d1
Merge pull request #19059 from FHenry/fix_introduced_scrutinizer
...
fix: scrutinizer
2021-10-21 22:52:20 +02:00
Florian HENRY
96722d55ef
fix scrutinzer
2021-10-21 19:13:05 +02:00
Florian HENRY
4795190a75
fix: scrutinizer
2021-10-21 17:09:48 +02:00
atm-lena
806c53d4c4
FIX Ret PR
2021-10-21 09:49:14 +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
Gauthier PC portable 024
5ef681ef91
FIX : stickler
2021-10-15 10:36:47 +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
atm-lena
ff7727466a
Function updateExtrafield : replace empty value to null
2021-10-14 17:13:44 +02:00
Laurent Destailleur
791a7206ee
Fix var not defined
2021-10-12 11:48:51 +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
Indelog
94875cdc77
Fix : Re-add bloc to set $withtargettype and $withsourcetype
2021-10-11 13:37:37 +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
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
Laurent Destailleur
4be2d1414e
Fix regression
2021-10-06 14:03:10 +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
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
Alexandre SPANGARO
edf91ce77c
HTML5 - <font> tag is deprecated, replace by <span>
2021-10-05 09:41:03 +02:00
Laurent Destailleur
d064ab2b17
Add more action to GET action to check
2021-10-02 12:58:15 +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
3d4bb66853
Clean code
2021-09-30 15:59:47 +02:00
Laurent Destailleur
608b6f5fa3
Clean code
2021-09-30 15:24:57 +02:00
Laurent Destailleur
3565a47954
Merge branch 'develop' into NEW_develop_virtual_product_DragAndDrop
2021-09-30 14:24:30 +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
Regis Houssin
6e08ecde04
FIX indentation
2021-09-29 08:47:22 +02:00
Regis Houssin
43a47999d7
FIX avoid warning if $categories is an id
2021-09-28 16:35:01 +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
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
2824c8b8ab
FIX support of localtax on expense report
2021-09-22 15:11:18 +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
c75fbb7642
FIX fetch of product with modulebuilder load too much data
2021-09-20 16:00:11 +02:00
Laurent Destailleur
0749d01c5a
Fix add action delete* as sensitive action
2021-09-18 22:04:41 +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
Florian HENRY
47efccad75
remove debug
2021-09-16 17:13:34 +02:00
Florian HENRY
820a007731
NEW: add MRP into Object Linked Box
2021-09-16 17:10:06 +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
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
7eba2f6f39
Code comment
2021-09-09 14:32:59 +02:00
Laurent Destailleur
57a2ea3a53
Fix sql error
2021-09-08 19:49:24 +02:00
Laurent Destailleur
405beb77f5
Fix sql error
2021-09-08 19:45:55 +02:00
Laurent Destailleur
3cc888f4df
Debug event module
2021-09-07 23:19:36 +02:00
Laurent Destailleur
3df005778c
Debug event module
2021-09-07 19:48:32 +02: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
Laurent Destailleur
586e5c8b5b
Can set sort order in the ->fields description array for foreign key
2021-09-07 14:10:26 +02:00
Laurent Destailleur
ee066ad725
Cast sql var
2021-09-03 21:25:43 +02:00
Laurent Destailleur
ef2bb99476
Update commonobject.class.php
2021-09-01 16:29:08 +02:00
Adrien Raze
709a297563
NEW : Allow drag and drop on kits
2021-08-30 14:45:42 +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
c1d3ddf10b
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-08-28 18:31:06 +02:00
Laurent Destailleur
bb94ea7334
Fix debug car reception: Fill/reset link, colspan, translation
2021-08-28 17:24:05 +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
51a4d7630f
Clean code
2021-08-28 00:56:37 +02:00
Laurent Destailleur
2dd91bf312
Clean code
2021-08-27 23:36:06 +02:00
Laurent Destailleur
3b6559b1a6
Clean code by adding cast int.
2021-08-27 18:53:45 +02:00
Laurent Destailleur
2f225ee7e5
Clean code by adding cast int.
2021-08-27 16:33:03 +02:00
Laurent Destailleur
65629711d0
FIX #18484
2021-08-25 14:53:14 +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
8485fee5f9
Cast numeric into on sql request
2021-08-23 19:33:24 +02:00
Laurent Destailleur
23829ae637
Cast numeric into on sql request
2021-08-23 18:56:46 +02:00
Laurent Destailleur
d4b5ee6c85
Fix cast into variable into sql request.
2021-08-23 17:41:11 +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
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
bbcea38793
Fix phpcs
2021-08-17 21:58:06 +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
fb1e5f72d3
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2021-08-17 18:11:08 +02:00
Laurent Destailleur
7986f4881c
Update commonobject.class.php
2021-08-17 16:12:45 +02:00
Quentin VIAL-GOUTEYRON
5f4ab188cf
NEW hook after rank update
2021-08-17 09:33:50 +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
ef4468153d
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
...
Conflicts:
htdocs/core/class/commonobject.class.php
htdocs/core/tpl/extrafields_list_search_sql.tpl.php
htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
htdocs/fourn/class/fournisseur.commande.class.php
2021-08-11 22:07:13 +02:00
Laurent Destailleur
0cf2164260
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
htdocs/fourn/class/fournisseur.commande.class.php
2021-08-11 21:15:30 +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
bef0989b15
Missing declaration
2021-08-10 13:34:21 +02:00
Francis Appels
91ef2a44fd
Remove strange check on hook printOriginObjectLine.
...
Now need reshook.
2021-08-09 11:17:11 +02:00
Florian HENRY
ae5bb956ac
fix invoice in stand registration pb
2021-07-29 17:18:05 +02:00
Laurent Destailleur
ce27feda84
Debug v14
...
Fix email collector (Creation of thirparty, set of extrafields)
2021-07-16 00:12:58 +02:00
Laurent Destailleur
9aad07f20c
Remove log
2021-07-15 21:57:32 +02:00
Laurent Destailleur
5da40d80f7
Fix css
2021-07-15 16:35:06 +02:00
Laurent Destailleur
a773652c04
Fix phpcs
2021-07-14 14:37:07 +02:00
Laurent Destailleur
7281a51eff
Merge pull request #18148 from AlexisLaurier/fix/CommonObjectShowInputFieldCheckboxAndRadio
...
fix showInputField checkbox and radio type
2021-07-14 13:55:53 +02:00
Alexis LAURIER
cd5e1d603e
fix showInputField checkbox and radio type
2021-07-14 12:02:03 +02:00
Christophe Battarel
7e174412b7
FIX display of extrafields on shipping lines
2021-07-07 10:30:01 +02:00
Laurent Destailleur
f6efe51032
Fix trouble with product id = -1
2021-07-04 21:02:02 +02:00
Laurent Destailleur
6ae1d192e4
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
...
Conflicts:
htdocs/comm/propal/list.php
htdocs/compta/facture/card.php
2021-07-02 16:14:12 +02:00
John BOTELLA
167ae5b0f2
Merge branch 'develop' into new_validation_method_for_common_object
2021-07-02 12:04:14 +02:00
Frédéric FRANCE
3aa24cccff
fix can't remove extrafield date or datetime value
2021-07-01 15:15:35 +02:00
Laurent Destailleur
bda36337cd
Prepare fix #yogosha6443
2021-06-30 17:22:36 +02:00
Laurent Destailleur
c7befd9acc
Fix php8 (related to #18019 )
2021-06-29 19:49:37 +02:00
Laurent Destailleur
62822c424c
Fix php8
2021-06-23 01:34:14 +02:00
Laurent Destailleur
12748640a5
Add log
2021-06-22 18:04:06 +02:00
Laurent Destailleur
bcffbe3d67
Test fix
2021-06-22 17:09:02 +02:00
ATM john
4d043b713c
WIP - create validation method for common object
2021-06-21 21:54:03 +02:00
Laurent Destailleur
a0b594fbdc
Debug emailcollector
2021-06-21 19:47:43 +02:00
Laurent Destailleur
e3e2dfd764
Fix generation of ODT (test if temporary directory is writable)
2021-06-20 05:11:46 +02: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
Laurent Destailleur
5cc86d2319
Fix #yogosha6370
2021-06-14 13:51:09 +02:00
Laurent Destailleur
046215f64a
Fix PHP8
2021-06-14 02:08:28 +02:00
Laurent Destailleur
f8f951977c
Debug v14
2021-06-14 01:33:01 +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
Laurent Destailleur
756786f717
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture/card.php
htdocs/compta/facture/list.php
htdocs/core/class/discount.class.php
htdocs/core/lib/functions.lib.php
htdocs/core/lib/pdf.lib.php
htdocs/core/modules/modFournisseur.class.php
htdocs/fourn/facture/card.php
htdocs/holiday/list.php
htdocs/paybox/admin/paybox.php
htdocs/paypal/admin/paypal.php
htdocs/product/price.php
htdocs/projet/activity/perday.php
htdocs/projet/activity/permonth.php
htdocs/projet/activity/perweek.php
htdocs/stripe/admin/stripe.php
2021-06-11 19:05:05 +02:00
Laurent Destailleur
1bf63c7862
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/compta/facture/list.php
htdocs/core/lib/functions.lib.php
2021-06-10 16:53:09 +02:00
Laurent Destailleur
24f8b6386e
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/class/commonobject.class.php
2021-06-10 16:47:45 +02:00
Laurent Destailleur
8a46fd376f
Update commonobject.class.php
2021-06-10 12:58:42 +02:00
Laurent Destailleur
fb46ece906
Fix yogosha 6347
2021-06-09 15:36:47 +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
ATM john
1aca7efce3
Fix childtablesoncascade doc
2021-06-06 13:15:03 +02:00
Laurent Destailleur
702de427bd
Merge pull request #17758 from frederic34/patch-20
...
fix warnings
2021-06-04 11:52:53 +02:00
Frédéric FRANCE
ca66cdad01
debug intracomm report transport mode
2021-06-03 21:47:10 +02:00
ATM john
a7300d01b0
WIP - create validation method for common object
2021-06-03 09:49:07 +02:00
Frédéric FRANCE
ca0654323f
fix warnings
2021-05-27 23:11:05 +02:00
Givriz
1cf7d0cee7
Compatibility phpv8
2021-05-18 20:13:26 +02:00
Laurent Destailleur
7a76dc4648
Merge pull request #17382 from DorianVabre/dev_EventOrganizer_payment
...
new: working on conference or booth object and event type #FoundationFunding
2021-05-06 16:31:30 +02:00
Laurent Destailleur
655056ed31
Debug v14
2021-04-29 12:10:55 +02:00
Dorian Vabre
cb21131259
Merge branch 'develop' into dev_EventOrganizer_payment
2021-04-29 10:31:43 +02:00
Laurent Destailleur
062dc28850
Merge pull request #17388 from aspangaro/14a30
...
NEW: Add option SUPPLIER_PROPOSAL_ALLOW_EXTERNAL_DOWNLOAD
2021-04-26 21:18:48 +02:00
Laurent Destailleur
d138e7410b
Clean code
2021-04-26 19:12:23 +02:00
Laurent Destailleur
fd2d317b4a
Fix #yogosha5881
2021-04-25 15:55:36 +02:00
Laurent Destailleur
d0cc64479d
Fix protect sql
2021-04-24 20:18:11 +02:00
Alexandre SPANGARO
f60df8964a
NEW: Add option SUPPLIER_PROPOSAL_ALLOW_EXTERNAL_DOWNLOAD
2021-04-24 08:05:00 +02:00
Dorian Vabre
a500d83c0b
linked invoice and attendee
2021-04-20 16:09:22 +02:00
Alexandre SPANGARO
f64d0377c5
Merge remote-tracking branch 'upstream/develop' into 14a22
2021-04-04 06:03:41 +02:00
Laurent Destailleur
3744bc6a7a
FIX #yogosha5746 - next step (work in progress)
2021-03-30 18:17:13 +02:00
Laurent Destailleur
fae3cca494
FIX #yogosha5746 - next step (work in progress)
2021-03-30 17:45:15 +02:00
Laurent Destailleur
6e422d26f3
FIX #yogosha5746 - next step (wip)
2021-03-30 16:20:18 +02:00
Laurent Destailleur
6c98276ead
FIX #yogosha5782
2021-03-30 11:26:49 +02:00
Laurent Destailleur
fb84608586
Clean sql
2021-03-30 03:37:54 +02:00
Laurent Destailleur
3616d2ba44
FIX #yogosha5770
2021-03-29 23:24:52 +02:00
Laurent Destailleur
a4987c6e4f
Merge branch 'develop' into 14a22
2021-03-29 20:35:35 +02:00
Laurent Destailleur
3a4bb69c05
FIX #yogosha5749
2021-03-29 15:32:09 +02:00
Laurent Destailleur
ce1f8289a4
FIX #yogosha5746
2021-03-29 15:07:23 +02:00
Alexandre SPANGARO
2a1cc04b66
Merge remote-tracking branch 'upstream/develop' into 14a22
2021-03-28 06:16:33 +02:00