Laurent Destailleur
e30ee02357
Fix for #30077 (renaming method will be done later when situation
...
invoice integration will be completed)
2024-06-19 14:57:45 +02:00
Laurent Destailleur
03a8a154c3
Merge manually another part of PR #29897
2024-06-18 21:52:25 +02:00
Laurent Destailleur
1e4babaff8
Add method get_allprev_progress() manually for #29897
2024-06-18 21:45:19 +02:00
Lucas Marcouiller
0a1eb954d7
Fix warnings and deprecated ( #29999 )
...
Co-authored-by: Hystepik <lmarcouiller@nltechno.com >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-06-13 08:51:22 +02:00
Mathieu Moulin
abcb1dad4b
Define CommonObject relation in CommonObjectLine classes ( #29956 )
2024-06-10 16:08:39 +02:00
Eric
000efd5221
Fix #29640 : ( #29939 )
...
* FIX REPLENISH MANY FOURN WHEN ORDER ALREADY CREATE (#29710 )
* fix restrictedArea on selectobject (#29882 )
* Fix travis
* Fix : expense report reapproval email, wrong date format + missing parameter (#29874 )
* delete_linked_contact is < 0 in case of error
---------
Co-authored-by: IC-Mathieu <95343351+IC-Mathieu@users.noreply.github.com >
Co-authored-by: Rémi Champlon <85104766+Kazimir42@users.noreply.github.com >
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net >
Co-authored-by: Maxime Kohlhaas <maxime@atm-consulting.fr >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-06-09 01:11:03 +02:00
boudet jean pascal
02eb66d9f4
New user author modele fac rec ( #29858 )
...
* add conf in fac_rec
* pre-commit
* Update facture.class.php
Signed-off-by: Laurent Destailleur <eldy@destailleur.fr >
* Update facture.class.php
Signed-off-by: Laurent Destailleur <eldy@destailleur.fr >
---------
Signed-off-by: Laurent Destailleur <eldy@destailleur.fr >
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-06-08 12:37:07 +02:00
Frédéric FRANCE
bae0c17811
clean code ( #29800 )
...
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* Update adherent.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-31 15:09:41 +02:00
Laurent Destailleur
82908a30eb
Clean phan warnings
2024-05-30 13:37:17 +02:00
Laurent Destailleur
74f3b31b3e
Cean code
2024-05-22 02:05:22 +02:00
Laurent Destailleur
16336a66ad
Rename french module name into english
2024-05-13 10:45:20 +02:00
Frédéric FRANCE
d0830b3159
fix phpstan ( #29602 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
fix phpstan
fix phpstan
fix phpstan
fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-05 00:34:19 +02:00
Laurent Destailleur
afc178f246
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-04-30 13:21:04 +02:00
Laurent Destailleur
9b0e884ee0
FIX Support of lot serial not working on TakePOS
2024-04-30 12:54:51 +02:00
Frédéric FRANCE
ff35192b64
fix phan ( #29513 )
...
* fix phan
* Update donation.php
* Update project.php
* Update facture.class.php
2024-04-28 12:31:54 +02:00
Laurent Destailleur
5b777188e2
Fix Phan
2024-04-28 01:47:18 +02:00
Frédéric FRANCE
5d421b1437
fix phpstan supplier invoice rec ( #29398 )
2024-04-20 22:45:14 +01:00
Laurent Destailleur
b5de782c6b
Fix use the good HTTP code
2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03
Use same doc comment eveywhere.
2024-04-07 12:26:27 +02:00
Laurent Destailleur
38fb00489d
PHPDoc
2024-04-05 13:44:59 +02:00
Laurent Destailleur
0fe0cd7c01
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-04-04 11:39:02 +02:00
Laurent Destailleur
404ba88107
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-04-04 11:19:45 +02:00
Laurent Destailleur
50f99a51bb
Remove trigger BILLREC_CREATEBILL that should not exists as it is
...
duplicate of BILL_CREATE.
This trigger was not a CRUD event. If you used it, you can already use
the trigger BILL_CREATE and test that ($object->fac_rec > 0) to know if
creation trigger is from a recurring invoice or not. Also this old
trigger was never enabled into table llx_c_action_trigger.
2024-04-03 02:37:30 +02:00
Laurent Destailleur
714236a1ec
Merge pull request #29203 from rycks/16_move_trigger_to_facture
...
move BILLREC_CREATEBILL to facture because of ui actions
2024-04-03 02:29:12 +02:00
Eric Seigne
6bd2d78fc9
fix object call
2024-04-02 21:35:25 +02:00
Eric Seigne
850ec25f23
move BILLREC_CREATEBILL to facture because of user can click on button "create" from ui, not only from cron
2024-04-02 21:29:21 +02:00
Frédéric France
83258058f0
fix Property FactureLigne::$localtax1_type (int) does not accept string
2024-04-02 20:31:37 +02:00
Laurent Destailleur
7715513ac9
Some API HTTP return code were moved from 401 to 403 to better follow
...
REST specification.
2024-04-02 14:47:49 +02:00
Laurent Destailleur
51f862ad28
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-04-02 13:21:00 +02:00
Laurent Destailleur
990216b13f
NEW Api parameters are sanitized by the WAF, same code than GET/POST
2024-04-02 13:07:13 +02:00
Jon Bendtsen
04b3b4d4d2
will allow updating 1 invoices single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for invoices
2024-04-01 10:17:58 +02:00
Regis Houssin
85a08a9288
FIX sometimes a string type instead integer is return, why ?
2024-03-31 19:17:58 +02:00
MDW
04c3e80fc5
Fix typing
2024-03-29 18:26:48 +01:00
Frédéric France
afcf1710f9
fix phpstan
2024-03-28 20:20:41 +01:00
Frédéric France
5b1af95864
fix phpstan
2024-03-28 20:16:32 +01:00
Laurent Destailleur
a7e33e6573
Merge pull request #29047 from mdeweerd/fix/PhanPluginUnknownObjectMethodCall1
...
Fixes for PhanPluginUnknownObjectMethodCall
2024-03-28 14:20:57 +01:00
Laurent Destailleur
415e99606d
Merge pull request #29091 from mdeweerd/fix/facturefournisseur/card
...
Fix card FactureFournisseur
2024-03-28 12:55:24 +01:00
Laurent Destailleur
c112a965cc
Fix phan warnings
2024-03-28 12:54:08 +01:00
Laurent Destailleur
f403a3e054
Fix warning
2024-03-28 12:45:47 +01:00
MDW
975243f1b5
Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
...
# Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
Assign socid whenever fk_soc is assigned so that socid can be accessed
instead of fk_soc.
2024-03-27 18:07:51 +01:00
MDW
bf659fee44
Force typing (phan) for typing checks
2024-03-27 10:18:05 +01:00
MDW
359a2688ff
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:29 +01:00
Laurent Destailleur
b658bde88a
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
...
Conflicts:
htdocs/core/class/html.formsetup.class.php
htdocs/takepos/index.php
2024-03-22 02:11:58 +01:00
MDW
ecf24fd3b4
Fix $mybool |=... which is binary op, not boolean op
...
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:06 +01:00
MDW
34eb7c288a
Fix arg type to preg_match(),abs(),trim() with cast
2024-03-20 04:08:34 +01:00
MDW
991ce81f93
Fix arg type to preg_match() and preg_replace() with cast
2024-03-20 04:08:34 +01:00
MDW
6eacf10d67
Fix arg type to preg_match with cast to string
2024-03-19 20:37:40 +01:00
MDW
fd9d48faac
Fix phpstan CommonObject->fields - notnull is optional field
2024-03-19 00:32:00 +01:00
MDW
13ab939691
Fix deprecated function calls
2024-03-16 13:27:51 +01:00
Laurent Destailleur
e15f243e95
Clean code - Remove a deprecated tag that should not exists.
2024-03-16 11:51:32 +01:00