2
0
forked from Wavyzz/dolibarr
Commit Graph

367 Commits

Author SHA1 Message Date
Fabian Volkers
7faab635c4 Enable filtering by supplier order in /receptions API endpoint (#35601)
* 🐛 Use reception email templates for receptions

*  LEFT JOIN reception with element_elemnt to allow filtering by supplier_order

* 📝 Document supplier order filter for receptions endpoint

* 🐛 Check for presence of el filter using regex to avoid duplicate lines

* Update api_receptions.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-07 19:36:22 +02:00
Frédéric FRANCE
6afec608a3 fix CI (#35631)
* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 13:29:57 +02:00
ldestailleur
702d91c65d Clean code 2025-09-11 12:25:22 +02:00
Frédéric FRANCE
e81d5378cd clean code contract class (#35245)
* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-10 11:13:18 +02:00
hermans
d7761168ea Improve setOrigin on Receipt for line_id_object_src & line_id_object_origin (#35091)
In Receipt validate, close... we have setOrigin that not set data line_id_object_src & line_id_object_origin, that variable is very important when we working with custom hook. I checked also on shipment it already implemented.
2025-09-03 00:29:45 +02:00
ldestailleur
ef5f825667 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-08-20 16:52:22 +02:00
ldestailleur
263626b2fd Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-08-20 16:51:05 +02:00
ldestailleur
82d477f4df Fix CI 2025-08-17 04:02:17 +02:00
hermans
1fb37db6f6 Bug Fix for issue 34898, default warehause and obj->endbrowid not exist on receipt.class (#34959)
* bug fix for: https://github.com/Dolibarr/dolibarr/issues/34939

* Bug fix for: Dolibarr Issue #34939

* Revert "bug fix for: https://github.com/Dolibarr/dolibarr/issues/34939"

This reverts commit bd4c1ccc41.

* Revert "Bug fix for: Dolibarr Issue #34939"

This reverts commit 8e46f863b9.

* Bug fix for issue https://github.com/Dolibarr/dolibarr/issues/34898

* fix bug on reception setClosed: ->edbrowid is not exist

* Fix missing variable for obj->endbrowid in etDraft,valid,setClosed

* fix white space

* remove white space
2025-08-15 17:26:39 +02:00
Frédéric FRANCE
ba09a8ee84 add trigger prefix in reception class (#34888)
* add trigger prefix in reception class

* add trigger prefix in reception class

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-07 15:54:21 +02:00
Jyhere
787bd1d278 CHANGE: ternary simplification (#34675) 2025-07-01 20:34:09 +02:00
ldestailleur
d1ddf4314e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-28 13:18:15 +02:00
ldestailleur
51f246b4ac Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-28 13:17:30 +02:00
HENRY Florian
3280be4583 fix: remove php warning (#34614)
* fix php warning

* fix php warning

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-25 19:26:58 +02:00
HENRY Florian
e3f2e1bd55 fix: negative quantity in reception are allowed and must be managed on revert stock mvt (#34615) 2025-06-24 16:02:07 +02:00
ldestailleur
9c2da8b9b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-19 11:31:44 +02:00
ldestailleur
a78e63dbf0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-19 11:13:59 +02:00
ldestailleur
ec098b2632 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-06-19 10:59:07 +02:00
ldestailleur
0da1e6b464 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-19 10:48:18 +02:00
Marc de Lima Lucio
456adc1e95 FIX: receptions: crash from api because of classes not found (#34523) 2025-06-14 23:59:21 +02:00
Noé Cendrier
be3fae0275 FIX: stock control condition in reception delete (#33952) 2025-04-24 01:47:43 +02:00
ldestailleur
6af8298736 Fix related to #33449 2025-04-07 15:46:10 +02:00
ldestailleur
6c8ae0b2a6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 16:28:08 +02:00
ldestailleur
533ca31814 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-29 17:32:45 +01:00
Noé Cendrier
58039d4994 FIX: we must retrieve linked order_supplier and no other object (#33602)
* FIX: we must retrieve linked order_supplier preferably to any other object

* FIX: better sourcetype verification, won’t collapse if order_supplier link is lost

* FIX: typo
2025-03-26 19:29:02 +01:00
MDW
f625f8de60 Qual: Fix api phan notices 2025-03-05 13:22:08 +01:00
MDW
eac44b164a Qual: Fix phpdoc index(), FIELDS 2025-03-05 13:21:05 +01:00
MDW
c02293a880 Qual: Add phpdoc for request_data param 2025-03-02 20:49:45 +01:00
MDW
d8678c793e Qual: Fix phan notices (reception) 2025-02-13 15:39:39 +01:00
MDW
24fa28dfe2 Qual: Fix getKanban phpdoc
# Qual: Fix getKanban phpdoc

Array phpdoc for getKanban corrections.
2025-02-05 01:43:37 +01:00
Laurent Destailleur (aka Eldy)
fa9fe2efa7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-20 15:02:37 +01:00
Laurent Destailleur (aka Eldy)
c9ab22782e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-01-20 14:57:45 +01:00
Laurent Destailleur (aka Eldy)
dcb0befcd4 Fix regression 2025-01-20 12:51:00 +01:00
Laurent Destailleur (aka Eldy)
1f360ca498 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-01-20 12:28:49 +01:00
Laurent Destailleur (aka Eldy)
1b42078d1e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-01-20 10:24:30 +01:00
atm-florian
ba4e97f07b FIX 17.0 API endpoints "PUT": prevent overwriting all extrafields if only some are supplied in the request cf. PR #29237
+ security for Tickets API: disable updating rowid
2025-01-16 10:37:29 +01:00
Francis Appels
d1051db856 Fix php warning 2025-01-09 20:16:46 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
1544aafa51 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-06 17:43:35 +01:00
Regis Houssin
3e952e7694 FIX refactorize (maybe broken feature for not received completely) 2025-01-05 17:47:24 +01:00
Regis Houssin
8416557e08 FIX $this->origin_object can not be instance of CommandeFournisseur here 2025-01-04 10:43:01 +01:00
Laurent Destailleur
e1c2fddb6a Merge pull request #32291 from jyhere/jyhere/patch-movements-on-reception-delete
FIX: deleting a reception do not create reverse stock movements
2024-12-26 15:43:29 +01:00
Frédéric France
12f044fc29 fix phan and phpstan 2024-12-17 20:56:08 +01:00
Jyhere
6cbbcbe97d FIX: reverse stock movement condition on reception deletion is incomplete 2024-12-09 16:08:25 +01:00
Jyhere
82e092fda3 FIX: deleting a reception do not create reverse stock movements 2024-12-09 11:44:09 +01:00
Frédéric FRANCE
286c3d1093 fix sql ticket list (#32080)
* fix sql ticket list

* fix sql ticket list

* fix phpstan

* fix

* fix
2024-11-28 12:11:50 +01:00
Laurent Destailleur
6e9bbe42bb Add code to make easier to test PDF generation with n lines of product 2024-11-21 19:40:52 +01:00
MDW
278d301f32 Qual: Fix phan/phpstan notices in class files (part 6) (#31634)
* Qual: Fix notices for paymentdonation...workstationusergroup.class

* Qual: Fix PhanPluginRedundantReturnComment, update baseline

* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
jyhere
7e2ac74586 FIX: empty date_valid property when fetching a Reception (#31697) 2024-11-05 17:30:47 +01:00