Commit Graph

1653 Commits

Author SHA1 Message Date
Regis Houssin
98c60c1412 Fix: preventing XSS injections and uniform code 2011-11-27 18:44:27 +01:00
Regis Houssin
00ffbd5e90 Fix: change the last database prefix 2011-11-23 21:25:02 +01:00
Laurent Destailleur
839781dfbe Qual: Removed a TODO by renaming all ->monnaie into ->currency 2011-11-23 14:55:36 +01:00
Laurent Destailleur
1770a46519 Qual: Removed tons of warning 2011-11-22 14:00:03 +01:00
Regis Houssin
666e850d72 Fix: uniform code 2011-11-20 11:58:52 +01:00
Laurent Destailleur
12963265d7 Add confirm message when going back to draft 2011-11-14 16:23:59 +01:00
Laurent Destailleur
ca335e4fe0 New: Support zip/town autocompletion on warehouses 2011-11-14 11:28:16 +01:00
Laurent Destailleur
f7cfa18748 Fix: double screen when creating product with no ref 2011-11-11 01:20:18 +01:00
Laurent Destailleur
72c0a15f56 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/commande/fiche.php
	htdocs/core/class/commonobject.class.php
	htdocs/product/fiche.php
2011-11-09 12:17:29 +01:00
Laurent Destailleur
90b43e2dfb Fix: Can edit accountancy code 2011-11-09 11:51:58 +01:00
Regis Houssin
cbec43e098 Fix: change 'editfieldkey' and 'editfieldval' for compatibility with
external module and hook system.
Fix: uniform code
2011-11-09 06:14:42 +08:00
Regis Houssin
f0c327c070 Fix: uniform code
replace all $html by $form with exceptions "$htmlname, $htmltooltip"
2011-11-08 17:22:31 +08:00
Laurent Destailleur
8d1284ed42 Choose warehouse for order validation 2011-11-07 15:04:02 +01:00
Laurent Destailleur
83f2061e0e Start to work on feature to select stock id for increase/decrease. 2011-11-06 15:42:53 +01:00
Laurent Destailleur
9e50499195 Last movement date info is mre clear. 2011-11-06 13:54:06 +01:00
Laurent Destailleur
40da2e23d2 Qual: Reduce sub-options of module fckeditor. This make code cleaner
and all this duplicated options were useless.
2011-11-05 23:18:49 +01:00
Laurent Destailleur
ad3f13881b Uniformize constructor
Removed deprecated functions
2011-10-27 02:10:23 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Regis Houssin
63d60a33fc [task #216] Move lib in core directory 2011-10-24 11:25:54 +02:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
30c5f4b214 Move all core class in htdocs/core/class 2011-10-24 09:29:17 +02:00
Laurent Destailleur
0bc80e9bec Qual: Doxygen
Qual: Uniformize some code
2011-10-14 18:51:20 +02:00
eldy
11beb15d9a Fix: Hide supplier info if permission to read suppliers not on 2011-10-10 00:03:26 +02:00
eldy
c6a22b79ea Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2011-10-09 17:38:29 +02:00
eldy
c43c2734fb Fix: TVA Non Perçue Récupérable 2011-10-09 17:37:27 +02:00
Juanjo Menent
af09be1674 Fix: Missing translation 2011-10-06 11:54:36 +02:00
eldy
72e6e954f6 Qual: Removed warnings 2011-10-05 23:49:05 +02:00
eldy
6eea1f56c9 More comments. 2011-10-05 14:29:16 +02:00
eldy
b295a866a5 Fix: Fix a serious database default. Table llx_product_fournisseur was
linked with llx_product_fournisseur_price with a link 1-1 so was
useless. I removed it. This reduce a lot of sophisticated code and will
make import of prices easier. This also increase speed.
2011-10-05 12:51:55 +02:00
eldy
47bb2171e0 Fix: Fix a serious database default. Table llx_product_fournisseur was
linked with llx_product_fournisseur_price with a link 1-1 so was
useless. I removed it. This reduce a lot of sophisticated code and will
make import of prices easier. This also increase speed.
2011-10-04 01:26:07 +02:00
eldy
98ab396837 New: Can choose number of character before triggering Ajax
autocomplete of product search.
2011-10-03 22:48:10 +02:00
eldy
409fd169cf New: Add webservice to create a product 2011-10-02 01:23:57 +02:00
eldy
be01d88e2d Qual: Removed warning
Look: Uniformize code
2011-10-01 12:48:31 +02:00
eldy
b2d635dab7 Qual: More PHPUnit tests 2011-10-01 01:40:15 +02:00
eldy
f70b1894db Work on product webservice 2011-10-01 01:30:32 +02:00
eldy
c1f5b2f3a1 Fix: Bad var name 2011-10-01 01:29:43 +02:00
eldy
9d12daef9f Removed useless code 2011-09-28 21:33:20 +02:00
eldy
60b3640bfc Make canvas for products working again. 2011-09-28 21:07:49 +02:00
Laurent Destailleur
3fca369e29 Qual: Uniformize code. Removed dead code. 2011-09-20 22:12:59 +00:00
Laurent Destailleur
be6286c4b8 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Regis Houssin
551e1f81bf Fix: Space after closing parenthesis of function call prohibited 2011-09-20 13:32:16 +00:00
Regis Houssin
6c4acefd93 Fix: Space before opening parenthesis of function call prohibited 2011-09-20 12:56:06 +00:00
Regis Houssin
5efe1cd470 Fix: Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. 2011-09-20 10:30:56 +00:00
Regis Houssin
b6a2f13673 Fix: avoid jenkins warning
Fix: SpaceAfterOpenBracket, SpaceAfterCloseBracket, SpaceBeforeCloseBracket, SpaceBeforeOpenBracket
2011-09-20 09:40:27 +00:00
Regis Houssin
2c1b3722f2 Fix: replace sizeof() by count() 2011-09-17 19:49:50 +00:00
Laurent Destailleur
1f12ccb9a5 Uniformize code 2011-09-14 23:01:07 +00:00
Laurent Destailleur
26d7bb3a66 Qual: Move function that should be local to class as private 2011-09-13 12:28:09 +00:00
Laurent Destailleur
17c32809e8 Qual: Removed TODO and some useless code 2011-09-13 12:00:37 +00:00
Laurent Destailleur
d56fc98ed3 Doxygen 2011-09-12 17:43:31 +00:00
Laurent Destailleur
e8360b8b95 Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
ac7b8484de Doxygen 2011-09-12 17:43:31 +00:00
Laurent Destailleur
d7b943ec0f Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
75dc8c84f7 Doxygen 2011-09-12 17:43:31 +00:00
Laurent Destailleur
6c030ab34b Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
d0114638c2 Doxygen 2011-09-12 17:43:31 +00:00
Laurent Destailleur
48625a0793 Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
e7fb7b74e1 Doxygen 2011-09-12 17:43:31 +00:00
Laurent Destailleur
c4a496cd05 Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
6273a62188 Better link 2011-09-12 19:40:41 +00:00
Laurent Destailleur
7e22db2abe Look: Uniformize view 2011-09-12 19:34:59 +00:00
Laurent Destailleur
cd0623189e Clean deprecated code 2011-09-12 23:23:53 +00:00
Laurent Destailleur
d0abea9db0 Fix: Missing translation 2011-09-12 19:31:32 +00:00
Laurent Destailleur
507fd89c60 Doxygen 2011-09-12 19:49:40 +00:00
Laurent Destailleur
21451b3a5a New: Add total on interventions 2011-09-12 19:25:40 +00:00
Laurent Destailleur
d74d6fd7ad Better link 2011-09-12 19:40:41 +00:00
Laurent Destailleur
d9408d1847 Doxygen 2011-09-12 18:15:11 +00:00
Laurent Destailleur
b8a377fa8f Doxygen 2011-09-12 17:43:31 +00:00
Laurent Destailleur
411b3415eb Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
b75d19c264 Qual: Uniformize constructors 2011-09-11 18:35:38 +00:00
Laurent Destailleur
54d16f4b82 Qual: Uniformize code for canvas for product with canvas of thirdparty, contact, etc... 2011-09-10 18:51:39 +00:00
Laurent Destailleur
65c2d93a29 Fix: When creating invoice from other object, discount are created
automatically
2011-09-10 17:52:21 +00:00
Laurent Destailleur
f2b419a4e6 Qual: Uniformize code for canvas for product with canvas of thirdparty, contact, etc... 2011-09-10 18:51:39 +00:00
Laurent Destailleur
d71df416e0 New: Links on composition page reach to composition page 2011-09-07 19:18:28 +00:00
Laurent Destailleur
39e1beb750 Look: Enhance look 2011-09-07 19:09:21 +00:00
Laurent Destailleur
27130d9b96 New: Links on composition page reach to composition page 2011-09-07 19:18:28 +00:00
Laurent Destailleur
d91d23bb19 Look: Enhance look 2011-09-07 19:09:21 +00:00
Laurent Destailleur
ad6f6f7af4 New: Links on composition page reach to composition page 2011-09-07 19:18:28 +00:00
Laurent Destailleur
c61c7fbbbc Look: Enhance look 2011-09-07 19:09:21 +00:00
Laurent Destailleur
c4a1a2024c New: Links on composition page reach to composition page 2011-09-07 19:18:28 +00:00
Laurent Destailleur
197ebbbe68 Look: Enhance look 2011-09-07 19:09:21 +00:00
Laurent Destailleur
b687933573 New: Links on composition page reach to composition page 2011-09-07 19:18:28 +00:00
Laurent Destailleur
5bc934ddeb Look: Enhance look 2011-09-07 19:09:21 +00:00
Laurent Destailleur
dcb08ae6d0 Fix: W3C 2011-09-07 19:23:22 +00:00
Laurent Destailleur
2721c9fda2 New: Links on composition page reach to composition page 2011-09-07 19:18:28 +00:00
Laurent Destailleur
d562b9a0b3 Look: Enhance look 2011-09-07 19:09:21 +00:00
Regis Houssin
80e51539e0 Works on product canvas 2011-09-06 19:58:42 +00:00
Laurent Destailleur
ec15a4ae3b Doxygen 2011-09-03 00:19:56 +00:00
Laurent Destailleur
351a2974dd Doxygen 2011-09-03 00:14:27 +00:00
Laurent Destailleur
044879c838 Doxygen 2011-09-02 23:57:26 +00:00
Laurent Destailleur
0e2946cec7 Doxygen 2011-09-03 00:19:56 +00:00
Laurent Destailleur
e5988ad241 Fix: Error management when adding notification 2011-09-02 23:41:55 +00:00
Laurent Destailleur
2d89e6609e Doxygen 2011-09-03 00:14:27 +00:00
Laurent Destailleur
5be5852cf4 Fix: Third party emails must not be visible into notification page 2011-09-02 23:07:47 +00:00
Laurent Destailleur
42c86ce1ac Work on rpm package 2011-09-03 01:46:33 +00:00
Juanjo Menent
cac55067fb Qual: Uniformize code 2011-09-02 22:33:28 +00:00
Laurent Destailleur
55c5c5f9f5 Work on rpm package 2011-09-03 01:27:00 +00:00
Laurent Destailleur
f5f37fa8dc Qual: Uniformize code 2011-09-02 16:33:11 +00:00
Laurent Destailleur
d53b179102 Fix: Fix GNU address
Doxygen
2011-09-03 01:24:09 +00:00
Laurent Destailleur
f39c932b2e Qual: Uniformize code 2011-09-02 16:25:07 +00:00
Laurent Destailleur
26badd59f4 Doxygen 2011-09-03 00:27:02 +00:00
Juanjo Menent
116e215323 Uniformize code 2011-09-02 15:41:35 +00:00
Laurent Destailleur
1ca46d8ec4 Doxygen 2011-09-03 00:19:56 +00:00
Juanjo Menent
8f19ee66e4 Uniformize code 2011-09-02 14:31:53 +00:00
Laurent Destailleur
d1d145620d Doxygen 2011-09-03 00:14:27 +00:00
Juanjo Menent
cab45a3742 Uniformize code 2011-09-02 13:47:10 +00:00
Laurent Destailleur
8b3ec4e284 Qual: Uniformize code for canvas of product/service with code of canvas for company and contact. 2011-08-31 17:36:20 +00:00
Laurent Destailleur
2bb5e4ba69 Fix: W3C 2011-08-31 15:12:09 +00:00
Laurent Destailleur
f47e80dca1 Fix: W3C 2011-08-31 14:55:54 +00:00
Laurent Destailleur
be5333589e Fix: task #11248 : there is no DB transaction on products->delete
Qual: Mutualize code to see of an object as child
2011-08-28 12:57:23 +00:00
Laurent Destailleur
058636e01b Qual: Clean deprecated code 2011-08-28 12:37:39 +00:00
Laurent Destailleur
5823f60fd7 Fix: task #11248 : there is no DB transaction on products->delete
Qual: Mutualize code to see of an object as child
2011-08-28 12:30:15 +00:00
Laurent Destailleur
3562f6bba0 Fix: task #11248 : there is no DB transaction on products->delete 2011-08-28 11:53:06 +00:00
Regis Houssin
03711cf6f2 Fix: remove obsolete tags 2011-08-27 19:15:14 +00:00
Laurent Destailleur
0e6eb2aada Qual: Try to uniformize code for product canvas to wokr like canvas for third parties. This also reduce seriously the "cyclomatic complexity" reported by quality tools on product/fiche.php file. 2011-08-27 17:25:09 +00:00
Laurent Destailleur
f20fb6e6b4 Qual: Try to uniformize code for product canvas to wokr like canvas for third parties. This also reduce seriously the "cyclomatic complexity" reported by quality tools on product/fiche.php file. 2011-08-27 17:25:09 +00:00
Regis Houssin
27300fe898 Fix: remove obsolete tags (in progress) 2011-08-27 16:15:06 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
5a2867dc97 Uniformize code 2011-08-22 22:07:09 +00:00
Laurent Destailleur
cfe34139cf Qual: Clean and uniformize code.
Remove properties, that are not related to business, from parent business class commonobject.
2011-08-22 22:04:21 +00:00
Laurent Destailleur
450f9e2617 Perf: Reduce seriously nb of requests 2011-08-21 10:12:18 +00:00
Laurent Destailleur
23b7b4cb9f New: task #11243: Add best supplier price 2011-08-21 00:36:29 +00:00
Laurent Destailleur
84f7eb9da6 New: task #11243: Add best supplier price 2011-08-21 00:26:31 +00:00
Laurent Destailleur
fe27643152 New: task #11243: Add best supplier price 2011-08-20 23:56:03 +00:00
Juanjo Menent
ab4bd6829f task #11240: Show parent products when product is a sub product 2011-08-18 16:32:08 +00:00
Juanjo Menent
8442baa6f0 task #11240: Show parent products when product is a sub product 2011-08-18 16:16:04 +00:00
Juanjo Menent
71e48fe180 fix: bad html 2011-08-17 16:44:38 +00:00
Laurent Destailleur
0adbca4625 Qual: Mutualize a lot of duplicate functions into functions.lib.php 2011-08-17 15:56:22 +00:00
Juanjo Menent
fe3dfbaebc Price Fournisseurs: Add ordering fields. Add option FOURN_PRODUCT_AVAILABILITY 2011-08-17 15:22:39 +00:00
Laurent Destailleur
830059a7a9 Look: Minor enhancements 2011-08-13 13:03:03 +00:00
Laurent Destailleur
0cd303c505 Minor look enhancement 2011-08-10 11:53:25 +00:00
Juanjo Menent
40fdd023b9 task #11243: Show quantity into stocks for each subproducts into the subproduct tab. 2011-08-10 10:00:48 +00:00
Laurent Destailleur
02bebbe2eb Fix: Bad doxygen description 2011-08-08 16:07:47 +00:00
Laurent Destailleur
27ede66991 Fix: Use correct style for left tables 2011-08-08 15:28:00 +00:00
Juanjo Menent
2c46044a54 Fix: bug #33949: Product or Service Card not show my propals 2011-08-05 12:59:17 +00:00
Laurent Destailleur
d246b87c1a Fix: removed print of function making print.
Fix: default vat rate must be -1 to be automatic instead of deprecated conf->defaulttx
2011-08-04 21:46:50 +00:00
Laurent Destailleur
37ead2f97e Fix: Avoid errors into rpm packages 2011-07-31 23:19:04 +00:00
Laurent Destailleur
cc840ad66e Fix: Avoid errors into rpm packages 2011-07-31 21:24:20 +00:00
Laurent Destailleur
13e3cc77b9 Fix: Uniformize error management 2011-07-29 20:47:34 +00:00
tiaris
ddbad84dd7 canot delete product with supplier refs 2011-07-29 06:59:36 +00:00
Laurent Destailleur
37da6efa69 Clean code to remove a lot of quality test errors 2011-07-21 01:20:31 +00:00
Regis Houssin
5790b7e604 Fix: missing htmlname in ajax response 2011-07-10 17:28:09 +00:00
Laurent Destailleur
babc29019a Fix: Parent class must be declared. 2011-07-08 21:52:07 +00:00
Laurent Destailleur
c16bede5a1 Fix: Removed a conception error reported by eclipse validators. 2011-07-08 13:33:42 +00:00
Laurent Destailleur
b550807090 Fix: Removed a conception error reported by eclipse validators. 2011-07-08 13:07:44 +00:00
Laurent Destailleur
e2b18d565a Fix: Bad order on documents pages 2011-07-06 20:56:48 +00:00
Laurent Destailleur
573354f5d9 Fix: Better error management 2011-07-04 10:04:18 +00:00
Laurent Destailleur
578cc374fe Uniformize code 2011-06-26 00:41:41 +00:00
Laurent Destailleur
337f41c8e1 Uniformize code 2011-06-17 22:24:52 +00:00
Laurent Destailleur
6f27293a8b Fix: bug #33510 : Ajout d'un prix fournisseur,mauvais message d'erreur 2011-06-17 18:52:33 +00:00
Laurent Destailleur
ad0022b3e8 Fix: Associated product must use label of multilang table if multilang is on. 2011-06-17 07:32:07 +00:00