2
0
forked from Wavyzz/dolibarr

870 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
Frédéric FRANCE
700463596e verify if file exists before trying to include (#35548)
* verify if file exists before trying to include

* verify if file exists before trying to include
2025-09-29 20:42:44 +02:00
Frédéric FRANCE
164f2c4414 clean code (#35539)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-28 23:19:33 +02:00
ldestailleur
e45fe1f988 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-27 15:57:27 +02:00
ldestailleur
9763762ce8 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-27 03:35:47 +02:00
Günter Lukas
ee0dd8b672 fix #35503 - Wrong format of buying price in dispatch.php / reception.php (#35504)
* Change price calculation method in dispatch.php

In output field price should be used instead of price2num, other formatting does not work (esp. when you use German langugae settings)

* Format cost price before displaying in input field

In output field price should be used, otherwise formatting does not work (esp. when you use German langugae settings)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-26 23:50:57 +02:00
ldestailleur
ad830a346e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-23 16:50:17 +02:00
ldestailleur
6ead2839d0 Fix missing several test on permission on actions 2025-09-23 16:41:53 +02:00
Frédéric FRANCE
8fd4d0332d clean code (#35423)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-21 23:22:33 +02:00
ldestailleur
6ed764bedf Clean code 2025-09-18 11:40:56 +02:00
ldestailleur
e8d2095816 NEW dol_sort_array can be used with 2 sorting criteria. 2025-09-15 19:28:38 +02:00
Fabian Volkers
a0fc45d523 🐛 Use reception email templates for receptions (#35310) 2025-09-12 02:30:59 +02:00
Fabian Volkers
934fe08921 🐛 Use reception email templates for receptions (#35310) 2025-09-12 02:30:24 +02:00
ldestailleur
92ffba11ca Remove old lang files that are too small (moved into other lang files) 2025-09-11 13:31:34 +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
ldestailleur
8a1ec5634f Clean code between subprice/pu_ht and subprice_ttc/pu_ttc 2025-09-03 22:29:36 +02:00
ldestailleur
d7a59530de Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-03 19:24:39 +02:00
ldestailleur
6cb1eaef92 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-03 19:22:53 +02:00
ldestailleur
68e239efe4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-03 19:21:14 +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
Sébastien NASSIET
3a27b44f95 FIX #35154 - Massaction createbills in reception list don't mind about order and/or thirdparty currency (#35156)
* FIX#35154

Massaction createbills in reception list don't mind about order and/or thirdparty currency

* FIX#35154

* FIX#35154

* Delete white space line 406

* Correcting typing error
2025-09-01 19:49:50 +02:00
Laurent Destailleur
35bfe71b79 FIX #35098 2025-08-28 02:37:27 +02:00
Laurent Destailleur
336c3bce3f Debug Fix CI 2025-08-26 04:12:51 +02:00
ldestailleur
5fe445c0da Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-08-25 21:53:35 +02:00
ldestailleur
e6255edc26 Fix warning 2025-08-24 21:50:41 +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
Frédéric FRANCE
8e0b1eb606 fix object reference (#34928)
* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* merge

* fix doc

* fix doc

* fix doc

* fix doc

* fix doc

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-17 16:32:09 +02:00
ldestailleur
82d477f4df Fix CI 2025-08-17 04:02:17 +02:00
Frédéric FRANCE
b8561b40d1 fix conf global replacement (#34972) 2025-08-17 01:29:53 +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
ldestailleur
c7edb6af2f Fix CI warnings 2025-08-07 14:38:30 +02:00
ldestailleur
80999ed6fd QUAL: Clean/Standardize hook response of hook printFieldListHaving 2025-08-04 14:57:44 +02:00
Laurent Destailleur
82098594a6 Fix warning 2025-07-31 22:13:45 +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
dum77
d4fe691f54 FIX: Allow decimal qty reception (#34328)
* Use fmod instead of % with line->packaging, to avoid fatal error if packaging decimal

Ensure packaging is numeric, positive, then use fmod instead of %, to prevent error with decimal packaging values (resulting in division by zero), for ajusting  quantity

* Update edit rules

* Update edit rules

* After saving, it's better

* ```
No code changes made
```

* Just modify reception/card.php
2025-06-04 11:12:45 +02:00
Clément
e28b2cd16c QUAL harmonization between statistical sections (#34169)
* QUAL harmonization between statistical sections

* Update index.php

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-17 14:38:31 +02:00
Noé Cendrier
be3fae0275 FIX: stock control condition in reception delete (#33952) 2025-04-24 01:47:43 +02:00