Commit Graph

145227 Commits

Author SHA1 Message Date
ldestailleur
e4e5b1e597 Clean code 2025-05-05 02:22:02 +02:00
Charlène Benke
704910b4b3 NEW Add internal contact of proposal, order and invoice on api call (#34009)
* add internal contact of elements

* Update api_orders.class.php

* Update api_invoices.class.php

* Update api_proposals.class.php

* Update api_orders.class.php

* Fix CI

* Update api_orders.class.php

* Update api_invoices.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-05 02:07:24 +02:00
ldestailleur
d3644b6afa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-05 02:05:04 +02:00
ldestailleur
6d89c2c033 Clean code. Merge/Close #33995 manually. 2025-05-05 02:04:55 +02:00
Jon Bendtsen
7f5c49c504 NEW: endpoints GET event attendee by ID or REF (#33984)
* pricate function _fetch that fetches the attendee data based on either (row)id or referece

* NEW: endpoints GET event atteendee by ID or REF

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-05 00:07:27 +02:00
ldestailleur
2736a4b382 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-05 00:07:09 +02:00
ldestailleur
a74979bc04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-05-05 00:04:17 +02:00
ldestailleur
71c976cf0e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-05-05 00:03:56 +02:00
ldestailleur
d85cea32c0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-05-05 00:03:49 +02:00
ldestailleur
db6fe50106 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-05-05 00:03:22 +02:00
ldestailleur
f70cfeb6d3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-05-05 00:03:09 +02:00
ldestailleur
73d48d8795 Fix warning 2025-05-05 00:00:47 +02:00
ldestailleur
0b7836595c Debug v22 2025-05-04 23:53:34 +02:00
ldestailleur
9189bcc6bd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-04 23:43:06 +02:00
ldestailleur
90577b41bd Debug v22 2025-05-04 23:42:52 +02:00
Jon Bendtsen
6eff6532a0 NEW: endpoints PUT (update) event atteendee by ID or REF (#33985)
* pricate function _fetch that fetches the attendee data based on either (row)id or referece

* NEW: endpoints PUT (update) event atteendee by ID or REF

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-04 18:44:40 +02:00
Noé Cendrier
7c29f8201b FIX: do not forget extrafields for BOM in export lines (#34020) 2025-05-04 18:42:45 +02:00
Florian Mortgat
9d0d8f7ec5 Fix/140/t250062/extrafields multicompany data loss (#34022)
* insertExtrafields(): simplify by returning 0 early if array_options is empty

* insertExtrafields(): simplify by using local variables $newValue and $attributeType

* insertExtrafields(): refactor by grouping the empty value cases for geodatabase-type extrafields

* insertExtrafields(): refactor by using a static mapping of geodata types to their ST_* db function on ExtraField class

* FIX: when an object that is shared across multiple entities already has some extrafields from another entity that are not reachable from the current entity, their values are lost

* Compliance with
- phan ( Closure Closure($key) has no declared or inferred parameter type for $key)
- php-stan (Error: Property ExtraFields::$geoDataTypes has no type specified)
2025-05-04 18:42:01 +02:00
github-actions[bot]
8bec4db5e5 PHPStan > Update baseline (#34054)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-05-04 18:40:56 +02:00
Charlène Benke
f5723c7c10 add new category on List for object api (#33990)
* add new category on List for object api

* Update api_categories.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-04 14:04:47 +02:00
Marc de Lima Lucio
9b74628e29 FIX: accountancy balance: keep subtotals when sorting (#34001) 2025-05-04 11:27:19 +02:00
Marc de Lima Lucio
0ef0d339b5 FIX: pgsql: error when creating sequences in migration scripts (#34021)
* FIX: pgsql: error in migration from 15 to 16

* FIX: pgsql: error in migration from 7 to 8
2025-05-04 11:26:34 +02:00
Frédéric FRANCE
b95b074922 fix missing translations (#34025)
* fix missing translations

* fix missing translations

* fix missing translations

* fix missing translations
2025-05-04 11:25:18 +02:00
William Mead
2925bb6481 Cleaned PHPDoc. Added contributor info. (#34026) 2025-05-04 11:24:38 +02:00
Laurent Destailleur
5bf5d23495 Update AbstractClient.php 2025-05-04 11:22:54 +02:00
Marc de Lima Lucio
02588036c2 FIX: oauth: php 8 warnings (#34027)
* FIX: oauth: fix php 8 warnings (backport of 9edfb1d113)

* FIX: oauth: fix php 8 warnings (backport of 9edfb1d113), part 2
2025-05-04 11:20:26 +02:00
Marc de Lima Lucio
8e0d3911e6 FIX: pgsql: case sensitivity in select queries (#34028) 2025-05-04 11:19:59 +02:00
Marc de Lima Lucio
3929ef0bfa FIX: accountancy: warning when account not found in plan (#34030) 2025-05-04 10:50:33 +02:00
Lucas Marcouiller
0ea9108fdd Fix ai prompt function for extrafields to match step 2 todo (#34032)
* Fix ai prompt function to match step 2 todo

* add  doc comment

* fix CI
2025-05-04 10:50:01 +02:00
Frédéric FRANCE
58562f84a6 clean code (#34031) 2025-05-04 10:49:27 +02:00
PsyCrow
0acc8d6b47 Update extrafields_list_search_param.tpl.php (#34033)
Fix to #33863
2025-05-04 10:48:47 +02:00
Frédéric FRANCE
ce84eb8da0 fix missing translation (#34034)
* fix missing translation

* fix missing translation
2025-05-04 10:47:40 +02:00
Ferran Marcet
921f2d8671 New: Andorra's Accounting Plan (#34035)
* New: Mail template for contacts

* New: Mail template for contacts

* New: Mail template for contacts

* New: Andorra's Accounting Plan
2025-05-04 10:47:24 +02:00
Marc de Lima Lucio
9eaa8ad1d3 FIX: accountancy: create new french PCG25-DEV accounting system in upgrade (#34036) 2025-05-04 10:46:56 +02:00
Ferran Marcet
30d8167734 Fix_ The filter does not have the correct syntax (#34049) 2025-05-04 10:45:57 +02:00
Charlène Benke
7537199598 php warning on delete warehouse (#34041) 2025-05-04 10:43:48 +02:00
Charlène Benke
d91030892d php warning, feature not yet implemented (#34042)
moved on another tabs
2025-05-04 10:43:26 +02:00
Thibault Parodi
e77b470cad NEW: Add an API endpoint to get properties of a single line of an order (#34045)
* feat: add api get line properties route

* chore: indent with tabs

* chore: preserve original spaces

* chore: tabs instead of space

* fix: return Object instead of array
2025-05-02 22:44:48 +02:00
Charlène Benke
46c41e437a fields error, thirdparty vs socid (#34043) 2025-05-02 22:43:23 +02:00
Josep Lluís
dfe997fa07 Update paymentmodes.php (#34044)
Fix multicompany signatures on sepamandate
2025-05-02 22:42:15 +02:00
Jyhere
549b712c47 FIX: ajax tooltip warnings (#34048) 2025-05-02 22:41:04 +02:00
Laurent Destailleur
20d56960fd Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-29 16:39:29 +02:00
Charlène Benke
4bfc06e861 NEW add create category project link via api (#34016)
* add create category project link via api

* Update api_categories.class.php
2025-04-29 14:55:56 +02:00
github-actions[bot]
9e98e02f29 PHPStan > Update baseline (#34019)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-04-29 14:51:35 +02:00
John BOTELLA
f2016b9e85 Uiux : new experiment ux intuitive select by ctrl and Shift keys (#33996)
* add ux_doc_id_reco

* fix missing elements in doc

* add table thead tbody tfoot

* New experiment for selection in table

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-29 14:48:58 +02:00
John BOTELLA
1bae2eaa15 Uiux : Fix doc (#33992)
* add ux_doc_id_reco

* fix missing elements in doc

* add table thead tbody tfoot

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-29 14:47:16 +02:00
Frédéric FRANCE
57aa02f0f4 Fix missing translation (#34014)
* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation
2025-04-29 10:53:52 +02:00
Charlène Benke
f597050e11 warning error if element is not a bill (#34011)
* warning error if element is not a bill

* Update consumption.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-29 10:47:38 +02:00
Laurent Destailleur
ebeb73a509 Update paymentok.php 2025-04-29 08:36:42 +02:00
Laurent Destailleur
ce2923f4eb Fix CI 2025-04-29 08:11:36 +02:00