Commit Graph

15441 Commits

Author SHA1 Message Date
Frédéric FRANCE
e4e2e06306 clean code (#36071)
* clean code

* Update blockedlog_list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-03 01:32:15 +01:00
Frédéric FRANCE
93a305faa7 clean code (#36072)
$modecompta not empty here

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-02 21:49:34 +01:00
MDW
be588ee1be Qual: Update TVA intra field reference in quadri_detail.php (#36064)
- Changed reference from 'tva_intra' to 'company_tva_intra' in multiple locations
- Updated baseline.txt to reflect reduced occurrences of PhanTypeArraySuspiciousNull and PhanPluginUndeclaredVariableIsset
2025-11-02 13:06:34 +01:00
Laurent Destailleur
31b4e093cb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-01 19:37:25 +01:00
Laurent Destailleur
b1c7b1154f Debug v23 - Translation not loaded when it should 2025-11-01 19:36:35 +01:00
Mathieu Pellegrin
963deab290 Fix #35970 (#35971)
* Fix #35970

* Add test for invoice status
2025-11-01 18:57:54 +01:00
Frédéric FRANCE
38a62ca163 clean code (#36012) 2025-11-01 02:37:42 +01:00
Frédéric FRANCE
f1a418f042 clean code (#36016)
* clean code

* clean code

* clean code
2025-11-01 00:31:43 +01:00
ThomasNgr-OpenDSI
1cd82c88cb Develop fix STOCK_MUST_BE_ENOUGH_FOR_(PROPAL|ORDER|INVOICE) (#33517)
* Manage STOCK_MUST_BE_ENOUGH_FOR_(PROPAL|ORDER|INVOICE) with new attribute stockable_product

* Use static properties for product types. Controle product type service.

* simpler condition for STOCK_MUST_BE_ENOUGH_FOR_PROPOSAL
2025-10-31 17:15:18 +01:00
Laurent Destailleur
870ee50729 Fix pos_print_counter 2025-10-28 23:35:42 +01:00
Laurent Destailleur
e47925af7c WIP LNE 2025-10-28 14:14:28 +01:00
Jyhere
ce7e9f4027 FIX: warning on invoice list when no extrafield (#35968) 2025-10-28 01:05:34 +01:00
Frédéric FRANCE
9b512f565f try to make new checks (#35976)
* try to make new checks

* try to make new checks

* try to make new checks

* try to make new checks

* try to make new checks

* try to make new checks
2025-10-28 00:57:01 +01:00
Laurent Destailleur
1e1d8de59a Try to use hint index only when not counter productive. 2025-10-24 03:34:18 +02:00
Laurent Destailleur
fe71668d0d Replace use of DISTINCT with WHERE EXISTS 2025-10-24 03:15:51 +02:00
Laurent Destailleur
ec109fa7ea Fix default fields for POS 2025-10-22 22:09:15 +02:00
Laurent Destailleur
93bb6035b8 FIX Column Terminal is forbidden in POS context 2025-10-22 21:11:04 +02:00
Laurent Destailleur
d8b63e6fa6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-21 10:35:24 +02:00
Laurent Destailleur
bf6e7d80e0 Fix edit mode 2025-10-21 10:35:11 +02:00
Alexandre SPANGARO
cdd4dde166 NEW Accountancy - Various payment - Add script to greyed out subledger_account if general ledger is not centralized (#35842)
* NEW Accountancy -  Add data-centralized in select_account()

* NEW Accountancy - Add script to greyed out subledger_account if general ledger is not centralized

* Fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-21 02:08:19 +02:00
Laurent Destailleur
e7672cd9e5 Fix critical regression in cast 2025-10-19 18:47:20 +02:00
Laurent Destailleur
3aa920be4a Fix critical regression when casting vat rate 2025-10-19 18:40:26 +02:00
Laurent Destailleur
738b85abcd Fix PHP doc regression 2025-10-19 18:38:10 +02:00
Laurent Destailleur
2c65efad96 Fix php doc 2025-10-19 18:32:25 +02:00
MDW
66683105f1 Qual: Fix phan notices (#35827)
# Qual: Fix phan notices

Some type hints updates + correction to get week from date (action/pertype.php)
+ check that value is not null (pdf_* classes).
2025-10-18 19:10:43 +02:00
Frédéric FRANCE
05e6c8ce11 Fix phpstan (#35828)
* clean phpstan baseline

* clean baseline

* clean baseline

* clean baseline

* clean baseline
2025-10-18 19:09:52 +02:00
Guido Schratzer
78aefbaa2e FIX #35766: Update buying price INT Float (#35769)
* FIX #35766: Update buying price INT Float
loose Decimals

.

* Fix: keep fk_product_fournisseur_price as int; treat buying price as float (no truncation) [#35766]

* Updated per feedback: keep fk_product_fournisseur_price as ?int (rowid) and  as float.
Adjusted FactureRec::updateline PHPDoc to ?int  and float|''  (model still normalizes via price2num).
Tested on a recurring line: decimals preserved, FK stored as int, CI green. Minor adjustments before v22 backport

* Delete .hooktest

* Delete dev/tools/pre-commit/README.md

* Delete test/phpunit/phpunit.xml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-18 11:54:09 +02:00
Frédéric FRANCE
29b3880e6c add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
Mathieu Pellegrin
c09ae7c3fb Fix #35703 (#35734)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-15 11:34:51 +02:00
Laurent Destailleur
dbc0905e79 Renamed salaries/paiement_salary.php into salaries/payment_salary.php 2025-10-15 11:19:00 +02:00
Laurent Destailleur
2e4c0715c4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-14 21:05:34 +02:00
Laurent Destailleur
f62b83df1d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-14 21:05:07 +02:00
Laurent Destailleur
81e5b0da1b Doc 2025-10-14 21:04:56 +02:00
Alexandre SPANGARO
eb91e09a50 NEW Accountancy - Add a protection on various payment for auxiliary account on general account not centralized (#35720) 2025-10-14 20:57:01 +02:00
Frédéric FRANCE
3c597c263d clean code (#35710)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* clean code
2025-10-14 19:58:04 +02:00
Frédéric FRANCE
1ad2d24a4b fix img_pictos (#35722)
* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos
2025-10-14 19:31:06 +02:00
Laurent Destailleur
c7ab7cd83d FIX Bad label for column title on multicurency 2025-10-14 16:27:31 +02:00
Laurent Destailleur
ef9e74c4d4 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-13 19:55:25 +02:00
Laurent Destailleur
41634d08ca NEW Add option PROJECT_CAN_ALWAYS_LINK_TO_ALL_CUSTOMERS 2025-10-13 14:30:45 +02:00
Laurent Destailleur
b78f30e8af Debug v23 2025-10-13 11:49:07 +02:00
Laurent Destailleur
cba68f31bb Debug v23 2025-10-13 11:39:08 +02:00
Laurent Destailleur
580d0d4fa8 Replace function img_pdf with img_picto 2025-10-13 11:12:30 +02:00
Laurent Destailleur
d57bb824d7 Fix CSS regression. The arrow was no more visible with image using font
awesome.
2025-10-12 22:01:16 +02:00
ldestailleur
6dd2f31012 NEW The flag "Dispute open" make the status in Red. 2025-10-08 16:35:17 +02:00
ldestailleur
8dd55d5a33 FIX Concat of PDF to invoices 2025-10-08 12:28:35 +02:00
Charlène Benke
3ff7e43648 Add parameters 'source' and 'notrigger' to postContact (#35678)
* Add parameters to postContact method

allow to add internal contact

* Add parameters 'source' and 'notrigger' to postContact
2025-10-08 10:58:01 +02:00
Lenin Rivas
d67db1e685 NEW Add Transfer Number (#35665)
* NEW Add Transfer Number

* NEW Add Transfer Number

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-07 23:26:43 +02:00
Charlène Benke
0c2f6ea9b0 add getContacts method on invoice api (#35656)
* add getContacts method on invoice api

Add the getContacts method to fetch both external and internal contacts for a given invoice.

* Change return type from Object to array in API docs

Updated return type in the documentation for the get contacts method.

* Update api_invoices.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-07 20:51:07 +02:00
ldestailleur
447d8b7a64 Show info on tooltip 2025-10-07 15:47:54 +02:00
Frédéric FRANCE
78ca88f4fc clean code (#35640)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-05 16:51:29 +02:00