Commit Graph

10015 Commits

Author SHA1 Message Date
Laurent Destailleur
449f0cbd23 Automated merge from 23.0 to develop 2026-03-16 10:20:04 +01:00
minimexat
e5135ed8ab Fix missing POST/Redirect/GET after proposal validation (#37507)
After confirm_validate succeeds, redirect back to the card so the
page renders with the correct post-validation state. Without this,
the Validate button stays visible even though the proposal was
already validated in the database.

Fixed by adding a Location redirect at the end of the success branch,
same pattern used by confirm_cancel and confirm_clone.

Fixes #37480

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-16 09:38:51 +01:00
Laurent Destailleur
ae5d7b6fb6 CI 2026-03-15 15:29:01 +01:00
Laurent Destailleur
d33e0dd302 Fix error management 2026-03-15 14:47:28 +01:00
Laurent Destailleur
cb96c5fbed FIX Missing field in fetch 2026-03-15 14:43:53 +01:00
Laurent Destailleur
7c399bd78b Fix CSS and look and feel v23 2026-03-15 14:34:28 +01:00
Laurent Destailleur
22804ef1d6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-15 14:34:04 +01:00
Laurent Destailleur
0d50af64a2 Fix CSS and look and feel v23 2026-03-15 14:33:46 +01:00
minimexat
57812a1272 Fix PHP warnings for undefined property and array keys in purchasesjournal.php (#37505)
* Fix missing POST/Redirect/GET after proposal validation

After confirm_validate succeeds, redirect back to the card so the
page renders with the correct post-validation state. Without this,
the Validate button stays visible even though the proposal was
already validated in the database.

Fixes #37480

* Fix missing billed field in expedition INSERT causing DB error

The billed column has no default value in llx_expedition, but was
not included in the INSERT statement in Expedition::create().
This caused a strict SQL error when creating delivery notes.

- Initialize $this->billed = 0 on the property declaration
- Add billed to the INSERT column list with value 0

Fixes #37452

* Update expedition.class.php

* Refactor proposal closing and document generation logic

Reload the proposal object after closing and before generating the document. Removed the redundant fetch call and the header redirection.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-15 13:52:13 +01:00
Laurent Destailleur
5760b67393 Avoid redirect 2026-03-15 13:34:41 +01:00
Laurent Destailleur
46c764c689 CI 2026-03-15 12:35:29 +01:00
Laurent Destailleur
53c90968a2 Look and feel v24 2026-03-14 18:12:32 +01:00
Laurent Destailleur
561cbbe958 Look and feel v24 - Open margin en account summary of thirdparty in
popup
2026-03-14 17:56:40 +01:00
Laurent Destailleur
b9f5895c68 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-12 23:40:02 +01:00
nateogroup-antoine
e62d193997 FIX deprecated statut variable and reload object (#37449)
* Fixed a bug that initialized the deprecated status variable without initializing the new status variable.

Upon quote approval, the interface is based on “status” rather than “statut.” The approved quote still had the edit button visible.

* Fix reload object if not MAIN_DISABLE_PDF_AUTOUPDATE after addline or updateline

Fix reload object if not MAIN_DISABLE_PDF_AUTOUPDATE after addline or updateline

* Update card.php
2026-03-12 14:04:59 +01:00
Laurent Destailleur
02885b4a5b CI 2026-03-11 23:43:00 +01:00
Laurent Destailleur
4ad6d1b5b3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-03-09 09:55:09 +01:00
Laurent Destailleur
767ddd34a2 CI 2026-03-09 01:00:09 +01:00
Laurent Destailleur
baa1359021 FIX Bad value when entering price with multicurrency included tax.
Debug option PRODUCT_USE_CUSTOMER_PACKAGING not completely implemented
2026-03-06 01:21:04 +01:00
Laurent Destailleur
ddf784c0a7 Automated merge from 23.0 to develop 2026-03-06 00:18:43 +01:00
Laurent Destailleur
4646cf8417 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-06 00:18:41 +01:00
Laurent Destailleur
d165a8a557 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-06 00:18:38 +01:00
Laurent Destailleur
c723aec696 Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-06 00:18:35 +01:00
Laurent Destailleur
f23d590749 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-03-06 00:18:13 +01:00
Laurent Destailleur
a3d5c0b30b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-03-06 00:12:01 +01:00
Laurent Destailleur
bc44247cd1 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-05 23:59:06 +01:00
Laurent Destailleur
c449bcf9f4 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-03-05 23:55:56 +01:00
Laurent Destailleur
dea8c0cf0e FIX #37412 Better fix 2026-03-05 23:36:54 +01:00
Anthony Berton
0eb3c9e68d FIX - Reload page after check holiday for save param (#37410)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-03-05 13:46:02 +01:00
Laurent Destailleur
a3530f0329 CI 2026-03-05 11:40:00 +01:00
lvessiller-opendsi
c428e079e3 Merge pull request #37057 from ATM-Consulting/FIX/docPreviewInCommCard
FIX - Fix doc preview in comm card
2026-03-05 09:52:24 +01:00
Anthony Berton
418f0c2e30 FIX - Added user filtering for displaying leave in the calendar (#37385)
* FIX - Added user filtering for displaying leave in the calendar

* Add restric

* Save param check_holiday

* Copy

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-03-05 01:16:38 +01:00
Laurent Destailleur
500bd9c1f2 FIX height of confirm popup 2026-03-05 00:46:30 +01:00
Laurent Destailleur
ce3609ce83 FIX height of confirm popup 2026-03-05 00:46:08 +01:00
Laurent Destailleur
3dfce11ae8 Merge 2026-03-05 00:42:13 +01:00
Laurent Destailleur
1650d96091 FIX Pb with import of agendaevents. Date and import id not visible. 2026-03-04 16:52:48 +01:00
Laurent Destailleur
cf0ab8d300 Fix label of type 2026-03-04 12:51:56 +01:00
Laurent Destailleur
9c0cdee7c6 Fix css and truncation on creation of event 2026-03-04 11:52:05 +01:00
Laurent Destailleur
1f09296717 Debug v23 2026-03-03 21:11:57 +01:00
Laurent Destailleur
8f8c70922e Debug v23 2026-03-03 21:11:38 +01:00
Laurent Destailleur
d072d1fc0a Fix CSS 2026-03-03 21:06:00 +01:00
Laurent Destailleur
cc9b9e06b6 Fix CSS 2026-03-03 21:05:07 +01:00
Laurent Destailleur
aaf64cf696 CSS 2026-03-03 20:58:33 +01:00
Laurent Destailleur
5077058df5 Fix CI 2026-03-02 15:23:26 +01:00
Laurent Destailleur
a9c85c78e2 Automated merge from 23.0 to develop 2026-02-28 12:17:11 +01:00
Laurent Destailleur
6a458223b1 Automated merge from 22.0 by tool pullmerge.sh 2026-02-28 11:31:01 +01:00
Laurent Destailleur
ad90eb7a7c Automated merge from 21.0 by tool pullmerge.sh 2026-02-28 11:28:30 +01:00
Laurent Destailleur
c65c7678b1 Automated merge from 20.0 by tool pullmerge.sh 2026-02-28 11:28:27 +01:00
minimexat
4ad18d1219 Fix external user 'Access Forbidden' on agenda event card (#37362)
External users (fk_soc set) were blocked from opening agenda events
because GETPOSTINT('socid') returns 0 when no socid param is in the URL
(ActionComm::getNomUrl() only generates ?id=XXXXX).

The condition 0 != $user->socid then triggers accessforbidden() for
every external user.

Fix: fall back to $user->socid when socid is not in the URL, consistent
with the pattern used in all other card pages (contracts, invoices,
orders, etc.).

The existing restrictedArea() check still validates that the event's
fk_soc matches the user's company, so security is preserved.

Fixes #37361

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 16:38:01 +01:00
minimexat
2e02df9002 Fix external user 'Access Forbidden' on agenda event card (#37362)
External users (fk_soc set) were blocked from opening agenda events
because GETPOSTINT('socid') returns 0 when no socid param is in the URL
(ActionComm::getNomUrl() only generates ?id=XXXXX).

The condition 0 != $user->socid then triggers accessforbidden() for
every external user.

Fix: fall back to $user->socid when socid is not in the URL, consistent
with the pattern used in all other card pages (contracts, invoices,
orders, etc.).

The existing restrictedArea() check still validates that the event's
fk_soc matches the user's company, so security is preserved.

Fixes #37361

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 16:37:29 +01:00