Commit Graph

958 Commits

Author SHA1 Message Date
Laurent Destailleur
fa8a201d04 Mutualize a lot of code 2010-05-12 11:29:21 +00:00
Regis Houssin
635b44b906 Fix: if you rename a module, rename all 2010-05-10 04:50:39 +00:00
Laurent Destailleur
426317a355 Qual: Removed deprecated method 2010-05-09 15:15:10 +00:00
Laurent Destailleur
d2c92b91de Fix: Bad parameters 2010-05-09 15:04:16 +00:00
Laurent Destailleur
8374bf42bb Rename static object 2010-05-09 14:55:49 +00:00
Laurent Destailleur
20b2c211b7 Qual: Removed pdate 2010-05-08 21:15:13 +00:00
Laurent Destailleur
f6416534f2 Qual: Removed pdate 2010-05-08 20:47:12 +00:00
Laurent Destailleur
99382521b3 Qual: Removed pdate 2010-05-08 19:49:29 +00:00
Laurent Destailleur
f7e30a0a5b Qual: Removed pdate 2010-05-08 19:31:44 +00:00
Laurent Destailleur
89c76d13b2 Fix: Remove depracated property
Qual: Removed pdate
2010-05-08 19:21:57 +00:00
Laurent Destailleur
e4bba520f7 Now fetch for User class use id like other classes. 2010-05-05 17:36:20 +00:00
Philippe Grand
4deb00ef2e according to new tree directory 2010-05-03 08:43:33 +00:00
Philippe Grand
a981577553 according to new tree directory 2010-05-03 08:43:32 +00:00
Philippe Grand
8a9fe373d6 according to new tree directory 2010-05-03 08:43:32 +00:00
Philippe Grand
7f13eb0d4e according to new tree directory 2010-05-03 08:22:35 +00:00
Philippe Grand
32025de202 according to new tree directory 2010-05-03 08:22:35 +00:00
Laurent Destailleur
968addfad3 Fix: Better error management in upload files 2010-05-01 14:28:48 +00:00
Regis Houssin
2a37a9a2fa Fix: error with linked element 2010-04-30 06:57:28 +00:00
Regis Houssin
85d7bf3d2b Fix: error with linked element 2010-04-30 06:57:28 +00:00
Regis Houssin
fe62fdcf68 Add a common function to delete the linked contact 2010-04-29 15:57:57 +00:00
Philippe Grand
b749e6bdcf according to new tree directory 2010-04-29 14:34:21 +00:00
Philippe Grand
391c595dda according to new tree directory 2010-04-29 08:50:46 +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
3f4bee1f18 according to new tree directory 2010-04-28 12:53:28 +00:00
Philippe Grand
b6bc9223df according to new tree directory 2010-04-28 10:33:16 +00:00
Philippe Grand
24725ce2a6 according to new tree directory 2010-04-28 10:11:41 +00:00
Philippe Grand
b68a359265 according to new tree directory 2010-04-28 10:02:54 +00:00
Philippe Grand
388470d146 according to new tree directory 2010-04-28 07:55:43 +00:00
Laurent Destailleur
a4f144f24d Qual: Uniformise code. user class use id in first param of fetch 2010-04-28 07:31:34 +00:00
Laurent Destailleur
128dc50c75 Uniformize code 2010-04-27 11:08:07 +00:00
Laurent Destailleur
d31b444503 Move command class in correct directory 2010-04-27 08:35:13 +00:00
Philippe Grand
009b251d52 according to new tree directory 2010-04-27 08:13:42 +00:00
Laurent Destailleur
193a51f70a Fix: initAsSpecimen 2010-04-26 23:01:57 +00:00
Juanjo Menent
ab819101db Works on enhancement of local taxes. Prepare User Interface of documents 2010-04-24 16:00:48 +00:00
Regis Houssin
335c038dd8 Fix: regression 2010-04-21 22:14:11 +00:00
Regis Houssin
621bd68e3b Fix: workflow module is enabled by default
Fix: integration of triggers in the workflow module
!!! we now call "call_workflow" instead of "run_triggers" !!!
2010-04-21 16:29:37 +00:00
Regis Houssin
f6175c2213 Fix: view linked object block 2010-04-17 09:55:10 +00:00
Philippe Grand
84f8a18a72 move discount.class.php to core directory 2010-04-13 14:30:11 +00:00
Philippe Grand
684e6bc63c move notify.class.php to core directory 2010-04-13 14:17:01 +00:00
Juanjo Menent
30dcda109e Works on enhancement of local taxes. Changes in calcul_price_total 2010-04-12 09:53:49 +00:00
Regis Houssin
f9c4c30ec5 Add possibility to add linked object block in object card for external module
Fix: templates integration
2010-04-09 09:30:40 +00:00
Regis Houssin
7b1c726424 Add possibility to add linked object block in object card for external module
Fix: templates integration
2010-04-09 07:23:32 +00:00
Regis Houssin
d8982e5d8c Add possibility to add linked object block in object card for external module
Fix: templates integration
2010-04-09 06:47:13 +00:00
Regis Houssin
8774e69ea9 Add possibility to add linked object block in object card for external module
Fix: templates integration
2010-04-09 06:20:10 +00:00
Regis Houssin
9b2f724ea7 Add possibility to add linked object block in object card for external module 2010-04-08 19:44:45 +00:00
Regis Houssin
bd6d534a60 Fix: convert price 2010-04-08 14:07:24 +00:00
Philippe Grand
01991cec89 move stats class to core directory 2010-04-08 13:19:42 +00:00
Philippe Grand
011ea91f81 move interfaces class to core directory 2010-04-08 13:09:00 +00:00
Philippe Grand
57ae19fc71 Move file actioncomm.class.php to comm/action directory 2010-04-01 07:51:59 +00:00
Laurent Destailleur
d6ff0f9176 New: Can reopen a closed customer order (removed a deadlock feature) 2010-03-31 20:08:38 +00:00
Laurent Destailleur
daeab33c0d Fix: Works with mysql strict mode 2010-03-31 19:50:45 +00:00
Philippe Grand
78b9faca85 move class file commonobject to core directory 2010-03-29 16:40:57 +00:00
Philippe Grand
2dcb267b4b correct call to class commande.class.php 2010-03-27 17:25:06 +00:00
Philippe Grand
cab4356e3d correct call to class commande.class.php 2010-03-27 17:09:09 +00:00
Philippe Grand
355bbf5e99 correct call to class commande.class.php 2010-03-27 17:03:41 +00:00
Laurent Destailleur
f8329da895 Remove pre.inc.php 2010-03-27 02:35:08 +00:00
Laurent Destailleur
bdf4bbaa1f Works on ODT import 2010-03-27 00:33:28 +00:00
Philippe Grand
a56832d521 move contact class file to contact directory 2010-03-25 13:51:24 +00:00
Philippe Grand
497c2a9204 move file class propal to comm/propal directory 2010-03-23 20:53:15 +00:00
Regis Houssin
c7df8f8807 Fix: move module class to your own directory 2010-03-22 15:31:13 +00:00
Laurent Destailleur
465cc90759 Fix W3C errors in page forging 2010-03-15 23:54:37 +00:00
Regis Houssin
f213b4f555 Fix: best autonomy of modules
Fix: uniformise fields and code
!! not stable !!
2010-03-13 17:44:27 +00:00
Regis Houssin
6822a1b18b Fix: uniformise and clean code 2010-03-11 14:31:16 +00:00
Regis Houssin
2dc31fa613 Fix: uniformise and clean code 2010-03-11 10:40:58 +00:00
Regis Houssin
36ab2be4da Works on enhancement of project module
Fix: add triggers
2010-03-05 11:30:22 +00:00
Regis Houssin
65b2ac3e56 Fix: bad link 2010-03-01 16:46:31 +00:00
Laurent Destailleur
d30e65cbaa New: Add default language for third parties and use it when multilang is enabled to define default language for document generation. 2010-02-27 13:37:13 +00:00
Laurent Destailleur
05cc92e3db New: Add default language for third parties and use it when multilang is enabled to define default language for document generation. 2010-02-27 11:05:01 +00:00
Laurent Destailleur
df312b361e Look: Use filedrequired style for required fields 2010-02-20 18:48:43 +00:00
Laurent Destailleur
1f8e2aa660 Fix: Error in deleting customer order 2010-02-20 18:43:33 +00:00
Laurent Destailleur
770055cd26 Fix: Delete order 2010-02-20 15:20:10 +00:00
Regis Houssin
26a4575c10 Fix: bad links
Fix: prepare for the expedition from a propal
2010-01-30 08:26:16 +00:00
Regis Houssin
7d10f8533e Fix: uniformize code
Fix: services do not stock
2010-01-30 07:45:57 +00:00
Regis Houssin
0fba80cc6f Fix: product_type is lost 2010-01-27 13:36:46 +00:00
Regis Houssin
5bffa5399a Fix: add MAIN_INPUT_DESC_HEIGHT in update line 2010-01-25 13:45:13 +00:00
Regis Houssin
3c74bd21ca Works on enhancement of project tasks
Fix: move class in directory of module
2010-01-22 20:20:41 +00:00
Laurent Destailleur
45067e7d4d Fix: We must use the long label for payment condition on PDF documents 2010-01-20 19:38:41 +00:00
Regis Houssin
3d3923a22f Add: Product remaining to be delivered
Fix: move deprecated function
2010-01-15 10:07:20 +00:00
Laurent Destailleur
6ef542d940 New: Can remove attached files before sending emails 2010-01-13 10:30:33 +00:00
Laurent Destailleur
38e757f4ae Fix: Debug module notification.
New: Can use email notification when validating proposal or orders.
2010-01-09 14:48:27 +00:00
Laurent Destailleur
d6558bbb52 Add hidden option MAIN_INPUT_DESC_HEIGHT 2010-01-09 12:13:22 +00:00
Regis Houssin
3388e4ad37 Fix: add virus alert 2010-01-08 10:02:53 +00:00
Laurent Destailleur
c20be36714 New: A customer can also be a prospect. 2010-01-05 20:03:37 +00:00
Regis Houssin
3b5735bd9c Fix: uniformize code
Fix: if the contact's address is empty, it uses one of the company
2009-12-23 10:07:48 +00:00
Regis Houssin
d100d1acbe Fix: targettype or sourcetype not defined 2009-12-22 21:54:21 +00:00
Regis Houssin
83da1bcf23 Fix: bad html view 2009-12-15 08:35:37 +00:00
Regis Houssin
432dc7a009 Works on migration of relationship tables 2009-12-12 20:41:27 +00:00
Regis Houssin
73f6abdeca Fix: view remise percent (negative or positive) 2009-12-10 12:20:52 +00:00
Laurent Destailleur
2931ed08c8 Fix: bug #28055 : Unable to modify the date of a cloned command 2009-12-04 19:02:55 +00:00
Regis Houssin
8d41d43385 Fix: date problem with MAIN_AUTOFILL_DATE 2009-10-31 06:54:18 +00:00
Regis Houssin
182139d740 Fix: utile pour brouillon 2009-10-27 11:24:48 +00:00
Regis Houssin
4b410d5aba Fix: uniformize code 2009-10-27 11:20:34 +00:00
Regis Houssin
fae35c6009 Fix: utf-8 2009-10-27 11:07:31 +00:00
Regis Houssin
960afb50ed Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-24 06:10:00 +00:00
Regis Houssin
37c2825f93 Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-22 15:09:04 +00:00
Regis Houssin
100607da1a Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-21 09:51:52 +00:00
Laurent Destailleur
1ba947aef4 Qual: Uniformise doxygen headers 2009-10-19 19:54:27 +00:00
Laurent Destailleur
92c7cf3659 Fix bug #27597 : Impossibilité d'ajouter un fichier attaché lors de l'envoi d'un document 2009-10-14 16:13:20 +00:00
Laurent Destailleur
eb4d353f11 Fix: Data in memory must always be encoded in utf8. PHP files functions need ISO, so we convert data just before and after using them. 2009-10-04 18:01:30 +00:00
Laurent Destailleur
84bc3f5b31 Uniformize code. Attached fils for supplier invoices are shown on invoice card 2009-10-04 13:33:06 +00:00
Laurent Destailleur
bbcefa8864 Qual: Uniformize code (navigation on objects)
Qual: Code to support filter on entity on objects navigation is simpler.
2009-10-04 12:16:45 +00:00
Laurent Destailleur
bf13666d26 Fix: First try to uniformize code was not a success. Another try. 2009-09-13 20:19:59 +00:00
Laurent Destailleur
733b633ef7 Fix: Create ok if some fields are missing. 2009-09-12 14:50:40 +00:00
Laurent Destailleur
7d1d9414c6 Better error management 2009-09-10 21:47:22 +00:00
Laurent Destailleur
8abeed13b7 New: Add picto on tab titles 2009-08-05 18:11:27 +00:00
Laurent Destailleur
d222a78c62 Fix: Removed urldecode used on superglobal _GET and _POST and _REQUEST... since they are already decoded by PHP. 2009-07-22 17:13:59 +00:00
Laurent Destailleur
eb40118ed2 Add hidden option COMMANDE_ADD_DELIVERY_ADDRESS to continue to have the delivery addresse asked in the old way.
For using the new way, just add a contact of type "delivery" on the contacts tab of order.
2009-07-21 12:03:30 +00:00
Laurent Destailleur
99c1b5fe88 Fix: function not found 2009-07-21 11:06:03 +00:00
Laurent Destailleur
0cc71ca978 Fix: bug #26929 : les fichiers contenant le signe + dans le nom ne peuvent être téléchargés
Ne:w Use new confirm popup to delete file confirmation
2009-07-16 00:43:59 +00:00
Laurent Destailleur
8d88035eaf New: Can set qty to 0 on order and invoice.
Fix: Clone of order was broken.
2009-07-15 23:04:05 +00:00
Laurent Destailleur
27c363530d New: Store and show estimated value of stock 2009-07-09 22:17:31 +00:00
Regis Houssin
5735736a3b Fix: the delivery address was not recovered 2009-07-08 11:31:59 +00:00
Laurent Destailleur
814b1acd43 New: Add statistics on contract area
Minor look enhancements
2009-07-08 10:10:35 +00:00
Regis Houssin
69dba45590 Fix: the delivery address was not recovered 2009-07-08 10:02:57 +00:00
Laurent Destailleur
2cbc9f9e36 Look: Some enhancements in look and themes 2009-07-07 15:11:59 +00:00
Regis Houssin
f96ea81ac5 Fix: replace with simple directory 2009-07-05 08:31:08 +00:00
Laurent Destailleur
b3c83490f8 New: Add patch from Laurent Bouquet to support trigger events on line updates 2009-07-01 23:05:51 +00:00
Regis Houssin
031b00b2f6 Fix: un produit d'une zone libre ne doit pas tre incrŽmentŽ lors du passage en mode brouillon d'une commande client lorsque la dŽcrŽmentation du stock se fait sur les commandes 2009-06-21 03:46:34 +00:00
Laurent Destailleur
2be9a2fdb4 Fix: If multiprice is enabled and level is not defined for customer, we always use the level 1. We can't use the denormalized price stored in product table as this price is the last price saved (it might be any level) and should never bee seen by user when multiprice is activated.
So we force the level to 1 if not defined.
2009-06-19 07:32:39 +00:00
Regis Houssin
f2d02e401e Fix: limit request if price level 2009-06-18 20:07:36 +00:00
Laurent Destailleur
14704c9794 Fix: Nb of orders to process was wrong 2009-06-14 21:09:44 +00:00
Laurent Destailleur
cf474fb2cc Fix: Remove draft from list of invoice to process 2009-06-14 20:59:27 +00:00
Laurent Destailleur
bb6cfc1ee4 New: Can now use 0 as amount.
Qual: Uniformise labels
2009-06-04 00:59:06 +00:00
Laurent Destailleur
bbb3b8125d Fix: Removed delete of orders with amount is 0.
New: Can now use 0 as amount.
Qual: Uniformise labels
2009-06-04 00:36:23 +00:00
Laurent Destailleur
1063772919 Qual: Uniformize code 2009-05-27 15:52:08 +00:00
Laurent Destailleur
b57b5e9e38 New: If missing data, other data are kept. 2009-05-27 15:30:56 +00:00
Laurent Destailleur
930b400458 Uniformize code and make fix on predefined invoice feature. 2009-05-27 01:15:44 +00:00
Laurent Destailleur
5d47ed6e83 Fix: Test on permisions 2009-05-18 11:39:51 +00:00
Regis Houssin
e5d222b6cc Fix: régression sur l'utilisation des niveau du jeton, on test sur les 2 niveaux car
comportement aléatoire avec certaines fonctions
2009-05-17 08:01:54 +00:00
Regis Houssin
c1c1f8a4d2 Fix: ajout d'un niveau supplémentaire du cache du jeton 2009-05-16 15:45:26 +00:00
Regis Houssin
b1e630a3fa Fix: ajout d'un jeton aléatoire dans les requetes POST 2009-05-15 14:41:19 +00:00
Regis Houssin
8efffebe2e Fix: ajout d'un jeton aléatoire dans les requetes POST 2009-05-15 14:32:44 +00:00
Laurent Destailleur
33df2649ef Fix: When product type is missing, description is not lost when adding new product lines. 2009-05-15 11:02:54 +00:00
Laurent Destailleur
c1ca9e53af Removed an option deprecated with ajax confirmation 2009-05-08 02:27:04 +00:00
Laurent Destailleur
14afe7a82f Fix: Can not validate an order if there is a discount
Qual: Uniformize code for stock decrease
2009-05-07 21:38:56 +00:00
Laurent Destailleur
1ea905d8b3 Look: Format price of discount 2009-05-07 12:13:34 +00:00
Laurent Destailleur
7bda345c7f Qual: Use a so much simpler way to have ajax confirmation boxes 2009-05-06 18:07:34 +00:00
Laurent Destailleur
7c6016b355 Qual: Use a so much simpler way to have ajax confirmation boxes 2009-05-06 13:39:43 +00:00
Regis Houssin
38047abe4d Fix: error 2009-04-30 11:04:43 +00:00
Regis Houssin
c71c2f39fb Add: can defined submodule name (ex: $conf->module->submodule->dir_output)
Add: can change the module name if different (ex: $conf->newmodulename->dir_output)
2009-04-30 00:36:08 +00:00
Laurent Destailleur
6d225588e5 Fix: Must not use DOL_DATA_ROOT directly 2009-04-29 18:52:07 +00:00
Regis Houssin
48894fadeb New: early development of multi-company module 2009-04-29 18:32:22 +00:00
Laurent Destailleur
7322cd136e Fix: rename function sanitizeFileName into dol_sanitizeFileName to avoir conflict with fckeditor 2009-04-29 18:02:50 +00:00
Regis Houssin
3d149a33ca New: parametre de config des repertoires dans les proprietes de la classe du module
avec un répertoire parent en fonction de l'entité
2009-04-28 18:14:50 +00:00
Regis Houssin
b86684805c New: early development of multi-company module 2009-04-27 20:37:50 +00:00
Laurent Destailleur
c85b9cb017 Add first files for import module 2009-03-25 21:26:15 +00:00
Laurent Destailleur
1f3f2b8c44 Log file for error messages use LOG_ERR level. 2009-03-12 22:49:05 +00:00
Laurent Destailleur
029a9d73e4 New: Some changes to support the type of line in entities. 2009-03-12 00:14:56 +00:00
Laurent Destailleur
8431675159 New: Some changes to support the type of line in entities. 2009-03-10 01:18:45 +00:00