2
0
forked from Wavyzz/dolibarr
Commit Graph

412 Commits

Author SHA1 Message Date
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
d85cea32c0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-05-05 00:03:49 +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
Marc de Lima Lucio
3929ef0bfa FIX: accountancy: warning when account not found in plan (#34030) 2025-05-04 10:50:33 +02:00
ldestailleur
e85db964ca Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-25 14:49:47 +02:00
Laurent Destailleur
6411ea4cfc Doc 2025-04-25 02:15:11 +02:00
Frédéric FRANCE
a7206ed0f6 fix CI branch 21. (#33846) 2025-04-14 21:06:29 +02:00
Frédéric FRANCE
2c3cb5806d fix CI (#33827)
* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* try to fix

* fix
2025-04-14 19:37:33 +02:00
Laurent Destailleur
ce15dc25c8 FIX HTML broken by the trunc. 2025-04-13 19:50:22 +02:00
Laurent Destailleur
aaa100d132 FIX HTML broken by the trunc. 2025-04-13 19:46:52 +02:00
ldestailleur
7a3bd99a6a Debug ref numbering of bank transaction feature 2025-04-10 19:18:54 +02:00
lvessiller-opendsi
738fbc1b25 NEW #32706 - Treasury accountancy (#33701)
* NEW #32706 - Treasury accountancy

* Fix CI errors

* Fix CI errors

* Format code for CI integration

* Format code for precommit error

* Resolve CI errors

* Resolve CI errors
2025-04-03 16:08:35 +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
Jyhere
dc2a08bf07 FIX: bookkeeping/export error when not reconciled option is checked (#33433)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-13 10:00:07 +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
ldestailleur
3e24bbd419 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-08 14:51:36 +01:00
ldestailleur
18a4224e5d Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-08 14:51:04 +01:00
ldestailleur
d42f6dff0e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-06 03:34:56 +01:00
ldestailleur
72ca805f99 Fix to avoid use of function that will permit sql injection 2025-03-06 02:57:01 +01:00
ldestailleur
30dffd6fdd Fix CI warnings 2025-03-05 17:48:41 +01:00
Laurent Destailleur
955083d6de Update bookkeeping.class.php 2025-03-05 15:34:45 +01:00
Laurent Destailleur
d1263c1256 Update bookkeeping.class.php 2025-03-05 15:34:04 +01:00
Florian HENRY
ef97849883 fix: php warning Attempt to read property piece_num on null in accountancy/class/bookkeeping.class.php on line 373 2025-03-05 10:50:44 +01:00
Quentin-Seekness
89ff86504b Fix precommit 2025-03-04 10:53:29 +01:00
Quentin-Seekness
09d0f83865 Pre-commit fix 2025-03-04 10:49:36 +01:00
Quentin-Seekness
a59248b8d3 Add trigger on deleteMvtNum method in bookkeeping.class.php
Simply adding a missing trigger on deletion
2025-03-04 10:39:11 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
de321e8f01 Fix typo 2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91 FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Frédéric France
6f2611cf74 fix phan 2024-12-17 18:36:52 +01:00
Frédéric FRANCE
4f780dab1a Update bookkeeping.class.php 2024-12-17 18:35:21 +01:00
Frédéric FRANCE
07284c4d96 Update bookkeeping.class.php 2024-12-17 18:28:24 +01:00
Frédéric FRANCE
ddabb06037 Update bookkeeping.class.php 2024-12-17 18:20:43 +01:00
Frédéric FRANCE
15d4323b5a Update bookkeeping.class.php 2024-12-17 18:13:53 +01:00
Frédéric France
6623a3c23d remove no more used code 2024-12-17 17:59:21 +01:00
Laurent Destailleur (aka Eldy)
81e64ed9a4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-17 16:59:13 +01:00
Laurent Destailleur (aka Eldy)
91eb9fc9fb Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-12-17 16:54:55 +01:00
Pichi1966
b86c1b22f4 Update Closure Income Labels 2024-12-09 12:46:47 +01:00
Pichi1966
25e3224121 Close #30039 and port code on this one
This will help to better and understand and follow this fix
2024-12-08 11:36:26 +01:00
Pichi1966
7e3624ee27 Clean Spaces versu tab 2024-12-01 19:08:53 +01:00
Pichi1966
89fc9ac8ea FIX Accounting Closure Duplicates and more Update bookkeeping.class.php
FIX I did further testing and investigation and I fixed the following issues that stop doing a full closure without duplicate lines generated by an unclean database :

    - different label_compte with same account number
    - removing label_compte is raising an issue and the code in the line around 2770 $bookkeeping->label_compte = $obj->label_compte;
    - different subledger_label with same subledger_account
    - empty versus null values for subledger_label and subledger_account
    - opening_balance is 0 as it creates a bookkeeping entry for now.  

FIX - Update Accounting closure with missing too many A-Nouveau #30039)
2024-12-01 18:55:31 +01:00
Laurent Destailleur
10fe6f1f9f Fix option ACCOUNTANCY_DISABLE_CLOSURE_LINE_BY_LINE 2024-10-29 14:38:08 +01:00
Alexandre SPANGARO
c4409e44f9 QUAL Use table_element in sql querries (#31355)
* Use table element in sql querries

* Use table element in sql querries

* Use also $this->db->prefix()

* Use table_element in sql querries
2024-10-13 16:47:47 +02:00
Alexandre SPANGARO
dfa1a5dd6e NEW Accountancy - Option to select the label operation (#31200)
* NEW Accountancy - Option to select the label operation

* NEW Accountancy - Option to select the label operation

* NEW Accountancy - Option to select the label operation

* NEW Accountancy - Option to select the label operation

* Fix codespell

* Fix CodeSniffer

* Fix Phan

* Some fix

* User function csvClean

* User function csvClean
2024-10-06 14:06:20 +02:00
MDW
f70c945931 Qual: Fix phan/stan notices (#31271)
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall

Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
thomas-Ngr
88879e0708 Add triggers on Bookkeeping class (#31204) 2024-10-03 20:52:39 +02:00
Laurent Destailleur
7b61965042 FIX autoselect the fiscal period by default 2024-09-30 13:19:39 +02:00
Laurent Destailleur
d2a279cc7d FIX autoselect the fiscal period by default 2024-09-30 13:13:15 +02:00