Commit Graph

525 Commits

Author SHA1 Message Date
Laurent Destailleur
6b2faf02d9 Checkstyle 2012-05-23 23:34:00 +02:00
Regis Houssin
3bc9e378ab Fix: [Bug #388] Can't modify products after moving with arrows 2012-05-05 09:20:01 +02:00
Regis Houssin
98f7a189d1 Fix: add backward compatibility 2012-04-06 23:26:04 +02:00
Regis Houssin
94788e2ccb Fix: compatibility with multicompany sharings
use new $conf->product->dir_output[$object->entity] instead
$conf->product->dir_output
2012-04-06 22:41:33 +02:00
Regis Houssin
a4863ffa89 Fix: missing compatibility 2012-03-04 18:38:28 +01:00
Laurent Destailleur
06dc5aa9dd Fix: Do not loose data from post if it fails 2012-03-04 13:07:36 +01:00
Regis Houssin
68ce569d05 Fix: compatibility with edit in place
Qual: use generic function and remove unused
Todo: Type of product combobox is not compatible with edit in place
2012-03-04 09:43:56 +01:00
Laurent Destailleur
00b7ad4a78 New: Can convert a product/service into service/product. 2012-03-04 01:41:36 +01:00
Laurent Destailleur
e45bbb622a Fix: Some fix and uniformize code for extra parameters. 2012-03-04 01:09:39 +01:00
Laurent Destailleur
f5c551d725 New: Can use personalized fields of products/services. 2012-03-03 19:02:44 +01:00
Regis Houssin
9301def08d Fix: rename method 2012-03-02 15:03:14 +01:00
Laurent Destailleur
e0f7637bb3 Fix: Restore barcode management 2012-02-29 22:54:34 +01:00
Laurent Destailleur
5e32fc70ad Fix: action must always be provided as value can be change during actions 2012-02-28 16:48:18 +01:00
Laurent Destailleur
1645ddbe47 Sec: Sanitize all input for ids. 2012-02-27 22:26:22 +01:00
Laurent Destailleur
1de2af42b4 Fix: Translation 2012-02-15 21:10:33 +01:00
Regis Houssin
74b69c6659 Fix: add multicompany products sharing 2012-02-11 18:45:36 +08:00
Regis Houssin
f0d2823edf Fix: avoid foreach warning 2012-02-06 18:59:07 +01:00
Laurent Destailleur
6cb0685b6f Qual: Uniformize hook names. All hooks to add information on
create/update/view cards are called fomrObjectOptions instead of
sometine formObjectOptions, sometimes showInputFields, sometimes
showOutputFields.
2012-02-06 17:18:19 +01:00
Laurent Destailleur
8c934d3dde Rename custom code into customs code 2012-01-30 20:08:11 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
8fb4108163 Qual: childelement is a protected property 2011-12-07 19:22:12 +01:00
Laurent Destailleur
66856fee75 New: show thirdparty barcode on main tab. 2011-12-07 15:06:29 +01:00
Laurent Destailleur
740c24e991 New: barcode is now visible on main tab. 2011-12-07 12:58:39 +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
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
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
c43c2734fb Fix: TVA Non Perçue Récupérable 2011-10-09 17:37:27 +02:00
eldy
be01d88e2d Qual: Removed warning
Look: Uniformize code
2011-10-01 12:48:31 +02:00
eldy
60b3640bfc Make canvas for products working again. 2011-09-28 21:07:49 +02:00
Regis Houssin
2c1b3722f2 Fix: replace sizeof() by count() 2011-09-17 19:49:50 +00:00
Laurent Destailleur
17c32809e8 Qual: Removed TODO and some useless code 2011-09-13 12:00:37 +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
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
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
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
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
830059a7a9 Look: Minor enhancements 2011-08-13 13:03:03 +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
13e3cc77b9 Fix: Uniformize error management 2011-07-29 20:47:34 +00:00
Laurent Destailleur
7d5f0c3723 New: Can add logo on third parties.
Qual: Uniformize code to show photos/logos.
2011-06-11 14:14:27 +00:00
Laurent Destailleur
bc25b7bd2c Qual: Removed deprecated feature 2011-06-08 12:48:05 +00:00
Laurent Destailleur
62e680cbf2 MAIN_CONFIRM_AJAX is on by default 2011-05-18 12:07:38 +00:00
Regis Houssin
b523ab815a Fix: problem to delete a service if the product module is disable 2011-05-15 17:00:18 +00:00
Regis Houssin
781fe52b39 New: not reload page with dialog confirm
Fix: problem with external module constraint
2011-05-14 14:35:04 +00:00
Regis Houssin
b08844f915 New: not reload page with dialog confirm 2011-05-14 14:07:07 +00:00
Laurent Destailleur
be7b79d31d Fix: Hide price if multiprice enabled 2011-05-13 22:04:52 +00:00
Laurent Destailleur
0053ecdab9 Try to fix a lot of regression. Add also more phpunit test to avoid them in future. 2011-05-01 20:53:46 +00:00
Regis Houssin
228b11befb Fix: problem with bullet/number list with ckeditor 2011-04-28 09:58:53 +00:00
Regis Houssin
1946961a20 New: change for ajax dialog box in product card
Fix: uniformize code
2011-04-25 20:18:09 +00:00
Regis Houssin
09f6fab2cc New: add width parameter in editor 2011-02-02 16:56:55 +00:00
Regis Houssin
a59de36362 Fix: reversal fields
Fix: same order with state
2011-01-23 20:06:06 +00:00
Laurent Destailleur
5e939a3d2a Fix: Warning for stock was not visible
Fix: Change of stock limit was not possible
2011-01-10 20:46:21 +00:00
Laurent Destailleur
a1090f9b63 Fix: W3C 2010-12-28 00:15:26 +00:00
Laurent Destailleur
fb918aa001 Fix: New product status was not visible on all tabs. 2010-12-18 17:51:15 +00:00
Laurent Destailleur
d65528aec9 New: Add custom code and origin country 2010-11-02 11:22:41 +00:00
Laurent Destailleur
dfbd72a76a Fix: W3C 2010-11-01 16:00:38 +00:00
Regis Houssin
660b85d584 Fix: problem with next/preview function 2010-10-03 17:22:18 +00:00
Laurent Destailleur
7917c17844 Work on task #10579 : Simplify code using editor 2010-09-02 19:10:34 +00:00
Laurent Destailleur
8fa175f3e9 Fix: Restore feature broken with renaming 2010-08-19 20:29:55 +00:00
Regis Houssin
2c4a56771f Fix: $optiontype not used
Fix: select_array is deprecated
2010-08-19 15:20:25 +00:00
Laurent Destailleur
fb4967242a Minor look fix 2010-08-19 01:42:26 +00:00
Laurent Destailleur
3b83692946 Fix: Lost permission 2010-08-17 08:18:46 +00:00
Juanjo Menent
92e9e1447f Task #9643: Works in Products 2010-08-12 16:28:48 +00:00
Juanjo Menent
03dcfb0443 Task #9643: Works in Products 2010-08-12 16:19:52 +00:00
Laurent Destailleur
2db5b658f1 Fix: Some errors in vat management with multiprice 2010-07-22 21:16:29 +00:00
Laurent Destailleur
dbc4f53f7f Fix: Wrong W3C, error in filter. 2010-07-22 18:49:58 +00:00
Regis Houssin
1cddc25657 Fix: uniformize code, best way for optimizing code 2010-06-30 15:01:18 +00:00
Laurent Destailleur
0f4759e2c5 Serious enhancement on styles. 2010-06-26 00:34:27 +00:00
Juanjo Menent
ca124a1476 Local Taxes: Works in Invoices.
Contracts: Patch to invoicing with the new invoices changes.
Trad: Orders: Tab Compta.
2010-06-21 16:49:41 +00:00
Juanjo Menent
f5a2918fbc Local Taxes: First changes in Orders 2010-06-18 20:48:16 +00:00
Juanjo Menent
3f113b01d1 Fix: Local Taxes: Works in Propals 2010-06-18 17:48:53 +00:00
Regis Houssin
4d7c2ff56e Fix: error with localtax 2010-06-18 10:17:21 +00:00
Laurent Destailleur
d2d63bcb81 Fix: Fix a lot of broken features when renaming produit to product 2010-06-02 08:34:44 +00:00
Laurent Destailleur
8095e1e2cc Fix a lot of bugs after changes for canvas (photo hidden, edit field for accountancy disappeared, etc...). Too complicated to fix with canvas so I restore the "simple" code. Canvas feature should still works but with some bugs. 2010-05-26 15:09:53 +00:00
Laurent Destailleur
55eead636f Fix a lot of bugs after changes for canvas (photo hidden, edit field for accountancy disappeared, etc...). Too complicated to fix with canvas so I restore the "simple" code. Canvas feature should still works but with some bugs. 2010-05-26 15:03:11 +00:00
Laurent Destailleur
4b7d4fa571 Fix a lot of bugs after changes for canvas (photo hidden, edit field for accountancy disappeared, etc...). Too complicated to fix with canvas so I restore the "simple" code. Canvas feature should still works but with some bugs. 2010-05-26 14:52:32 +00:00
Laurent Destailleur
226fdb6e6b Remove pdate functions 2010-05-08 16:29:37 +00:00
Regis Houssin
793f2a9246 Works on improvement for external module 2010-05-08 16:19:41 +00:00
Regis Houssin
56f626da28 Works on product canvas and templates 2010-05-06 12:20:16 +00:00
Regis Houssin
8d40f1ee23 Works on product canvas and templates 2010-05-06 12:18:43 +00:00
Regis Houssin
ef5bd8c1df Works on product canvas and templates
Add possibility to move canvas directory to module directory
2010-05-05 10:13:07 +00:00
Regis Houssin
8b6a1c3470 Works on product canvas and templates 2010-05-05 09:54:54 +00:00
Regis Houssin
8d49c4df2d Works on product canvas and templates
Add possibility to move canvas directory to module directory
2010-05-05 09:15:34 +00:00
Regis Houssin
3c8507cc60 Works on product canvas and templates
Add possibility to move canvas directory to module directory
2010-05-05 09:05:50 +00:00
Regis Houssin
9dc1c8344e Works on product canvas and templates
Add possibility to move canvas directory to module directory
2010-05-05 08:49:17 +00:00
Regis Houssin
18ddd2e1a9 Fix: bad llx_header 2010-05-05 06:42:33 +00:00
Regis Houssin
9bfa90e693 Qual: Uniformise code 2010-05-04 15:45:43 +00:00
Regis Houssin
84121c12e5 Works on product canvas and templates 2010-05-03 07:39:49 +00:00
Regis Houssin
cccf7058ad Works on product canvas and templates 2010-05-03 05:58:01 +00:00
Regis Houssin
e0ef7c94b6 Works on product canvas and templates 2010-05-03 05:51:48 +00:00
Regis Houssin
244d85a4fe Works on product canvas and templates 2010-05-03 05:47:43 +00:00
Regis Houssin
5ad77d4f31 Works on product canvas and templates
!! WARNING : not stable !!
2010-05-02 20:06:09 +00:00
Regis Houssin
2ff8f376f3 Works on product canvas and templates
!! WARNING : not stable !!
2010-05-02 19:52:46 +00:00
Regis Houssin
785351e0ee Works on product canvas and templates
!! WARNING : not stable !!
2010-05-02 19:01:22 +00:00
Laurent Destailleur
9db9f23d71 Restore lang files into global lang directory. Usage of lang into modules directory must be used only for external modules to be self-dependent but must be kept for dolibarr core feature into unique htdocs/langs directory as this make working on translation a big headache and break a lot of automated translation tools. 2010-05-02 17:05:07 +00:00
Regis Houssin
01b46068e6 Works on product canvas and templates
!! WARNING : not stable !!
2010-05-02 14:29:16 +00:00
Regis Houssin
fa73ddf93c Works on product canvas and templates
!! WARNING : not stable !!

Fix: bad translation
2010-05-02 04:57:15 +00:00
Regis Houssin
f2dc99dc7f Works on product canvas and templates
!! WARNING : not stable !!
2010-05-01 14:37:02 +00:00
Philippe Grand
9e887c8980 according to new tree directory 2010-05-01 14:19:21 +00:00
Regis Houssin
2f924a3f7a Works on product canvas and templates
!! WARNING : not stable !!
2010-05-01 10:40:42 +00:00
Regis Houssin
3dc1f01387 Works on product canvas and templates
!! WARNING : not stable !!
2010-05-01 09:56:02 +00:00
Regis Houssin
230a414a2c Works on product canvas and templates
!! WARNING : not stable !!
2010-05-01 09:03:15 +00:00
Philippe Grand
b65ddfabe8 according to new tree directory 2010-04-28 21:29:12 +00:00
Regis Houssin
e4ea54f315 Fix: move class to class directory
Fix: mutualize code
2010-04-28 17:30:59 +00:00
Philippe Grand
009b251d52 according to new tree directory 2010-04-27 08:13:42 +00:00
Philippe Grand
c418128a07 according to new tree directory 2010-04-25 14:17:39 +00:00
Regis Houssin
73f216fd89 Fix: rename $class to $classname to prevents problems
http://www.manuelphp.com/php/reserved.keywords.php
2010-04-09 07:55:37 +00:00
Regis Houssin
40b5352430 Fix: rename "templates" to "tpl" 2010-03-30 13:26:20 +00:00
Philippe Grand
f4afed58c3 move html.formproduct.class.php to product directory 2010-03-30 12:47:19 +00:00
Juanjo Menent
c5cbe5f812 Works on enhancement of local taxes. First changes to products 2010-03-28 15:13:17 +00:00
Philippe Grand
3ce3c74ba7 Move facture class file to compta/facture directory 2010-03-26 15:45:01 +00:00
Regis Houssin
99af90546f Works on canvas capability
Works on custom list
2010-03-25 09:28:51 +00:00
Philippe Grand
497c2a9204 move file class propal to comm/propal directory 2010-03-23 20:53:15 +00:00
Regis Houssin
024290068c Fix: ajout de la correspondance des volumes 2010-03-22 16:01:42 +00:00
Regis Houssin
c7df8f8807 Fix: move module class to your own directory 2010-03-22 15:31:13 +00:00
Philippe Grand
f63bec3a34 add volume unit and measure within products 2010-03-22 13:40:31 +00:00
Regis Houssin
dd408be68c Fix: reorganisation du fonctionnement des canvas de produits
Fix: migration du module droitpret en module externe
2010-03-22 11:49:10 +00:00
Laurent Destailleur
bab2b22b3a New: Can set accountancy code for product (buy and sell) 2010-03-20 18:39:32 +00:00
Laurent Destailleur
4a5bb8a327 Remove field stock_loc because location of product in a warehouse can't be set into the product table as it can differs between warehouses. Such feature must be stored in the join table. 2010-03-17 11:51:51 +00:00
Laurent Destailleur
c8179af08b Qual: Move droitpret module into secondary repository 2010-03-16 18:26:38 +00:00
Laurent Destailleur
3cb4335f9a Move permission "see hidden categories" into "see hidden products/services". 2010-03-13 21:53:44 +00:00
Laurent Destailleur
8980d9acc2 Move permission "see hidden categories" into "see hidden products/services". 2010-03-12 23:40:39 +00:00
Laurent Destailleur
d5b1097d13 Qual: Mutualize common code 2010-02-17 18:57:08 +00:00
Laurent Destailleur
c5e01667ee Add class style "photo" to all photos. 2010-02-17 18:27:20 +00:00
Laurent Destailleur
1fce3e6cf1 Add fieldrequired style 2010-02-17 17:46:50 +00:00
Laurent Destailleur
bcc62447af New: Can define the new product ref when cloning 2009-12-10 11:01:16 +00:00
Laurent Destailleur
df65583749 Fix: Bug on mutliprices 2009-11-30 00:23:58 +00:00
Laurent Destailleur
c0b9a302ff Fix: Bad parameter 2009-11-29 23:45:15 +00:00
Laurent Destailleur
49ad04814b Fix: Bad parameter 2009-11-29 23:38:22 +00:00
Laurent Destailleur
ada04996d1 Fix: Add of product line in wrong object 2009-11-06 15:13:29 +00:00
Laurent Destailleur
def839941f Qual: Uniformize code 2009-10-29 01:46:01 +00:00
Laurent Destailleur
28e95b5fbd Add help link to online wiki 2009-08-12 13:07:49 +00:00
Regis Houssin
7574fea36b Fix: limit view of price for external user with price level 2009-08-06 14:25:03 +00:00
Laurent Destailleur
8761c985b7 New: Add picto on tab titles 2009-08-06 13:21:23 +00:00
Laurent Destailleur
378b96d504 Removed deprecated option. Use the conf->module->enabled instead. 2009-08-02 16:47:06 +00:00
Regis Houssin
3cd1870ffb Fix: utf-8
Todo: Monaco, Norway and Switzerland used vat rules of EEE ?
2009-07-30 22:38:07 +00:00