2
0
forked from Wavyzz/dolibarr
Commit Graph

3339 Commits

Author SHA1 Message Date
ThomasNgr-OpenDSI
b431b1bc90 FIX sales representatives can affect contacts from thirdparties they are not allowed to see (#33353)
* introduce method User::getAffectedThirdparties()

* Forbid to display thirdparties on contact tab is user has no right to see them

* add control in add_contacts

* fix precommit

* fix phan, phpstan

* fix travis + fix using wrong table

* Forbid to display thirdparties on contact tab is user has no right to see them (more secure way)

* try to fix TRAVIS

* more efficient way to check user is allowed to ad a socpeople

* remove dead code
2025-04-06 19:51:30 +02:00
Frédéric FRANCE
8b1d8d7d19 add parameters (#33729) 2025-04-04 18:15:41 +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
kkhelifa-opendsi
b712abad83 NEW: Add parameters for the hook selectProductsListWhere (#33718) 2025-04-03 20:32:55 +02:00
ldestailleur
9b67bd52a2 css 2025-04-03 13:17:36 +02:00
ldestailleur
f78eea2661 Fix click on label of checkbox busy resource 2025-04-03 13:05:02 +02:00
ldestailleur
191f6ba00e NEW Look and feel - Checkboxes and radio buttons are larger 2025-04-03 13:00:19 +02:00
ldestailleur
865198309a Fix click on label of checkbox busy resource 2025-04-03 12:53:18 +02:00
Jon Bendtsen
27dc84fe3b NEW Can link member subscription/contribution with proposal, order and invoice (#33647)
* linking member subscription contribution <-> proposal, order and invoice
This can both be done manually from an existing proposal/order/invoice to a subscription created without creating an invoice. I use this when we sell memberships as part of registration for our membership classes.

The link will also be shown on the invoice that can be created as part of the subscription contribution creation.

These links show up in the json from the API on proposals, orders and invoices. The subscription does not show anything. It is currently unknown if the API can do this link or it will have to be done manually in the GUI.

* Update html.form.class.php

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-01 21:36:35 +02:00
ldestailleur
6c8ae0b2a6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 16:28:08 +02:00
ldestailleur
533ca31814 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-29 17:32:45 +01:00
Alexandre SPANGARO
ffbcd11b68 NEW Accountancy - Centralized account are highlighted (#33648)
* Complete migration for centralized accounts

* Fix display error on centralized account

* NEW update function select_account for centralized account

* FIX CI
2025-03-29 17:20:00 +01:00
ldestailleur
1bbdd303d3 Fix position of drowndown when checkbox column is on left 2025-03-29 15:32:25 +01:00
ldestailleur
3ab8e1302d Debug v22 2025-03-29 15:29:09 +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
John BOTELLA
b16b462520 New js search filter in icons doc (#33580)
* New js search filter in icons doc

* Fix code wysiwyg editor in Doc and add search input doc

* Fix code wysiwyg editor in Doc and add search input doc

* Fix autofocus

* fix js count

* comment

* comment

* fix php stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-25 10:57:15 +01:00
ldestailleur
920c84a056 NEW No auto open keyboard on smartphone when opening list of columns 2025-03-24 12:48:38 +01:00
John BOTELLA
92baf3faa9 Fix : MAIN_SEARCH_PRODUCT_BY_FOURN_REF search critera (#33550) 2025-03-20 18:32:49 +01:00
Laurent Destailleur
278ae6c597 Fix fatal error when var is array 2025-03-20 03:34:23 +01:00
Laurent Destailleur
395157d16c Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-17 19:46:08 +01:00
Laurent Destailleur
00fe425b0f Fix css 2025-03-17 19:22:55 +01:00
MDW
0cc1aa6d80 Qual: Fix phan notices (asset..compta/paiement) (#33484)
* Qual: Fix phan notices (accountancy, adherents)

* Qual: Fix phan notices (admin)

* Qual: Fix phan notices (asset..compta/paiement)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-16 20:45:04 +01:00
ldestailleur
f618ee5029 Look and feel v22 2025-03-15 15:05:02 +01:00
MDW
2cd6459d10 Qual: Fix phan notices (*card) (#33450) 2025-03-14 17:25:11 +01:00
Clément
e4c0ff5e83 Fix #33446 (#33447)
* Fix #33446

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-14 11:27:07 +01:00
Clément
a4c58bd40b Fix #33446 (#33447)
* Fix #33446

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-14 11:26:28 +01:00
MDW
ef11cdeb45 Qual: Fix phan notices (pdf_* related) (#33445) 2025-03-13 23:05:15 +01:00
ldestailleur
d5384f2777 Fix CI 2025-03-13 10:41:42 +01:00
atm-irvine
d38a985ac3 feat(invoice-rec): new rule_for_lines_dates field - Impl (#33252)
* feat(invoice-rec): new rule_for_lines_dates field - Impl

* fix(html-form-class): added type in phpdoc

* chore: renamed $object to $sourceInvoice for create action

* fix(card-rec): error naming variable $sourceInvoice

* fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-13 10:37:58 +01:00
MDW
d64298f6c1 Qual: Fix phan notices (htdocs/compta) (#33427) 2025-03-12 20:41:50 +01:00
Alexandre SPANGARO
4cb4be3774 NEW Supplier orders - Add tags/categories (#33386)
* NEW Supplier orders - Add tags/categories

* Fix CI

* Fix CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-11 03:20:26 +01:00
MDW
988fc75ca2 Qual: Fix phan notices (emailcollector, bookkeeping) (#33375)
* Qual: Fix phan notices (mostly propal)

* Fix some const arguments to Form::select_dolusers()

* Update phan baseline

* Qual: Fix phan notices (propal)

* Qual: Fix phan notices (emailcollector, bookkeeping)
2025-03-10 15:47:55 +01:00
MDW
3f15c5fcb7 Fix phpstan notice 2025-03-05 21:42:17 +01:00
MDW
56e354e112 Qual: Fix phan notices (facture/2) 2025-03-05 21:17:58 +01:00
ldestailleur
ac5d5aeb91 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-03-02 15:29:14 +01:00
ldestailleur
c29016503a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-02 15:17:02 +01:00
ldestailleur
91cf88380e FIX Fatal error when seller is null, fix combo of vat in expense report 2025-03-02 15:14:06 +01:00
Kamel Khelifa
682502b2e6 Corrections 2025-02-28 09:49:53 +01:00
Kamel Khelifa
ce1b38e984 Corrections 2025-02-28 09:48:29 +01:00
ldestailleur
0d834b2c05 Debug v21, the type small was only if no url provided 2025-02-27 13:44:37 +01:00
Kamel Khelifa
7ba21bd23d NEW: Add management of date begin/end and discount for a customer price (Code) 2025-02-25 15:09:05 +01:00
ldestailleur
bf086f95a0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-02-25 02:42:42 +01:00
ldestailleur
b1492818f6 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-02-25 02:39:50 +01:00
ldestailleur
abcd0d2cf2 Qual: Clean code related to categories 2025-02-23 19:42:49 +01:00
ldestailleur
be76a4bca6 Debug v21 2025-02-22 13:57:41 +01:00
ldestailleur
e8df374b6b Debug v21 2025-02-22 13:57:07 +01:00
Jyhere
5f32475cb0 NEW: add hooks to modify select_produits_fournisseurs_list sql query
As for the select_products_list() method, add hooks to add columns in select and sql joins.
2025-02-21 11:08:31 +01:00
ldestailleur
4ba5286ad2 Doc 2025-02-19 12:17:41 +01:00
Laurent Destailleur
fc610a0adf Merge pull request #33092 from mdeweerd/phan/2025.2.14.societe-1
Qual: Fix phan notices (societe)
2025-02-17 19:45:38 +01:00
Laurent Destailleur
4d46197aed Update html.form.class.php 2025-02-17 17:23:16 +01:00