2
0
forked from Wavyzz/dolibarr
Commit Graph

2289 Commits

Author SHA1 Message Date
Irvine Fleith
2f93bac9bf FIX : fk_societe_rib 2024-12-17 15:52:39 +01:00
Laurent Destailleur
bdaa0a0058 Fix phpstan 2024-12-09 00:58:38 +01:00
Laurent Destailleur
fe4823d9ad Fix phpunit 2024-12-09 00:43:37 +01:00
Laurent Destailleur
0b3c15b7fa Fix phpunit 2024-12-09 00:24:28 +01:00
Laurent Destailleur (aka Eldy)
352d156dd7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-12-08 17:07:14 +01:00
Laurent Destailleur (aka Eldy)
774a48fa29 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-08 16:53:21 +01:00
Laurent Destailleur (aka Eldy)
7beb874f93 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-12-08 16:47:36 +01:00
Laurent Destailleur (aka Eldy)
28213b3129 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-12-08 16:44:08 +01:00
Laurent Destailleur
34fb6583da Merge pull request #32248 from FHenry/20_fix_ref_customer_invoice
fix: facture.class.php ref_customer deserve same management as deprecated ref_client
2024-12-08 10:42:31 +01:00
Florian HENRY
ad5285bd7e fix: missing error return on invoice created when lines array is filled 2024-12-05 17:28:00 +01:00
Florian HENRY
de2e9f5ea5 fix: missing error return on invoice created when lines array is filled 2024-12-05 16:20:53 +01:00
Florian HENRY
68518a8717 fix: missing error return on invoice created when lines array is filled 2024-12-05 16:14:45 +01:00
Florian HENRY
94baef5d1d fix: facture.class.php ref_customer deserve same management as deprecated ref_client 2024-12-05 09:34:26 +01:00
Irvine Fleith
3aad5fd283 Added new error message for CRON createRecurringInvoice 2024-12-05 09:02:51 +01:00
MDW
ec2a1928ba Qual: Update fields phpdoc to include fields that are defined/used in some cases
# Qual: Update fields phpdoc to include fields that are defined/used in some cases

comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Laurent Destailleur
6b52c0673d Merge pull request #32170 from homer8173/patch-40
Allow various format of dates on API paiement
2024-12-03 21:16:09 +01:00
Jon Bendtsen
e6712300d5 phan fix, remove code never reached 2024-12-02 07:29:18 +01:00
Laurent Destailleur (aka Eldy)
e2f6c68063 Debug v21 - Restore common behaviour of other objects. 2024-12-01 23:13:50 +01:00
Jon Bendtsen
7a500976d2 Merge branch '18.0' into v18_Updating_Invoice_Notes_32134 2024-12-01 10:27:43 +01:00
Jon Bendtsen
0e1744a6ec throw RestException(500) if update of invoice fails #32134 2024-12-01 10:24:25 +01:00
Norbert Penel
ddf3431b81 Allow various format of dates on API paiement
https://github.com/Dolibarr/dolibarr/issues/32111
2024-11-30 13:31:53 +01:00
Frédéric FRANCE
13b8f5feff keep only commonobject property oldcopy (#32123)
* clean properties

* clean properties

* clean properties

* clean properties

* clean phpcs

* clean phan

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-27 21:59:41 +01:00
Florent Poinsaut
a0b3b711c1 Fix non exist column in Facture Stats (#32093)
* Fix non exist column in Facture Stats

* Update facturestats.class.php
2024-11-25 18:59:37 +01:00
HENRY Florian
1f386fb808 fix #32060 (#32061)
* fix #32060

* fix #32060
2024-11-22 13:21:18 +01:00
Laurent Destailleur
6e9bbe42bb Add code to make easier to test PDF generation with n lines of product 2024-11-21 19:40:52 +01:00
Frédéric FRANCE
57d121664f set object entity at create (#32019)
* set object entity at create

* set object entity at create

* set object entity at create

* set object entity at create

* set object entity at create

* set object entity at create

* do not break multicompany thing

* do not break multicompany thing

* missing translation

* fix phpstan

* doc

* fix entity

* fix set entity
2024-11-21 19:11:32 +01:00
Quentin-Seekness
a9b2e7bde1 Update facture.class.php (#32013)
Incoterms and location are missing when invoice is auto gen from an order (when WORKFLOW_ORDER_AUTOCREATE_INVOICE is active for instance)
2024-11-20 20:50:49 +01:00
Laurent Destailleur
1386d8c388 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-19 04:21:29 +01:00
Laurent Destailleur
5891fd3022 Clean code 2024-11-18 15:43:34 +01:00
Frédéric FRANCE
943d10c60a fix phpstan and CI (#31969)
* fix phpstan

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline
2024-11-18 15:10:29 +01:00
Laurent Destailleur
8d580eaa5f Fix travis 2024-11-16 18:39:54 +01:00
Laurent Destailleur
3c3a1193a5 Fix conf->global 2024-11-16 18:08:53 +01:00
Marc de Lima Lucio
7e9919e6b3 FIX: invoice: revenue stamp wrongly converted to int (#31840) 2024-11-15 15:01:03 +01:00
Laurent Destailleur
b1e3830c3b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-13 00:38:58 +01:00
Laurent Destailleur
a186903844 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-13 00:38:00 +01:00
Laurent Destailleur
4cd2e572ae Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-13 00:30:26 +01:00
Laurent Destailleur
9730a83d9c Fix phpstan missing parenthesis 2024-11-12 14:42:07 +01:00
Laurent Destailleur
4b384b3753 Doc 2024-11-12 13:28:50 +01:00
Laurent Destailleur
405444879a Debug v21 2024-11-12 13:25:46 +01:00
atm-lena
10e18da5d7 Develop new facture rec field societe rib management (#31698)
* Add field "fk_societe_rib" in llx_facture_rec

* Add field fk_societe_rib FactureRec

* Management of new field "Bank Account Customer" in facture rec

* Empty Value Management

* Change method of hide/show field

* Preselect RIB

* Rename function

* Edit structure formiban

* fix merge conflict

* Clean code

* clean code

* change translations

* default rib preselected in invoice rec create

* fix "=="

* Update card-rec.php

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 17:53:35 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
uvaldenaire-opendsi
67bcc242db fix trim null value on invoice creation (#31682)
* fix trim null value on invoice creation

* fix trim with null value for note_public
2024-11-10 11:18:05 +01:00
Laurent Destailleur
13ce7cfd04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:14 +01:00
Laurent Destailleur
0819a57345 Better fix for #31015 2024-11-06 19:12:49 +01:00
omogenot
9e40176056 NEW: INTRA VAT ID field optionally mandatory and/or invoice mandatory in thirdparty module setup (#31663)
* Update societe.php

* Add VAT mandatory and VAT invoice mandatory setup
* Reuse `setprofid`, `setprofidmandatory` and `setprofidinvoicemandatory` functions to update constants by using same mechanism with $key='VAT_INTRA'

* Update societe.class.php

Add VAT value check is company uses VAT and VAT is mandatory

* Update facture.class.php

Add VAT invoice mandatory checking

* Update facture.class.php

Typo

* Update societe.php

Fix comment
2024-11-04 13:02:25 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Zephyriony
ecd2f44027 FIX link to list to view overdue invoices (#31660) 2024-10-31 18:03:20 +01:00
atm-irvine
fd094638dd NEW : Suspend facture rec when nb gen max is reached (#31623) 2024-10-29 20:41:01 +01:00
Frédéric FRANCE
6dd6ab7906 fix phpstan (#31614)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-29 17:40:56 +01:00
Frédéric FRANCE
7dfa9b7d33 remove unused code (#31610)
* remove unused code

* remove unused code

* fix typo

* fix

* fix

* fix
2024-10-28 19:49:01 +01:00