Commit Graph

696 Commits

Author SHA1 Message Date
Christophe Battarel
c1859d361a modify margin management for global discount + correct bug (wrong constant name) 2012-08-28 10:13:58 +02:00
Regis Houssin
3e2be54ead Fix: restore old method 2012-08-27 19:11:44 +02:00
Laurent Destailleur
35a0311d28 Fix: Checkstyle 2012-08-26 23:15:26 +02:00
Regis Houssin
becda06fd6 Fix: security 2012-08-25 19:40:08 +02:00
Regis Houssin
dcfc34e64e Fix: more better of better 2012-08-25 19:20:17 +02:00
Regis Houssin
4dd8119a9e Fix: use better method for avoid warnings 2012-08-25 19:08:06 +02:00
Regis Houssin
c9113458d9 New: [ task #498 ] part 3 2012-08-25 03:28:30 +02:00
Regis Houssin
995c7f13d3 New: [ task #498 ] part3 2012-08-23 13:45:51 +02:00
Regis Houssin
f4d75e87d3 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into task498_objectline

Conflicts:
	htdocs/core/class/commonobject.class.php
2012-08-23 07:53:48 +02:00
Regis Houssin
c8e1aca7d8 New: [ task #498] part2 2012-08-23 07:50:20 +02:00
Marcos García
9b3c89ac47 Removed parenthesis from all include and include_once and replaced with single quotes 2012-08-23 02:40:41 +02:00
Marcos García
f3674317ec Removed parenthesis from all require and replaced with single quotes 2012-08-22 23:24:21 +02:00
Marcos García
706d79986c Removed parenthesis from all require_once and replaced with single quotes 2012-08-22 23:11:24 +02:00
Regis Houssin
2ae1d3d3b5 New: [ task #498 ] 2012-08-22 17:42:40 +02:00
Marcos García
c49e458c6c Propal stats weren't showing average total for more than 1 year 2012-08-14 15:43:14 +02:00
Regis Houssin
9451edafd8 Fix: bad link and uniformize code 2012-08-01 18:40:47 +02:00
Regis Houssin
2e73cd7ddf Fix: missing fields and compatibility with milestone 2012-08-01 17:38:10 +02:00
Regis Houssin
e44fd4885d Fix: change the last $DB to $db 2012-07-30 18:43:49 +02:00
Marcos García
5a73c32f46 Migrated ClassName to __construct() function
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Regis Houssin
28851b46c4 Fix: remove duplicate code 2012-07-29 16:44:19 +02:00
Regis Houssin
0aa6694c95 Fix: broken event message 2012-07-29 15:47:24 +02:00
Laurent Destailleur
d6a5b224fb Revert bad practice: setEvent use SESSION. Such usage is limited to HTML
page context and can be used inside any pages.
However usage of _SESSION must never be used inside a library (except
for function dedicated to HTML page context), and never inside
object classes (we must use $this->errors, $this->mesgs or
$this->warnings instead).
2012-07-29 14:15:29 +02:00
Regis Houssin
eee5653c54 Fix: try to use the new message system 2012-07-29 12:54:19 +02:00
Regis Houssin
beedf13324 Fix: restore broken feature, disable token renewal in ajax response 2012-07-29 09:54:58 +02:00
Regis Houssin
9cdba5bb61 Fix: try another method more clean and can be deployed on any type of
message
2012-07-29 08:26:33 +02:00
Regis Houssin
c7bacecf10 Fix: try to use another method for messages 2012-07-28 22:07:27 +02:00
Marcos García
241241bf0a Fixed some problems with translations 2012-07-28 17:34:21 +02:00
Marcos García
706b637389 Removed unused BackToList link params 2012-07-28 17:20:17 +02:00
Regis Houssin
1e07ed6af6 Fix: broken link 2012-07-28 09:54:47 +02:00
Marcos García
a6c8838b8f Applied patches 9-15 2012-07-27 21:27:03 +02:00
Regis Houssin
b2317fd3ee Fix: external user confidentiality 2012-07-26 18:11:06 +02:00
Regis Houssin
d5ff308992 Fix: declare $mesg and $mesgs in main.inc.php
Fix: strict mode be back
2012-07-23 20:52:55 +02:00
Laurent Destailleur
ea93e62e91 Fix: Checkstyle 2012-07-23 10:46:09 +02:00
Marcos García
e6a192ba87 Renamed fk_demand_reason to fk_input_reason 2012-07-22 16:53:02 +02:00
Regis Houssin
fafd79a0f8 Fix: uniformize code (in progress) 2012-07-20 09:57:50 +02:00
Christophe Battarel
b5c92c7b46 correction in getlinesarray 2012-07-19 10:15:59 +02:00
Christophe Battarel
bd05495375 correct syntax error 2012-07-18 16:45:34 +02:00
Christophe Battarel
c0ac8c9ae1 fetch margin infos on line object 2012-07-18 15:50:37 +02:00
Christophe Battarel
122fc5eaa7 update propales for margins 2012-07-18 15:15:54 +02:00
Regis Houssin
77b9718473 Fix: strict mode street 2012-07-13 10:15:47 +02:00
Regis Houssin
94b7aed116 Fix: strict mode avenue 2012-07-12 19:14:13 +02:00
Regis Houssin
69ebda8ddb Fix: regression corrected 2012-07-08 12:18:29 +02:00
Regis Houssin
6f1651309e Fix: global converting lines delimiter 2012-07-02 19:30:37 +02:00
Laurent Destailleur
db4008850b Fix: missing include 2012-06-23 22:25:40 +02:00
Laurent Destailleur
f2de43b771 New: Can filter list of proposal, order or invoice on sales
representative
2012-06-23 20:39:20 +02:00
simnandez
cf85f6708e Fix: [ bug #427 ] Bad links to wiki help in certains menus 2012-06-15 15:43:00 +02:00
Regis Houssin
bf379fc242 Fix: uniformize code 2012-06-11 21:45:59 +02:00
Regis Houssin
b51cd362b0 Fix: problem with external modules and uniformize code 2012-06-09 18:40:36 +02:00
Regis Houssin
274734b828 Fix: stock message in session and reload the page for avoid url problem
with jQuery fileupload
2012-05-31 21:11:26 +02:00
Laurent Destailleur
c2db3265ec Fix: Regression with quot management. Try a better fix. 2012-05-30 12:43:23 +02:00
Regis Houssin
a5b0de15ac Fix: can't delete a files with quote 2012-05-30 08:30:25 +02:00
Regis Houssin
b5246add8d Fix: big problem with files upload and more compatible with external
modules
2012-05-30 00:07:06 +02:00
Laurent Destailleur
3fc3292142 Fix: delete of documents is done by page of element, not by the view
wrapper.
2012-05-29 23:50:13 +02:00
Regis Houssin
516be43404 Fix: jquery fileupload broken feature 2012-05-25 20:56:05 +02:00
Laurent Destailleur
81be50b91b Fix: [ bug #411 ] Can't modify most properties 2012-05-23 11:21:51 +02:00
Laurent Destailleur
864ca3090a Fix: [ bug #405 ] Late icon always displayed on comm/propal.php 2012-05-21 00:08:55 +02:00
Laurent Destailleur
f7263d1773 Fix: Do not lose filter 2012-05-05 20:07:34 +02:00
Laurent Destailleur
143e524db6 New: Can filter on contact 2012-05-05 17:45:17 +02:00
Laurent Destailleur
85f01691a0 Qual: Lists must be into a page list and not into same page than record.
New: Add filter on contact into list.
2012-05-05 17:28:52 +02:00
Regis Houssin
73487a6aec Fix: replace mktime() by dol_now() 2012-04-30 15:01:25 +02:00
Laurent Destailleur
ff06360071 Fix: Overwritting code is not role of a template but of a module.
Code is now working as a module change. Also it is faster (no need to
make a failed include when module is not installed) and support
alternative directory.
2012-04-28 17:01:25 +02:00
Grand Philippe
a8d12a7c48 to use personal contacts.tpl within personal theme 2012-04-27 11:13:59 +02:00
Regis Houssin
46234024c8 Fix: Bug #369 2012-04-18 12:42:41 +02:00
Regis Houssin
ffc6812241 Fix: avoid php strict mode warning 2012-03-23 18:19:50 +01:00
Regis Houssin
5d2da2c884 Fix: uniformize code 2012-03-22 08:33:44 +01:00
Laurent Destailleur
3383d314c9 Doxygen 2012-03-19 17:18:11 +01:00
Regis Houssin
3afb2878c2 Fix: broken indentation 2012-03-18 20:45:01 +01:00
Regis Houssin
4ecc64504d Fix: use the original json functions 2012-03-18 19:59:38 +01:00
Laurent Destailleur
ed41e03589 Qual: Fix a ton of CheckStyle errors 2012-03-18 19:23:01 +01:00
Regis Houssin
808c4b5732 New: testing a new method to avoid reloading the page 2012-03-18 14:06:55 +01:00
Regis Houssin
d752e25946 New: add new notes system in contract and order/invoice supplier module 2012-03-18 11:13:01 +01:00
Laurent Destailleur
a7a55645d8 Fix: Some fix when using fckeditor with notes.
Qual: Uniformize code to use new system for notes.
Qual: Removed duplicate updatenote method into commandefournisseur
class.
2012-03-18 00:59:24 +01:00
Regis Houssin
bd4b24f1eb Fix: add <br> for default note tab 2012-03-17 18:27:31 +01:00
Regis Houssin
815ee68f8f Fix: use div instead table 2012-03-17 18:10:59 +01:00
Regis Houssin
281c6b7f2a New: sharing code of contact and note tabs 2012-03-17 16:05:58 +01:00
Regis Houssin
e84c77ba31 New: add template for infos and contacts tabs and show/hide bloc system 2012-03-16 22:02:14 +01:00
Regis Houssin
ccf1665837 Fix: missing status after set draft 2012-03-16 17:37:18 +01:00
Regis Houssin
391ce8490f New: add "extraparams" field for stock extra parameters with json 2012-03-16 14:32:37 +01:00
Regis Houssin
5d0a8945c1 New: add getNomUrl() method 2012-03-14 19:17:04 +01:00
Regis Houssin
4e98687b13 Fix: remove old constants 2012-03-14 16:37:48 +01:00
Regis Houssin
5fbd8e4cee Fix: move method in common class 2012-03-14 11:11:46 +01:00
Regis Houssin
ba15a73831 Works on an alternative address management 2012-03-14 07:49:41 +01:00
Regis Houssin
4d1416d0e6 Fix: remove unused and deprecated method 2012-03-13 20:15:13 +01:00
Regis Houssin
f8bf7ade83 Fix: move method in common class 2012-03-13 20:01:10 +01:00
Regis Houssin
150f3ecfe3 Fix: move method in common class 2012-03-13 19:24:11 +01:00
Regis Houssin
e033f202d1 Fix: more clickless, remove "note" tab 2012-03-12 17:49:53 +08:00
Laurent Destailleur
b5fc41fadc Fix: Removed a lot of checkstyle warnings 2012-03-11 22:08:46 +01:00
Regis Houssin
ef7cd26ef2 Fix: wrong field name 2012-03-04 10:26:01 +01:00
Regis Houssin
5e402f667e Fix: php unit test warning 2012-03-04 10:13:52 +01:00
Laurent Destailleur
1645ddbe47 Sec: Sanitize all input for ids. 2012-02-27 22:26:22 +01:00
Laurent Destailleur
c4b845d60a Qual: Removed deprecated function name. 2012-02-19 18:34:22 +01:00
Laurent Destailleur
a829b10190 Fix: Autoselect current year if not defined 2012-02-16 19:08:04 +01:00
Regis Houssin
c3e245d24e Fix: start triggers before delete objects 2012-02-15 15:16:33 +01:00
Regis Houssin
6f3f1204fe Fix: delete linked object in propal delete function and uniformize code 2012-02-13 18:27:42 +01:00
Laurent Destailleur
cfaf1f0813 New: Can add tabs on statistics views. 2012-02-12 23:29:31 +01:00
Regis Houssin
cd3452d71d Fix: multicompany sharings and uniformize code 2012-02-11 10:18:09 +01:00
Laurent Destailleur
d9cd816b3c Qual: Merge month.php and index.php page
Prepare for adding statistics page into new tabs.
2012-02-11 00:11:49 +01:00
Laurent Destailleur
186258410e New: Add option to clean orphelins files into repair page 2012-02-08 16:41:06 +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
5974cde154 New: Automtic list of documents in ECM module is ok for customers,
suppliers invoice, orders, customers orders, proposals and social
contributions.
2012-02-06 14:34:58 +01:00
Regis Houssin
40276d42ff Fix: sql error with combobox and uniformize code 2012-02-03 19:06:37 +01:00
Regis Houssin
c6e4206907 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-01 11:33:11 +01:00
Regis Houssin
4431510ce4 Fix: use entity field of object 2012-02-01 11:32:55 +01:00
Laurent Destailleur
f3a966a313 Fix: Missing name 2012-01-29 23:24:47 +01:00
Laurent Destailleur
83d63aa07b Fix: Date not initialized 2012-01-11 13:42:44 +01:00
Laurent Destailleur
a7e7450dd7 Fix: Error management if date is empty 2012-01-11 13:37:50 +01:00
Laurent Destailleur
9e065b2395 New: Dolgraph function works with jflot (use DOL_MAIN_GRAPH=artichow to
use old libraries)
2012-01-07 20:56:52 +01:00
simnandez
5ad9d7cb61 [ task #176 ] Allow to use ODT templates for prososal like it's done for
invoices. Working with odt template
2012-01-05 09:48:28 +01:00
Laurent Destailleur
cda132ea8c Qual: Some change to have graph lib able to use img disk generation
libraries like javascript libraries.
2011-12-17 15:55:49 +01:00
Laurent Destailleur
b78541a167 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2011-12-16 15:02:56 +01:00
Laurent Destailleur
b54da5a719 New: Can open back a commercial proposal 2011-12-16 14:59:09 +01:00
Juanjo Menent
83bef28418 Qual: Uniformize code 2011-12-16 12:47:23 +01:00
Juanjo Menent
62f676f2ff Qual: Uniformize code 2011-12-14 18:44:12 +01:00
Juanjo Menent
e652674784 Qual: Uniformize code 2011-12-14 18:09:34 +01:00
Regis Houssin
ec327c5330 Fix: remove unused parameters
Fix: use dol_clone instead fetch
2011-12-12 13:42:19 +01:00
Laurent Destailleur
ebea7f6c97 Fix: fix not initialized variables 2011-12-05 18:36:54 +01:00
Laurent Destailleur
6189acc3b4 Fix: Amount must be HT 2011-12-01 23:09:50 +01:00
Laurent Destailleur
07ccc091ea Fix: Lang loaded 2011-12-01 23:01:15 +01:00
Laurent Destailleur
1c65768286 Fix: flot graph works with new json_encode 2011-12-01 22:58:32 +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
065d7996f5 Fix: better with json_encode 2011-11-20 15:25:08 +01:00
Laurent Destailleur
9a43c8a14f Qual: Removed useless parameter 2011-11-12 12:59:06 +01: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
8d46ae1d35 Qual: Better error managment on numbering setup 2011-11-06 15:12:18 +01:00
Laurent Destailleur
fd9e0d8643 Qual: Removed code that must be stored into external modules 2011-11-05 12:34:54 +01:00
Laurent Destailleur
c16c09a451 Qual: Mutualize code to delete previews 2011-11-04 00:27:30 +01:00
Laurent Destailleur
7f0cca8fb9 Look: Enhancements into themes. 2011-11-03 01:59:13 +01:00
Juanjo Menent
5c9ba8a548 [task 189] Move Error* key from other.lang into errors.lang files 2011-10-29 23:52:05 +02:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
24c9a7d26d Fix: reorder line after update line with fk_parent_line 2011-10-06 00:11:53 +08:00
Laurent Destailleur
be6286c4b8 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Regis Houssin
ebfc56e75f Fix: replace siezof by count
Fix: update exclude dir
2011-09-20 14:36:57 +00:00
Regis Houssin
2c1b3722f2 Fix: replace sizeof() by count() 2011-09-17 19:49:50 +00:00
Laurent Destailleur
2a672b3d02 Doxygen 2011-09-12 18:15:11 +00:00
Laurent Destailleur
bf1a49c75d Doxygen 2011-09-12 17:43:31 +00:00
Laurent Destailleur
5a951a86b5 Doxygen 2011-09-12 18:15:11 +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
bb24986a6e Doxygen 2011-09-12 07:46:27 +00:00
Laurent Destailleur
6f7053dbcc Doxygen 2011-09-12 18:15:11 +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
7419982316 Doxygen 2011-09-12 07:46:27 +00:00
Laurent Destailleur
7d5aef30c4 Doxygen 2011-09-12 18:15:11 +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
821a864383 Doxygen 2011-09-12 07:46:27 +00:00
Laurent Destailleur
6ce3a1b475 Doxygen 2011-09-12 18:15:11 +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
9ebbeb573c Doxygen 2011-09-12 07:46:27 +00:00
Laurent Destailleur
dfaa066042 Doxygen 2011-09-12 18:15:11 +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
9e900196fb Doxygen 2011-09-12 07:46:27 +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
a82261068f Doxygen 2011-09-12 07:46:27 +00:00
Laurent Destailleur
b75d19c264 Qual: Uniformize constructors 2011-09-11 18:35:38 +00:00
Laurent Destailleur
74ae21cd51 Qual: Removed TODO 2011-09-10 13:31:15 +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
Laurent Destailleur
9bdb1057e1 Fix: W3C 2011-08-31 15:30:56 +00:00
Laurent Destailleur
2bb5e4ba69 Fix: W3C 2011-08-31 15:12:09 +00:00
Laurent Destailleur
1aaf65c257 PDF works with us letter format 2011-08-31 14:42:47 +00:00
Juanjo Menent
a029fedac3 bug #34162: Bad link in prosprection area 2011-08-29 14:53:05 +00:00
Regis Houssin
03711cf6f2 Fix: remove obsolete tags 2011-08-27 19:15:14 +00:00
Regis Houssin
2ecc03104c Fix: remove obsolete tags (in progress) 2011-08-27 15:14:31 +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
9f663d5677 Qual: Clean code 2011-08-20 15:11:31 +00:00
Laurent Destailleur
e9b113ade8 Qual: Mutualize some code
Fix: Missing begin
Fix: Removed functions returning database cursor
2011-08-14 03:13:50 +00:00
Laurent Destailleur
3f2e6bbf82 Qual: Removed dead code 2011-08-14 02:11:15 +00:00
Laurent Destailleur
acea604e54 Change signature of all call executHooks.
Now they accept all the following signature:
executeHooks('method',$parameters,$object,$action)
2011-08-10 22:47:33 +00:00
Regis Houssin
66d5d6905f Fix: works on repair broken features 2011-08-10 19:55:21 +00:00
Laurent Destailleur
e00eb762f4 Look: Uniformize code and array presentation
Doc: Doxygen
2011-08-08 14:25:44 +00:00
Laurent Destailleur
02c9c563e0 Fix: When a line is defined as option, it was not possible to remove "options" then. 2011-08-08 01:53:25 +00:00
Laurent Destailleur
f4606c2253 Fix: Avoid errors into rpm packages 2011-08-03 00:45:22 +00:00
Regis Houssin
d82e40b010 Fix: object is a parameter 2011-07-14 05:21:52 +00:00
Laurent Destailleur
e2b18d565a Fix: Bad order on documents pages 2011-07-06 20:56:48 +00:00
Regis Houssin
129c3dd101 Fix: uniformize code
Fix: add confirm delete file
New: add upload and delete file triggers
2011-07-05 16:10:56 +00:00