Commit Graph

2538 Commits

Author SHA1 Message Date
Eric - CAP-REL
a89a917adc PERF: hidden var to limit list of invoices for credit note list (#33839)
* PERF: hidden var to limit list of invoices for credit note list

* Update facture.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-14 20:12:19 +02:00
ldestailleur
0b8324fc89 FIX #33784 2025-04-12 16:58:50 +02:00
Frédéric FRANCE
1eb27d5bd5 clean code (#33805) 2025-04-09 23:05:17 +02:00
ldestailleur
8cc5bc3e7e NEW The closing reason of invoice appear on tooltip of invoice status 2025-04-09 19:07:31 +02:00
ldestailleur
4ba1f204fd Fix need refresh to see status updated 2025-04-09 17:41:33 +02:00
ldestailleur
e6fdf698b3 Fix trans 2025-04-09 17:21:59 +02:00
Vaadasch
e469131327 Add hook before each generated invoice by createRecurringInvoices (#33780)
* Add hook before each generated invoice by createRecurringInvoices

* Update new hook to respect parameters constraints

* Add global action

* Move "global $action" at the beginning of the function

* Update facture-rec.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Arnaud Serrut <arnaud.serrut@gmail.com>
2025-04-09 16:00:17 +02:00
ldestailleur
eb4e5a4685 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-09 15:40:02 +02:00
ldestailleur
c09f7a235c Fix type 2025-04-09 11:56:21 +02:00
atm-irvine
9f89417391 New/group fetch and fetch optionals (#33257)
* feat(facture): group classic fetch and fetch optionals depending on conf

* feat(facture): group new fetch optionals

* feat(facture): group new fetch optionals for lines

* chore: phan fixes

* feat(factureligne): grouped fetch and fetch optionals

* Fix regression in missing $conf

* Update factureligne.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-09 00:10:02 +02:00
ldestailleur
be21aa7c6d FIX CI 2025-04-07 17:00:18 +02:00
ldestailleur
6af8298736 Fix related to #33449 2025-04-07 15:46:10 +02:00
atm-jonathan
d72d69e55c NEW add home box mrp (#33549)
* add box Mo

* tests ok

* comparaison dates

* before Wysy

* after wysy

* Update mo.class.php

* Update mo.class.php

* Update conf.class.php

* retour PR

* add parenthesis

* Update mo_list.php

---------

Co-authored-by: x <x@x.x>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-02 12:22:59 +02:00
MDW
5cc0bd0a3f Fix #33689 - missing rename (#33693)
# Fix #33689 - missing rename

Assignment to $result in code before fixing phan notice
seem be an error, but in fact the assignment is useless
and the code only expects a potential exception.
2025-04-02 11:31:10 +02:00
ldestailleur
30801214ce Code comment 2025-03-28 12:07:51 +01:00
Frédéric FRANCE
fded6d7855 fix CI branch 21 (#33535) 2025-03-19 15:53:00 +01:00
ldestailleur
a3f3f28362 Fix warnings 2025-03-19 14:42:04 +01:00
ldestailleur
66e14bb708 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 14:28:20 +01:00
ldestailleur
5c1f8b58c4 Merge 2025-03-19 14:23:19 +01:00
ldestailleur
bb719f73cf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-03-19 14:19:01 +01:00
ldestailleur
1ab438d62e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-03-19 14:17:37 +01:00
ldestailleur
0a4f1ffc06 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-03-19 14:09:41 +01:00
atm-lucas
42a1cde41a useless product fetch on invoice create (#33505) 2025-03-19 14:00:03 +01:00
ldestailleur
a0ec0002f6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 13:47:25 +01:00
ldestailleur
e72299126c Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
Signed-off-by: ldestailleur <eldy@destailleur.fr>
2025-03-18 16:39:04 +01:00
ldestailleur
7465d54335 Fix renaming dire must be at end outside of translation. 2025-03-18 16:36:18 +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
ldestailleur
23244ddc9d Fix getCallerInfoString() return empty when only one function used 2025-03-17 11:33:06 +01:00
ldestailleur
8082c7bd96 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-15 10:57:53 +01:00
ldestailleur
624e87bc51 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-14 17:24:52 +01:00
ldestailleur
3c4c5f1c75 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-03-14 12:33:40 +01:00
ldestailleur
681b20f09e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-03-14 12:32:56 +01:00
Laurent Destailleur
051a902f1f Revert "Revert "Reverse const STOCK_ALLOW_NEGATIVE_TRANSFER to STOCK_DISALLOW…" (#33454)
This reverts commit e943c9c97f.
2025-03-13 23:22:40 +01:00
Laurent Destailleur
e943c9c97f Revert "Reverse const STOCK_ALLOW_NEGATIVE_TRANSFER to STOCK_DISALLOW_NEGATIV…" (#33453)
This reverts commit d93e8e2978.
2025-03-13 23:17:02 +01:00
ThomasNgr-OpenDSI
d93e8e2978 Reverse const STOCK_ALLOW_NEGATIVE_TRANSFER to STOCK_DISALLOW_NEGATIVE_TRANSFER (#33444) 2025-03-13 23:15:04 +01:00
MDW
ef11cdeb45 Qual: Fix phan notices (pdf_* related) (#33445) 2025-03-13 23:05:15 +01:00
HENRY Florian
7a1fa20959 fix: allow positive line in creditnote invoice if FACTURE_ENABLE_NEGATIVE_LINES and INVOICE_KEEP_DISCOUNT_LINES_AS_IN_ORIGIN (#33434)
* fix: allow positive line in creditnote invoice if FACTURE_ENABLE_NEGATIVE_LINES and INVOICE_KEEP_DISCOUNT_LINES_AS_IN_ORIGIN

* fix: allow positive line in creditnote invoice if FACTURE_ENABLE_NEGATIVE_LINES and INVOICE_KEEP_DISCOUNT_LINES_AS_IN_ORIGIN
2025-03-13 11:18:17 +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
ee9e89efaa Qual: Fix phan notices (facture/3 + filefunc.inc) (#33383)
* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols

* Qual: Fix phan notices (core/lib)

* Qual: Fix phan (contrat)

* Qual: Fix phan notices (facture/3 + filefunc.in)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-11 01:59:34 +01:00
Laurent Destailleur
aad4a2bc7e Merge branch 'develop' into retrieving-extraparams-for-lines 2025-03-06 04:57:15 +01:00
ldestailleur
d20e730c66 Clean code 2025-03-06 04:56:54 +01:00
MDW
56e354e112 Qual: Fix phan notices (facture/2) 2025-03-05 21:17:58 +01:00
Laurent Destailleur
e874529873 Merge pull request #33250 from aspangaro/22_catinvoice
NEW Add invoice tags
2025-03-05 14:29:55 +01:00
MDW
f625f8de60 Qual: Fix api phan notices 2025-03-05 13:22:08 +01:00
MDW
eac44b164a Qual: Fix phpdoc index(), FIELDS 2025-03-05 13:21:05 +01:00
MDW
acf6b62822 Fix PhanTypeMismatchArgument in commonobject, commande/card, 2025-03-05 12:15:12 +01:00
Laurent Destailleur
f50a0aa7f8 Merge branch 'develop' into retrieving-extraparams-for-lines 2025-03-04 21:35:01 +01:00
ldestailleur
14000c46e7 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-04 21:33:15 +01:00
ldestailleur
bf0a594427 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-04 21:31:50 +01:00
EchoLoGeek
146bd33e90 Fix updateline method for INVOICE_USE_SITUATION = 2
If there is no progress on a line, percent must not be 100%
2025-03-04 11:00:24 +01:00