Commit Graph

397 Commits

Author SHA1 Message Date
Laurent Destailleur
36108255e3 Complete call to setStatus so we have a trigy as 4th parameter (help to
fix the #37129)
2026-02-10 00:44:46 +01:00
Laurent Destailleur
5efcd7652f Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-26 19:35:29 +01:00
Laurent Destailleur
4224c9fc05 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-26 19:34:10 +01:00
Laurent Destailleur
b623ea1f57 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-01-26 19:22:43 +01:00
Laurent Destailleur
360718fa7b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-01-26 19:19:13 +01:00
Laurent Destailleur
c6a398639c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-01-26 19:17:02 +01:00
Laurent Destailleur
449870d347 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-01-26 19:05:09 +01:00
Frédéric FRANCE
d770d37e29 add phpcs rule extension (#36561)
* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* test

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* translate

* translate

* translate

* translate

* translate

* translate

* translate

* Update propal.class.php
2026-01-15 16:05:06 +01:00
Mathieu Moulin
a5b106fe70 Fix error removing reception with product batches (eatby/sellby) (#36846) 2026-01-10 17:30:45 +01:00
Mathieu Moulin
ad3304832d FIX : remove stock correctly when reception is deleted (like 82e092f) 2026-01-06 15:32:59 +01:00
Jyhere
05f010a655 FIX: reception reopening lacks of message when an error occurs (#36752)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-05 17:47:02 +01:00
Jyhere
d88730174c FIX: reception reopening lacks of message when an error occurs (#36752)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-05 17:46:45 +01:00
Laurent Destailleur
6d42410dac Debug v23 2025-11-25 19:39:21 +01:00
MDW
287ee92cb7 Qual: Fix nullable value by cast (for phan) (#36381)
# Qual: Fix nullable value by cast (for phan)

The update method now explicitly casts the eatby and sellby fields to integers before passing them to the idate function.

Otherwise phan considers the arguments as nullable (as it can not determine the impact of dol_strlen).
2025-11-24 15:00:15 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Laurent Destailleur
81527a9fe9 Clean code 2025-11-18 12:03:23 +01:00
Laurent Destailleur
cb40305764 Fix CI 2025-11-13 13:12:34 +01:00
Laurent Destailleur
ed9f3ca915 Fix CI 2025-11-13 13:11:59 +01:00
Laurent Destailleur
61a194f57e Fix CI 2025-11-13 13:10:32 +01:00
Laurent Destailleur
5c353d5f0a Fix CI 2025-11-13 13:09:06 +01:00
Laurent Destailleur
cb6ffabc42 Fix CI 2025-11-13 13:00:55 +01:00
Laurent Destailleur
44beed0a94 Fix CI 2025-11-13 12:44:39 +01:00
Laurent Destailleur
6b675eeb81 Fix error reporting 2025-11-13 04:22:58 +01:00
Laurent Destailleur
557c3c5d18 Fix SQL 2025-11-13 04:22:35 +01:00
sonikf
beddd5152a Add missing fk_project (#36128) 2025-11-06 17:10:28 +01:00
sonikf
39fa4dd720 New function to set reception date (#36101) 2025-11-05 22:23:24 +01:00
sonikf
6743c38463 New prepare for standalone reception (#35869)
* New prepare for standalone reception

* New prepare for standalone reception

* fix line indentation

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-03 10:27:11 +01:00
Laurent Destailleur
31989adc1f Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-14 21:38:13 +02:00
Laurent Destailleur
025aefb69c Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-14 21:18:09 +02:00
Regis Houssin
cb3d3c09c4 FIX wrong entity filter (#35691)
* FIX wrong entity filter

* FIX travis error
2025-10-09 15:26:22 +02:00
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