Commit Graph

9134 Commits

Author SHA1 Message Date
Frédéric FRANCE
ce7269aa07 fix missing translation (#33921)
* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation

* fix missing translation
2025-04-19 11:46:57 +02:00
stefkpl
9fd9454928 NEW: add phone_mobile to export of thirdparty (#33893)
* fix: add phone_mobile to societe table import

* Update modSociete.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-18 20:14:07 +02:00
Frédéric FRANCE
de763b4b43 clean code of order (#33880)
* clean code of order

* clean code of order

* clean code of order

* clean code of order
2025-04-16 21:09:45 +02:00
Frédéric FRANCE
255300a29e test fix phan (#33879)
* test fix phan

* test fix phan

* test fix phan

* test fix phan

* test fix phan
2025-04-16 19:55:44 +02:00
Alexandre SPANGARO
ab0ce1d645 Review of module asset (#33847)
* Fixed Asset - Update translation of the module

* Fix asset create name

* Fix ref field

* Update module Asset

* Fix CI

* Fix CI

* Fix comment
2025-04-15 17:21:45 +02:00
Laurent Destailleur
b0b2442298 Fix #33793 2025-04-14 20:24:21 +02:00
ldestailleur
955a8dab83 Debug v22 2025-04-11 14:20:42 +02:00
ldestailleur
26613998eb Debug v22 2025-04-11 13:57:07 +02:00
Frédéric FRANCE
d0cf13e73c add missing translation (#33782)
* add missing translation

* fix missing translation

* fix missing translation

* fix missing translation
2025-04-09 15:56:34 +02:00
ldestailleur
7d8607cce5 NEW Module external website is deprecated. Replaced with menu editor. 2025-04-08 18:18:05 +02:00
ldestailleur
61982bf42b Fix CI 2025-04-07 14:11:37 +02:00
ldestailleur
33f1a644d5 Fix CI 2025-04-07 11:51:42 +02:00
JC Prieto
f4e43e3566 FIX: Update import_xlsx.modules.php (#33439)
* Update import_xlsx.modules.php

$keyfield must be always 'rowid' because we compare with $lastinsertid

* Update import_csv.modules.php

* Update import_csv.modules.php

I correct edition

* Update import_xlsx.modules.php

I correct edition

* Update import_csv.modules.php

* Update import_csv.modules.php

* Update import_xlsx.modules.php

* Update import_csv.modules.php

* Update import_xlsx.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-06 19:45:35 +02:00
ldestailleur
54534044c7 Debug v22 2025-04-05 16:52:02 +02:00
ldestailleur
2a082d37a5 Introduce position for sub-modules 2025-04-05 16:34:19 +02:00
ldestailleur
91f519b6fb Debug v22 2025-04-05 16:30:22 +02:00
ldestailleur
7b759f439e Depreciate module mod_facture_terre that is duplicate with mars. 2025-04-05 16:10:07 +02:00
ldestailleur
8c74643e5f PERF Optimization to get next ref when there is reset on first month. 2025-04-05 15:29:41 +02:00
ldestailleur
cd5a645acc Fix move default number to neon, argon has critical bug to fix first. 2025-04-05 14:09:47 +02:00
ldestailleur
ef95c311a7 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-03 21:09:46 +02:00
ldestailleur
174d6497b3 Signed-off-by: ldestailleur <eldy@destailleur.fr> 2025-04-03 21:04:35 +02:00
Christophe Battarel
5864af4d4c fix permission def (#33712)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2025-04-03 17:13:54 +02:00
atm-irvine
87b254e0fd Fix pdf einstein automatic calculation (#33713)
* fix(pdf-einstein): let automatic calculation for pos

* removed ;
2025-04-03 17:12:28 +02:00
ldestailleur
1aac6e3c34 Clean code by using the ACCOUNTING_MODE var for both modules 2025-04-03 16:41:41 +02:00
Frédéric FRANCE
51624f8a50 deprecate statut (#33691)
* deprecate statut

* Update fichinter.class.php

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-02 11:27:17 +02:00
MDW
0aea1709f7 Qual: Add comment on return to avoid 'redundant' notice (#33676) 2025-04-01 10:45:10 +02:00
Chosto
ccc25e5970 [MC] Fix illegal table.column PostgreSQL UPDATE syntax (#33673) 2025-04-01 01:08:31 +02:00
Jyhere
e35c59a4d8 GIFF-Accountancy-2025 - Automatic numbering of accounting entries (#33551)
* NEW: ref with configurable numbering models for Bookkeeping

* FIX: bookkeeping tooltip empty ref depending the list

* FIX: bookkeeping ref numbering missing translations and typo

* NEW: free ref num model for bookkeeping

* Update mod_bookkeeping_argon.php

* FIX: ci

* FIX: replace mistake, removed not necessary ternary

* FIX: phan error and prefix check

* FIX: phan error

* FIX: missing ref column in llx_accounting_bookkeeping_tmp.sql

* CHANGE: use default function getDolGlobalInt(,  = 0)
() param instead of ternary

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-31 11:35:18 +02:00
Florian Mortgat
c9ecc5dfad Remove deprecated columns price_ht and remise from llx_contratdet (#33616)
* [breaking change] Remove deprecated columns `price_ht` and `remise` from llx_contratdet and corresponding class properties

* FIX: remove references to deleted field `price_ht` from module
descriptor (exports)
2025-03-29 17:25:00 +01:00
ldestailleur
507262a1a8 Test fix CI 2025-03-25 22:27:52 +01:00
ldestailleur
7b9b32cb9e Debug pgsql DDLInfoTable 2025-03-25 21:32:28 +01:00
ldestailleur
c95f4a8e6a Fix phpunit 2025-03-25 20:22:02 +01:00
ldestailleur
d7ededc1b2 Fix phpunit 2025-03-25 20:21:03 +01:00
Christophe Battarel
71acce0afb NEW : add new permissions to read supplier prices (#33598)
* add new permissions to read supplier prices

* Update modProduct.class.php

* Update modProduct.class.php

* Update modService.class.php

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-25 19:33:30 +01:00
ldestailleur
635ce3de85 Fix bad directory for sql files 2025-03-25 19:05:49 +01:00
ldestailleur
d33866426c Clean code 2025-03-25 19:04:52 +01:00
ldestailleur
64690564fd Fix bad directory for sql files 2025-03-25 19:04:33 +01:00
Alexandre SPANGARO
1cd2783bd2 NEW Add tags / category on supplier invoice (#33490)
* NEW Add tags / category on supplier invoice

* CI

* Fix condition if constant MAIN_USE_NEW_SUPPLIERMOD is used

* Fix link

* Fix typo

* Fix element type on export

* Fix element type on export
2025-03-25 16:28:51 +01:00
ldestailleur
c73eec72d5 Disable spellcheck on textarea to define path of dirs 2025-03-25 14:10:53 +01:00
Mathieu Schiffmann
b9946cef4a NEW #33506 Add a constant to apply a ratio to resize images in ODT templates (#33543)
* CLOSE #33506 add a constant holding the ratio to resize images in ODT templates

A new Dolibarr constant 					MAIN_DOC_ODT_IMAGE_RATIO
is taken in consideration for ODT templates.
This constant holds a number that is multiplied when computing the size of images in ODT templates.
All doc_generic_*_odt_modules.php files have been updated to call the setImage Method with a new parameter $ratio
The method setImage in the file odt.php has been modified to have a new parameter $ratio and use it to compute the image size

* FIX #33506 wrong branch

some other files needed to be changed in the develop branch

* FIX #33506 PR errors fixed

* FIX #33506 codesniffer errors fixed

* QUAL #33506 completed method comment
2025-03-24 16:41:00 +01:00
Frédéric FRANCE
eaf2194bd2 fix directory url (#33592)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-24 16:37:26 +01:00
ldestailleur
bb3989c9a7 NEW The signature is on the good page even if another module add pages 2025-03-20 12:01:18 +01:00
ThomasNgr-OpenDSI
643564d45c add advanced right to reopen a propal (#33416)
* add advanced right to reopen a propal

* use NOT insetad of empty() for getDolGlobalBool()

* fix travis
2025-03-19 18:12:02 +01:00
omogenot
070072e660 Add extra import contact key fields (#33528)
During company contact import, to distinguish between two contacts with same name, use extra key fields such as Zip code or email, so that a new contact with same name can be inserted.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 18:02:45 +01:00
MDW
8669993ecf Qual: Fix phan notices (compta/prel..fichinter) (#33485)
* Qual: Fix phan notices (asset..compta/paiement)

* Qual: Fix phan notices (compta/prel..fichinter)
2025-03-19 15:21:48 +01:00
ldestailleur
d0242ad032 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 14:15:23 +01:00
Vincent Quintin
7c3aa76fc8 Fix: Correct search_fk_statut=openall (#33523) 2025-03-19 14:14:33 +01:00
ldestailleur
19e63684c7 Look and feel v22: Smaller label with tooltip for customs code. 2025-03-19 11:45:15 +01:00
atm-irvine
80d90a96bc feat(expedition): added project ref on expedition PDF (#33442)
* feat(expedition): added project ref on expedition PDF

* feat(expedition): added project ref on expedition PDF

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-16 20:45:26 +01:00
MDW
c3104905b3 Qual: Fix phan notices (html/core) (#33474)
* FIX: Replace compromised tj-actions/changed-files

# FIX: Replace compromised tj-actions/changed-files

See https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised .

* Add changed php file for test

* Qual: Fix phan notices (html/core)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-15 16:34:35 +01:00