Compare commits

...

3652 Commits
3.2.2 ... 3.3.3

Author SHA1 Message Date
Laurent Destailleur
f32bc24285 Fix: Upgrade of package break install
Conflicts:
	build/rpm/dolibarr_fedora.spec
	build/rpm/dolibarr_generic.spec
2013-07-24 13:49:40 +02:00
Laurent Destailleur
e8400afeba Fix: rpm packages
Conflicts:
	build/rpm/dolibarr_generic.spec
2013-07-24 13:46:50 +02:00
Laurent Destailleur
c24659b3a5 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-07-14 20:29:25 +02:00
Laurent Destailleur
dc5ad1a0f3 Fix: Total missing 2013-07-14 20:29:07 +02:00
Laurent Destailleur
f4428c8a8a Fix: Bad link 2013-07-09 15:27:06 +02:00
Laurent Destailleur
1561062285 Merge pull request #1073 from FHenry/3.3
Fix bug pgsql : add mail directly into mailling
2013-06-27 14:50:47 -07:00
Florian Henry
469e700895 Fix bug pgsql : add mail directly into mailling 2013-06-27 14:35:41 +02:00
Laurent Destailleur
2af8f295b1 Fix: warning not always visible. Depends if addon modules were
installed. Var should provide a quick fix.
2013-06-25 21:25:09 +02:00
Laurent Destailleur
187feff7d5 Prepare 3.3.3 2013-06-25 20:40:22 +02:00
Laurent Destailleur
ad49f965d5 Merge pull request #1060 from FHenry/3.3
Fix trad holidays module
2013-06-19 09:34:10 -07:00
Laurent Destailleur
d6d7665e65 Merge pull request #1059 from marcosgdf/translations
Fixed es_ES translation typo
2013-06-19 09:34:03 -07:00
Laurent Destailleur
9518cb7836 Merge pull request #1058 from marcosgdf/bug-947
Fix: [ bug #947 ] Can't create proposal lines with unit price = 0
2013-06-19 09:33:44 -07:00
Florian Henry
ee1e266774 Fix trad holidays module 2013-06-19 11:22:53 +02:00
Marcos García
76d9ba6a43 Fixed es_ES translation typo 2013-06-19 10:24:24 +02:00
Marcos García
676191c1f9 Fix: [ bug #947 ] Can't create proposal lines with unit price = 0 2013-06-19 10:22:46 +02:00
Laurent Destailleur
c92471d40b Merge pull request #1043 from FHenry/3.3
Fix [ bug #934 ] Impossible de créer une facture prédéfinie (pgsql)
2013-06-13 15:25:16 -07:00
Florian Henry
fb0a99cb55 Fix [ bug #934 ] Impossible de créer une facture prédéfinie (pgsql) 2013-06-13 15:05:19 +02:00
Laurent Destailleur
49dcc32374 Fix: Param lang forbidden into price function 2013-06-08 16:53:26 +02:00
Laurent Destailleur
e13974b5f3 Fix: tcpdf bug 2013-06-08 15:29:27 +02:00
Laurent Destailleur
2c71c898eb Fix: param lang not provided to price function 2013-06-08 15:21:47 +02:00
simnandez
a4841dacda Fix: Warning missing argument 2 into withdrawals 2013-06-05 15:09:13 +02:00
Laurent Destailleur
94d1f23721 Merge pull request #1019 from GPCsolutions/3.3-societefix
Fixed field name
2013-06-04 10:19:44 -07:00
Raphaël Doursenaud
880a27f827 Fixed field name 2013-06-04 18:40:46 +02:00
Laurent Destailleur
4f0758f9b1 Merge pull request #1011 from marcosgdf/minor
Avoid warnings
2013-06-02 04:29:23 -07:00
Laurent Destailleur
c8c9ea797d Merge pull request #1009 from marcosgdf/bug-903
Fixed bug #903: Fatal error: Call to undefined function dol_get_first_da...
2013-06-02 04:17:07 -07:00
Marcos García
cf1d269f15 Avoid warnings 2013-06-01 16:11:45 +02:00
Marcos García
8ae0939ae5 Fixed bug #903: Fatal error: Call to undefined function dol_get_first_day() in htdocs/commande/liste.php 2013-06-01 15:39:45 +02:00
Juanjo Menent
694eef9386 Merge pull request #1006 from marcosgdf/translations
Reverting PR #1002
2013-05-30 08:10:19 -07:00
Marcos García
f6057bd794 Reverting PR #1002
Incorrect translation that shouldn't have been accepted
2013-05-30 16:48:04 +02:00
Laurent Destailleur
7ecafc2e54 Merge pull request #1003 from FHenry/3.3
add translation
2013-05-29 08:26:12 -07:00
Florian Henry
8b2dc49734 update trans 2013-05-29 16:06:04 +02:00
Florian Henry
7ab46b8e7b add translation 2013-05-29 15:59:16 +02:00
Laurent Destailleur
6d2db1c09f Merge pull request #977 from cbattarel/3.3
[ bug #806 ] Tasks are ordered alphabetically instead of chronological order
2013-05-28 15:14:02 -07:00
Laurent Destailleur
b4ae479a69 Merge pull request #988 from FHenry/3.3
Fix [ bug #911 ] Reorder intervention do not work and PgSQL
2013-05-26 05:59:54 -07:00
Laurent Destailleur
2e8d2b884f Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-05-26 13:31:11 +02:00
Laurent Destailleur
c66304e217 Fix: Update version 2013-05-26 13:20:37 +02:00
Florian Henry
f543f00024 Fix PGSQL Bugs
Removing parenthesis make query works for MySQL and PgSQL
2013-05-26 10:34:00 +02:00
Florian Henry
56556ba222 Fix [ bug #911 ] Reorder intervention do not work 2013-05-26 10:15:43 +02:00
Christophe Battarel
b8c51e3760 sort tasks by start date 2013-05-25 11:49:05 +02:00
Laurent Destailleur
389d64c25b Merge pull request #982 from FHenry/3.3
Fix search product if multilingue
2013-05-25 02:01:14 -07:00
Florian Henry
5b02a3a67c Fix search product if multilingue 2013-05-24 22:44:26 +02:00
Christophe Battarel
5de7f77a09 update ChaneLog 2013-05-23 23:09:32 +02:00
Christophe Battarel
b89b7405f8 update function comments header 2013-05-23 22:54:06 +02:00
Christophe Battarel
b96bff4770 [ bug #806 ] Tasks are ordered alphabetically instead of chronological order 2013-05-23 22:51:27 +02:00
Laurent Destailleur
ee84457104 Fix: not defined default value 2013-05-23 10:04:35 +02:00
Laurent Destailleur
7856b7f613 Removed warning 2013-05-22 15:52:26 +02:00
Laurent Destailleur
469ae91e70 Fix: regression 2013-05-22 12:02:39 +02:00
Laurent Destailleur
d5d4bc33ba Merge pull request #971 from cbattarel/3.3
fix wrong construction of description when creating from orders
2013-05-22 02:57:34 -07:00
Laurent Destailleur
1109527528 Merge pull request #968 from FHenry/3.3
3.3
2013-05-22 02:56:06 -07:00
Christophe Battarel
992600664e fix wrong construction of description when creatin from orders (it was putting a mess on update) 2013-05-22 10:29:31 +02:00
fhenry
b36a16ed43 Change-Id: I2e25d4b82388f6a0fc83b97f9162a095247e3fa1 2013-05-21 14:32:30 +02:00
fhenry
f08ce6d96a Fix bug on DDLCreateDb in Mysql 2013-05-21 14:28:42 +02:00
Laurent Destailleur
416cdd2f9c Merge pull request #956 from cbattarel/3.3
fix bug : external users should not see costprice and margin infos
2013-05-20 07:39:39 -07:00
Christophe Battarel
f8ca842685 fix typo error 2013-05-20 10:10:34 +02:00
Christophe Battarel
fea0e6de54 Fix - external users should not see costprice and margin infos 2013-05-19 14:06:51 +02:00
Christophe Battarel
347fc6d714 fix unauthorized access to margins for external user 2013-05-19 14:04:21 +02:00
simnandez
e2f2ad30ae Fix: Remove windows CR/LF 2013-05-18 09:15:18 +02:00
simnandez
2879a09a03 Fix: Remove windows CR/LF 2013-05-18 09:11:24 +02:00
Christophe Battarel
7efe39495a french translation for CostPrice 2013-05-17 15:18:50 +02:00
Christophe Battarel
e3615d43bd fix bug : external users should not see costprice and margin infos 2013-05-17 15:02:27 +02:00
Regis Houssin
047aa8ea29 Fix: avoid error when multiple files uploaded 2013-05-14 15:59:47 +02:00
simnandez
5fe70e0bee Fix: Some bugs on withdrawal rejects 2013-05-13 17:15:23 +02:00
Laurent Destailleur
8a90598b23 Fix: Escape entities 2013-05-11 15:12:42 +02:00
Laurent Destailleur
e4dda125d8 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-05-11 15:04:56 +02:00
Laurent Destailleur
526a80dd20 Sec: Param not escaped
Fix: Bad return error
2013-05-11 15:04:17 +02:00
Laurent Destailleur
cb3b0996ce Merge pull request #941 from FHenry/3.3
Fix security breach (SQL injection)
2013-05-10 07:28:22 -07:00
Laurent Destailleur
9992fc803d Merge pull request #937 from marcosgdf/skeleton
Typo in skeleton module class
2013-05-10 07:26:06 -07:00
fhenry
9427e32e2e Fix security breach (SQL injection) 2013-05-10 15:04:16 +02:00
Marcos García
661071286e Typo in skeleton module class 2013-05-08 17:23:41 +02:00
Regis Houssin
3aa049b661 Fix: regression 2013-05-06 17:57:33 +02:00
Juanjo Menent
934657cc2f Merge pull request #916 from FHenry/3.3
Fix margin calculation problem
2013-05-06 06:57:14 -07:00
fhenry
0bb9ee158a Fix trigger call ficher inter create 2013-05-06 13:47:33 +02:00
fhenry
8bd7c6a763 Fix Trad Fr 2013-05-06 09:53:23 +02:00
fhenry
bdb81803bd Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-05-04 09:06:32 +02:00
fhenry
95e4474906 Fix bug on PgSQL if user in on another entity than 1 2013-05-03 20:56:58 +02:00
Laurent Destailleur
1c9caeb0d3 Fix: CRLF 2013-05-03 18:33:23 +02:00
Laurent Destailleur
c8ef07a889 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-05-03 16:14:27 +02:00
Laurent Destailleur
723bd6f750 Fix: [ bug #872 ] Erreur sur page Accueil Commerciale avec pgsql
(3.4-beta).
Fix: Permission tab was not visible for external users.
2013-05-03 16:10:28 +02:00
fhenry
a35a44b23e Fix margin calculation problem 2013-05-03 15:22:41 +02:00
Laurent Destailleur
7428c11489 Merge pull request #909 from marcosgdf/bug-866
Fixed bug #866: Standing order from an invoice suggests invoice total am...
2013-05-03 01:09:07 -07:00
Marcos García
c65620ab62 Merge branch '3.3' of git://github.com/Dolibarr/dolibarr into bug-866
Conflicts:
	ChangeLog
2013-05-03 08:17:58 +02:00
Marcos García
f8f4fd3a6f Enhanced fix 2013-05-03 08:16:31 +02:00
Laurent Destailleur
4687350337 Merge pull request #910 from marcosgdf/3.3-translations
Translation improvements + fixed statut image of returned prelevement
2013-05-02 10:42:53 -07:00
Laurent Destailleur
3a531f048a Merge pull request #906 from grandoc/3.3
fix: undefined property
2013-05-02 10:42:13 -07:00
Laurent Destailleur
36479db0fd Merge pull request #908 from FHenry/3.3
Fix bug [ bug #861 ] Erreur de droit groupe et utilisateur
2013-05-02 10:41:31 -07:00
fhenry
7e47b37ade Fix [ bug #788 ] Date of linked interventions are not shown 2013-05-02 13:56:14 +02:00
Marcos García
97478ccbf2 Error statut image + not translated strings 2013-05-01 20:54:45 +02:00
Marcos García
95f63a8171 Corrected some es_ES translations and fixed problems with translations not being translated 2013-05-01 20:43:08 +02:00
Marcos García
a9e63610ae Fixed bug #866: Standing order from an invoice suggests invoice total amount instead of remaining to pay 2013-05-01 20:40:29 +02:00
fhenry
f3480bf502 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-05-01 14:38:43 +02:00
Grand Philippe
7f27801c3c fix: Undefined property: stdClass::$xxx 2013-05-01 09:41:36 +02:00
philippe
8d844a1094 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-05-01 09:08:15 +02:00
Laurent Destailleur
7d71be2227 Fix: Import of contact/address not complete and not working with pgsql
Conflicts:
	htdocs/core/modules/modSociete.class.php
2013-04-30 22:56:52 +02:00
Laurent Destailleur
c84427bd22 Fix: delete of files with [ and glob.
Conflicts:
	test/phpunit/FilesLibTest.php
2013-04-30 22:52:56 +02:00
fhenry
3933fb318c update change log 2013-04-30 21:57:34 +02:00
fhenry
e9f02ebacf Update change log 2013-04-30 21:45:40 +02:00
fhenry
440912a4d3 fix [ bug #827 ] AJAX search does not respect multiprice level 2013-04-30 21:35:27 +02:00
fhenry
ac6e56f058 Fix bug [ bug #861 ] Erreur de droit groupe et utilisateur 2013-04-30 21:10:26 +02:00
Regis Houssin
f8b133dad4 Merge pull request #907 from FHenry/3.3
[ bug #865 ] Dolibarr navigation array in project/task do not work
2013-04-30 09:12:20 -07:00
fhenry
59f218ab42 [ bug #865 ] Dolibarr navigation array in project/task do not work 2013-04-30 16:00:30 +02:00
Grand Philippe
114ace6499 fix: undefined property 2013-04-30 15:22:39 +02:00
Juanjo Menent
74abde0233 Merge pull request #902 from marcosgdf/3.3
Removed duplicated changelog entries and ordered fixes by bug ID
2013-04-30 03:02:34 -07:00
Laurent Destailleur
4a9ed428f0 Fix: isset on scalar value 2013-04-30 09:58:30 +02:00
Marcos García
947bda1af8 Removed duplicated entries and ordered fixes by bug ID 2013-04-29 21:37:25 +02:00
Laurent Destailleur
4274a1aa21 Merge pull request #897 from grandoc/3.3
fix some indefined index
2013-04-29 10:27:25 -07:00
simnandez
fd85755461 Fix: [ bug #855 ] Holiday approval email in French 2013-04-29 12:55:14 +02:00
simnandez
00adb1b9ab Fix: [ bug #855 ] Holiday approval email in French 2013-04-29 12:46:07 +02:00
Grand Philippe
63c474e2cc fix: Undefined index 2013-04-28 22:29:50 +02:00
Grand Philippe
c4a064d104 fix: Undefined property: mod_codeclient_monkey::$prefixIsRequired 2013-04-28 19:35:10 +02:00
Grand Philippe
1d52d50ac1 fix: issue from last commit 2013-04-28 12:17:04 +02:00
Grand Philippe
0661f9f1f8 fix: Assigning the return value of new by reference is deprecated 2013-04-28 10:40:25 +02:00
Grand Philippe
647956576d fix some indefined index 2013-04-28 08:21:46 +02:00
Laurent Destailleur
89eec9bfbd Merge pull request #896 from marcosgdf/bug-856
Fix: [bug #856] Mail error if destination user doesn't have an email
2013-04-27 17:59:37 -07:00
Marcos García
54fc731df7 Fix: [bug #856] Mail error if destination user doesn't have an email 2013-04-28 01:58:57 +02:00
Laurent Destailleur
de1f53db45 Merge pull request #894 from marcosgdf/holidays-translations
Holidays translations
2013-04-27 12:54:16 -07:00
Laurent Destailleur
f8e0f40ffa Merge pull request #891 from marcosgdf/bug-857
Fix: [ bug #857 ] Invoice created from shipment does not have the order ...
2013-04-27 12:53:55 -07:00
Laurent Destailleur
ab668f0f07 Merge pull request #892 from marcosgdf/expedition-translations
Corrected incorrect lang trans key
2013-04-27 12:51:52 -07:00
Marcos García
0672d10a3f Fixed typos 2013-04-27 14:54:03 +02:00
Marcos García
bd2b363e40 Modified traslation keys to reflect expected translation 2013-04-27 14:50:14 +02:00
Marcos García
8e7b72d09e Fixed incorrect translations in holidays module 2013-04-27 14:42:37 +02:00
Marcos García
7a115a9216 Expedition class name was not being translated when creating invoice from it 2013-04-27 13:55:20 +02:00
Marcos García
ecaea4c575 Corrected incorrect lang trans key 2013-04-27 13:51:05 +02:00
Marcos García
1065645fb6 Fix: [ bug #857 ] Invoice created from shipment does not have the order discount 2013-04-27 13:45:25 +02:00
Laurent Destailleur
24309a7f17 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-04-27 12:25:22 +02:00
Laurent Destailleur
3203283fe9 Fix: remove warning 2013-04-27 12:24:48 +02:00
Laurent Destailleur
b1cf0b9a76 Merge pull request #889 from marcosgdf/translations
Corrected translation key
2013-04-26 13:04:27 -07:00
Laurent Destailleur
44a1120c06 Merge pull request #888 from FHenry/3.3
Fix bug Pgsql
2013-04-26 13:04:17 -07:00
Marcos García
652e0c1b5f Corrected translation key 2013-04-26 17:19:14 +02:00
Regis Houssin
c0a3271d76 Fix: bypass the second test if the first is ok 2013-04-26 16:28:54 +02:00
Regis Houssin
c969d17e48 Fix: avoid error 2013-04-26 16:22:14 +02:00
Regis Houssin
36e6269b24 Fix: big security problem with multicompany 2013-04-26 16:08:02 +02:00
fhenry
b67faf1eb1 Fix PgSQL 2013-04-26 13:01:42 +02:00
fhenry
4ff5922a55 Fix pgSQL bug 2013-04-26 12:53:13 +02:00
fhenry
9e1487fc61 Fix bug Pgsql 2013-04-26 12:44:21 +02:00
Regis Houssin
016b4a2baa Fix: security problem with multicompany 2013-04-26 12:35:31 +02:00
Laurent Destailleur
ed5a00a79d Merge pull request #880 from FHenry/3.3
fix [ bug #850 ] Dolibarr PGSQL
2013-04-25 13:40:14 -07:00
Regis Houssin
d162a61d41 Fix: use $conf->entity if defined 2013-04-25 15:52:33 +02:00
Regis Houssin
2f72bbca5a Fix: broken features with multicompany 2013-04-25 15:47:41 +02:00
fhenry
733ff62ec8 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-04-25 12:56:12 +02:00
fhenry
bc7015a431 fix [ bug #850 ] Dolibarr PGSQL 2013-04-25 12:55:40 +02:00
Laurent Destailleur
521929b740 Merge pull request #878 from FHenry/3.3
[ bug #849 ] BUG PGSQL
2013-04-25 01:24:55 -07:00
fhenry
4badcf5a75 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-04-24 23:19:22 +02:00
fhenry
cd7f94d515 [ bug #849 ] BUG PGSQL 2013-04-24 23:19:01 +02:00
Laurent Destailleur
b2129a519d Merge pull request #875 from grandoc/3.3
fix undefined offset
2013-04-24 09:03:04 -07:00
simnandez
436b6259c0 Fix: finish merge 2013-04-24 16:57:46 +02:00
Grand Philippe
026195689b fix undefined offset 2013-04-24 15:22:37 +02:00
Laurent Destailleur
08808c58cd Prepare 3.3.2 2013-04-24 14:46:50 +02:00
Laurent Destailleur
fb1c306b31 Update nl 2013-04-24 13:59:08 +02:00
Laurent Destailleur
57637d3a07 Merge pull request #871 from FHenry/3.3
Fix [ bug #843 ] Erreur SQL box_stock
2013-04-23 08:32:10 -07:00
fhenry
23a7aae084 [ bug #841 ] Erreur compta/index 2013-04-23 14:48:34 +02:00
fhenry
52a1e81147 [ bug #842 ] Erreur SQL Propal 2013-04-23 14:43:32 +02:00
fhenry
ba0e9c0c19 Fix [ bug #843 ] Erreur SQL box_stock
fix [ bug #842 ] Erreur SQL Propal
2013-04-23 14:02:29 +02:00
Laurent Destailleur
365a5e18e8 Prepare 3.3.2 2013-04-23 13:56:59 +02:00
Laurent Destailleur
57ab4fb798 Fix doc 2013-04-23 13:38:00 +02:00
Laurent Destailleur
624a039eaf Update debian doc 2013-04-23 12:58:58 +02:00
Laurent Destailleur
8f502b8cfc Prepare 3.3.2 2013-04-23 12:39:55 +02:00
Laurent Destailleur
dbc2eddcba Prepare for 3.3.2 2013-04-23 12:09:21 +02:00
Laurent Destailleur
3f1f065d4e Fix: log must use the mask defined into setup
Conflicts:
	htdocs/core/modules/syslog/mod_syslog_file.php
2013-04-23 12:02:56 +02:00
Laurent Destailleur
ff3b2933a8 Fix: Removed bad test 2013-04-23 10:42:10 +02:00
Laurent Destailleur
c8b2ce3d8e Removed warning 2013-04-22 20:46:53 +02:00
Laurent Destailleur
83e873dd24 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-04-22 20:37:28 +02:00
Regis Houssin
f8ddd69ccb FIXME regresion if code with not in numeric base 2013-04-22 16:42:44 +02:00
Regis Houssin
7217d91f13 Fix: missing commit 2013-04-22 15:26:45 +02:00
Regis Houssin
ccf809b14a Fix: broken features 2013-04-22 15:10:15 +02:00
Regis Houssin
5ccb4108d4 Fix: merge problem 2013-04-22 14:47:37 +02:00
Regis Houssin
7883e4f0eb Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-04-22 14:38:38 +02:00
Regis Houssin
63a5aee80e Fix: broken features for fileupload 2013-04-22 14:37:18 +02:00
Laurent Destailleur
88fe3e86f2 Missing translation 2013-04-22 14:01:47 +02:00
Laurent Destailleur
b9dab6d059 Fix: Korting 2013-04-22 13:57:24 +02:00
Laurent Destailleur
6adaf2fa8f Fix: Pb when using virtual products inside virtual products 2013-04-22 13:02:10 +02:00
Laurent Destailleur
6b8c4fc3f2 Merge pull request #853 from FHenry/3.3
3.3
2013-04-21 15:14:11 -07:00
fhenry
4202c8fc91 required once instead of require 2013-04-20 17:56:39 +02:00
fhenry
880659af3a Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-04-20 02:49:16 +02:00
Laurent Destailleur
fa69f693db Merge pull request #845 from marcosgdf/translations
Translations + minor bug fix
2013-04-19 17:22:32 -07:00
Laurent Destailleur
6a9ebcac7b Merge pull request #844 from grandoc/3.3
fix : undefined variable
2013-04-19 17:10:41 -07:00
Marcos García
95ca8db9eb Improved es_ES translations 2013-04-20 00:34:03 +02:00
Marcos García
d90a0acbec Missing externalsite module translations 2013-04-20 00:18:57 +02:00
Marcos García
40a9ab9772 Added missing translations 2013-04-20 00:08:09 +02:00
Marcos García
458b1cdf60 Improved dictionary translations + minor bug fix 2013-04-19 23:33:54 +02:00
Laurent Destailleur
de2a5a8872 Merge pull request #843 from marcosgdf/bug-828
Fixed bug #828: Error when code_region is not a number in llx_c_regions ...
2013-04-19 12:16:37 -07:00
unknown
8030b39536 fix : undefined variable 2013-04-19 19:45:06 +02:00
Marcos García
becd40a825 Fixed bug #828: Error when code_region is not a number in llx_c_regions (with postgres) 2013-04-19 15:38:24 +02:00
fhenry
a3c5bef381 Fix bug FactureLine update for PgSQL
http://www.dolibarr.fr/forum/527-bugs-sur-la-version-stable-courante/41317-impossible-de-modifier-une-ligne-de-facture#41422
2013-04-19 15:12:02 +02:00
Regis Houssin
50ec96d368 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-04-19 09:58:00 +02:00
Regis Houssin
17d5ab9774 Fix: no result with a number with a comma
Conflicts:
	htdocs/fourn/facture/index.php

Change-Id: I6c67e3d2936673ea0993adfa1597bd11caf125fe
2013-04-19 09:57:13 +02:00
Laurent Destailleur
df0b0ebf51 Fix: Uniformize pdf code for typhon. This should also solve problem
of overlapped text into delivery receipts.

Conflicts:
	htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
2013-04-19 09:52:25 +02:00
Regis Houssin
3e9a8677c6 Fix: no result with a number with a comma 2013-04-19 09:48:55 +02:00
Laurent Destailleur
52a0df3424 Fix: Bad translation 2013-04-17 20:13:42 +02:00
Laurent Destailleur
21a1441a80 Merge pull request #839 from FHenry/3.3
Fix [ bug #824 ] MAIN_DB_PREFIX not use into dictionnary
2013-04-17 02:58:32 -07:00
Regis Houssin
5c50b1db57 Fix: use empty instead isset 2013-04-17 10:42:44 +02:00
fhenry
03e57c229a Update changelog 2013-04-17 10:00:12 +02:00
fhenry
e7cec6d410 update change log 2013-04-17 09:32:35 +02:00
fhenry
e2156b5df7 Fix bug
http://www.dolibarr.org/forum/527-bugs-on-a-stable-version/22542-table-prefix-bug
2013-04-16 16:00:23 +02:00
Laurent Destailleur
3a474a22ca Qual: Include is_erasable() into test
Conflicts:
	test/phpunit/NumberingModulesTest.php
2013-04-16 15:56:08 +02:00
Laurent Destailleur
a5deb8e9d7 Fix: bug into is_erasable function.
Conflicts:
	test/phpunit/NumberingModulesTest.php
2013-04-16 15:54:36 +02:00
simnandez
90a2a86dbb Update ChangeLog 2013-04-16 08:59:01 +02:00
Juanjo Menent
1602fcf7bc Merge pull request #837 from FHenry/3.3
Fix [ bug #789 ] VAT not being calculated in POS
2013-04-15 23:54:03 -07:00
fhenry
7d6c89169c Fix [ bug #789 ] VAT not being calculated in POS 2013-04-15 23:06:03 +02:00
Regis Houssin
7177e59ea4 Fix: missing quote 2013-04-15 21:41:34 +02:00
Regis Houssin
21056d2b78 Fix: missing current entity record 2013-04-15 21:27:01 +02:00
simnandez
76132206bf Fix: Bad link to all proposals into Third party card if customer is
prospect
2013-04-15 17:12:31 +02:00
Juanjo Menent
67b803243f Merge pull request #834 from marcosgdf/translations-3.3
Improved es_ES holidays translations
2013-04-15 00:22:02 -07:00
Marcos García
6d896a8558 Improved holidays module translations 2013-04-15 00:53:06 +02:00
Marcos García
deaa63960e Improved es_ES holidays translations 2013-04-15 00:18:08 +02:00
simnandez
e27e5e9c44 Improved margins ca_ES translation 2013-04-14 13:53:48 +02:00
Juanjo Menent
e934614fce Merge pull request #830 from marcosgdf/bug-807
Fixed bug #807: Margins modules with orders2invoice does not respect cost price
2013-04-14 04:44:58 -07:00
Juanjo Menent
cb8cbecbde Merge pull request #831 from marcosgdf/translations
Improved margins module es_ES translation
2013-04-14 04:44:03 -07:00
Marcos García
0e34df43b1 Updated changelog 2013-04-14 13:09:00 +02:00
Marcos García
b6ce386513 Converted indentation to tabs 2013-04-14 13:07:05 +02:00
Marcos García
90b9e7c136 Fixed bug #807: Margins modules with orders2invoice does not respect cost price
Also, removed duplicated requires in orderstoinvoice.php
2013-04-14 13:06:13 +02:00
Marcos García
6b031616fa Improved margins es_ES translation 2013-04-14 12:34:10 +02:00
Laurent Destailleur
6ebeb53a2c Merge pull request #828 from marcosgdf/bug-817
[ bug #817 ] Purchases journal does not reflect localtaxes
2013-04-13 16:29:07 -07:00
Marcos García
486425d258 Merge branch '3.3' into bug-817
Conflicts:
	ChangeLog
2013-04-13 23:58:05 +02:00
Laurent Destailleur
7e48e341ad Merge pull request #829 from marcosgdf/translations
Added missing translation
2013-04-13 14:23:07 -07:00
Laurent Destailleur
8d4da9df1e Merge pull request #827 from marcosgdf/bug-816
[ bug #816 ] Sales journal does not reflect localtaxes
2013-04-13 14:22:40 -07:00
Marcos García
7c4b901b0a Improved es_ES translations and replaced missing translation 2013-04-13 17:45:41 +02:00
Marcos García
418921f360 Revert "Revert "Added missing translation""
This reverts commit 85866ff9a6.
2013-04-13 17:14:06 +02:00
Marcos García
a6ed2551fb Revert "Replaced Rest not translated string with AlreadyPaid"
This reverts commit 580881c205.
2013-04-13 17:13:59 +02:00
Marcos García
580881c205 Replaced Rest not translated string with AlreadyPaid 2013-04-13 17:12:16 +02:00
Marcos García
85866ff9a6 Revert "Added missing translation"
This reverts commit 404ad18425.
2013-04-13 17:10:07 +02:00
Marcos García
404ad18425 Added missing translation 2013-04-13 16:04:51 +02:00
Marcos García
b3a035951f [ bug #817 ] Purchases journal does not reflect localtaxes 2013-04-13 15:22:59 +02:00
Marcos García
3ed4d7bfbf Updated changelog 2013-04-13 14:46:43 +02:00
Marcos García
d6b42ac879 [ bug #816 ] Sales journal does not reflect localtaxes 2013-04-13 14:44:56 +02:00
Laurent Destailleur
1409b2b81a Merge pull request #826 from marcosgdf/3.3
Improved translations
2013-04-13 04:36:50 -07:00
Marcos García
ac0cd975cd Added missing table head strings into supplier invoices 2013-04-13 13:03:13 +02:00
Marcos García
b6f765ef3c Improved es_ES translations 2013-04-12 23:51:52 +02:00
Regis Houssin
9596134e47 Fix: use new method 2013-04-12 10:28:19 +02:00
Regis Houssin
85e09a953f Fix: missing return with hook 2013-04-12 10:04:10 +02:00
Laurent Destailleur
4910871180 Merge pull request #824 from marcosgdf/3.3
Translated linked object propal module name
2013-04-11 15:23:31 -07:00
Marcos García
9ec74194a0 Translated linked object propal module name 2013-04-11 23:10:27 +02:00
Regis Houssin
662d9cfa6e Fix: for avoid problem with multicompany thirdparty sharing 2013-04-11 17:11:15 +02:00
Laurent Destailleur
76c180aaaf Fix: encoding at wrong place 2013-04-10 23:13:55 +02:00
Laurent Destailleur
d570aa02d4 Fix: bad url 2013-04-10 23:11:21 +02:00
Laurent Destailleur
3bcd506e73 Fix: demo modules list 2013-04-10 23:06:38 +02:00
Laurent Destailleur
43d4bb6155 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-04-10 19:30:51 +02:00
Laurent Destailleur
72f0ca194c Fix: Solve conflict of translation 2013-04-10 19:28:54 +02:00
Laurent Destailleur
c4d0c4c3e5 Merge pull request #821 from FHenry/3.3
Fix bug : change path of ODT template for commande and propal module
2013-04-10 08:15:57 -07:00
fhenry
5d94b0c576 Fix bug : change path of ODT template for commande and propal module 2013-04-10 16:34:06 +02:00
Regis Houssin
19e902ef8f Fix: filter on all contacts, not just those related to a company 2013-04-10 16:00:30 +02:00
Regis Houssin
b80d4874e3 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2013-04-10 15:34:51 +02:00
Regis Houssin
057365b69e Fix: change for experimental encryption 2013-04-10 15:33:03 +02:00
Regis Houssin
eb78de1981 Merge pull request #820 from FHenry/3.3
Fix bug with multicompany (SYSLOG_FILE on wrong entity)
2013-04-10 06:20:06 -07:00
fhenry
38e30836a5 Fix bug with multicompany (SYSLOG_FILE on wrong entity) 2013-04-10 15:08:03 +02:00
Regis Houssin
8118332dfb Fix: security
Conflicts:
	htdocs/core/modules/mailings/contacts2.modules.php
2013-04-10 13:00:05 +02:00
Laurent Destailleur
f17ba4814e Merge pull request #816 from FHenry/3.3
Fix [ bug #810 ] Cannot update ODT template path
2013-04-08 14:28:51 -07:00
fhenry
98aaec18a7 Fix [ bug #810 ] Cannot update ODT template path 2013-04-08 18:08:38 +02:00
Regis Houssin
f3bbfe375c Fix: for multicompany compatibility 2013-04-08 12:41:48 +02:00
Laurent Destailleur
4ce7a70411 Merge pull request #813 from marcosgdf/3.3
Removed duplicated code and fixed a problem with orders2invoice
2013-04-07 14:00:32 -07:00
Laurent Destailleur
19c8336e6e Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-04-07 22:51:31 +02:00
Marcos García
303cf3bc41 Updated changelog 2013-04-07 22:01:33 +02:00
Marcos García
6013916d45 Removed duplicated code and fixed a problem with orders2invoice 2013-04-07 21:58:24 +02:00
Laurent Destailleur
b678183ff2 Log 2013-04-07 21:09:57 +02:00
Juanjo Menent
29124649bd Merge pull request #810 from simnandez/3.3
Update ChangeLog
2013-04-07 07:09:10 -07:00
simnandez
8f67606685 Spelling fix 2013-04-07 16:04:57 +02:00
simnandez
35279f6520 Update ChangeLog 2013-04-07 15:17:31 +02:00
simnandez
515c5e58ca Update Changelog 2013-04-07 15:04:55 +02:00
Laurent Destailleur
64a9689473 Fix: [ bug #787 ] Invoice supplier box incorrect tooltip when delay on
payment
2013-04-07 14:41:42 +02:00
Laurent Destailleur
4ceeea4a1c Fix: Can't reset payment due date 2013-04-07 14:41:08 +02:00
Laurent Destailleur
56f48245f1 Merge pull request #809 from marcosgdf/3.3
Improved translations and BILL_SUPPLIER_BUILDDOC trigger
2013-04-07 05:00:18 -07:00
Marcos García
6252857440 Fixed translations and BILL_SUPPLIER_BUILDDOC trigger 2013-04-06 17:56:10 +02:00
Laurent Destailleur
c10f2dd327 Merge pull request #807 from FHenry/3.3_bug794
Fix [ bug #794 ] Lost filter on zipwode in prospect list
2013-04-05 13:50:27 -07:00
Laurent Destailleur
bbb0854517 Merge pull request #803 from FHenry/3.3
Fix[ bug #774 ] Bug on creating event with box "all day" crossed
2013-04-05 13:49:11 -07:00
Laurent Destailleur
5736cf0144 Merge pull request #801 from simnandez/3.3
Fix: [ bug #790 ] Spanish localtax RE not being correctly calculated
2013-04-05 13:47:43 -07:00
fhenry
09d1e56ca5 Fix [ bug #794 ] Lost filter on zipwode in prospect list 2013-04-05 13:01:15 +02:00
fhenry
81b34f9918 Fix Error come from [Dolibarr-dev] Errors on comm/mailing/index.php page
mail
2013-04-05 09:23:31 +02:00
fhenry
ef5c03fc99 Fix[ bug #774 ] Bug on creating event with box "all day" crossed 2013-04-04 19:57:16 +02:00
Simnandez
992ec308d2 Update Changelog 2013-04-04 16:54:41 +02:00
juanjo
61b28274f7 [ bug #790 ] Spanish localtax RE not being correctly calculated 2013-04-04 16:32:06 +02:00
Laurent Destailleur
5af232d936 Merge pull request #797 from FHenry/3.3
Check style
2013-04-04 02:40:00 -07:00
fhenry
be01297403 Fix Ducth (nl_NL) translation 2013-04-03 11:56:54 +02:00
fhenry
9572eebae0 Check style
(http://www.dolibarr.fr/forum/3-installation/40712-sauvegarde)
2013-04-02 22:22:57 +02:00
Laurent Destailleur
e0baa0fe46 Generalize fix: file with a specific mask not found, again
Conflicts:
	htdocs/comm/propal.php
	htdocs/commande/fiche.php
	htdocs/compta/facture.php
	htdocs/expedition/fiche.php
	htdocs/fichinter/fiche.php
2013-03-30 14:04:09 +01:00
Regis Houssin
1e3b26a104 Fix: file with a specific mask not found, again 2013-03-29 11:54:22 +01:00
Regis Houssin
888da9f3e9 Fix: file with a specific mask not found 2013-03-29 11:52:18 +01:00
Laurent Destailleur
3c3c0b456e Fix: _ not allowed into prestashop tags. 2013-03-28 09:59:59 +01:00
Laurent Destailleur
e0bf4faa4c Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-03-27 20:49:30 +01:00
Laurent Destailleur
0108ee2bd8 Fix: Bad name of function 2013-03-27 20:48:57 +01:00
Regis Houssin
c36f52c47a Fix: avoid errors due to BROKEN FEATURES !!! 2013-03-27 11:54:10 +01:00
Regis Houssin
a701cbd77c Fix: wrong var name 2013-03-26 17:47:37 +01:00
Regis Houssin
4fe94b800b Fix: missing parameter 2013-03-26 17:43:48 +01:00
Regis Houssin
dff74667c2 Fix: broken features due to the removal of the trigger FILE_UPLOAD ! 2013-03-26 17:29:40 +01:00
Regis Houssin
33a82c396e Fix: broken feature for use hooks with dol_move_uploaded_file method 2013-03-26 17:12:00 +01:00
Laurent Destailleur
7f4fd06f19 Merge pull request #761 from cbattarel/3.3
fix getting buying price when creating automatically an order from a proposal
2013-03-20 07:31:31 -07:00
Christophe Battarel
c7666cbc3d fix getting buying price when creating automatically an order from a proposal (with first option activated in workflow module) 2013-03-20 09:30:13 +01:00
Laurent Destailleur
f4996b4054 Merge pull request #757 from cbattarel/3.3
remove experimental commissions module
2013-03-19 19:18:38 -07:00
Christophe Battarel
e2f28b6c51 remove experimental commissions module 2013-03-18 15:40:56 +01:00
Laurent Destailleur
8a6adb8a49 Merge pull request #756 from cbattarel/3.3
various fixes on margin :
2013-03-18 06:25:54 -07:00
Christophe Battarel
f8291a9efe use ifsql function 2013-03-18 14:18:17 +01:00
Christophe Battarel
e59084cafc various fixes on margin :
- fix on sortorder
- fix for credit notes
- fix for total
2013-03-18 13:04:08 +01:00
Laurent Destailleur
d2d0f83fa0 Merge pull request #754 from simnandez/3.3
Trad:  Fix: A better fix for status/list of orders.
2013-03-17 06:30:10 -07:00
simnandez
54f963f8ae Trad: Fix: A better fix for status/list of orders.
There was a confusion because of bad translation key StatusOrderToBill
that in fact mean "StatusOrderDelivered".
2013-03-16 22:32:03 +01:00
Laurent Destailleur
013b7eca10 Fix: A better fix for status/list of orders.
There was a confusion because of bad translation key StatusOrderToBill
that in fact mean "StatusOrderDelivered".
More explanation:
http://wiki.dolibarr.org/index.php/Module_Customers_Orders#Life_cycle_.2F_Business_rules
2013-03-16 17:02:13 +01:00
Laurent Destailleur
d590aa56eb Merge pull request #749 from simnandez/3.3
Fix: Bad orders list viewstatut filter if expeditons module is disabled
2013-03-16 07:39:31 -07:00
Laurent Destailleur
1a62cdfbe8 Fix: Use better test to show localtax to avoid problem when switching
from different country.
2013-03-15 17:06:42 +01:00
simnandez
c0e5cacafc Fix: Bad orders list viewstatut filter if expeditons module is disabled 2013-03-15 16:18:14 +01:00
Laurent Destailleur
ed85869394 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-03-15 14:43:41 +01:00
Laurent Destailleur
a5181a06e4 Merge pull request #747 from grandoc/3.3
fix trad
2013-03-15 04:33:02 -07:00
Grand Philippe
36e99e100b fix trad 2013-03-15 12:13:23 +01:00
Laurent Destailleur
63e3b5742c Merge pull request #745 from grandoc/3.3
fix trad
2013-03-15 04:02:48 -07:00
Laurent Destailleur
1ac78d0e83 Merge pull request #744 from FHenry/3.3
Fix part of bugs [ bug #766 ]
2013-03-15 04:02:34 -07:00
Laurent Destailleur
95c9d19d5e Fix: Restore ability to filter on '0' 2013-03-15 11:31:49 +01:00
Grand Philippe
010207532f fix trad 2013-03-15 10:12:40 +01:00
fhenry
72effa3f25 Fix part of bugs [ bug #766 ] 2013-03-15 09:31:11 +01:00
Regis Houssin
d6c18c1789 Fix: for avoid sql errors with predefined export models 2013-03-14 07:08:44 +01:00
Laurent Destailleur
55856bdc36 Merge pull request #741 from grandoc/3.3
fix trad
2013-03-13 08:52:56 -07:00
Laurent Destailleur
6fc57fb90d Merge pull request #740 from FHenry/3.3
Fix syntax error
2013-03-13 08:52:25 -07:00
Laurent Destailleur
96013ba9a6 Merge pull request #739 from jfefe/ws_3.3
Missing field fk_thirdparty in user webservice
2013-03-13 08:51:36 -07:00
Grand Philippe
82297f52c9 fix trad 2013-03-13 14:40:16 +01:00
Grand Philippe
2d09eb6f8c fix trad 2013-03-13 12:22:39 +01:00
Grand Philippe
5ed94ae9be fix trad 2013-03-13 11:10:31 +01:00
fhenry
d4621c3921 Fix syntax error 2013-03-13 10:15:37 +01:00
jfefe
c83691e35a Missing field fk_thirdparty in user webservice 2013-03-12 20:57:58 +01:00
Laurent Destailleur
bb2776f4cc Fix: Bad field 2013-03-12 13:37:34 +01:00
Laurent Destailleur
9c1f70996a Merge pull request #731 from grandoc/3.3
fix some translations
2013-03-12 05:27:15 -07:00
Laurent Destailleur
b88d261c90 Merge pull request #735 from simnandez/3.3
Fix: [ bug #762 ] Bad profit calculation in Reporting
2013-03-12 05:26:00 -07:00
simnandez
5c4b537a65 Fix: [ bug #762 ] Bad profit calculation in Reporting 2013-03-12 11:49:15 +01:00
Laurent Destailleur
fe072d992c Fix: WSDL of productorservice was not valid. Normalize field names. 2013-03-12 10:35:24 +01:00
Grand Philippe
dd248e9d58 fix : dyslexia 2013-03-11 17:19:03 +01:00
Grand Philippe
979a36e941 fix some translations 2013-03-11 15:18:24 +01:00
Grand Philippe
06e931632d fix some translations 2013-03-11 14:51:48 +01:00
Laurent Destailleur
710ea872a9 Merge pull request #727 from cbattarel/3.3
fix wrong value name when updating buyingprice
2013-03-11 06:25:35 -07:00
Laurent Destailleur
633a15f10d Fix: Usage of order into export broken when filters are used 2013-03-11 14:20:08 +01:00
Christophe Battarel
f620e6948f fix wrong value name when updating buyingprice 2013-03-11 09:08:57 +01:00
Laurent Destailleur
a6ce7bb428 Fix: Regression for negative proposal lines.
Conflicts:
	htdocs/comm/propal.php
2013-03-08 10:28:25 +01:00
Laurent Destailleur
44698fcde0 Fix: dol_is_dir may not be loaded, so call fails 2013-03-08 01:53:41 +01:00
Laurent Destailleur
63e1b724cb Merge pull request #718 from FHenry/3.3
Fix [ bug #753 ] cashdesk : Error message when adding product to basket
2013-03-07 14:24:13 -08:00
Laurent Destailleur
e97ca67c4a Fix: Several problem with localtax into PDF generation
Conflicts:
	htdocs/core/modules/commande/doc/pdf_einstein.modules.php
	htdocs/core/modules/facture/doc/pdf_crabe.modules.php
	htdocs/core/modules/propale/doc/pdf_azur.modules.php
	htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php
2013-03-07 19:13:50 +01:00
Laurent Destailleur
668249a195 Fix: We must refresh object also if option MAIN_DISABLE_PDF_AUTOUPDATE
is 1 (Cyril ZEKSER)
2013-03-07 18:44:25 +01:00
Laurent Destailleur
a0803e758e Fix: Missing generic translation 2013-03-07 11:25:14 +01:00
Laurent Destailleur
a3244a4b47 Fix: Missing genereic translation 2013-03-07 11:05:20 +01:00
fhenry
25fa2254c1 Fix [ bug #753 ] cashdesk : Error message when adding product to basket
https://doliforge.org/tracker/?func=detail&aid=753&group_id=144
http://www.dolibarr.fr/forum/526-autres-modules/39315-probleme-avec-point-de-vente
http://www.dolibarr.es/index.php/foro/6-icomo/2080-errores-con-tpv-y-tipos-de-iva
2013-03-07 10:50:02 +01:00
eldy
9d047d740b Fix: no null into not null field 2013-03-06 21:30:37 +01:00
Laurent Destailleur
1f0dbc698c Merge pull request #714 from FHenry/3.3
fix [ bug #749 ]
2013-03-06 10:33:51 -08:00
fhenry
617a71478b fix [ bug #749 ] 2013-03-05 19:05:12 +01:00
Laurent Destailleur
d5822b7fbd Fix: Syntax sql error when adding/editing line of contract and when
company does not use vat.
2013-03-05 18:13:27 +01:00
Laurent Destailleur
ae2355fda5 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-03-05 12:54:37 +01:00
Laurent Destailleur
555b3a1199 Fix:; Removed warning 2013-03-04 21:00:22 +01:00
Laurent Destailleur
f86cad0580 Fix: Try a fix for IE9 (need to be tested with IE 8, 7 and 10) 2013-03-04 17:36:20 +01:00
Laurent Destailleur
c0d2ee19f5 Merge pull request #712 from FHenry/3.3
Fix [ bug #747 ]
2013-03-04 08:02:58 -08:00
fhenry
f793ed83f6 Fix [ bug #747 ] 2013-03-04 15:36:40 +01:00
Laurent Destailleur
ae1e0dff87 Merge pull request #710 from FHenry/3.3
Fix [ bug #742 ]
2013-03-03 15:26:50 -08:00
Laurent Destailleur
931b556b69 Fix: sql error 2013-03-04 00:01:38 +01:00
fhenry
b0212fc8e6 Fix [ bug #742 ]
and translation of constant description
2013-03-03 21:23:18 +01:00
Laurent Destailleur
924d01249c Prepare 3.3.1 maintenance release 2013-03-02 16:12:06 +01:00
Laurent Destailleur
0f576181be Merge pull request #707 from simnandez/3.3
Fix: Localtax2 for Spain must be based into buyer
2013-03-02 07:05:50 -08:00
Laurent Destailleur
81a06507fa Fix: data not refreshed 2013-03-02 16:01:46 +01:00
simnandez
b16b8f9ff3 Update ChangeLog for 3.3.1 2013-03-01 22:13:38 +01:00
simnandez
b2763bab15 Fix: Localtax2 for Spain must be based into buyer 2013-03-01 20:38:08 +01:00
simnandez
0cb5b3f50c Fix: Localtax2 for Spain must be based into buyer 2013-03-01 20:32:49 +01:00
Laurent Destailleur
ac1ff205a4 Merge pull request #700 from FHenry/3.3
Fix [ bug #736 ]
2013-03-01 03:49:52 -08:00
Laurent Destailleur
e98b2e2ee1 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-03-01 09:48:16 +01:00
Laurent Destailleur
9106a74426 Fix: Package for launchpad 2013-03-01 09:48:03 +01:00
fhenry
0d0c1e8c14 Fix [ bug #736 ] 2013-02-28 21:18:52 +01:00
fhenry
7952a1f1a5 rool back changes 2013-02-28 21:15:45 +01:00
fhenry
dcf76d7bcb Fix [ bug #736 ] 2013-02-28 21:13:25 +01:00
Regis Houssin
16ad99f8c5 Fix: to force id field name 2013-02-28 19:41:44 +01:00
Regis Houssin
d9b7886ef9 Fix: try to fix regression, stored the last id created in a session
variable in order to be used to find out information in the "ref_ext" in
order to differentiate automatic actions.
2013-02-28 18:47:38 +01:00
Laurent Destailleur
d190e924b3 Fix: Update of type was not working. 2013-02-27 19:43:40 +01:00
Laurent Destailleur
8b244b0d61 Fix: select lost if error 2013-02-27 19:21:40 +01:00
Laurent Destailleur
47c89dfd8e Fix: trans 2013-02-27 17:47:51 +01:00
Laurent Destailleur
f2371be191 Fix: Update button does not appear 2013-02-27 15:24:08 +01:00
Laurent Destailleur
283aeb2945 Fix: Add option MAIN_USE_LOCALTAX_TYPE_7 to hide localtax 7 because
type 7 need to be implemented at invoice level, not line level. This
disable the feature (we need better implementation) without removing it
for people using it in the past.
2013-02-27 01:06:08 +01:00
Laurent Destailleur
18aff92366 Merge pull request #683 from FHenry/3.3
Fix [ bug #733 ]
2013-02-26 11:03:36 -08:00
Laurent Destailleur
c4948ea3db Fix: It seems foreign key is not deleted sometimes. To be sure, we force
delete also at end.
2013-02-25 20:23:44 +01:00
fhenry
af6bb94ff3 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-02-22 15:02:33 +01:00
fhenry
44b5b98308 Fix [ bug #733 ] 2013-02-22 15:02:06 +01:00
Regis Houssin
ae154ed9a3 Merge branch '3.3' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.3 2013-02-22 13:15:41 +01:00
Regis Houssin
b5d2a378fa Fix: pdf models are unstable and time consuming. 2013-02-22 13:14:54 +01:00
Laurent Destailleur
6b50ddf6ec Merge pull request #682 from FHenry/3.3
Fix bug #730
2013-02-22 03:45:32 -08:00
Regis Houssin
dd7411593e Fix: wrong hidden 2013-02-22 12:21:49 +01:00
Regis Houssin
3b45cffafa Fix: hide blocs with multi-page 2013-02-22 11:26:23 +01:00
Regis Houssin
20522148f2 Fix: regression, the product discount overwrites the default customer
discount !
2013-02-22 11:06:45 +01:00
fhenry
aa473fa3e3 Fix bug #730 2013-02-22 09:42:02 +01:00
Laurent Destailleur
fbff66a907 Merge pull request #677 from simnandez/3.3
Fix: Pagination at bottom not work correctly with filters applied
2013-02-21 12:44:56 -08:00
simnandez
723c46ec42 Fix: Pagination at bottom not work correctly with filters applied 2013-02-21 14:29:06 +01:00
Laurent Destailleur
3687b29a7b Fix: Missing translation 2013-02-20 21:42:20 +01:00
Laurent Destailleur
402bc48b24 Merge pull request #666 from grandoc/3.3
fix language
2013-02-19 01:13:00 -08:00
Laurent Destailleur
1fd68ed0fe Merge pull request #667 from simnandez/3.3
Fix: Translation
2013-02-19 01:12:37 -08:00
simnandez
15f6f7c335 Fix: Translation 2013-02-18 17:07:20 +01:00
Grand Philippe
3ce75ce382 fix: bad commit 2013-02-18 16:57:38 +01:00
Grand Philippe
108b4d1ae9 fix language 2013-02-18 16:10:27 +01:00
Laurent Destailleur
b5260e4ab1 Fix: Translation 2013-02-18 14:13:02 +01:00
Laurent Destailleur
f82bec552b Fix: Check id field are mandatory 2013-02-18 13:07:32 +01:00
Laurent Destailleur
d6e907b69b Fix: Nb of holidays was not using correct user 2013-02-17 19:26:33 +01:00
Laurent Destailleur
b0695d3bbb Preapre 3.3 2013-02-17 17:20:05 +01:00
Laurent Destailleur
df2fde3a68 Prepare 3.3 release 2013-02-17 17:17:19 +01:00
Laurent Destailleur
b434f58af3 Fix: When creating invoice from other object, type must be standard only 2013-02-17 17:12:06 +01:00
Laurent Destailleur
d2074d1a17 Fix: When creating invoice from other object, type must be standard only 2013-02-17 17:06:55 +01:00
Laurent Destailleur
aff919fd10 Fix: Bad test 2013-02-17 12:45:46 +01:00
Laurent Destailleur
5ad0e12f7a Merge pull request #654 from FHenry/3.3
Fix bug [ bug #709 ]
2013-02-16 14:14:48 -08:00
fhenry
f043fcfaf7 Fix bug [ bug #709 ] 2013-02-14 13:55:05 +01:00
Laurent Destailleur
365680d90e Fix: Missing vat rates 2013-02-13 21:25:17 +01:00
Laurent Destailleur
031bc911ea Fix: Mass save or update of const fails. 2013-02-13 16:47:25 +01:00
Laurent Destailleur
2dce0c68e8 Merge pull request #652 from cbattarel/3.3
3.3 : fix bug in contract update line (wrong vat variable name)
2013-02-13 05:56:09 -08:00
Christophe Battarel
c6b263c586 fix bug in contract update line (wrong vat variable name) 2013-02-13 09:53:26 +01:00
Laurent Destailleur
ddf27b2c67 Fix Bug 708 2013-02-12 15:01:16 +01:00
Laurent Destailleur
8a72ff8fc2 Fix: bad translation 2013-02-12 14:48:51 +01:00
Laurent Destailleur
fed591d989 Merge pull request #641 from simnandez/3.3
Fix: Amarok login page issues
2013-02-10 17:37:38 -08:00
Laurent Destailleur
4d9f22c909 Renamed "Salvador" into "El Salvador" 2013-02-10 22:09:25 +01:00
Laurent Destailleur
e5e9dc404b Fix: Bad choice of template 2013-02-10 21:57:53 +01:00
simnandez
caf6fa2240 Fix: Amarok login page issues 2013-02-10 11:09:21 +01:00
Laurent Destailleur
36eb0f01d8 Merge pull request #635 from simnandez/3.3
Trad: Add missing translations
2013-02-01 08:36:07 -08:00
Laurent Destailleur
72c5652a4a Fix: Holiday module update always done 2013-02-01 10:13:42 +01:00
Laurent Destailleur
9f7a06e04d Fix: Test not complete 2013-02-01 09:56:45 +01:00
simnandez
7134ab5594 Trad: Add missing translations 2013-02-01 09:28:02 +01:00
Laurent Destailleur
26c66a11ed Fix: Bug 701 2013-01-31 10:21:34 +01:00
Laurent Destailleur
69f057c734 Merge pull request #632 from FHenry/3.3
Fix bug
2013-01-29 13:12:57 -08:00
fhenry
96efa87708 Fix bug
"A user can always read its own card" false today for external user even
if user get right to change his won info
2013-01-29 20:05:08 +01:00
Laurent Destailleur
30764a6c00 Fix: Option COMPANY_USE_SEARCH_TO_SELECT was not working for third party
selection when autocomplete is on.
2013-01-29 16:14:53 +01:00
Laurent Destailleur
ac3ccade98 Fix: number of chars to low to show value. 2013-01-28 13:11:12 +01:00
Laurent Destailleur
a8ccc0ab0b Fix: loghandler loaded twice. 2013-01-28 12:36:15 +01:00
Laurent Destailleur
abd8aea06b Fix: Log not reported
Fix: charset not correctly forced

Conflicts:
	htdocs/install/inc.php
2013-01-28 11:56:45 +01:00
Laurent Destailleur
2002388098 Revert "New: add hook getFormMail"
This reverts commit c732532483.
2013-01-26 13:40:31 +01:00
Regis Houssin
e3be718a57 Fix: wrong object name 2013-01-25 12:38:41 +01:00
Maxime Kohlhaas
7facbf7aa2 Multicompany restriction for transverse mode not used anymore. RestrictedArea is enough 2013-01-24 18:12:29 +01:00
Regis Houssin
b50a9415df Merge branch '3.3' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.3 2013-01-24 17:31:51 +01:00
Regis Houssin
c688e2afab New: add hook getFormMail 2013-01-24 17:31:22 +01:00
Laurent Destailleur
98ce66d8b7 Merge pull request #628 from simnandez/3.3
Fix:  [ bug #698 ] Bad calculation of totals of associated documents
2013-01-24 08:17:50 -08:00
simnandez
03d6903248 Fix: [ bug #698 ] Bad calculation of totals of associated documents 2013-01-24 12:53:42 +01:00
Laurent Destailleur
3472282703 Fix: [ bug #667 ] Customer categories wrong tree shown after update
3.2->3.3
2013-01-23 23:34:43 +01:00
Laurent Destailleur
5e42a9ff8a Fix: Revert again another fix that was not correct. It was no more
possible to edit a user even if user has permission for.
If module multicompany does not exists (standard mode), no
other test must be added to the if, except the $canxxx test.
2013-01-23 18:08:11 +01:00
Regis Houssin
beea9c2ec4 Fix: use the users entity 2013-01-23 15:44:51 +01:00
Regis Houssin
459adb146c Fix: only once superadmin and an admin can not delete/modify a
superadmin
2013-01-23 15:26:18 +01:00
Regis Houssin
b12101a650 Fix: only once superadmin if no multicompany setup 2013-01-23 15:11:33 +01:00
Regis Houssin
173740157f Merge branch '3.3' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.3 2013-01-23 11:28:49 +01:00
Regis Houssin
c66c02e745 Fix: missing files library 2013-01-23 11:28:11 +01:00
Laurent Destailleur
5f2af00397 Add logs to debug 2013-01-23 00:24:20 +01:00
Regis Houssin
06a0da990b Fix: broken features, special_code also used by externals modules ! 2013-01-22 21:35:15 +01:00
Regis Houssin
7b04da43c1 Merge branch '3.3' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.3 2013-01-22 18:07:22 +01:00
Regis Houssin
a019b1c854 Fix: disable "datetimepicker" from edit in place for the moment 2013-01-22 18:04:04 +01:00
Laurent Destailleur
b0c1137397 Restore correct code: A module decide if standard code is used or not
after running by a return code that is an int 
0=execute standard code, 1=disable standard code

To return a string to show or an array or error codes, this must be done
by setting
$actionclassinstance->results
or
$actionclassinstance->resprints
2013-01-22 17:43:41 +01:00
Laurent Destailleur
d622078d08 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-01-22 17:14:44 +01:00
Regis Houssin
910543c5b9 Fix: broken feature 2013-01-22 16:53:39 +01:00
Laurent Destailleur
ec76127625 Fix: http://www.dolibarr.fr/forum/12-howto--aide/28089-adherents--tiers
Fix: Update member
2013-01-22 15:14:46 +01:00
Regis Houssin
a9b0469f7d Merge pull request #623 from FHenry/3.3
3.3
2013-01-21 05:31:44 -08:00
fhenry
91e86c5a59 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-01-21 13:48:29 +01:00
fhenry
bc8c36b08f Add parameters force get Extarfield list from ll_extrafield even if
external extrafield module is enabled
2013-01-21 13:48:15 +01:00
Laurent Destailleur
e236ac3f03 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-01-21 01:07:22 +01:00
Laurent Destailleur
9cf405f9d2 Fix: syntax error 2013-01-21 01:06:52 +01:00
eldy
b3dbbe94e9 Missing div warning
Conflicts:
	htdocs/admin/index.php
2013-01-20 16:21:52 +01:00
eldy
d1dc04761a Fix: dev rule to build portable requests 2013-01-20 15:30:51 +01:00
eldy
6ded74d5dd Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-01-20 15:22:14 +01:00
eldy
fc011610bb Fix: pgsql 2013-01-20 15:21:18 +01:00
jfefe
7a60bd0b3c Fix : missing class / bad user when create thirdparty with contact and
user by webservice method
2013-01-20 12:39:26 +01:00
Laurent Destailleur
3551dff18a Fix: [ bug #671 ] Product country origin is automatically entered in
description of invoices, but not in invoices generated from orders
2013-01-19 15:57:28 +01:00
Laurent Destailleur
7002b328a8 Fix: [ bug #685 ] Supplier invoices should use encoding sequence number
as secondary sorting field
2013-01-19 15:32:03 +01:00
Laurent Destailleur
f701559056 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-01-19 14:32:50 +01:00
Laurent Destailleur
0e13b3872d Fix: Removed warnings 2013-01-19 14:32:37 +01:00
Laurent Destailleur
aaa56ce606 Merge pull request #618 from simnandez/3.3
Fix: Bad Spanish departament name
2013-01-18 09:30:45 -08:00
Laurent Destailleur
591eab4826 Detect another problem into box. Just add a comment. 2013-01-18 14:22:18 +01:00
Laurent Destailleur
a12972034f Fix: Start to fix some bugs 2013-01-18 13:56:36 +01:00
Laurent Destailleur
7c826dc38d Fix: Bad error management 2013-01-18 12:09:39 +01:00
Laurent Destailleur
57a869683d Fix date function 2013-01-18 11:28:06 +01:00
simnandez
a57f291aa2 Fix: Bad Spanish departament name 2013-01-18 09:28:54 +01:00
Laurent Destailleur
c16269d04e Fix: load at wrong place
Conflicts:
	htdocs/core/class/html.formother.class.php
2013-01-17 17:59:47 +01:00
Laurent Destailleur
9d5b36b27b Fix: error set on non object 2013-01-17 17:54:08 +01:00
Laurent Destailleur
b158758e7c Fix: Missing exclude dir 2013-01-17 10:32:00 +01:00
Laurent Destailleur
3685911bfa Merge pull request #616 from FHenry/3.3
Fix bug [ bug #694 ] Set security permision to user belong to group
2013-01-16 11:45:33 -08:00
Laurent Destailleur
2f528cc090 Merge pull request #615 from simnandez/3.3
Trad: Best ca_ES and es_ES translations
2013-01-16 11:40:35 -08:00
fhenry
968e980f58 Fix bug [ bug #694 ] Set security permision to user belong to group 2013-01-16 18:58:39 +01:00
simnandez
e820e62c03 Trad: Best ca_ES and es_ES translations 2013-01-16 18:19:48 +01:00
Laurent Destailleur
f97f34a302 Update doc 2013-01-16 16:28:36 +01:00
Laurent Destailleur
8d206fdfb0 Prepare move to other licence. For the moment all answers for licence
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Laurent Destailleur
5497b93247 Fix: Removed warning 2013-01-16 13:43:25 +01:00
Laurent Destailleur
a92b1d8677 Merge pull request #613 from FHenry/3.3
Fix bug 692, 681
2013-01-15 14:14:49 -08:00
fhenry
ff06b05b3d Fix Bug [ bug #681 ] Can't modify a line a business proposal 2013-01-15 23:04:42 +01:00
fhenry
b8dfee2a3b Fix bug [ bug #692 ] Can't search for suppliers invoice 2013-01-15 23:03:03 +01:00
Regis Houssin
6d882c18de Merge pull request #610 from FHenry/3.3
Remove bad retrun parameters
2013-01-15 10:23:12 -08:00
Laurent Destailleur
3b8e99dd4e Fix: Bad menu def 2013-01-15 18:49:53 +01:00
fhenry
b6b9f06a72 Remove bad retrun parameters 2013-01-15 18:32:14 +01:00
Laurent Destailleur
1851aa4646 Fix: Move not stable feature as experimental. Disabled box by default
because there is still some bug (pgsl support, filters) and major
problem to solve (it slow down seriously Dolibarr, result not accurate
for some status).
2013-01-15 15:26:46 +01:00
Laurent Destailleur
0c6c2eca8a Fix: Removed warning 2013-01-15 13:11:36 +01:00
Laurent Destailleur
086b223c81 Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-01-15 11:50:15 +01:00
Regis Houssin
9152d5575f Merge pull request #609 from FHenry/3.3
Add option to fecth extrafield even if extranal extrafield module is
2013-01-15 02:35:56 -08:00
Laurent Destailleur
11bb3d0137 Fix: Several fixes into boxes management: boxes was loaded twice, logs
were wrong, global conf missing.
2013-01-15 11:35:10 +01:00
fhenry
52b4d98849 remove parenthesis not usefull 2013-01-15 11:11:24 +01:00
fhenry
f214c06b1e Add option to fecth extrafield even if extranal extrafield module is
enabled. Usefull for web service to fetch optionnal from llx_extrafields
even if record or update is manage by hook with external module
2013-01-15 10:20:19 +01:00
Laurent Destailleur
285bcbecb7 Fix: init of new syslog handler system 2013-01-14 17:12:13 +01:00
Laurent Destailleur
49313fff3b Fix: External user should not see boxes of modules not allowed to
external users.
2013-01-14 13:06:08 +01:00
Laurent Destailleur
b9dc76ebaf Fix: List of contacts when connected as external user. 2013-01-14 12:27:19 +01:00
Laurent Destailleur
0861fbfeb6 Fix: Missing kenya currency 2013-01-13 23:47:23 +01:00
Laurent Destailleur
0f6506d457 Fix: not object error with option SERVICE_ARE_ECOMMERCE_200238EC 2013-01-13 18:57:55 +01:00
Laurent Destailleur
a30dd12cc0 Merge pull request #598 from cbattarel/3.3
show costprice instead of buyingprice if setup of margin module is costprice
2013-01-11 06:50:35 -08:00
Christophe Battarel
38e9290729 show costprice instead of buyingprice if setup of margin module is costprice 2013-01-11 15:33:34 +01:00
Laurent Destailleur
37b6bab893 Fix: Missing lang loading 2013-01-10 22:45:55 +01:00
Laurent Destailleur
14dede1a74 Fix: Protection to avoid renaming a user with a login that already
exists.
2013-01-10 21:32:10 +01:00
Laurent Destailleur
049bf1ee00 Merge pull request #594 from marcosgdf/doc-typo
Fixed typos in console message
2013-01-10 12:14:24 -08:00
Laurent Destailleur
03b906808e Merge pull request #593 from marcosgdf/eu-vat
Updated EU VAT area links and added Isle of Man
2013-01-10 12:12:25 -08:00
Laurent Destailleur
9251d9a6ac Merge pull request #592 from marcosgdf/minor
Minor changes related to commit 8ac33e9
2013-01-10 12:10:49 -08:00
Laurent Destailleur
275cecccbc Merge pull request #587 from marcosgdf/translations
Fixed problems with translations
2013-01-10 12:09:45 -08:00
Laurent Destailleur
3c6e4bc267 Merge pull request #590 from marcosgdf/3.3
Fix bug in Adherent class not saving civilite=0
2013-01-10 12:09:23 -08:00
Laurent Destailleur
941afd7545 Fix: Because of autocomplete, password was changed when we changed
login.
2013-01-10 20:12:14 +01:00
Laurent Destailleur
0c7b469192 Fix: Session was lost when user change its own login. 2013-01-10 20:07:44 +01:00
Laurent Destailleur
de03f57620 Fix: Translation 2013-01-10 18:02:06 +01:00
Marcos García
9d57ea7cd0 Fixed typo in console message 2013-01-10 16:24:07 +01:00
Laurent Destailleur
eb078e6c8a Fix: Missing css entries. Solve look of ecm module. 2013-01-10 16:06:13 +01:00
Laurent Destailleur
a1282f5236 Fix: Navigation into projects 2013-01-10 16:04:23 +01:00
Marcos García
8e7a66a544 Fixed indentation problem 2013-01-10 14:20:03 +01:00
Marcos García
809367d23b Updated EU VAT area links and added Isle of Man
Isle of Man is in included in UK state as shown in http://ec.europa.eu/taxation_customs/common/faq/faq_1179_en.htm#9
2013-01-10 14:17:43 +01:00
Marcos García
593db37423 Function getTotalDiscount of commonobject.class.php should always return a float for precission 2013-01-10 13:53:46 +01:00
Marcos García
acd4e8f747 Updated changelog with renamed ODT tag 2013-01-10 13:51:52 +01:00
Laurent Destailleur
8ac33e98e7 Fix: property object_total_discount was not working when quantity was
not 1.
2013-01-10 12:58:46 +01:00
Marcos García
e6e183aad4 Fix bug in Adherent class not saving civilite=0 2013-01-10 12:03:08 +01:00
Marcos García
be40114541 Fixed translation problems with Prelevement module 2013-01-09 21:33:55 +01:00
Marcos García
a1e17978d1 Little es_ES typo (again) 2013-01-09 21:24:40 +01:00
Marcos García
7b1aed65cf Little es_ES typo 2013-01-09 21:23:50 +01:00
Marcos García
3f42c198db Little typo in es_ES translation 2013-01-09 20:53:28 +01:00
Laurent Destailleur
128fef0ea2 Merge pull request #586 from FHenry/3.3
Fix [ bug #668 ] Event created with a profile is not visible by the same
2013-01-09 11:49:03 -08:00
fhenry
e369d5dfd8 Fix [ bug #668 ] Event created with a profile is not visible by the same
profile
2013-01-09 20:34:36 +01:00
Laurent Destailleur
abccfdd168 Fix: Option SERVICE_ARE_ECOMMERCE_200238EC 2013-01-09 19:56:43 +01:00
Laurent Destailleur
a415a988a3 Fix: Packaging of doliwamp 2013-01-09 15:19:00 +01:00
Laurent Destailleur
4099b98540 Prepare 3.3 release 2013-01-09 14:55:24 +01:00
Laurent Destailleur
f2af70628d Prepare 3.3 release 2013-01-09 14:43:55 +01:00
Laurent Destailleur
c282f33d4d Update changelog 2013-01-09 14:39:50 +01:00
Laurent Destailleur
24b50b8ed3 Fix: Example an label of category import 2013-01-09 13:29:12 +01:00
Laurent Destailleur
4a2a8e438d Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-01-09 11:45:04 +01:00
Laurent Destailleur
7114ae33fe Fix: Doc not uptodate 2013-01-09 11:44:45 +01:00
Laurent Destailleur
e31aedbc50 Merge pull request #584 from jfefe/3.3
Fix bug #666 : error when sending intervention card
2013-01-09 02:23:00 -08:00
Regis Houssin
a7ed40b10d Fix: empty value if combobox disabled 2013-01-09 10:43:21 +01:00
jfefe
1a3cecfae5 Fix bug #666 : error when sending intervention card 2013-01-09 06:30:27 +01:00
Laurent Destailleur
64d2a662de Merge pull request #582 from marcosgdf/translations
Improvements in translations
2013-01-08 14:03:52 -08:00
Laurent Destailleur
f3df7a2fec Fix: An easier to understand fix. Remove also not recommanded "continue
2" instructions.
2013-01-08 22:59:36 +01:00
Laurent Destailleur
1555bb681c Merge pull request #581 from simnandez/3.3
Fix: [ bug #662 ] Bad aplication of Localtax2 for suppliers if country is Spain
2013-01-08 13:38:38 -08:00
Laurent Destailleur
b7a5e226c9 Fix: Disable menu entry of a not avilable feature 2013-01-08 18:53:45 +01:00
Laurent Destailleur
53df0766cb Fix: Translation 2013-01-08 18:47:40 +01:00
Laurent Destailleur
334b5b5dac Fix: Minor fix 2013-01-08 18:31:55 +01:00
Laurent Destailleur
5aeec9eab2 Fix: line into theme 2013-01-08 16:46:06 +01:00
Marcos García
ae98ebc793 There is no need to warn the user as the picto already does 2013-01-08 12:14:11 +01:00
Laurent Destailleur
77f177d846 Fix: Bad selection of option 2013-01-08 11:04:29 +01:00
Laurent Destailleur
a555b47acd Merge branch '3.3' of https://github.com/Dolibarr/dolibarr.git into 3.3 2013-01-08 10:45:59 +01:00
Laurent Destailleur
47482202ac Fix: Missing picto 2013-01-08 10:28:22 +01:00
simnandez
596df78d39 Fix: [ bug #662 ] Bad aplication of Localtax2 for suppliers if country
is Spain
2013-01-08 08:46:48 +01:00
Laurent Destailleur
f96c1d83cb Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-01-07 23:22:20 +01:00
Laurent Destailleur
0889bdc3eb Fix: Error using static method 2013-01-07 23:20:00 +01:00
Laurent Destailleur
eca1e3a7e1 Look: Minor fix in themes 2013-01-07 17:57:39 +01:00
Laurent Destailleur
989e0ba4c3 Merge pull request #580 from marcosgdf/3.3
Updated change log
2013-01-06 16:57:53 -08:00
Marcos García
0e21a61eca Updated change log 2013-01-07 01:26:33 +01:00
Laurent Destailleur
e5f5e38736 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-01-07 00:41:32 +01:00
Laurent Destailleur
091e469050 Fix: [ bug #622 ] attaching wrong file when sending the invoice via
e-mail
2013-01-07 00:40:18 +01:00
eldy
24d3fdfe6c Fix: bad setup entry page 2013-01-06 21:52:59 +01:00
eldy
c0bbd5d730 Merge branch '3.3' of git://github.com/Dolibarr/dolibarr.git into 3.3 2013-01-06 20:46:58 +01:00
eldy
492d00ee86 Fix: Syntax error with pgsql 2013-01-06 20:45:03 +01:00
Laurent Destailleur
567cd00f5c Fix: Lost button
Conflicts:
	htdocs/compta/facture.php
	htdocs/fourn/facture/fiche.php
2013-01-06 13:33:09 +01:00
Laurent Destailleur
a40047d464 Merge pull request #578 from marcosgdf/translations
Translations!
2013-01-06 04:03:14 -08:00
Laurent Destailleur
d70f671ba0 Merge pull request #576 from simnandez/3.3
Fix: [ bug #662 ] Bad aplication of Localtax2 for suppliers if country is Spain
2013-01-06 04:02:12 -08:00
Marcos García
ad5d2c3459 Added missing translations, improved es_ES translations and translated untranslated text in modules admin page 2013-01-05 19:23:16 +01:00
Laurent Destailleur
d44b086527 Fix: font size 2013-01-05 16:32:58 +01:00
simnandez
c0246c07b1 Fix: [ bug #662 ] Bad aplication of Localtax2 for suppliers if country
is Spain
2013-01-05 16:03:00 +01:00
Laurent Destailleur
a9ff3c2be1 Merge pull request #574 from simnandez/3.3
Fix: Modify Spanish localtax2 to new rate
2013-01-05 03:29:54 -08:00
Laurent Destailleur
9ce7a430b8 Merge pull request #573 from marcosgdf/translations
Added missing translations
2013-01-05 03:18:33 -08:00
simnandez
c639d80372 Fix: [ bug #662 ] Bad aplication of Localtax2 for suppliers if country
is Spain
2013-01-05 09:47:54 +01:00
simnandez
32b19802b1 Fix: [ bug #662 ] Bad aplication of Localtax2 for suppliers if country
is Spain
2013-01-05 09:43:40 +01:00
simnandez
773882c8c0 Merge branch '3.3' of git://github.com/Dolibarr/dolibarr.git into 3.3 2013-01-05 09:42:20 +01:00
simnandez
d0265db3d2 Fix: Modify Spanish localtax2 to new rate 2013-01-05 09:07:01 +01:00
Marcos García
5bf93ca41a Added missing es_ES translation & fixed typo 2013-01-04 23:56:22 +01:00
Marcos García
d27519338a Added missing translations
Reverted removal of strings in PR #570
Added missing strings to en_US
2013-01-04 22:34:55 +01:00
Cedric GROSS
ff3231045b Fix: A better fix for escaping data: escape for database must be done
during sql request forging. Also renamed tag to tag.

Merge:
Security fix emailing read and
unsubscribe

unsubscribe can lead to email disclosure

Conflicts:
	htdocs/public/emailing/mailing-unsubscribe.php
2013-01-04 18:08:34 +01:00
Laurent Destailleur
d86eab713c Merge pull request #570 from simnandez/3.3
Fix: Withdrawal payment warning
2013-01-04 08:14:16 -08:00
simnandez
9a3681e6b0 Fix: Bug creating invoice from a contract 2013-01-04 16:23:15 +01:00
simnandez
b9ec558501 Trad: Add missing ca_ES and es_ES translations 2013-01-04 16:13:03 +01:00
simnandez
68866eaa5f Fix: Withdrawal payment warning 2013-01-04 11:07:31 +01:00
Laurent Destailleur
a9ce8083cb Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2013-01-04 00:24:39 +01:00
Laurent Destailleur
86645d8be9 Fix: Field birthday must be hidden for moral members 2013-01-04 00:23:46 +01:00
Laurent Destailleur
932c36e695 Merge pull request #568 from FHenry/3.3
CheckStyle
2013-01-03 11:47:57 -08:00
Regis Houssin
c730aff87b Fix: possibility to activate jquery plugins with a constant 2013-01-03 19:14:22 +01:00
fhenry
3e05581c70 Same as last commit 2013-01-03 15:13:07 +01:00
fhenry
f2a4e42712 CheckStyle
I check everypalce where this function is call in Dolibarr, and to be
consistant it's better to use new attribute names
2013-01-03 14:44:04 +01:00
Laurent Destailleur
b667400cc1 Fix: [ bug #618 ] External accounts can access confidential informations
(a lot)
2013-01-02 21:35:28 +01:00
Laurent Destailleur
96416735df Fix: [ bug #618 ] External accounts can access confidential informations
(a lot)
2013-01-02 18:43:59 +01:00
Laurent Destailleur
380d036d5c Fix: Bad test onto project list id 2013-01-02 15:12:46 +01:00
Laurent Destailleur
cd6e3464db Fix: Several fixes for bad management of external/internal users. 2013-01-02 14:35:16 +01:00
Laurent Destailleur
049a6dc742 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2012-12-31 14:00:38 +01:00
Laurent Destailleur
83a3720f43 Merge pull request #563 from marcosgdf/3.3
Little bug fixes and translations
2012-12-31 04:49:21 -08:00
Laurent Destailleur
53ee487358 Fix: Use standard syntax for version 2012-12-31 13:40:35 +01:00
Laurent Destailleur
dbdc4e6ce8 Fix: Normalize option names 2012-12-31 13:40:13 +01:00
Laurent Destailleur
f7a53eebfb Fix: Suggested start date of subscription must be validation date. 2012-12-31 13:39:42 +01:00
Marcos García
674034e648 Translated some strings in the code 2012-12-31 05:55:06 +01:00
Marcos García
d7121f6351 Updated demo trigger class with last changes in triggers 2012-12-31 05:30:09 +01:00
Marcos García
93c5acbf39 There's actually no CONTRACT_MODIFY trigger 2012-12-31 05:26:56 +01:00
Marcos García
50975b61b7 Revert "Fixed typo introduced in commit ca2b3f11b166f395e11af74d825989737920e925"
This reverts commit a90db96421.
2012-12-31 05:22:18 +01:00
Marcos García
adc9897d16 Agenda contacts type wasn't shown in $elementList 2012-12-31 05:10:35 +01:00
Marcos García
3b68faa119 Added missing translations 2012-12-31 05:10:18 +01:00
Marcos García
632b2d7a05 Fixed a bug when modifying a 0% local tax 2012-12-31 04:11:56 +01:00
Marcos García
406ce9e11c Update changelog + update deprecated triggers in database 2012-12-31 04:11:13 +01:00
Marcos García
a90db96421 Fixed typo introduced in commit ca2b3f11b1 2012-12-31 04:10:48 +01:00
Laurent Destailleur
6b6f725f99 Update doc file 2012-12-31 03:13:11 +01:00
Laurent Destailleur
f345e43dad Fix: date 2012-12-30 22:23:23 +01:00
Laurent Destailleur
815f43904d Fix: Warning if setup not complete 2012-12-30 21:56:53 +01:00
Laurent Destailleur
df43d477fc Merge pull request #562 from simnandez/3.3
Fix: Supplier is mandatory into adding invoice suppliers
2012-12-30 08:38:34 -08:00
Laurent Destailleur
86c9011437 Merge pull request #561 from marcosgdf/3.3
Updated changelog + also removed unused triggers when migrating from 3.2.X
2012-12-30 08:36:25 -08:00
Laurent Destailleur
eef861a743 Fix: Update copyright file 2012-12-30 17:26:43 +01:00
Laurent Destailleur
753d79f181 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2012-12-30 17:14:06 +01:00
Laurent Destailleur
0d09de0cf8 Fix: Normalize trigger names for fichinter module. 2012-12-30 17:13:43 +01:00
Regis Houssin
b838895db9 Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
Laurent Destailleur
a1b0fbcc2c Fix: [ bug #659 ] Comment in recurrent invoices is not stored
Fix: Missing payment mode
2012-12-30 14:14:52 +01:00
Laurent Destailleur
201829e60c Fix:[ bug #653 ] Error while creating additional attributes 2012-12-30 13:49:37 +01:00
Laurent Destailleur
717657dd05 Fix: [ bug #654 ] Event rapport PDF showing ActionAC_OTH_AUTO 2012-12-30 12:40:32 +01:00
Marcos García
c3a75307b0 Merge branch '3.3' of git://github.com/Dolibarr/dolibarr into 3.3 2012-12-30 12:37:48 +01:00
Laurent Destailleur
ca2b3f11b1 Fix: Several fix in trigger names 2012-12-30 12:24:53 +01:00
Laurent Destailleur
3fb60304db Fix: Css for ecm module 2012-12-30 12:02:54 +01:00
simnandez
f05176dc8a Fix: Date is mandatory into adding customer orders 2012-12-30 10:49:11 +01:00
simnandez
9732a2f336 Fix: Supplier is mandatory into adding invoice suppliers 2012-12-30 10:26:18 +01:00
simnandez
f0f45b70da Fix: Supplier is mandatory into adding invoice suppliers 2012-12-30 10:24:20 +01:00
Marcos García
10fff57b51 Let's call them just triggers 2012-12-30 02:48:08 +01:00
Laurent Destailleur
b8303bdd5f Fix: CSS 2012-12-29 23:40:16 +01:00
Marcos García
99bf09dc9e Updated changelog + also removed unused triggers when migrating from 3.2.x 2012-12-29 18:28:24 +01:00
Laurent Destailleur
703c82f9e2 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2012-12-29 17:35:07 +01:00
Laurent Destailleur
5e05e0aa55 Fix: Trigger names 2012-12-29 17:34:52 +01:00
Laurent Destailleur
bc489773e8 Merge pull request #559 from FHenry/3.3
Fix [ bug #658 ] Seacrh on bank do not work for description
2012-12-29 08:32:47 -08:00
Laurent Destailleur
1667228d74 Fix: Normalize new trigger names. 2012-12-29 16:42:30 +01:00
Laurent Destailleur
caf4130fb7 Merge branch '3.3' of git@github.com:Dolibarr/dolibarr.git into 3.3 2012-12-29 16:41:28 +01:00
Laurent Destailleur
44fe52d5b2 Fix: Missing field 2012-12-29 16:32:47 +01:00
Laurent Destailleur
35a9fbda59 Merge pull request #556 from marcosgdf/3.3
Improved translations
2012-12-29 07:29:29 -08:00
Laurent Destailleur
a84e06cbfc Merge pull request #555 from simnandez/3.3
Trad: Update cashdesk ca_ES and es_ES to spanish rule RD1619/2012
2012-12-29 07:28:55 -08:00
fhenry
32966fe25f Fix [ bug #658 ] Seacrh on bank do not work for description 2012-12-29 16:02:02 +01:00
Laurent Destailleur
ca6e9643ea Fix: Pb in json function for objects 2012-12-29 12:21:13 +01:00
Laurent Destailleur
7d60c33c1a Fix: typo 2012-12-29 12:16:45 +01:00
Laurent Destailleur
17a3204578 Fix: dol_json_encode was wrong with objects 2012-12-29 06:51:12 +01:00
Laurent Destailleur
215139ca72 Fix: Test for css must match test for js 2012-12-29 05:14:07 +01:00
Marcos García
bae8a749b8 Replaced 'Tel' string with 'Phone' to allow translation 2012-12-29 02:51:35 +01:00
Marcos García
4af2a4f875 Improved agenda translations 2012-12-29 02:21:00 +01:00
Laurent Destailleur
6ff9444903 Fix: temporary folder when creating ODT segments on Windows or system… 2012-12-29 01:25:56 +01:00
Marcos García
354c00b9ca CerfaFR donation template wasn't translating payment mode 2012-12-29 01:13:31 +01:00
Marcos García
316552f4ea Added missing translation and fixed references to incorrect variable 2012-12-29 00:59:16 +01:00
Marcos García
1b153aef93 Fixed donation payment mode translation and another problem with donation edit form 2012-12-29 00:46:25 +01:00
Marcos García
c8eac78a8d Translated labels that weren't being translated and improved es_ES translations 2012-12-29 00:24:55 +01:00
Marcos García
7ff5db3385 Improved and added missing es_ES translations 2012-12-29 00:21:50 +01:00
Laurent Destailleur
1722d58196 Fix: Selection of choice in demo page 2012-12-28 22:05:36 +01:00
Laurent Destailleur
2bec26c32a Fix: Some fix into menu translation 2012-12-28 19:18:04 +01:00
Laurent Destailleur
012ee020a4 Fix: Bad label 2012-12-28 15:48:20 +01:00
simnandez
87434fa9c8 Trad: Update cashdesk ca_ES and es_ES to spanish rule RD1619/2012 2012-12-28 11:41:53 +01:00
Laurent Destailleur
8436f0666d Fix: [ bug #252 ] Contrat : pas d'éditeur WYSIWYG
Fix: Margins information must be visible for orders, proposals and
invoices only.
Fix: Delete button for contracts not visible
2012-12-28 11:36:31 +01:00
Laurent Destailleur
a8012d0f18 Fix: [ bug #617 ] champs non repris lors d'une création de commande à
partir d'une propale
2012-12-27 18:02:36 +01:00
Laurent Destailleur
1a530d0ca9 Fix: Broken translation 2012-12-27 17:12:35 +01:00
Laurent Destailleur
ba4be70a5e Fix: External user was not using correct menu handler. 2012-12-27 17:06:55 +01:00
Laurent Destailleur
f566cd4d99 Fix: Use date of user to define if an action is in past or future. 2012-12-27 15:43:52 +01:00
Laurent Destailleur
251f4f3742 Fix: Avoid duplicate link 2012-12-27 15:33:18 +01:00
Laurent Destailleur
c7b3f2099e Fix: [ bug #648 ] Warning into instalation
Install must use new log modules.
2012-12-27 15:22:40 +01:00
Laurent Destailleur
f9700dc941 Fix: [ bug #651 ] FusionPDF created files cannot be deleted 2012-12-27 14:37:15 +01:00
Laurent Destailleur
fc71073e4e Fix: Minor fix into user interface 2012-12-27 14:25:52 +01:00
Laurent Destailleur
d4f81a9ee7 Fix: Predefined invoice feature was broken. 2012-12-27 12:51:38 +01:00
Laurent Destailleur
6ba4a22d21 Fix: Migration of payment id not complete 2012-12-27 01:22:00 +01:00
Laurent Destailleur
d607d84da7 Merge pull request #552 from simnandez/3.3
Fix: Box issues
2012-12-26 11:08:24 -08:00
simnandez
a209d5cd55 Fix: Box issues 2012-12-26 12:01:34 +01:00
Laurent Destailleur
3aa9c75b0d Fix: If thirdparty module not enabled, company and contact fields must
not be visibles
2012-12-21 17:56:40 +01:00
Laurent Destailleur
fe469b83ab Fix: [ bug #641 ] Suppression d'un administrateur 2012-12-21 17:45:13 +01:00
Laurent Destailleur
9b95b3e891 Fix: opensuse package 2012-12-21 17:21:50 +01:00
Laurent Destailleur
ec767a9772 Correct path determination if origin is project 2012-12-21 15:39:21 +01:00
Laurent Destailleur
e102592fcd Merge pull request #551 from simnandez/develop
Trad: Add missing credit note payments ca_ES and es_ES translations
2012-12-21 06:35:47 -08:00
Laurent Destailleur
a3f679183f Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-12-21 14:26:26 +01:00
Laurent Destailleur
6716003960 Fix: delete 2012-12-21 14:23:48 +01:00
Laurent Destailleur
f1671e5acf Fix: Remove last chackstyle errors 2012-12-21 11:59:55 +01:00
simnandez
c04518e592 Fix: Add ChangeLog for 3.2.3 compared to 3.2.2 2012-12-21 10:25:37 +01:00
simnandez
61ee604888 Trad: Add missing credit note payments ca_ES and es_ES translations 2012-12-21 09:27:51 +01:00
Laurent Destailleur
65b59b8d92 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-21 04:14:24 +01:00
Laurent Destailleur
8f2baf08ac Fix: Checkstyle 2012-12-21 04:14:02 +01:00
Laurent Destailleur
5dfefa1313 Fix: doxygen 2012-12-20 20:16:10 +01:00
Laurent Destailleur
6b43810881 Merge pull request #550 from simnandez/develop
GUI: Amarok disabled buttons more accurated
2012-12-20 10:35:59 -08:00
Laurent Destailleur
1d17d990bd Fix: Patch from antar3s: Re: Filter on company type in modSociete 2012-12-20 17:42:23 +01:00
simnandez
a10cdcc72e GUI: Amarok disabled buttons more accurated 2012-12-20 17:16:32 +01:00
Laurent Destailleur
bcd2fead3d Fix: patch from forum "User permissions on modAgenda" 2012-12-20 17:07:15 +01:00
Laurent Destailleur
e4855e153b Fix: Comment 2012-12-20 11:38:26 +01:00
Laurent Destailleur
5541d1bf42 Prepare 3.3 packaging 2012-12-19 21:11:35 +01:00
Laurent Destailleur
e39ec132e5 Fix: Checkstyle 2012-12-19 20:59:08 +01:00
Laurent Destailleur
78a1354a52 Fix: Solve phpunit regression.
Include an option to support local tax of type 7 (need more time to
validate this type).
2012-12-19 18:51:49 +01:00
Laurent Destailleur
e9d7a4adc6 Fix: Removed warnings 2012-12-19 15:29:27 +01:00
Laurent Destailleur
db5c81bf95 Fix: Exclude external modules table 2012-12-19 15:03:41 +01:00
Laurent Destailleur
11ab579639 Fix: Several fixes to avoid PDF lib conflicts. 2012-12-19 13:06:45 +01:00
Laurent Destailleur
d69e88435c Add option to have alternative method when ftp does not work 2012-12-18 23:45:51 +01:00
Laurent Destailleur
c0b3690a11 Fix: FTP login 2012-12-18 20:58:50 +01:00
Laurent Destailleur
dff532159d Fix: FTP modules fails with servers than need passive connection 2012-12-18 18:17:07 +01:00
Laurent Destailleur
6952a5f465 Fix: syntax error 2012-12-18 15:00:35 +01:00
Laurent Destailleur
19d5458ded Prepare freeze of 3.3 2012-12-18 14:21:56 +01:00
Laurent Destailleur
6b01c45210 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-12-18 13:14:29 +01:00
Laurent Destailleur
4cc44292e7 Fix: Maxi debug of holiday module 2012-12-18 13:12:11 +01:00
Regis Houssin
fb0869e0d0 Merge pull request #549 from jfefe/webservices
New webservice method to create a thirdparty with contact and user
2012-12-18 02:49:45 -08:00
jfefe
0d8969e2a6 New webservice method to create a thirdparty with contact and user 2012-12-18 11:17:46 +01:00
Laurent Destailleur
7cbd938c9c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-18 10:10:19 +01:00
Laurent Destailleur
e4b4f459da Fix: Missing drop of table deprecated into 3.2 2012-12-18 10:10:04 +01:00
Regis Houssin
d1e883de9b Merge pull request #548 from simnandez/develop
Fix: showrefnav fails with multicompany
2012-12-18 00:46:12 -08:00
simnandez
c70bba3a57 Fix: showrefnav fails with multicompany 2012-12-18 09:01:04 +01:00
Laurent Destailleur
752aabfc86 Fix: dynamic menu does not works with auguria. Add a temporary fix. 2012-12-17 23:19:48 +01:00
Laurent Destailleur
515f30591d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-12-17 15:48:16 +01:00
Laurent Destailleur
7cf47b2e24 Fix: Missing translation 2012-12-17 15:47:01 +01:00
Regis Houssin
9d5df5c518 Merge pull request #546 from FHenry/develop
Manage Extrafields deletion for contact
2012-12-16 14:22:15 -08:00
fhenry
2d2aaad1b0 Manage Extrafields deletion for contact 2012-12-16 23:18:20 +01:00
Laurent Destailleur
a83329f6c1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-16 19:46:33 +01:00
Laurent Destailleur
5cf07a214c Fix: Close db at wrong place 2012-12-16 19:42:58 +01:00
Laurent Destailleur
4ad38f91fa Merge pull request #544 from simnandez/develop
Qual: Delete unused files of the amarok theme
2012-12-16 10:28:03 -08:00
Regis Houssin
65090c582d Fix: checkstyle 2012-12-15 11:39:47 +01:00
Regis Houssin
bbbfc8c018 Merge pull request #545 from ricardosequeira/develop
Develop
2012-12-14 19:23:46 -08:00
simnandez
a528c7786c Qual: Delete unused files of the amarok theme 2012-12-14 23:21:42 +01:00
Laurent Destailleur
5a99076cf5 Fix: Clean amarok style. Removed hard coded length of close cells. 2012-12-14 18:35:50 +01:00
Laurent Destailleur
0c0653b3d8 Fix: Removed rubbish line 2012-12-14 18:34:24 +01:00
Laurent Destailleur
cfa52f7ff3 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-12-14 17:56:49 +01:00
Laurent Destailleur
c36d013971 Fix: Link missing 2012-12-14 17:55:42 +01:00
Laurent Destailleur
f7d1aaac52 Merge pull request #543 from simnandez/develop
GUI: Amarok improvements
2012-12-14 08:12:58 -08:00
simnandez
e1a8368c28 GUI: Amarok buttons black label are most visible 2012-12-14 17:10:39 +01:00
simnandez
d934aa12a9 GUI: Amarok improved login screen 2012-12-14 17:05:56 +01:00
Laurent Destailleur
7b1ed60375 It is better to use external link instead of adding hard coded
list.
2012-12-14 14:39:22 +01:00
Laurent Destailleur
902b6c100b Merge pull request #542 from simnandez/develop
GUI: Update amarok theme to work into 3.3
2012-12-14 05:28:43 -08:00
simnandez
c05ed2a146 GUI: Update amarok theme to work into 3.3 2012-12-14 13:01:57 +01:00
Regis Houssin
fdc7d0b9d3 Merge pull request #540 from FHenry/develop
Full standard extrafields management in Thirds Party Web service
2012-12-13 11:13:15 -08:00
fhenry
0e1d83c698 Change sample data for createThirdParty 2012-12-13 19:58:36 +01:00
fhenry
d03d81a174 Merge remote-tracking branch 'origin/develop' into develop 2012-12-13 19:47:27 +01:00
Regis Houssin
46dcd895d6 Merge pull request #541 from FHenry/webservice_actioncomm1
Web Service Agenda/Actioncomm with extrafields
2012-12-13 10:30:26 -08:00
fhenry
ff5f01646a Web Service Agenda/Actioncomm with extrafields 2012-12-13 19:11:03 +01:00
fhenry
605d236ecc WebService Agenda/Actioncomm 2012-12-13 19:09:40 +01:00
fhenry
0f07297329 variable spelling error 2012-12-13 17:33:53 +01:00
Regis Houssin
b09a44701e Fix: wrong EOL 2012-12-13 13:08:03 +01:00
fhenry
3fc51c2786 Commit without password 2012-12-13 12:50:52 +01:00
fhenry
14c1616adb Full standard extrafields management in Thirds Party Web service 2012-12-13 12:34:00 +01:00
Regis Houssin
5f41174cfa Fix: bad path for photo and uniformize code 2012-12-13 11:42:59 +01:00
Laurent Destailleur
57742b347a Fix: Bad position of field with non A4 pages 2012-12-12 20:58:49 +01:00
Laurent Destailleur
a11e4b5124 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-12 19:02:38 +01:00
Laurent Destailleur
c107697dc1 Fix: Var not always initialized 2012-12-12 18:14:21 +01:00
Laurent Destailleur
a0afef83a3 Merge pull request #539 from simnandez/develop
Fix: Withdrawal spanish generation adapted to new AEAB rule: profid1 is mandatory
2012-12-12 08:51:48 -08:00
simnandez
8ac17c8206 Trad: Fix typo error into es_ES 2012-12-12 17:12:50 +01:00
simnandez
7cbcd1fc5d Fix: Withdrawal spanish generation adapted to new AEAB rule: profid1 is
mandatory
2012-12-12 17:00:29 +01:00
simnandez
488d482508 Fix: Withdrawal spanish generation adapted to new AEAB rule: profid1 is
mandatory
2012-12-12 16:57:53 +01:00
Laurent Destailleur
e2e86e16d0 Merge pull request #537 from grandoc/develop
Develop
2012-12-12 07:01:54 -08:00
Laurent Destailleur
13d5a2e12c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-12 14:46:33 +01:00
Laurent Destailleur
bdb112c820 Fix: Using bad root url. 2012-12-12 14:46:13 +01:00
Laurent Destailleur
411bdfda5f Merge pull request #538 from simnandez/develop
Fix: Use transcountry instead trans for localtaxes label
2012-12-12 05:41:56 -08:00
Laurent Destailleur
2c2465ffad Comment to make test 2012-12-12 13:14:28 +01:00
simnandez
614a8e48a2 Fix: Use transcountry instead trans for localtaxes label 2012-12-12 12:40:30 +01:00
Grand Philippe
993e484bdd prepare multi-user event 2012-12-12 12:17:56 +01:00
Laurent Destailleur
4413c0a5a7 Fix: upload user file 2012-12-12 11:57:56 +01:00
Laurent Destailleur
5d370c7e96 Fix: force redirect to https could not work for some environments 2012-12-12 02:37:15 +01:00
Laurent Destailleur
0128cc36c8 Fix: url example 2012-12-12 01:57:52 +01:00
Laurent Destailleur
caf897cfa7 Clean code to help debug pb with payment methods. 2012-12-12 01:49:23 +01:00
Laurent Destailleur
a972199296 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-12 00:51:15 +01:00
Laurent Destailleur
38b1c540ef Fix: Bad url forging 2012-12-12 00:49:32 +01:00
Grand Philippe
dc0558989b Merge remote-tracking branch 'origin/develop' into develop 2012-12-11 19:04:54 +01:00
Laurent Destailleur
7c19fc97b8 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-12-11 18:05:39 +01:00
Regis Houssin
15fd12e0b7 Merge pull request #536 from cbattarel/develop
fix missing $conf global var in llxHeader() function
2012-12-11 06:20:20 -08:00
Christophe Battarel
27670d62ba fix missing $conf global var in llxHeader() function 2012-12-11 15:14:43 +01:00
Laurent Destailleur
cee805f473 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-12-11 11:00:37 +01:00
Laurent Destailleur
080276a504 Fix: bad escape function. email missing 2012-12-11 10:59:03 +01:00
Laurent Destailleur
1c02dc4f9d Fix: better translation 2012-12-11 10:50:35 +01:00
Laurent Destailleur
f4459ee1f1 Fix: Regression detected by PHPUnit 2012-12-10 19:06:59 +01:00
Laurent Destailleur
43fe5766a1 New: Holiday need to support half day to be usefull. 2012-12-10 16:10:08 +01:00
Grand Philippe
8b5262cd82 fix 2012-12-10 11:28:39 +01:00
Grand Philippe
a91a96e72e merge 2012-12-10 10:02:13 +01:00
Laurent Destailleur
88ffda4bfb Qual: Enhance quality controls for 3.3 2012-12-10 02:00:21 +01:00
Laurent Destailleur
8e764e88e6 Update TCPF
Added japanese font files.
2012-12-10 01:47:39 +01:00
Laurent Destailleur
ab5998d32f Fix: japanese language 2012-12-10 01:42:25 +01:00
Ricardo Sequeira
cf3831d4da Improved translation 2012-12-09 21:17:59 +00:00
Laurent Destailleur
21bd9bf749 Merge pull request #533 from FHenry/develop
comment
2012-12-09 11:56:54 -08:00
Laurent Destailleur
5931df82c6 Qual: Clean code to make choice of default value easier. 2012-12-09 20:54:45 +01:00
Laurent Destailleur
70be706347 New: Add greece regions and provinces 2012-12-09 20:01:16 +01:00
fhenry
adcb70eafa Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-12-09 19:13:47 +01:00
Laurent Destailleur
773e3decf6 Fix: typo 2012-12-09 18:50:10 +01:00
Laurent Destailleur
c44481fb91 Normalize key name 2012-12-09 18:47:23 +01:00
Laurent Destailleur
f4def0cd89 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-09 18:45:03 +01:00
Laurent Destailleur
03cacbcd1d Ignore external modules 2012-12-09 18:44:31 +01:00
Laurent Destailleur
f47422f551 Fix: Errors into turnover reports 2012-12-09 18:40:01 +01:00
Laurent Destailleur
77ca4241a5 New: Can input a payment back onto an credit note. 2012-12-09 18:39:42 +01:00
fhenry
ec09f79a2f comment 2012-12-08 19:23:13 +01:00
Regis Houssin
158f581f03 Merge pull request #532 from FHenry/develop
prepare module for "Single login at one time"
2012-12-08 10:09:29 -08:00
fhenry
0e76875e9c prepare single login at one time 2012-12-08 18:41:32 +01:00
Laurent Destailleur
8a5485c9b6 New: Skin can be personalized according to environment. 2012-12-08 18:38:14 +01:00
Laurent Destailleur
cd676b323d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-08 18:32:18 +01:00
fhenry
4570c57bfd Change-Id: I003fa45e6e932350b9d21b00ed4817b943470223 2012-12-08 18:28:19 +01:00
fhenry
131dc88139 prepare module for "Single login at one time" 2012-12-08 18:14:13 +01:00
Laurent Destailleur
c3e3595d9c Look: Uniformize style 2012-12-08 17:42:08 +01:00
Regis Houssin
88b3e53891 Merge pull request #531 from FHenry/develop
Fix bug PGSQL
2012-12-08 08:21:36 -08:00
Laurent Destailleur
3ec2ea0b25 Fix: More complete system info 2012-12-08 17:14:51 +01:00
fhenry
b3d21a4320 Fix [ bug #634 ] Install faild on PostGreSQL
Fix  [ bug #631 ] Index Creation failed on fresh install with PostgreSQL
2012-12-08 17:01:07 +01:00
Regis Houssin
48438e1176 Merge pull request #530 from FHenry/develop
Better bahaviour for pgSQL autoupdate trigger
2012-12-08 07:47:56 -08:00
fhenry
dbe00e9fbd Better bahaviour for pgSQL autoupdate trigger 2012-12-08 16:01:05 +01:00
Laurent Destailleur
58118bb366 Fix: error during include when multicompany module enabled. 2012-12-08 15:35:08 +01:00
Laurent Destailleur
ac3eb2e86c Fix: Use different css cache file for each user. This fix problem when
using personalised constants that change style.
2012-12-08 15:29:24 +01:00
Laurent Destailleur
afb45e1b31 Comment 2012-12-08 15:26:27 +01:00
Regis Houssin
bfd44da265 Merge pull request #529 from FHenry/develop_extrafielddeletion
Extrafield remove and PgSQL field tms convertion
2012-12-08 05:41:41 -08:00
Laurent Destailleur
6a60b78b28 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-08 14:25:36 +01:00
Laurent Destailleur
b119ab5539 Prepare 3.3 freeze. 2012-12-08 14:24:57 +01:00
fhenry
1d6bc23f4d - Uniformize Extrafield deletion for adherent,user,product,societe by
using commonobject method
 - Add convertion of tms timestamp special case in mysql for pgsql
2012-12-08 14:23:52 +01:00
Laurent Destailleur
db91526643 Fix: Solve conflict into migration/backup/restore (child tables
must be after parent tables).
Fix: Migration of old version
2012-12-08 14:16:39 +01:00
Regis Houssin
defdc863d4 Merge pull request #528 from FHenry/develop_extrafieldwebservice1
Add third party extrafield in web service exposure
2012-12-08 04:34:01 -08:00
fhenry
574a950dc6 Add third party extrafield in web service exposure 2012-12-08 13:30:39 +01:00
Laurent Destailleur
706f752fe1 Merge pull request #527 from FHenry/agenda_extrafield1
[Task 632] : Add standard extra field feature for Agenda
2012-12-08 04:03:39 -08:00
fhenry
99f01f1dca [Task 632] : Add standard extra field feature for Agenda 2012-12-08 12:49:20 +01:00
Regis Houssin
9bc32b1b70 Merge pull request #524 from simnandez/develop
Trad: Fix ca_ES and es_ES translations
2012-12-08 01:47:25 -08:00
Regis Houssin
4e79a445c5 Merge pull request #522 from atm-maxime/develop
Fix : minor html fix + changelog
2012-12-08 01:46:59 -08:00
simnandez
5778683849 Trad: Fix ca_ES and es_ES translations 2012-12-07 17:13:09 +01:00
Regis Houssin
f984b669b2 Fix: Fix: Use another method to help avoid having a space in value in
order to use this value with jquery
2012-12-07 13:48:11 +01:00
Maxime Kohlhaas
4cffe3e5a3 Fix : minor html fix + changelog 2012-12-07 11:06:51 +01:00
Regis Houssin
be7d545297 Fix: wrong variable name 2012-12-07 10:50:16 +01:00
Regis Houssin
8ea3614a3c Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-12-07 10:48:10 +01:00
Regis Houssin
7ff3002993 Fix: Check if amount is numeric, for example, an error occured when
amount value = o (letter) instead 0 (number)
2012-12-07 10:47:36 +01:00
Laurent Destailleur
41302b7b75 Merge pull request #521 from grandoc/develop
fix : typo
2012-12-06 11:15:10 -08:00
Laurent Destailleur
3858085a7f Add option MAIN_HELPCENTER_LINKTOUSE to define target link "I need help"
onto logon page.
2012-12-06 17:59:37 +01:00
Grand Philippe
c6a3add952 fix : typo 2012-12-06 17:09:12 +01:00
Regis Houssin
50206bbd73 Fix: avoid errors 2012-12-06 10:43:27 +01:00
Laurent Destailleur
084bd3a4a8 Merge pull request #520 from cbattarel/develop
update changeLog with latest new features
2012-12-05 15:27:59 -08:00
Christophe Battarel
4560c2e9d7 update changeLog with latest new functionnalities 2012-12-05 23:20:34 +01:00
Laurent Destailleur
f68a3e4056 Update demo file with last structure 2012-12-05 21:59:16 +01:00
Laurent Destailleur
2cfd8fbd64 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-05 21:32:49 +01:00
Laurent Destailleur
7250592d0c Code comments 2012-12-05 21:32:18 +01:00
Laurent Destailleur
463f99a6b8 Merge pull request #519 from cbattarel/develop
add search box to find product by supplier ref
2012-12-05 11:37:13 -08:00
Christophe Battarel
bbc470b3ae add search box to find product by supplier ref 2012-12-05 19:56:23 +01:00
Christophe Battarel
88db3da002 allowing product search by supplier ref 2012-12-05 19:51:25 +01:00
Laurent Destailleur
fc031ede73 Merge pull request #518 from cbattarel/develop
create intervention from ordered services
2012-12-05 10:21:02 -08:00
Christophe Battarel
b68153ce9a add button in order to create intervention from services ordered 2012-12-05 19:07:07 +01:00
Christophe Battarel
0c064c777a add ability to fichinter to be created from an order (services only) 2012-12-05 19:01:18 +01:00
Christophe Battarel
2a4261db28 add linked object storage in fichinter 2012-12-05 18:48:02 +01:00
Laurent Destailleur
db2eb79f34 Merge pull request #517 from atm-maxime/develop
Fix : on supplier bill validation, question about stock was asking for s...
2012-12-05 07:14:05 -08:00
Maxime Kohlhaas
64f5d59ddf Fix : on supplier bill validation, question about stock was asking for stock decrease instead of increase 2012-12-05 15:42:59 +01:00
Regis Houssin
136f454111 Merge pull request #516 from atm-maxime/develop
Trans : counter to 0 every month translations
2012-12-05 06:02:18 -08:00
Maxime Kohlhaas
2824278414 Trans : counter to 0 every month translations 2012-12-05 14:56:29 +01:00
Maxime Kohlhaas
5992ebcdbc New : option to reset numbering to 0 every month using @99 in the mask 2013-02-06 11:52:49 +01:00
Laurent Destailleur
4a5062283d Merge pull request #515 from atm-maxime/develop
New : option to reset numbering to 0 every month using @99 in the mask
2012-12-05 04:19:16 -08:00
Regis Houssin
a4f0b7f0df Fix: avoid error with external modules 2012-12-05 11:36:10 +01:00
Regis Houssin
3d4621327c Fix: EOL !! tant que ce problème sera présent, les risques de problèmes
de merge et de conflits sera présent !! il faut utiliser la dernière
version d'Eclipse et de Egit...
2012-12-05 11:18:45 +01:00
Regis Houssin
644a05f6dc Merge pull request #457 from atm-maxime/mko559
Task # 559 : price by quantity
2012-12-05 00:15:27 -08:00
Regis Houssin
f1b4d6036d Merge pull request #514 from jfefe/webservices
Webservice contact
2012-12-05 00:14:19 -08:00
Maxime Kohlhaas
954a578ebd Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-12-05 09:10:55 +01:00
jfefe
9a8f81c740 Remove deprecated fields
fix : data is an array, not an object
2012-12-05 06:42:05 +01:00
Regis Houssin
f6bfd97734 Merge pull request #513 from jfefe/webservices
Webservices  : contact
2012-12-04 19:14:43 -08:00
jfefe
8ae10ef9f0 New webservice methods for contact :
- new method to get contact info
- new method to create a contact
- new method to get a list of contact for a thirdparty
2012-12-05 03:47:25 +01:00
jfefe
771634c66b Add contact info when get an user by webservice 2012-12-05 02:11:11 +01:00
jfefe
002ccaf81d Merge branch 'develop' of git://github.com/Dolibarr/dolibarr.git into webservices 2012-12-05 01:12:40 +01:00
Laurent Destailleur
2a49c201b1 Merge pull request #512 from jfefe/webservices
Generate Create method in script to build webservice from class
2012-12-04 16:12:23 -08:00
jfefe
3c6c954cfc Generate Create method in script to build webservice from class 2012-12-05 01:08:42 +01:00
Laurent Destailleur
bee97a6b3b Restore another lost commit.
Fix: Restore compatibility with FPDF.

Conflicts:
	htdocs/core/lib/pdf.lib.php
2012-12-05 00:47:20 +01:00
Laurent Destailleur
5d27fd61df Beautify instal pg.
Fix: Debian package
Restore PHPUnit test (A PHP Unit test that fails should not be removed
but fixed and be kept in error until fix is published. Otherwise,
PHPUnit are useless).

Conflicts:
	htdocs/install/fileconf.php
	htdocs/install/inc.php
2012-12-05 00:45:10 +01:00
Laurent Destailleur
e3d07621eb Fuck git. Restore another lost commit. 2012-12-04 20:51:45 +01:00
Laurent Destailleur
bbeab3e098 A PHPUnit test was successfull must never be removed. Creating
such test is useless if we removed them when they report error. When an
error is reported, the PHPUnit error must be kept until the code is
fixed (regression) or until the test is fixed (if code has changed
in a not compatible way, should be rare). But test must not be
removed. The error must be reported until fixed.
2012-12-03 20:26:27 +01:00
Laurent Destailleur
b0b0f06655 Fix: Removed useless code 2012-12-03 20:23:16 +01:00
Laurent Destailleur
9b9b8b4156 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-03 20:19:53 +01:00
Laurent Destailleur
bac4bf07a3 New: Add patch from pgrand to start link of several contacts onto an
event
2012-12-03 20:19:35 +01:00
Regis Houssin
a0bed6c47f Fix: For avoid conflicts with external modules 2012-12-03 17:29:08 +01:00
Regis Houssin
4388be7295 FIXME $ident is not defined 2012-12-03 17:16:04 +01:00
Regis Houssin
b5d4a16f1b FIXME shiittttt 2012-12-03 11:24:30 +01:00
Regis Houssin
c0fba8262f FIXME pending correction of the "addline" method 2012-12-03 11:20:03 +01:00
Regis Houssin
0c142594be Fix: try invert test 2012-12-03 11:14:36 +01:00
Regis Houssin
0a72aeca88 Fix: avoid phpunit error if supplier price not exist 2012-12-03 11:06:39 +01:00
Regis Houssin
9079c1fb3b Fix: phpunit error 2012-12-03 09:58:18 +01:00
Laurent Destailleur
7d8c0837b6 Restore another lost commit. 2012-12-02 19:45:35 +01:00
Laurent Destailleur
518b169a89 Increase field size (some system need to store an url here) 2012-12-02 19:41:49 +01:00
Laurent Destailleur
7b824665a5 Revert "Increase field size (some system need to store an url here)"
This reverts commit 7ade37831e.
2012-12-02 19:41:06 +01:00
Laurent Destailleur
7ade37831e Increase field size (some system need to store an url here) 2012-12-02 19:33:39 +01:00
Laurent Destailleur
86e08e87d5 Fix: date format 2012-12-02 18:21:26 +01:00
Laurent Destailleur
fd22705de4 New: Log handler can now manage indent on database transactions 2012-12-02 15:20:45 +01:00
Laurent Destailleur
d578d0be2b Perf: Log optimize. Saved 10KB of memory. 2012-12-02 14:33:24 +01:00
Laurent Destailleur
d428549e15 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-02 13:51:52 +01:00
Laurent Destailleur
938dc92ab6 Qual: More complete error management into delete methods 2012-12-02 13:51:33 +01:00
Laurent Destailleur
6fcc32b326 Comments 2012-12-02 12:59:06 +01:00
Regis Houssin
00aa22e1d7 Fix: wrong EOL 2012-12-02 11:03:23 +01:00
Christophe Battarel
c3aa626e18 function getTypeOfLocalTaxFromRate now receives thirdparty in parameter and returns array of localtax type and amount/rate. no more sql in pdf model. 2012-12-02 10:52:53 +01:00
Christophe Battarel
f0e75bf11a dont use ES translation for labels 2012-12-02 10:52:04 +01:00
Christophe Battarel
785491ca2c add function gettypeoflocaltax and modify pdf models 2012-12-02 10:51:18 +01:00
Christophe Battarel
8544003d7b remove unused arrays into pdf models (localtaxes)
Conflicts:
	htdocs/core/modules/commande/doc/pdf_einstein.modules.php

Change-Id: I633bfc4b0ec39f9121662d0f876f1edb36173e8e
2012-12-02 10:49:29 +01:00
Christophe Battarel
093468420a show local taxes on crabe pdf model 2012-12-02 10:42:24 +01:00
Laurent Destailleur
09bb10b2a6 Restore lost commit 2012-12-01 15:50:39 +01:00
simnandez
3ab0b26d00 Trad: Update ca_ES and es_ES profid of countries 2012-12-01 15:47:52 +01:00
simnandez
c365dbc679 New: [ task #314 ] Can define if prof id are mandatory or not 2012-12-01 15:47:39 +01:00
simnandez
4f2f56fced New: [ task #314 ] Can define if prof id are mandatory or not 2012-12-01 15:47:33 +01:00
simnandez
d8651ca830 Trad: Add missing margins translations 2012-12-01 15:47:28 +01:00
simnandez
d14308e07d Trad: Add ca_ES and es_ES missing translations 2012-12-01 15:47:22 +01:00
simnandez
af304638c8 Fix: Add to areas not working if we navigate with shownavref 2012-12-01 15:47:16 +01:00
Laurent Destailleur
4136c27516 RESTORE CODE WITH ID D2adaf7. The Merge daacf79 as lost more than 50
commits !
2012-12-01 15:45:05 +01:00
Maxime Kohlhaas
69fa1e9d10 Fix : replace PRODUIT_PRICE_BY_QTY by PRODUIT_CUSTOMER_PRICES_BY_QTY 2012-12-01 14:38:59 +01:00
Maxime Kohlhaas
e45438994c Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-12-01 14:36:51 +01:00
Laurent Destailleur
bba1492621 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-12-01 12:23:12 +01:00
Laurent Destailleur
d30b74e69e Merge pull request #508 from simnandez/develop
Fix: Add to areas not working if we navigate with shownavref
2012-12-01 02:56:11 -08:00
Laurent Destailleur
daacf797c4 Merge pull request #500 from cbattarel/develop
[Task #204] more local taxes manangement
2012-12-01 02:49:45 -08:00
Laurent Destailleur
d2adaf7fdc Merge pull request #506 from FHenry/develop
Add import_key attribute into contact class creation SQL request
2012-12-01 02:49:24 -08:00
Laurent Destailleur
31b37c5aff Fix: Length not hard coded 2012-12-01 11:31:02 +01:00
simnandez
a2123d0fe9 Trad: Update ca_ES and es_ES profid of countries 2012-11-30 21:49:27 +01:00
simnandez
b4e16827dc New: [ task #314 ] Can define if prof id are mandatory or not 2012-11-30 21:23:12 +01:00
Laurent Destailleur
624c0fa040 Fix: Restore compatibility with FPDF. 2012-11-30 20:31:43 +01:00
Laurent Destailleur
9d17b8f96c Fix: Label not complete 2012-11-30 19:39:22 +01:00
simnandez
6487baa081 New: [ task #314 ] Can define if prof id are mandatory or not 2012-11-30 18:46:05 +01:00
simnandez
dda12c3d70 Trad: Add missing margins translations 2012-11-30 17:58:12 +01:00
simnandez
f0ba52445d Trad: Add ca_ES and es_ES missing translations 2012-11-30 17:36:48 +01:00
simnandez
dbf1a727be Fix: Add to areas not working if we navigate with shownavref 2012-11-30 16:20:01 +01:00
Laurent Destailleur
008f5fbcfc New: extrafields are available onto users cards. 2012-11-30 15:55:59 +01:00
Christophe Battarel
b70df3762c Merge branch 'develop' of https://github.com/cbattarel/dolibarr into develop 2012-11-30 10:58:57 +01:00
Christophe Battarel
04718b1832 resolve conflict 2012-11-30 10:57:42 +01:00
fhenry
f7b6f44767 oops, correct version 2012-11-30 04:51:11 +01:00
fhenry
1315e9a2ba Add import_key attribute into contact class creation SQL request 2012-11-30 04:40:06 +01:00
Regis Houssin
75fa37cde9 Fix: avoid warning in strict mode 2012-11-30 00:41:31 +01:00
Regis Houssin
c37ebea688 Fix: use $object->id instead $id for security 2012-11-30 00:35:38 +01:00
Regis Houssin
969b510a6a Fix: best method 2012-11-30 00:29:13 +01:00
Regis Houssin
5d1b5d5e0c Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-30 00:06:54 +01:00
Regis Houssin
31785c8868 Fix: uniformize code 2012-11-30 00:06:25 +01:00
Laurent Destailleur
2ccf9462e4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-29 23:12:31 +01:00
Laurent Destailleur
b12469c562 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/holiday/fiche.php
2012-11-29 23:12:16 +01:00
Laurent Destailleur
b507c12b13 Merge pull request #503 from atm-maxime/mko608
Qual : remove multi fetch
2012-11-29 14:08:03 -08:00
Laurent Destailleur
49a6c661fd Merge pull request #505 from FHenry/develop
Fix installation error Erreur SQL : DB_ERROR_SYNTAX - insert into
2012-11-29 14:07:47 -08:00
Laurent Destailleur
d5de68b985 Merge pull request #504 from simnandez/develop
Qual: Uniformize withdrawals tabs
2012-11-29 14:05:13 -08:00
Laurent Destailleur
184cced303 New: Implement all call to allow to remove a tab by an external module 2012-11-29 23:02:02 +01:00
fhenry
a49bf61f33 Add AGENDA_USE_EVENT_TYPE configuration into Agande module configuration 2012-11-29 19:09:36 +01:00
Regis Houssin
3005a4f7cf Fix: use specific code for avoid conflict 2012-11-29 18:37:37 +01:00
Regis Houssin
ffbeb38747 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-29 18:31:00 +01:00
Regis Houssin
583dfb225c New: add possibility to force label of buttons and hide the second
button for dialog info only
2012-11-29 18:30:16 +01:00
fhenry
c3ced863c1 Fix installation error Erreur SQL : DB_ERROR_SYNTAX - insert into
llx_c_actioncomm (id, code, type, libelle, module, active, position)
values ( 5, 'AC_RDV', 'system', 'Rendez-vous' ,NULL, ,1 1); - You have
an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near '1 1)' at line 1
2012-11-29 17:59:28 +01:00
Laurent Destailleur
17e0aedebb Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-29 13:20:53 +01:00
Laurent Destailleur
a62f2a7c8d New: Add vat rate for south africa. 2012-11-29 12:53:12 +01:00
Christophe Battarel
51d87f8f4a function getTypeOfLocalTaxFromRate now receives thirdparty in parameter and returns array of localtax type and amount/rate. no more sql in pdf model. 2012-11-29 11:36:59 +01:00
Regis Houssin
36ca334821 FIXME: this return create an error in jenkins 2012-11-29 10:43:05 +01:00
Regis Houssin
d97f1937f8 Fix: UPGRADE ECLIPSE AND EGIT WITH THE LAST VERSION PLEASE !!!! 2012-11-29 10:25:33 +01:00
Regis Houssin
88fcfa9533 Fix: uniformize code 2012-11-29 10:23:47 +01:00
Maxime Kohlhaas
e3d6b0dd9e Fix : remove print_r... 2012-11-29 09:52:20 +01:00
simnandez
f348fabf4d Qual: Uniformize withdrawals tabs 2012-11-29 09:34:10 +01:00
Laurent Destailleur
e62b3acef6 Fix: Translation 2012-11-29 01:59:31 +01:00
Laurent Destailleur
0b05d12e84 Fix: Bad picto 2012-11-29 01:27:24 +01:00
Laurent Destailleur
3d10689eca Qual: Maxi debug of withdrawal module. It is possible to understand how
it works now !
2012-11-29 01:18:57 +01:00
Maxime Kohlhaas
19f3866b05 Fix : have to fetch object after create to reload values + thirdparty must be loaded if mode = create 2012-11-29 01:05:45 +01:00
Maxime Kohlhaas
1fc35d7d42 Fix : value returned after order confirm was 0 if update OK, and order page wasn't reloaded 2012-11-29 00:38:39 +01:00
Maxime Kohlhaas
0587b06cf4 Fix : global error print + no use of & for affectation 2012-11-29 00:20:24 +01:00
Laurent Destailleur
60fc84a4d9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-29 00:07:21 +01:00
Laurent Destailleur
91e6087d1b Perf: Try to reduce amount of memory used to show events 2012-11-29 00:07:05 +01:00
Laurent Destailleur
9f02b6e5ac Merge pull request #502 from simnandez/develop
Trad: Add ca_ES and es_ES missing translations
2012-11-28 10:43:33 -08:00
Laurent Destailleur
8212700c41 Fix: EOL 2012-11-28 19:25:12 +01:00
Laurent Destailleur
b45ef4b578 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-28 19:19:56 +01:00
Laurent Destailleur
effe169850 Fix: pdf_getPDFFontSize must be after pdf_getInstance 2012-11-28 19:19:39 +01:00
simnandez
740810abca Fix: Select of notifications events is showed in french 2012-11-28 18:35:00 +01:00
simnandez
5c86d21941 Fix: Select of notifications events is showed in french 2012-11-28 18:31:52 +01:00
Maxime Kohlhaas
a6b6085772 Qual : remove multi fetch 2012-11-28 18:13:02 +01:00
simnandez
f70bbded5f Trad: Add ca_ES and es_ES missing translations 2012-11-28 18:12:18 +01:00
Christophe Battarel
53cf2ca8f5 dont use ES translation for labels 2012-11-28 17:57:17 +01:00
Christophe Battarel
e459736977 add function gettypeoflocaltax and modify pdf models 2012-11-28 17:47:15 +01:00
Laurent Destailleur
fc83b47f99 Merge pull request #501 from atm-maxime/develop
Fix : multicompany compatibility + contact creation country field
2012-11-28 07:06:10 -08:00
Maxime Kohlhaas
a9941480f1 Fix : contact default country 2012-11-28 15:34:42 +01:00
Maxime Kohlhaas
2f743cd7f8 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-11-28 15:32:27 +01:00
Laurent Destailleur
b1c13e373a Fix: A better fix to remove fk_pays. 2012-11-28 15:31:55 +01:00
Maxime Kohlhaas
5e5cb1da92 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-11-28 14:53:48 +01:00
Laurent Destailleur
9139427d7f Fix: Country default not selected 2012-11-28 14:51:39 +01:00
Laurent Destailleur
caab5ac4e0 New: Add option to be able to select onto automatic event and manual
event (or both) into calendar view. Note: For backward compatibility
reason, this will works only for new events.
Qual: Disable old deprecated event code.
2012-11-28 14:47:30 +01:00
Christophe Battarel
f0918a2536 remove unused arrays into pdf models (localtaxes) 2012-11-28 12:13:03 +01:00
Christophe Battarel
1e8aae4de4 show local taxes on crabe pdf model 2012-11-28 12:11:42 +01:00
Laurent Destailleur
cbdcb50ce2 Merge pull request #499 from cbattarel/develop
show local taxes on invoice
2012-11-28 03:11:07 -08:00
Christophe Battarel
12284bf676 show local taxes on invoice 2012-11-28 12:04:31 +01:00
Laurent Destailleur
8fdf4aaf3b Merge pull request #498 from FHenry/develop
Add cancel button (go bask -1 history)
2012-11-28 02:37:00 -08:00
Laurent Destailleur
2b51132b32 Translation of localtax admin. 2012-11-28 11:34:52 +01:00
Laurent Destailleur
b34ce6e2f0 Merge pull request #495 from cbattarel/develop
[ task #204 ] Manage canadian, spain and other country double VAT with a generic system. various updates for local taxes
2012-11-28 02:08:07 -08:00
Maxime Kohlhaas
925e59e246 Fix : default country on contact creation was not set properly 2012-11-28 11:04:54 +01:00
fhenry
fca43941b0 Add cancel button (go bask -1 history) 2012-11-28 10:57:55 +01:00
Maxime Kohlhaas
32f5b4efa6 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-11-28 10:57:51 +01:00
Christophe Battarel
b9cdde88c7 show localtaxes on einstein pdf model 2012-11-28 10:43:21 +01:00
Christophe Battarel
e8e4cc08de show localtaxes in order 2012-11-28 10:35:16 +01:00
Christophe Battarel
0e144dd7c3 fix wrong test for localtax assuj check 2012-11-28 10:32:24 +01:00
Christophe Battarel
f00b4b5527 correction to allow global local tax (type 7) on localtax1 2012-11-28 10:24:40 +01:00
Christophe Battarel
cee8e16e7e correct wrong check for localtaxes 2012-11-28 09:32:41 +01:00
Laurent Destailleur
65110ead88 Merge pull request #496 from FHenry/develop
Update Common Object update_contact method to allow to change the
2012-11-27 11:32:53 -08:00
Laurent Destailleur
7ee2ce3c21 Merge pull request #492 from atm-maxime/mko527
New : go directly into supplier invoice number field after cloning
2012-11-27 11:08:14 -08:00
Laurent Destailleur
da9ac187dd Merge pull request #493 from atm-maxime/mko545
Qual : clean unused code
2012-11-27 11:08:01 -08:00
Laurent Destailleur
53d997f59b Merge pull request #494 from atm-maxime/mko608
Task # 608 : add clone function on supplier order
2012-11-27 11:07:03 -08:00
Laurent Destailleur
85c702423e Merge pull request #497 from simnandez/develop
[ task #204 ] Manage canadian, spain and other country double VAT with a generic system. Add spanish tests
2012-11-27 11:01:25 -08:00
fhenry
5c94912e66 Add datehourpicker in editfieldval method to allow display of hour 2012-11-27 18:35:51 +01:00
simnandez
0bed303596 Trad: Added english (arabi saudia) into ca_ES and es_ES 2012-11-27 17:54:42 +01:00
simnandez
8dc0aec754 [ task #204 ] Manage canadian, spain and other country double VAT with a
generic system. Add spanish tests
2012-11-27 16:52:52 +01:00
Christophe Battarel
203a03c4d1 show local taxes on pdf propale azur model 2012-11-27 15:56:45 +01:00
Christophe Battarel
46089bb03c also update ttc with global local taxes 2012-11-27 15:43:52 +01:00
Christophe Battarel
3b8f002e4f display of total local taxes 2012-11-27 15:37:16 +01:00
Christophe Battarel
e87bb02323 retrieve global local taxes in update_price function 2012-11-27 15:34:46 +01:00
Christophe Battarel
9f03b56348 dont put global local tax on lines 2012-11-27 15:33:11 +01:00
fhenry
f456a4d0fe Update Common Object update_contact method to allow to change the
fk_socppoeple linked
2012-11-27 15:26:14 +01:00
Laurent Destailleur
a495bcefaa Fix: language translation for araby saudia 2012-11-27 14:13:42 +01:00
Laurent Destailleur
49730ac24f Code comments only 2012-11-27 13:58:06 +01:00
Christophe Battarel
e919ce893a check if company has localtaxes for its country 2012-11-27 13:05:21 +01:00
Laurent Destailleur
6c9d6eda56 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-27 09:34:34 +01:00
Laurent Destailleur
959e061373 Added english (arabi saudia) 2012-11-27 09:34:14 +01:00
Laurent Destailleur
3f64b533f4 Fix: [ bug #607 ] Nom de société avec guillemets 2012-11-26 16:06:50 +01:00
Laurent Destailleur
4abae05c26 Qual: Uniformize behaviour of product selection 2012-11-26 13:37:40 +01:00
Laurent Destailleur
c9edac9cd6 Try to fix differently pb of change/keyup because current change has a
regression (no way to use ajax select onto supplier orders when using
keybord or mouse selection).
2012-11-26 13:33:18 +01:00
Laurent Destailleur
d9fb0c941b Qual: remove select to have id same with combo and ajax 2012-11-26 13:28:02 +01:00
Laurent Destailleur
641f4b1ecc Qual: Change to unformize returns of hooks. 2012-11-26 13:26:50 +01:00
Laurent Destailleur
4480af348c Fix: Cols at wrong place 2012-11-26 11:57:20 +01:00
Laurent Destailleur
b4ebd7e852 Qual: Uniformize code and fix a regression 2012-11-26 11:36:45 +01:00
Ricardo Sequeira
4be60985bf Translation improved 2012-11-25 21:48:39 +00:00
Laurent Destailleur
6c8b00b82f Fix: Removed duplictae key 2012-11-25 21:00:51 +01:00
Laurent Destailleur
3de396afa6 Fix: Class not found 2012-11-25 20:42:53 +01:00
Laurent Destailleur
41275e006e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-25 20:39:12 +01:00
Laurent Destailleur
b977ea5d87 Fix: Regression. Show bad error message when we add a product with no
prices defined.
2012-11-25 20:38:39 +01:00
Ricardo Sequeira
1f5b23ae39 Improved Translation 2012-11-25 16:04:08 +00:00
Ricardo Sequeira
73d4c92fa3 Improved translation 2012-11-24 20:07:54 +00:00
Ricardo Sequeira
ec96490710 Improved translation 2012-11-24 16:44:25 +00:00
Ricardo Sequeira
4b6393c175 Improved translation 2012-11-24 15:32:38 +00:00
Ricardo Sequeira
e26880a455 Improved translation 2012-11-24 15:10:47 +00:00
Maxime Kohlhaas
437d082308 Fix : multicompany comptability 2012-11-24 00:06:54 +01:00
Ricardo Sequeira
be9e3e4b30 Translation improved 2012-11-23 17:10:11 +00:00
Maxime Kohlhaas
3306d91ce1 Task # 608 : forgot to clone lines... Now lines are also cloned and prices are valid prices at the clone date 2012-11-23 09:00:17 +01:00
Maxime Kohlhaas
0bb3f766f6 New : Add clone function on supplier order + global object fetch instead of each case 2012-11-22 23:38:35 +01:00
Maxime Kohlhaas
5c9058e688 Qual : clean unused code 2012-11-22 21:56:06 +01:00
Maxime Kohlhaas
ba3ae073d7 New : go directly into supplier invoice number field after cloning 2012-11-22 19:59:31 +01:00
Maxime Kohlhaas
0d6aee24f3 Fix : table displayed not like others 2012-11-22 16:35:51 +01:00
Maxime Kohlhaas
9e4cba13c8 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-11-22 15:24:10 +01:00
Laurent Destailleur
a171ecd2a2 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-22 11:05:55 +01:00
Laurent Destailleur
e76ef823b8 New: Add a tab into members statistics to count members by nature. 2012-11-21 23:01:36 +01:00
Laurent Destailleur
59a305f6f1 New: no dash line if last item. 2012-11-21 20:35:51 +01:00
Laurent Destailleur
35a887f869 Clean code 2012-11-21 20:24:15 +01:00
Laurent Destailleur
1f263943c5 New: Add option to add slashes lines between lines into PDF. 2012-11-21 19:07:03 +01:00
Laurent Destailleur
e6d7ce1ab6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-21 19:04:51 +01:00
Laurent Destailleur
c49fea217f Fix: Another fix on sql request generation. 2012-11-21 19:00:06 +01:00
Regis Houssin
ce4feffd1f Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-21 18:56:07 +01:00
Regis Houssin
31ecc1987e Fix: remove old code 2012-11-21 18:52:25 +01:00
Laurent Destailleur
06a8ba2be2 Fix: for combo list that use text key. 2012-11-21 18:51:49 +01:00
Laurent Destailleur
6a11016a21 Fix: var_dump must be commented 2012-11-21 18:45:52 +01:00
Laurent Destailleur
66cf1419ca Fix: llx_c_paper_format dictionnary was not up to date. 2012-11-21 17:48:27 +01:00
Laurent Destailleur
c0c13b862a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-21 14:45:33 +01:00
Laurent Destailleur
af637c8afb Qual: Removed "dolibarr" into default email sender. 2012-11-21 14:45:02 +01:00
Laurent Destailleur
6db5185d7e Fix: Missing include 2012-11-20 23:57:35 +01:00
Laurent Destailleur
a44de1b05a Fix: Forget a var_dump 2012-11-20 18:16:15 +01:00
Laurent Destailleur
733214733e Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-20 17:46:44 +01:00
Laurent Destailleur
6c4e1caa04 Merge pull request #491 from simnandez/develop
Trad: Add ca_ES and es_ES translations
2012-11-20 08:34:45 -08:00
Laurent Destailleur
28e95231c0 Merge pull request #483 from atm-maxime/develop
Warning on proposal home pages
2012-11-20 08:34:15 -08:00
Laurent Destailleur
8f0b548714 Debug export filters. Seems to be enougth stable so it is now enabled by
default.
2012-11-20 15:56:44 +01:00
Laurent Destailleur
d9cdb542d5 Debug filter during export 2012-11-20 14:07:52 +01:00
Laurent Destailleur
2e0554bfbd Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-20 13:36:03 +01:00
Laurent Destailleur
ddb3cf6f42 Fix: Debug holiday module 2012-11-20 13:14:16 +01:00
Regis Houssin
babda1d7df Fix: increase field size for GB sort code (xx-xx-xx) 2012-11-20 12:43:00 +01:00
Laurent Destailleur
005716af99 Fix: Missing includes 2012-11-20 12:40:57 +01:00
Laurent Destailleur
a62583e987 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-20 12:33:24 +01:00
Laurent Destailleur
2d000b5df8 Fix: The default select choice was not selected when using jquery dialog
confirm boxes.
2012-11-20 12:23:32 +01:00
Regis Houssin
2d5368e135 Fix: converting line delimiters 2012-11-20 12:11:19 +01:00
Regis Houssin
a3d9b5788c Fix: use keyup instead change to avoid loosing the product id
Fix: strict mode
2012-11-20 12:09:52 +01:00
Laurent Destailleur
6a97a45111 Qual: Rename translation key 2012-11-20 11:27:50 +01:00
Laurent Destailleur
e53f6a383d Fix: Removed a hard coded error code. 2012-11-20 11:23:34 +01:00
Laurent Destailleur
8d50def412 Sec: Do not init password by default when install pages are recalled 2012-11-20 11:22:57 +01:00
simnandez
b593fa2df6 Trad: Add ca_ES and es_ES translations 2012-11-20 09:04:24 +01:00
Laurent Destailleur
6cdb720e9c Fix: Missing info_admin 2012-11-20 00:13:31 +01:00
Laurent Destailleur
72608e7a72 Fix: Checkstyle 2012-11-19 23:43:14 +01:00
Laurent Destailleur
d8d1db143f Typo 2012-11-19 23:26:07 +01:00
Laurent Destailleur
bd90d7979d Qual: Removed duplicate code
Qual: Removed deprecated warning
2012-11-19 17:42:37 +01:00
Laurent Destailleur
0fb126a7e3 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-19 17:30:57 +01:00
Laurent Destailleur
3b861598a7 Doc 2012-11-19 17:29:57 +01:00
Laurent Destailleur
424bd525e8 Merge pull request #490 from simnandez/develop
Fix: Bad calculation of localtax amount calculation if type of localtaxes are 1 3 or 5. Researched by Eldy
2012-11-19 08:24:13 -08:00
simnandez
3fe79b379d Fix: Bad calculation of localtax amount calculation if type of
localtaxes are 1 3 or 5. Researched by Eldy
2012-11-19 17:10:28 +01:00
Maxime Kohlhaas
ec37a5e005 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-11-19 13:31:23 +01:00
Maxime Kohlhaas
eec5ddc08d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-11-19 13:31:15 +01:00
Regis Houssin
1a4c582b05 Merge pull request #489 from jfefe/webservices
New webservice for order with method to get, create and valid an order
2012-11-19 03:16:51 -08:00
jfefe
7157869371 New webservice for order with method to get, create and valid an order 2012-11-19 12:14:51 +01:00
Regis Houssin
f933e03285 Merge pull request #488 from jfefe/webservices
Add information about price when call a product by webservice
2012-11-19 01:33:50 -08:00
jfefe
d9d01c80b0 Add information about price when call a product by webservice 2012-11-19 00:35:01 +01:00
Laurent Destailleur
95afbdbd5e Merge pull request #485 from grandoc/develop
fix some text
2012-11-18 09:55:39 -08:00
Laurent Destailleur
b9868bf0ce Fix: units 2012-11-18 18:44:51 +01:00
Laurent Destailleur
c2d4b4d2e9 Fix: Edit of emailing setup was not possible 2012-11-18 18:36:50 +01:00
Grand Philippe
1b74df932b fix some translations 2012-11-18 17:39:49 +01:00
Grand Philippe
86ed4ba08c fix some translations 2012-11-18 17:29:31 +01:00
Laurent Destailleur
f58d0636a1 Doxygen 2012-11-18 16:55:00 +01:00
Laurent Destailleur
eb7dc8934c Fix: Do not loose label 2012-11-18 16:41:10 +01:00
Laurent Destailleur
46976bd009 Fix: Some fix in volume calculation 2012-11-18 16:21:38 +01:00
Laurent Destailleur
7386dc3aef Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-18 15:24:15 +01:00
Laurent Destailleur
6512fd90a9 New: Can export customer shipments. 2012-11-18 15:24:01 +01:00
Laurent Destailleur
e490aeef43 Merge pull request #487 from jfefe/webservices
Webservices
2012-11-18 06:15:21 -08:00
jfefe
324b11ebb9 Add comment 2012-11-18 13:20:27 +01:00
jfefe
f47ce7b220 New webservice to fetch categories 2012-11-18 13:15:19 +01:00
Laurent Destailleur
5f7aefd645 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-18 12:59:24 +01:00
Laurent Destailleur
a08735d5be Add robots.txt to prevent indexing of dev installations 2012-11-18 12:59:11 +01:00
Laurent Destailleur
e0de91144a Merge pull request #484 from simnandez/develop
Fix: Local taxes. If buyer not subject to localtax no need make database
2012-11-18 03:11:37 -08:00
Laurent Destailleur
f1f080b86a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-18 11:52:19 +01:00
Laurent Destailleur
3fa7afae10 Fix: jquery upgrade has broken background compatibility with plugins.
Upgrade jquery core only if required.
2012-11-18 11:52:04 +01:00
Regis Houssin
dc775c4418 Merge pull request #486 from jfefe/webservices
Webservices
2012-11-17 23:35:33 -08:00
jfefe
0f789f6ad3 New webservice method to get list of product for a specific category 2012-11-17 23:40:58 +01:00
jfefe
40a3704739 New webservice method to get list of usergroups 2012-11-17 23:21:12 +01:00
Laurent Destailleur
fe86b5d29e Fix: 2 other fixes on option MAIN_JS_ON_PAYMENT 2012-11-17 20:25:44 +01:00
Laurent Destailleur
5b02ff3a86 Fix: 3 fixes on option MAIN_JS_ON_PAYMENT (css, bad path, removed
forced var)
2012-11-17 19:55:19 +01:00
Grand Philippe
e5ae46bd11 fix some text 2012-11-17 15:53:04 +01:00
Laurent Destailleur
8c27a3202b Qual: Removed useless files. Speed gain was not significant, has problem
with https and need a lot of work to maintain each time we update an
external lib.
2012-11-17 11:56:30 +01:00
Laurent Destailleur
f4f627f3be Fix typo 2012-11-17 11:51:20 +01:00
Laurent Destailleur
19b7cc66d5 Qual: Remove hidden option so is not efficient and not used files.
Qual: Uniformize code
2012-11-17 11:48:51 +01:00
Maxime Kohlhaas
fc4c5f333f Fix : fatal error while importing, function name wasn't complete 2012-11-17 10:19:26 +01:00
Maxime Kohlhaas
da4383777d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-11-17 10:12:33 +01:00
Laurent Destailleur
255bd565fb Removed warning 2012-11-17 00:58:43 +01:00
Laurent Destailleur
61ed6e10e1 Uniformize code 2012-11-16 18:59:03 +01:00
simnandez
5515f15187 Fix: Localtaxes rules for spain 2012-11-16 16:23:51 +01:00
Laurent Destailleur
2e8e1f759f New: Add warning when we try to load sql from an not existing dir 2012-11-16 13:25:49 +01:00
simnandez
b7f38def61 Fix: Local taxes. If buyer not subject to localtax no need make database
access
2012-11-16 12:13:29 +01:00
Laurent Destailleur
5f9cf28e45 New: Add option to choose if init of form is for a company third party
or an individual third party.
2012-11-15 16:26:05 +01:00
Laurent Destailleur
7c78e1c0f6 Doxygen and normalize code.
New: add more PHPUnit
2012-11-15 14:52:19 +01:00
Maxime Kohlhaas
9911c64f0b Fix : $now not defined and proposal date used instead of end validity to display warning 2012-11-14 22:32:20 +01:00
Maxime Kohlhaas
d687d37573 Fix : $now defined twice 2012-11-14 22:31:54 +01:00
Laurent Destailleur
28b4a03432 Fix: Correct vat 2012-11-14 20:49:19 +01:00
Laurent Destailleur
511a75b5de Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-14 18:59:07 +01:00
Laurent Destailleur
ce10c87e09 Fix: No message to show result
Fix: Must not overwrite property of object
2012-11-14 18:58:55 +01:00
Laurent Destailleur
4c4eeaac2a Fix: Test fails if value is 0 2012-11-14 18:56:47 +01:00
Laurent Destailleur
768e719961 Fix: firstname was missing 2012-11-14 18:32:52 +01:00
Laurent Destailleur
91fd5402d0 Merge pull request #482 from simnandez/develop
Trad: Add missing ca_ES and es_ES translations
2012-11-14 08:25:17 -08:00
simnandez
096699cf18 Trad: Add missing ca_ES and es_ES translations 2012-11-14 15:17:26 +01:00
Laurent Destailleur
54c6de8205 Merge pull request #481 from jfefe/webservices
Webservices
2012-11-14 04:12:24 -08:00
jfefe
23e47b7156 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr.git into webservices 2012-11-14 12:42:16 +01:00
jfefe
8f15dd4df2 Fix : correct invoice line description when calling by webservice 2012-11-14 12:42:04 +01:00
Regis Houssin
8908f977b8 Fix: converting line delimiters !!! 2012-11-14 11:31:08 +01:00
Regis Houssin
474b68b3e4 Fix: strict mode mother 2012-11-14 11:29:22 +01:00
Maxime Kohlhaas
667c8cffae Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-11-14 11:02:35 +01:00
Laurent Destailleur
5e583b65f2 Doxygen 2012-11-14 01:35:39 +01:00
Laurent Destailleur
df42dda452 Doxygen 2012-11-14 01:20:36 +01:00
Laurent Destailleur
3dd9d20d53 Add alternative picto for rendez-vous. 2012-11-14 00:59:52 +01:00
Laurent Destailleur
06c77576b7 New: Maxi debug on feature to filter lines on export. Removed a lot of
bugs but I had to change a lot of thing to fix this. There is still
work to now save filters in session.
2012-11-14 00:27:25 +01:00
Laurent Destailleur
81f9b54618 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-14 00:23:47 +01:00
Laurent Destailleur
1fa9048ca5 Update nl_BE 2012-11-14 00:23:31 +01:00
Regis Houssin
7be2057b00 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-13 22:44:33 +01:00
Regis Houssin
8e141fce14 Fix: strict mode father 2012-11-13 22:43:54 +01:00
Laurent Destailleur
3c7ad3d58c Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-13 17:27:16 +01:00
Laurent Destailleur
22d1847250 Fix: Option MAIN_MAIL_SENDMAIL_FORCE_BA and MAIN_FIX_BUGGED_MTA was not
complete.
2012-11-13 17:25:47 +01:00
Regis Houssin
d9efa95e09 Fix: optimize code 2012-11-13 16:20:15 +01:00
Regis Houssin
84b50f45f8 Fix: strict mode again 2012-11-13 14:44:32 +01:00
Regis Houssin
88658eaf50 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-13 12:32:38 +01:00
Regis Houssin
a0c478a0a2 Fix: strict mode cleaner 2012-11-13 12:32:05 +01:00
Laurent Destailleur
cc648e7eb2 Fix: typo error 2012-11-13 11:09:49 +01:00
Regis Houssin
4ec1d376bf Fix: strict mode journey 2012-11-13 09:02:21 +01:00
Laurent Destailleur
fd82106a19 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-12 19:30:32 +01:00
Laurent Destailleur
f54855e442 Fix: frontoffice and backoffice menu inverted.
Fix: Clean dump
2012-11-12 19:30:17 +01:00
Regis Houssin
5faa7fb075 Fix: for module name with number 2012-11-12 19:09:53 +01:00
Regis Houssin
b95ab2239f Fix: remove unused code 2012-11-12 09:43:12 +01:00
Laurent Destailleur
124366f41a Fix: To be compatible with LDAP synchro, property oldcopy must be set.
We add a warning if not.
2012-11-11 23:31:45 +01:00
Laurent Destailleur
ca7baad663 Translation 2012-11-11 19:45:51 +01:00
Laurent Destailleur
e7164cb243 Fix: Some checkstyle errors 2012-11-11 18:18:57 +01:00
Laurent Destailleur
66755fb166 Fix: Avoid confusion between method getXXX into parent class with
method getXXX into child class. They are not inheritance, so i renamed
method of parent into getXXXForKey.
2012-11-11 18:11:10 +01:00
Laurent Destailleur
842982f134 Doxygen 2012-11-11 17:50:24 +01:00
Laurent Destailleur
f9dec36d7a Fix: Regression 2012-11-11 15:44:02 +01:00
Regis Houssin
2240dd4ac6 Fix: missing tinyint 2012-11-11 15:12:42 +01:00
Laurent Destailleur
7d5c4a3b38 Fix: Fix upgrade
New: Update dump file
Qual: Add label for PHPUnit tests
2012-11-11 14:34:55 +01:00
Laurent Destailleur
d3ebeccff4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-10 16:24:51 +01:00
Laurent Destailleur
f43b26f311 Fix: Bad link 2012-11-10 16:24:20 +01:00
Regis Houssin
f6c56379dc Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-10 16:09:06 +01:00
Regis Houssin
54d4661769 Fix: missing action type for hookmanager 2012-11-10 16:08:26 +01:00
Laurent Destailleur
318ec50134 Merge pull request #479 from atm-maxime/develop
Fix : proposal warning was based on proposal date
2012-11-10 05:56:08 -08:00
Regis Houssin
2ecb9262e7 Fix: wrong access rights and remove unused code 2012-11-10 08:19:33 +01:00
Regis Houssin
57cce6f517 Fix: missing global 2012-11-09 19:34:05 +01:00
Regis Houssin
cbb6ddbe83 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-09 19:24:33 +01:00
Regis Houssin
0e0582c16f Fix: avoid conflicts with external module if triggers used 2012-11-09 19:23:46 +01:00
Maxime Kohlhaas
8824be0260 Fix : proposal warning was based on proposal date instead of proposal end validity on commercial home page 2012-11-09 16:04:30 +01:00
Maxime Kohlhaas
332c077d77 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-11-09 13:46:50 +01:00
Laurent Destailleur
661d37eacf Fix: New vat for switzerland 2012-11-08 12:15:15 +01:00
Laurent Destailleur
365c0397f6 Doc 2012-11-07 20:04:33 +01:00
Laurent Destailleur
e09d266d6d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-07 13:59:38 +01:00
Laurent Destailleur
066d72b5ec typo error 2012-11-07 13:59:26 +01:00
Regis Houssin
afe339a2e2 Fix: strict mode 2012-11-07 12:00:17 +01:00
Regis Houssin
40725e72a5 Fix: missing spanish localtax values update 2012-11-07 11:49:28 +01:00
Laurent Destailleur
579544aa2f Add example of comment 2012-11-07 02:22:25 +01:00
Maxime Kohlhaas
7035ec42f1 Task # 559 : Modifications to store unitprice as in supplier prices 2012-11-07 00:38:53 +01:00
Laurent Destailleur
831fe6a29e Fix: More fix about the new localtax system 2012-11-06 23:45:16 +01:00
Maxime Kohlhaas
5586897f70 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559
Conflicts:
	htdocs/core/class/html.form.class.php
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-11-06 23:07:40 +01:00
Laurent Destailleur
e5fdb468f3 Add info file 2012-11-06 22:57:38 +01:00
Laurent Destailleur
7d01ea7fc3 Fix: Do not break dolibarr usage if log fails 2012-11-06 19:42:03 +01:00
Laurent Destailleur
fff8598282 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-06 19:30:38 +01:00
Laurent Destailleur
f37c559235 Fix: regression 2012-11-06 19:23:23 +01:00
Laurent Destailleur
9c8d653780 Merge pull request #477 from FHenry/develop
Fix bug on mass mailling unsubsscribe fonctionnality
2012-11-06 09:52:32 -08:00
Regis Houssin
869c6e1fda Merge pull request #478 from jfefe/webservices
Minor improvement of webservice for product
2012-11-06 08:44:03 -08:00
jfefe
8a69a258fd image information in webservice product : fix wrong objet 2012-11-06 16:18:26 +01:00
fhenry
e12999bcfd Correct fix 2012-11-06 15:39:47 +01:00
fhenry
9a3c7a230b Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-11-06 15:36:44 +01:00
Laurent Destailleur
348674c438 Merge pull request #476 from simnandez/develop
Fix: if no results do not charge data
2012-11-06 06:26:50 -08:00
jfefe
8175a9a7e5 Add image information in webservice product 2012-11-06 15:16:49 +01:00
Regis Houssin
7de5a7fd3f Fix: compatibility with multicompany 2012-11-06 14:56:49 +01:00
fhenry
3651b8895e Fix bug on mass mailling unsubsscribe fonctionnality 2012-11-06 14:21:17 +01:00
Laurent Destailleur
058325b7f2 Revert "Fix: avoid phpunit error"
This reverts commit 05b359fbff.
2012-11-06 12:48:58 +01:00
simnandez
353c932e11 Fix: if no results do not charge data 2012-11-06 12:33:35 +01:00
Laurent Destailleur
b6643de001 Merge pull request #474 from FHenry/develop
Remove non standard table in Dolibarr Demo script SQL
2012-11-06 02:50:29 -08:00
fhenry
0eb5e9fa83 Remove non standard table in Dolibarr Demo script SQL
(llx_cabinetmed_xxx)
2012-11-06 11:16:40 +01:00
jfefe
9eac0d06ec Add price_ttc value in product properties when call by webservice 2012-11-06 01:41:31 +01:00
Regis Houssin
8954422435 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-05 17:27:01 +01:00
Regis Houssin
72598bf4d4 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-05 17:25:57 +01:00
jfefe
8361cc29a1 Can have the thirdparty status 'active' when creating by webservices 2012-11-05 17:25:30 +01:00
Laurent Destailleur
ba56e679bd Fix: Calculation of default date for payment term was not using
function.
2012-11-05 17:21:05 +01:00
Laurent Destailleur
4cd1bbb0ca Fix: bad data init 2012-11-05 17:01:05 +01:00
Laurent Destailleur
027ad065a5 Removed TODO 2012-11-05 12:04:13 +01:00
jfefe
00ee6e9960 Can have the thirdparty status 'active' when creating by webservices 2012-11-05 03:49:17 +01:00
Laurent Destailleur
5d57677814 Fix: example 2012-11-04 21:20:27 +01:00
Laurent Destailleur
8896803921 New: We can use a dynamic value ($conf->global->XXX for example) into
titles of menus.
New: Can choose menu entry to show with external site module.
2012-11-04 21:19:12 +01:00
Laurent Destailleur
542b6f0731 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-04 19:32:30 +01:00
Laurent Destailleur
bebead8e54 Fix: To fix database integrity problems (I didn't find how
orphelins appears, but they appears on some plateform).
2012-11-04 19:32:14 +01:00
Laurent Destailleur
d28f08c2ed Merge pull request #473 from FHenry/develop
Set unique key index unique in db (Conform to SQL standard) and
2012-11-04 10:15:26 -08:00
fhenry
1f41547dc2 Set unique key index unique in db (Conform to SQL standard) and needed
for migration to other SGBD with key.sql file
2012-11-04 15:55:12 +01:00
fhenry
be79c06c72 Set unique key index unique in db (Conform to SQL standard) and
needed for migration to other SGBD
2012-11-04 15:21:08 +01:00
Regis Houssin
05b359fbff Fix: avoid phpunit error 2012-11-04 10:09:03 +01:00
Laurent Destailleur
80c252dd62 Fix: Use same labels to go back to draft than other elements.
Re-open is for "closed" to a validated status.
Modify is for a validated status to draft.
2012-11-03 21:33:55 +01:00
Laurent Destailleur
454b8b7279 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-03 21:14:38 +01:00
Laurent Destailleur
7e1a74cef1 Fix: If shipment is closed before delivery element is generated, there
was no way to generate it again (dead lock situation).
2012-11-03 21:14:23 +01:00
Regis Houssin
1722db223a Fix: add timepicker default options 2012-11-03 20:41:59 +01:00
Regis Houssin
77e45f70a4 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-11-03 19:16:02 +01:00
Regis Houssin
d0dc336a85 New: jQuery and jQuery UI upgrade
New: jQuery Timepicker addon for Datepicker
2012-11-03 19:15:45 +01:00
Laurent Destailleur
4c60740623 Do not loose input when there is a validation error. 2012-11-03 17:34:57 +01:00
Laurent Destailleur
e25fe89887 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-03 17:00:20 +01:00
Regis Houssin
076fa17593 Fix: missing colspan value 2012-11-03 16:58:50 +01:00
Laurent Destailleur
aae39ecb2e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-03 16:58:23 +01:00
Laurent Destailleur
0f2dac163f Fix: Bad label when validating/paying an invoice from POS module 2012-11-03 16:58:07 +01:00
Regis Houssin
a26ab0e8e1 Fix: add just colspan value 2012-11-03 16:51:41 +01:00
Laurent Destailleur
078b015db8 Work on multitax (vat). Need your test.
Qual: Because params were often missing in calculate_price(), params are
now mandatory.
2012-11-03 16:32:49 +01:00
Laurent Destailleur
8762b44870 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-11-03 16:14:54 +01:00
Laurent Destailleur
135a622076 Fix: Bad parameter 2012-11-03 15:35:11 +01:00
Laurent Destailleur
af0c1a5f76 Fix: Missing parameter 2012-11-03 15:33:49 +01:00
Laurent Destailleur
7f2c6dc6eb Only code comments 2012-11-03 14:44:06 +01:00
Laurent Destailleur
19c617e4a0 Fix: Solve double ";;" 2012-11-03 13:49:31 +01:00
Laurent Destailleur
0c7af5c8a0 Fix: Not enought space for free text. To avoid to edit again and again
value for all templates, I added an option to be able to fix template
onto production when space is not enough.
2012-11-03 13:32:37 +01:00
Laurent Destailleur
f571adf62e Fix: For supplier invoice, we must use properties of supplier to know if
seller use localtax RE and IRPF.
2012-11-03 12:19:47 +01:00
Laurent Destailleur
df7bedf955 Fix: [ bug #592 ] stock sold value is wrong 2012-11-03 12:12:24 +01:00
Laurent Destailleur
d3491e9ac0 Fix: Colors must be set into CSS. 2012-11-03 11:55:39 +01:00
Laurent Destailleur
7fd16c3a7e Qual: Error management 2012-11-03 11:54:32 +01:00
Laurent Destailleur
dac97e2115 Fix: Do not try to show supplie ref if not defined. 2012-11-03 11:39:48 +01:00
Laurent Destailleur
118733c600 Fix: Error message type 2012-11-03 11:26:45 +01:00
Laurent Destailleur
375f464553 Fix: Option FACTURE_DEPOSITS_ARE_JUST_PAYMENTS was not used into
journals.
2012-11-03 04:29:38 +01:00
Laurent Destailleur
79e3b4d792 Fix: Missing br 2012-11-03 04:02:48 +01:00
Laurent Destailleur
4d098efa38 Fix: [ bug #580 ] problème saisie du code bic/swift des coordonénes
bancaires client
2012-11-03 03:34:49 +01:00
Laurent Destailleur
8709933288 Fix: Too much sanitizing 2012-11-03 00:47:09 +01:00
Laurent Destailleur
f8a9733b73 Again 2 pixels missings 2012-11-03 00:37:10 +01:00
Laurent Destailleur
ce12f6980d Ypdate language files for zh_TW 2012-11-02 15:46:12 +01:00
Laurent Destailleur
5f3ceb0081 Fix: Label for payment by cheque using the wrong translation key
Fix: Option to overwrite translation did not work as expected
Fix: Bad translation for greece
2012-11-02 15:41:09 +01:00
Laurent Destailleur
f87865f039 Fix: crazy pagebreak when warterwark is higher than free space. 2012-11-02 14:21:32 +01:00
Laurent Destailleur
43f1c80965 Merge pull request #471 from windchen/myzh_TW
Added new language  zh_TW
2012-11-02 04:28:35 -07:00
Wind Chen
b083c3b692 Added new language zh_TW
1.Added zh_TW directory into /htdoc/langs/
2.Added Language_zh_TW= Traditional Chinese into
/htdoc/langs/en_US/languages.lang
2012-11-01 23:08:24 +08:00
Regis Houssin
a108abddda Fix: disabled ajax for the moment 2012-11-01 10:48:48 +01:00
Laurent Destailleur
0328f0de11 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-31 19:38:28 +01:00
Laurent Destailleur
9b1f70e58e Fix: Trick to solve easily problem of font for some foreign users. 2012-10-31 19:38:16 +01:00
Regis Houssin
455d399bce Fix: remove tag 2012-10-31 16:15:37 +01:00
Regis Houssin
bacc8991b3 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-31 15:51:22 +01:00
Regis Houssin
634b5f7d1b Fix: image is hard defined 2012-10-31 15:50:14 +01:00
Laurent Destailleur
fd7aea9779 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-31 15:21:38 +01:00
Laurent Destailleur
18e5f8dea6 Fix: Bad detection of space left 2012-10-31 15:21:21 +01:00
Laurent Destailleur
b619437377 Merge pull request #469 from camlafit/develop
Return Human readable date product
2012-10-31 07:13:46 -07:00
Laurent Destailleur
34eae83bcc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-31 15:10:09 +01:00
Laurent Destailleur
13ef8491b7 Fix: Error management 2012-10-31 15:09:42 +01:00
Laurent Destailleur
68bf51c8dd Qual: Uniformize PDF code 2012-10-31 14:55:35 +01:00
cam.lafit
a3f0ce9063 Merge all substitutions on same loop (Invoicing with odt)
* It's not necessary to have a redondant loop to substitute all variables
2012-10-31 14:49:27 +01:00
cam.lafit
7b8b015569 Return Human readable date product
* By default date with mktime format, not great on Invoice
2012-10-31 14:49:27 +01:00
Laurent Destailleur
f6d9b2abe3 New: Add hidden option MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT,
MAIN_PDF_MARGIN_TOP, MAIN_PDF_MARGIN_BOTTOM to force margins of
generated PDF.
Qual: Use 2 different var for reserver footer height and free text
height.
2012-10-31 13:48:59 +01:00
Laurent Destailleur
dbfe71922e Fix: Avoid warnings 2012-10-31 12:35:52 +01:00
Regis Houssin
b70af837df Fix: avoid warning 2012-10-31 09:59:24 +01:00
Regis Houssin
2607a8a3dd Merge pull request #470 from atm-maxime/develop
Fix : internal contact not displayed in rouget PDF
2012-10-31 01:51:36 -07:00
Regis Houssin
0e0bbbeddc Fix: morning strict mode 2012-10-31 09:50:20 +01:00
Maxime Kohlhaas
240d310a7f Fix : shipment PDF rouget wasn't using the right var to access related internal contact 2012-10-31 08:57:56 +01:00
Maxime Kohlhaas
69111e423f Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-10-31 08:40:13 +01:00
Laurent Destailleur
64d8d558a5 Qual: Uniformize pdf code 2012-10-31 02:29:45 +01:00
Laurent Destailleur
066bcbb469 Qual: Add dol_format_address PHPUnit tests 2012-10-31 01:45:48 +01:00
Laurent Destailleur
8ea48b28eb New: More complete setup for bank ids according to countries 2012-10-31 00:46:46 +01:00
Laurent Destailleur
1d7820c5ac New: English bank account need a bank code (called sort code) to
identify an account.
2012-10-31 00:22:13 +01:00
Laurent Destailleur
42d2a0a2d1 Fix: Bad position of columns. Works with all paper format now. 2012-10-30 19:24:31 +01:00
Laurent Destailleur
08724f5ec0 Qual: Some changes to use more efficiently bottom of page when there is
several pages (we don't keep space for total on all pages, but only last
one)
2012-10-30 18:26:04 +01:00
Laurent Destailleur
54852e29e7 Qual: Removed duplicate template (nearly no difference between sirroco
and typhon, so no need to keep them both).
2012-10-30 17:59:16 +01:00
Laurent Destailleur
ea90571925 Fix: The bottom margin is already included into heightforfooter
This provide 1cm more for product description.
2012-10-30 17:57:32 +01:00
Laurent Destailleur
6f9c9fcd55 Fix: Free text overlap data when not on last page. 2012-10-30 13:11:17 +01:00
Laurent Destailleur
df6c29ba0b Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-10-30 13:00:22 +01:00
Laurent Destailleur
9bee735c2d Fix: Bad code for specimen 2012-10-30 12:02:13 +01:00
Laurent Destailleur
9d44590980 Fix: Using a more precise function to calculate free texts height avoid
having few pixels offset on free texts.
2012-10-30 11:17:49 +01:00
Laurent Destailleur
6bfe3e3905 Fix: Translation 2012-10-30 09:43:31 +01:00
Maxime Kohlhaas
fa46923b3e Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-10-30 08:06:29 +01:00
Laurent Destailleur
1bbdfc3717 Fix: DTD used for HTML output pages is HTML, not XML. 2012-10-29 19:32:10 +01:00
Regis Houssin
6461a3d177 Merge pull request #468 from simnandez/develop
New: More import options. ChangeLog
2012-10-29 10:28:58 -07:00
simnandez
3f81fcaf37 New: More import options. ChangeLog 2012-10-29 18:19:37 +01:00
Regis Houssin
d3d8b0b726 Just a test for doliforge forumml 2012-10-29 16:51:55 +01:00
Laurent Destailleur
e013fa01a7 Fix: Revert direction of option (this information is a legal issue for
most countries). Also, i removed the mandatory test, this is required
for invoices, not proposals.
So now, there is no need to hide by default because test on invoice
setup has been removed, so we can show by default (if defined) and use
option to force to hide if we want.
2012-10-29 11:38:32 +01:00
Regis Houssin
44f591e600 Fix: can't delete an export 2012-10-29 10:36:26 +01:00
Regis Houssin
be22f7affa Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-29 10:11:40 +01:00
Regis Houssin
705b0c0d52 Fix: better for show signature 2012-10-29 10:00:24 +01:00
Laurent Destailleur
f0f3fc1172 Clean rpm packagers 2012-10-29 09:46:15 +01:00
Laurent Destailleur
9d4471dd67 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/modules/import/import_csv.modules.php
2012-10-28 19:53:14 +01:00
Laurent Destailleur
3738d3e6be Fix: Better fix for import when field is computed by a function 2012-10-28 18:57:30 +01:00
Regis Houssin
b952a7f9bf Fix: convert line delimiters (use the last eclipse version) 2012-10-28 13:57:21 +01:00
Regis Houssin
d4ec7581ac Fix: best practice if result >= 0
assertGreaterThanOrEqual(expected, result)
2012-10-28 13:44:52 +01:00
Regis Houssin
d6a3b76270 Fix: regression 2012-10-28 13:37:09 +01:00
Regis Houssin
6b06b37116 Fix: remove filtered export test for the moment 2012-10-28 13:23:46 +01:00
Regis Houssin
75587b3a15 Fix: wrong delete invoice test 2012-10-28 13:18:15 +01:00
Regis Houssin
c48b91c182 Fix: remove $sql request for test filter 2012-10-28 13:10:01 +01:00
Regis Houssin
2119179226 Fix: field "amount" is obsolete 2012-10-28 12:23:58 +01:00
Regis Houssin
094c062cbd Fix: regression and syntax error 2012-10-28 11:11:45 +01:00
Regis Houssin
fe223e2001 Fix: try the process isolation 2012-10-28 11:02:22 +01:00
Regis Houssin
31ff042e10 Fix: wrong syntax 2012-10-28 10:55:26 +01:00
Regis Houssin
36c3e19349 Fix: regression 2012-10-28 10:44:02 +01:00
Regis Houssin
c819538cda Fix: try to increase max_execution_time 2012-10-28 10:28:28 +01:00
Regis Houssin
82cb0802d0 Fix: broken feature, missing $page
Fix: bad field name
2012-10-28 02:14:08 +02:00
Laurent Destailleur
a6bd506bd0 Fix: syntax error 2012-10-27 20:32:33 +02:00
Laurent Destailleur
ee29c65708 Move stock import into stock module (stock module is at a low level than
product)
2012-10-27 20:27:07 +02:00
Laurent Destailleur
6c0fb9a1f1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-27 20:04:03 +02:00
Laurent Destailleur
a7e35a9308 Fix: If we exclude dirs, we must also clean array to avoid to count
them.
2012-10-27 20:02:09 +02:00
Maxime Kohlhaas
bed17951b1 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-10-27 15:59:40 +02:00
Regis Houssin
75863635f1 Merge pull request #467 from cbattarel/develop
fix wrong insert sql construction in import
2012-10-27 04:25:02 -07:00
Christophe Battarel
253e3412db fix wrong insert sql construction
field type detection was made before optional conversions so it might be wrong; i replaced it with a more simple solution
2012-10-27 12:55:28 +02:00
Regis Houssin
6b07579620 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-27 11:30:36 +02:00
Regis Houssin
2bbfad2460 Fix: missing parameter 2012-10-27 11:30:08 +02:00
Regis Houssin
c6c6c28e25 Merge pull request #466 from cbattarel/develop
fix error in constant name for SOCIETE_CODEFOURNISSEUR_ADDON in get_code...
2012-10-27 02:14:45 -07:00
Christophe Battarel
eb4cf359ec fix error in constant name for SOCIETE_CODEFOURNISSEUR_ADDON in get_codefournisseur() 2012-10-27 11:12:41 +02:00
Laurent Destailleur
443f5ca03e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-27 00:23:54 +02:00
Laurent Destailleur
7a48351909 Fix: delete file from ecm module 2012-10-27 00:23:16 +02:00
Laurent Destailleur
833ada4732 Merge pull request #465 from simnandez/develop
Fix: [ bug #579 ] Multi-Company and imports
2012-10-26 11:00:52 -07:00
simnandez
9ada60afbc New: More import options. Products categories 2012-10-26 18:53:56 +02:00
simnandez
3821bf8c66 New: More import options. Products categories 2012-10-26 18:43:34 +02:00
simnandez
9a05bc8e83 New: More import options. Products categories 2012-10-26 18:38:34 +02:00
simnandez
d4df585e3c New: More import options. Customer and suppliers categories 2012-10-26 18:34:49 +02:00
simnandez
425ebae802 New: More import options. Products categories 2012-10-26 18:19:04 +02:00
Laurent Destailleur
0d48682eed Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-10-26 17:59:39 +02:00
simnandez
7aec227694 New: More import options. Products stocks 2012-10-26 17:52:53 +02:00
simnandez
970933ec7f Fix: [ bug #579 ] Multi-Company and imports 2012-10-26 17:29:41 +02:00
Regis Houssin
93c03756ab Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-26 15:21:36 +02:00
Regis Houssin
c521a77e92 New: add key generator in webservices admin page 2012-10-26 15:20:47 +02:00
Regis Houssin
00dbf867ff Merge pull request #464 from simnandez/develop
Trad: Add ca_ES and es_ES missing translations
2012-10-26 00:28:44 -07:00
simnandez
4a0336759e Trad: Add ca_ES and es_ES missing translations 2012-10-26 09:21:08 +02:00
Regis Houssin
bc2280e4ab Fix: avoid phpunit warning 2012-10-26 09:12:19 +02:00
Maxime Kohlhaas
fd5fb90649 Task # 559 : price defined on product page is unit price. Need to multiplicate this price by qty to have the right global price in the product list 2012-10-26 01:07:11 +02:00
Maxime Kohlhaas
fc7bc7e5d9 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-10-26 01:00:22 +02:00
Maxime Kohlhaas
0f1617c31d Task 559 : add use of price by qty in product selection (select and ajax search) 2012-10-26 01:00:03 +02:00
Laurent Destailleur
aee92ad3dc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-26 00:59:11 +02:00
Laurent Destailleur
7eae998868 Fix: Bad default value 2012-10-26 00:57:51 +02:00
Regis Houssin
b5d70ad17f Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-25 22:30:41 +02:00
Regis Houssin
48ce43d6f1 New: add export filters (thank you Charles Benke) 2012-10-25 22:30:17 +02:00
Regis Houssin
62cbae7985 Merge pull request #463 from simnandez/develop
Fix: Bad ProfId assignation in imports
2012-10-25 08:20:35 -07:00
simnandez
e89a06bb9c Fix: Bad ProfId assignation in imports 2012-10-25 17:08:25 +02:00
Laurent Destailleur
cbff238cbd New: Support property "required" for extra fields. 2012-10-25 16:23:58 +02:00
Regis Houssin
4a99480da4 Merge pull request #462 from cbattarel/develop
fix minor bugs in invoice and order creation from another object
2012-10-25 06:56:49 -07:00
Christophe Battarel
2272d13f5a fix minor bug in invoice creation from another object 2012-10-25 15:50:43 +02:00
Christophe Battarel
135342b085 fix minor bugs in order creation from another object 2012-10-25 15:47:35 +02:00
Regis Houssin
4f1ef1bcf8 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-25 15:01:26 +02:00
Regis Houssin
89b794dcd0 Fix: avoid errors with IE 2012-10-25 15:01:04 +02:00
Laurent Destailleur
a60516ae0d Fix: Show warning only if transaction level not correct 2012-10-25 14:16:06 +02:00
Laurent Destailleur
7b92f66fab Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into
develop
2012-10-25 13:17:35 +02:00
Laurent Destailleur
daeb1029a1 New: Support field required or not 2012-10-25 13:11:55 +02:00
Laurent Destailleur
d142dec69a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-25 12:45:01 +02:00
Regis Houssin
53b9a95742 Merge pull request #461 from cbattarel/develop
fix wrong test for product type in order->getNbProductsLines()
2012-10-25 02:49:17 -07:00
Regis Houssin
9d95e8bffb Fix: missing hookmanager 2012-10-25 11:44:04 +02:00
Christophe Battarel
144b08cac1 fix wrong test for product type in order->getNbProductsLines()
also add getNbServicesLines() function in order class.
2012-10-25 11:26:36 +02:00
Laurent Destailleur
2953ef37e6 Methods works with most tables/elements 2012-10-25 10:06:29 +02:00
Regis Houssin
f8f1d3a0df Fix: borken feature, add PROPALE_PDF_PAIEMENT_ENABLED for view paiement
mode and paiement method in pdf
2012-10-25 09:24:05 +02:00
Regis Houssin
1cbd2a1b1c Fix: broken feature 2012-10-25 08:45:35 +02:00
Maxime Kohlhaas
84df6bd639 Task # 559 : forgot to update supplier prices sql table 2012-10-25 08:19:16 +02:00
Maxime Kohlhaas
03cf96ed31 Task # 559 : add discount by qty as done in supplier prices 2012-10-25 08:18:59 +02:00
Maxime Kohlhaas
6ffa8532c5 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-10-25 07:56:30 +02:00
Regis Houssin
23707e2346 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-24 22:50:44 +02:00
Regis Houssin
65594d88a0 Fix: strict mode 2012-10-24 22:50:19 +02:00
Laurent Destailleur
773b082b13 Fix: Restore private: The public method to use by external code is
addExtraField.
2012-10-24 21:28:24 +02:00
Laurent Destailleur
1b116c05ef Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-24 21:21:58 +02:00
Laurent Destailleur
d1a4a6a090 New: Support synchro of field job/title.
New: Add script to synchronize users from ldap to dolibarr.
2012-10-24 21:19:10 +02:00
Laurent Destailleur
afb94c5014 Fix: Avoid warning 2012-10-24 21:16:58 +02:00
Regis Houssin
abb5047979 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-24 18:41:51 +02:00
Regis Houssin
5c78b2d5dd Fix: possibility to use this function in external module class 2012-10-24 18:41:22 +02:00
Laurent Destailleur
c88d8f5d0e Fix: Resotre synchro ldap 2 dolibarr 2012-10-24 17:35:28 +02:00
Laurent Destailleur
f701c1afba Fix translations 2012-10-24 17:33:47 +02:00
Laurent Destailleur
ec10bf4112 New: Add test for synchro ldap 2 dolibarr 2012-10-24 17:33:32 +02:00
Laurent Destailleur
0d92fe2de1 Normalize code 2012-10-24 17:32:10 +02:00
Laurent Destailleur
9c7b9f744f Removed deprecated field 2012-10-24 17:31:02 +02:00
Laurent Destailleur
4fd79a4675 Qual: Removed deprecated field 2012-10-24 17:30:23 +02:00
Maxime Kohlhaas
fdc6ed90a4 Task # 559 : forgot to update product_price table to add column 2012-10-24 17:22:45 +02:00
Maxime Kohlhaas
21875a5e4a Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-10-24 17:18:42 +02:00
Maxime Kohlhaas
2ff77bb2f1 Task # 559 : no need for a max quantity 2012-10-24 17:18:11 +02:00
Maxime Kohlhaas
35773d08ff Task # 559 : mysql table creation + index and constraints 2012-10-24 17:16:03 +02:00
Laurent Destailleur
0b32b24eba Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-24 16:25:22 +02:00
Laurent Destailleur
2f4f427d9e Fix: ldap errors 2012-10-24 16:25:09 +02:00
Regis Houssin
1c84dbaeec Fix: missing zipcode in url 2012-10-24 12:27:43 +02:00
Regis Houssin
def1617f01 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-24 12:19:05 +02:00
Regis Houssin
382f1a54c3 Fix: add key generator in agenda xcal admin page 2012-10-24 12:18:40 +02:00
Regis Houssin
984bed9655 Merge pull request #459 from FHenry/develop
[ task #581 ] Implement function DDLInfoTable for PostgreSQL db class
2012-10-24 02:54:16 -07:00
fhenry
597ba3e6fc [ task #581 ] Implement function DDLInfoTable for PostgreSQL db class 2012-10-24 11:37:00 +02:00
Regis Houssin
87d44c845d Fix: restrict the search in the beginning 2012-10-24 11:18:15 +02:00
Regis Houssin
1055cf4e53 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-24 10:19:46 +02:00
Regis Houssin
4f45ba8ff6 Fix: remove br 2012-10-24 09:56:31 +02:00
Laurent Destailleur
ed456347ce Merge pull request #458 from cbattarel/develop
add charges and unitcharges in price update statement
2012-10-23 17:17:35 -07:00
Laurent Destailleur
aefbebe833 Start README to describe usage of OBS packaging platform 2012-10-24 02:15:47 +02:00
Laurent Destailleur
1999452701 Fix: Avoid warnings 2012-10-23 23:49:16 +02:00
Laurent Destailleur
0d98280e13 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-23 23:45:46 +02:00
Laurent Destailleur
485fab7478 Try to fix warning of warning of buildroot and desktop into packaging 2012-10-23 23:45:32 +02:00
Christophe Battarel
41541e4bc2 add charges and unitcharges in update statement 2012-10-23 10:54:35 +02:00
Regis Houssin
30430953de Fix: missing row and col parameters 2012-10-23 09:33:07 +02:00
Laurent Destailleur
92656e2b4f New: Add more info 2012-10-22 21:37:18 +02:00
Laurent Destailleur
a10518a2e3 Comment 2012-10-22 21:25:14 +02:00
Laurent Destailleur
4f15029b13 Update spec 2012-10-22 20:34:02 +02:00
Laurent Destailleur
9589b84a1a Fix: No reason to start content of a cell with br 2012-10-22 19:30:49 +02:00
Maxime Kohlhaas
c4b12d7371 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko559 2012-10-22 17:47:41 +02:00
Maxime Kohlhaas
8ba55f49f1 Task # 559 : start of price by quantity management 2012-10-22 17:47:15 +02:00
Maxime Kohlhaas
94c12cfb2e Task # 559 : start of price by quantity management 2012-10-22 17:24:14 +02:00
Regis Houssin
9bbea4f385 Fix: use span is better 2012-10-22 17:06:27 +02:00
Laurent Destailleur
07149b548c Fix: Another bad dir 2012-10-22 13:40:11 +02:00
Laurent Destailleur
50113dd513 Fix: Bad path 2012-10-22 13:17:48 +02:00
Laurent Destailleur
eaad5f075e Fix: Some fix to removed refused controls by distrib package build
systems.
2012-10-22 13:08:55 +02:00
Laurent Destailleur
58eb02274f Fix: We must not use strtolower. Case sensitive search or not must be
managed by the LIKE or LIKE BINARY into request (this make code
portable on other database with the database driver and this avoid
errors of strtolower when using non latin characters).
2012-10-22 12:13:24 +02:00
Laurent Destailleur
ad20ae8c7f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-22 12:08:35 +02:00
Regis Houssin
2f15857dab Fix: add mobile phone in contact list
TODO: Fax is obsolete and not used by several companies
2012-10-22 11:20:59 +02:00
Laurent Destailleur
6ef90b169a Typo error 2012-10-22 11:13:35 +02:00
Regis Houssin
a240343482 Fix: add possibility to filter with zipcode (very important) 2012-10-22 11:05:55 +02:00
Regis Houssin
f89e3238ee New: try to use hooks for customizing lists 2012-10-22 10:49:16 +02:00
Regis Houssin
864f038370 Fix: missing "visible" field 2012-10-22 09:24:27 +02:00
Regis Houssin
6329344df2 Fix: broken features
Fix: use entity O for all entities
2012-10-22 09:15:08 +02:00
Laurent Destailleur
caa37422dd Fix: curl must ignore ssl validation 2012-10-22 01:26:03 +02:00
Laurent Destailleur
99607073e3 Fix: Some fixes for the autosubscription to mailing-lists 2012-10-22 01:16:29 +02:00
Laurent Destailleur
71ac3d4359 Migrate to new syslog system. 2012-10-22 01:01:10 +02:00
Laurent Destailleur
d56791d4dc Fix: Works with PHP 5.2 2012-10-22 00:43:59 +02:00
Laurent Destailleur
31779cdbd1 Fix: Bad date format 2012-10-22 00:28:32 +02:00
Laurent Destailleur
732b3ceace Fix: Bad error management when validating member 2012-10-22 00:18:32 +02:00
Laurent Destailleur
bba5057d5d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-21 15:51:03 +02:00
Laurent Destailleur
fbb3ce63a7 Fix: PDF works with US executive format. 2012-10-21 15:50:53 +02:00
Regis Houssin
97245d36aa Fix: wrong method 2012-10-20 11:10:36 +02:00
Regis Houssin
033e9066fb New: try to use hookmanager for customizing list 2012-10-20 10:08:18 +02:00
Regis Houssin
ac9dea1c19 Fix: security 2012-10-20 09:40:50 +02:00
Regis Houssin
99fa385602 Fix: minor vulnerabilities 2012-10-20 09:33:39 +02:00
Laurent Destailleur
cb95621d7e Merge pull request #455 from simnandez/develop
New: More import options. Thirds Bank Accounts
2012-10-19 10:27:41 -07:00
Laurent Destailleur
5a3be48d09 New: Can edit bookmark from list 2012-10-19 17:28:18 +02:00
Laurent Destailleur
ffa1b10061 doxygen 2012-10-19 14:45:00 +02:00
Laurent Destailleur
40a1ba3b96 Fix: Removed deprecated translation 2012-10-19 14:23:21 +02:00
Laurent Destailleur
4a10874f54 New: add waring message when date is too low. 2012-10-19 13:01:29 +02:00
simnandez
aa53b7a2ba New: More import options. Thirds Bank Accounts 2012-10-19 13:00:53 +02:00
Laurent Destailleur
70cf195fb4 Fix: removed test code 2012-10-19 09:34:31 +02:00
Laurent Destailleur
38dbf74688 Fix: Perm on files 2012-10-19 01:37:48 +02:00
Laurent Destailleur
a75143842b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-19 00:48:52 +02:00
Laurent Destailleur
4a811a8cdf Fix: missing defattr 2012-10-19 00:48:27 +02:00
Laurent Destailleur
7e5f94d908 Update packagers 2012-10-18 23:33:22 +02:00
Laurent Destailleur
657d0197b6 Fix: json is a fuck... sh... 3 hours to find a bug ! (json fails
without any warning when converting non utf8 strings).
2012-10-18 16:30:12 +02:00
Laurent Destailleur
0152e226c1 Fix: Use correct translation of fields 2012-10-18 13:25:32 +02:00
Laurent Destailleur
82e0462dc8 Merge pull request #453 from simnandez/develop
New: More import options. Categories Trad: Add es_ES and ca_ES missing translations
2012-10-18 03:31:55 -07:00
Regis Houssin
d705995a49 Fix: convert line delimiters 2012-10-18 10:36:53 +02:00
Regis Houssin
446a81b4c4 Fix: move class in template 2012-10-18 10:35:55 +02:00
Laurent Destailleur
4afdf2f2d2 Fix: [ bug #554 ] Firstname and lastname should not be mandatory for
corporate members.
2012-10-17 20:55:13 +02:00
Laurent Destailleur
97001951e6 New: Add field stock into product export 2012-10-17 20:32:57 +02:00
Laurent Destailleur
a41186b4c5 [ bug #70 ] Champ Stock toujours vide dans export produit 2012-10-17 20:30:17 +02:00
Laurent Destailleur
33540cb2e8 Repair not synchronized denormalized field. 2012-10-17 20:22:50 +02:00
Laurent Destailleur
319b512157 Fix: Avoid empty messages 2012-10-17 19:02:21 +02:00
simnandez
d7dcd3c14b New: More import options. Supplier Products 2012-10-17 19:02:12 +02:00
Laurent Destailleur
c4ce66d784 Enhance error management 2012-10-17 18:47:18 +02:00
Laurent Destailleur
0cfd336c03 better message 2012-10-17 17:53:25 +02:00
Laurent Destailleur
ef1e735ff9 Fix: doxygen 2012-10-17 17:19:28 +02:00
Laurent Destailleur
4c5d696bb7 Translations 2012-10-17 16:13:06 +02:00
Laurent Destailleur
6803c68ebf Fix: Bad date format 2012-10-17 15:53:45 +02:00
Laurent Destailleur
796b0fc12c New: Enhance guide for new users to say how to start setup. 2012-10-17 15:19:43 +02:00
Laurent Destailleur
8ac375145d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-17 15:07:33 +02:00
Laurent Destailleur
4d5a6c6f01 Typo error 2012-10-17 15:07:13 +02:00
Laurent Destailleur
773b2ead35 Merge pull request #454 from cbattarel/develop
correct bug in price delete
2012-10-17 06:01:26 -07:00
Laurent Destailleur
bbedddf992 Fix: Removed warning 2012-10-17 14:53:05 +02:00
Laurent Destailleur
01bd20147e Fix: Some fixes and enhancement into modularizing log functions 2012-10-17 14:46:20 +02:00
Christophe Battarel
8f08d7a166 add entity in the unique key for delete 2012-10-17 14:25:43 +02:00
Laurent Destailleur
b160b97cbe New: Add warning message. 2012-10-17 14:23:56 +02:00
Laurent Destailleur
5e510d4312 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-17 14:15:27 +02:00
Laurent Destailleur
c56e3b5c90 Fix: Migration error 2012-10-17 14:15:11 +02:00
Laurent Destailleur
4a913cfb38 Merge pull request #449 from marcosgdf/odt-discounts
Created function to retrieve total discounted amount of a commonobject
2012-10-17 05:03:55 -07:00
Laurent Destailleur
05ca191335 Merge pull request #451 from marcosgdf/syslog
Created a modular syslog handler system
2012-10-17 05:03:14 -07:00
Laurent Destailleur
0dffe08c07 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-17 13:12:02 +02:00
Christophe Battarel
e8b92cc2c5 correct bug in price delete 2012-10-17 12:47:40 +02:00
Laurent Destailleur
0a97ce71e5 Add gg flag 2012-10-17 12:40:10 +02:00
simnandez
23d3b6a783 New: More import options. Supplier Products 2012-10-17 12:36:30 +02:00
simnandez
6f430cc630 New: More import options. Supplier Products 2012-10-17 11:43:26 +02:00
simnandez
cf814dc7fd New: More import options. Categories
Trad: Add es_ES and ca_ES missing translations
2012-10-17 10:42:16 +02:00
simnandez
2cf88e7847 New: More import options. Categories
Trad: Add es_ES and ca_ES missing translations
2012-10-17 10:40:17 +02:00
Laurent Destailleur
099bf034af Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-10-16 19:51:12 +02:00
Laurent Destailleur
4854c72348 Fix: [ bug #565 ] Display error bills have suppliers. 2012-10-16 19:15:36 +02:00
Laurent Destailleur
7bf5663096 Fix: [ bug #552 ] l'option "Adhérents non à jour" ne fonctionne pas 2012-10-16 18:33:49 +02:00
Regis Houssin
15aa2497ab Fix: compatibility with multicompany sharings 2012-10-16 17:59:00 +02:00
Regis Houssin
26a5ac53d7 Fix: possibility to disable ajax 2012-10-16 16:10:23 +02:00
Marcos García
3c051abc22 Orders and proposals should also replace {object_total_discount} 2012-10-16 13:43:50 +02:00
Marcos García
ac4ee01723 mod_syslog_syslog class shouldn't be active if openlog is not available 2012-10-16 13:39:23 +02:00
Marcos García
df2262f8be Stopped using (un)serialize functions but json functions 2012-10-16 12:18:05 +02:00
Regis Houssin
a2fe6e311f Merge pull request #450 from marcosgdf/minor
Normalized thirdparties module card name
2012-10-15 23:59:41 -07:00
Marcos García
e0200acc5f Sorry… 2012-10-16 02:33:12 +02:00
Marcos García
180eddff49 Because the rest of the class is using SYSLOG_CHROMEPHP_INCLUDEPATH it needs to be restored... 2012-10-16 02:25:48 +02:00
Marcos García
f250bb41e9 Removed unnecessary comments and commented unused config variables 2012-10-16 02:13:38 +02:00
Marcos García
0b825b3736 Forgot to remove unnecesary code 2012-10-16 02:03:12 +02:00
Marcos García
07dcb07fd2 Created a modular syslog handler system
I've split all log handlers into classes so that people can make
new log handler systems without making changes to the core.
Also, now every log handler can handle how and what will be logged.
2012-10-16 02:01:37 +02:00
Marcos García
da94ec8fa4 Normalized thirdparties module card name 2012-10-16 01:36:42 +02:00
Laurent Destailleur
5dff8dbc6d New: Avoid horizontal scroll on standard resolution. 2012-10-15 23:13:28 +02:00
Laurent Destailleur
e34cdb76e8 Fix: Translation 2012-10-15 23:02:52 +02:00
Laurent Destailleur
df3c1ca644 Fix: Showing rate 2012-10-15 22:13:39 +02:00
Laurent Destailleur
7a7e2b6873 Fix: Error management 2012-10-15 21:42:17 +02:00
Laurent Destailleur
0dbc7ebb25 Fix: error management 2012-10-15 21:31:46 +02:00
Laurent Destailleur
354e673d92 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-15 20:54:11 +02:00
Laurent Destailleur
6f93e9cdac Fix: Can delete even if data corrupted (fk_bank set but entry removed
manually into llx_bank).
2012-10-15 20:53:49 +02:00
Regis Houssin
d40a862203 Merge pull request #448 from marcosgdf/minor
Fixed PHP warning on MailmanSPIP module
2012-10-15 00:06:13 -07:00
Marcos García
c9944a6b9b Created function to retrieve total discounted amount of a commonobject
Also added an ODT tag to let people add it to their invoices, etc..
2012-10-15 00:49:39 +02:00
Marcos García
59e8964bc5 Fixed PHP warning on MailmanSPIP module
Also simplified the code and removed unused variables from it
2012-10-14 23:56:28 +02:00
Laurent Destailleur
70ae16f89e Merge pull request #447 from simnandez/develop
New: More import options. Warehouses
2012-10-14 14:43:35 -07:00
Laurent Destailleur
118ec8277b Fix: Old data store 2012-10-14 13:27:18 +02:00
Laurent Destailleur
325d47c882 Fix: Creation of notes was not using DolEditor class. 2012-10-14 13:18:52 +02:00
Laurent Destailleur
4a3ade6264 Update doc 2012-10-13 18:09:00 +02:00
simnandez
6f799f8e16 New: More import options. Warehouses 2012-10-13 18:02:43 +02:00
Laurent Destailleur
153997432f Fix: Several fix.
New: Also allow to enter a payment with a negative value on an invoice
and positive onto other.
2012-10-13 17:00:38 +02:00
Laurent Destailleur
8ff506b120 Sec: Sanitize all params page, sortfield and sortorder 2012-10-13 14:47:46 +02:00
Laurent Destailleur
ac38954c17 Fix: Regression selectlang choice
Fix: Regression conf file was not saved successfully.
2012-10-13 13:56:37 +02:00
Laurent Destailleur
2a8095f3de Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-13 13:03:57 +02:00
Laurent Destailleur
7385ea15db Doxygen 2012-10-13 13:03:39 +02:00
Regis Houssin
df1e4a401a Fix: convert line delimiters
Info: the last Eclipse version fix this problem
2012-10-13 11:42:58 +02:00
Regis Houssin
a12d453d38 Fix: security 2012-10-13 11:41:17 +02:00
Regis Houssin
67f40fcd1e Fix: works on security 2012-10-13 10:39:16 +02:00
Laurent Destailleur
091966902e Fix: for special_code=3 2012-10-12 22:18:31 +02:00
Laurent Destailleur
6046feda11 Restore border into PDF 2012-10-11 09:42:47 +02:00
Laurent Destailleur
8162dd301b Add doc 2012-10-10 20:45:39 +02:00
Laurent Destailleur
be810f891b Fix: Bad value into dump 2012-10-10 16:01:00 +02:00
Laurent Destailleur
6a7a982688 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-10 15:07:41 +02:00
Laurent Destailleur
4aebaf22ae Fix: Avoid wrap on amount 2012-10-10 15:06:02 +02:00
Regis Houssin
10bd942328 Fix: customer ref is very important for a best traceability 2012-10-10 12:04:08 +02:00
Regis Houssin
62f170d3d7 Fix: add escape 2012-10-09 20:23:02 +02:00
Regis Houssin
edb6195cc2 Fix: add similitude test 2012-10-09 20:08:54 +02:00
Regis Houssin
925af263fc Fix: best test 2012-10-09 18:54:21 +02:00
Regis Houssin
3abb1b88ff Fix: best method 2012-10-09 18:33:02 +02:00
Regis Houssin
6791d23032 Fix: use asterisk for define the percentage 2012-10-09 18:21:12 +02:00
Regis Houssin
a20f7094ef Fix: refactore 2012-10-09 18:11:51 +02:00
Regis Houssin
74dd4ce218 Fix: possibility to force the clause 2012-10-09 18:06:59 +02:00
Regis Houssin
337cb0faa5 Fix: add not exact method 2012-10-09 17:47:58 +02:00
Regis Houssin
9f43d8613c Fix: missing clean parameters 2012-10-09 16:59:19 +02:00
Regis Houssin
8486f9d85d Fix: missing spaces 2012-10-09 16:33:28 +02:00
Regis Houssin
7cde9ab668 New: add search method with case sensibility and filters 2012-10-09 15:49:42 +02:00
Laurent Destailleur
8b4886073c Fix: Removed the FIXME. This is supported by the pgsql driver. 2012-10-09 12:03:39 +02:00
Laurent Destailleur
4413613d14 Another better fix. 2012-10-09 11:56:39 +02:00
Laurent Destailleur
1725561c34 Better security fix: Using GETPOST does not fix all cases, also the real
bug (missing escaping information when using it) was not fixed.
2012-10-09 11:42:38 +02:00
Regis Houssin
72a1194d14 Fix: search with case sensitive method
FIXME: Mysql "LIKE" is case insensitive by default and use LIKE BINARY
for case sensitive, Pgsql "LIKE" is case sensitive by default, and use
ILIKE for case insensitive
2012-10-09 10:57:15 +02:00
Regis Houssin
a814ea7924 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-09 09:34:57 +02:00
Regis Houssin
4cd702bb1a Fix: prevent XSS and SQL injection 2012-10-09 09:34:12 +02:00
Regis Houssin
044ec61aba Merge pull request #446 from atm-maxime/develop
Task # 186 : Forgot to add the new box in the mod definition...
2012-10-08 23:50:49 -07:00
Regis Houssin
bfee8553f0 Merge pull request #445 from atm-maxime/mko543
Bug # 543 and # 570 : contact address is now used in recipient block and...
2012-10-08 23:50:29 -07:00
Regis Houssin
d61a8ee947 Fix: missing comma 2012-10-09 08:47:11 +02:00
Regis Houssin
089603e1c5 Fix: add import_key field 2012-10-09 08:40:32 +02:00
Maxime Kohlhaas
67dbae4486 Correction for new box inclusion 2012-10-09 00:58:07 +02:00
Maxime Kohlhaas
229005b1a9 Task # 186 : Forgot to add the new box in the mod definition... 2012-10-09 00:54:02 +02:00
Maxime Kohlhaas
d343b76f91 Bug # 543 and # 570 : contact address is now used in recipient block and no more display bug on customer order ref until 36 digits 2012-10-09 00:28:52 +02:00
Regis Houssin
478449da37 Fix: convert line delimiters 2012-10-08 20:47:10 +02:00
Regis Houssin
93d760e0fc Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-08 20:44:28 +02:00
Regis Houssin
7f7676d357 Fix: uniformize variable name 2012-10-08 20:44:12 +02:00
Laurent Destailleur
d51db70768 Missing translation 2012-10-08 20:25:03 +02:00
Laurent Destailleur
26f4b344cb Merge pull request #444 from cbattarel/develop
fix wrong update in previous commit
2012-10-08 10:55:33 -07:00
Regis Houssin
c35a1ebaf7 Fix: missing drop foreign key 2012-10-08 19:38:09 +02:00
Regis Houssin
0975918cc6 Fix: [task #146] Remove table llx_categorie_association
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-10-08 19:27:02 +02:00
Christophe Battarel
99b323e8d0 fix wrong update in previous commit
(it was always remaining on step 5 !)
2012-10-08 16:25:50 +02:00
Regis Houssin
67c41721f5 Merge pull request #443 from marcosgdf/translations
Minor changes to es_ES translations
2012-10-08 03:01:57 -07:00
Regis Houssin
88785a8fef Merge pull request #442 from cbattarel/develop
fix wrong last update in cleansep function
2012-10-08 03:01:34 -07:00
Regis Houssin
7028cf66d4 Merge pull request #441 from marcosgdf/minor
Code improvements
2012-10-08 03:00:56 -07:00
Marcos García
fed3c20548 Minor changes to es_ES translations 2012-10-08 11:44:55 +02:00
Christophe Battarel
04be578863 fix wrong last update in cleansep function 2012-10-08 11:32:28 +02:00
Marcos García
734b292440 Merge branch 'develop' into bug-569
Conflicts:
	htdocs/install/inc.php
2012-10-08 11:16:33 +02:00
Marcos García
8ed706e4ac Fixed bug #569 - Notices & Warnings when installing Dolibarr
Also translated a string & variable and improved html use
2012-10-08 02:45:58 +02:00
Laurent Destailleur
68ecc5eb89 Upgrade doliwamp 2012-10-08 02:38:30 +02:00
Laurent Destailleur
f9ceb78f58 Beautify instal pg.
Fix: Debian package
2012-10-07 20:04:07 +02:00
Laurent Destailleur
18da651975 Update logo 2012-10-07 15:21:52 +02:00
Laurent Destailleur
566855d7e8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	ChangeLog
2012-10-06 23:15:10 +02:00
Laurent Destailleur
215d7a883e Fix: Revert bugged new feature that show false information. 2012-10-06 23:13:46 +02:00
Laurent Destailleur
430b63f4e1 Fix: Bad message 2012-10-06 22:54:23 +02:00
Laurent Destailleur
4789b5e2d1 Fix: Usage of specific mysql function is forbidden 2012-10-06 22:46:54 +02:00
Laurent Destailleur
053b4dd63c New: [ task #210 ] Can choose cash account during POS login 2012-10-06 21:47:59 +02:00
Laurent Destailleur
b2ec0a7669 Merge pull request #438 from simnandez/develop
Trad: Add ca_ES and es_ES translations
2012-10-06 11:16:23 -07:00
Laurent Destailleur
8bb972e3ab Merge pull request #439 from atm-maxime/develop
Add changelog entries
2012-10-06 11:15:40 -07:00
Laurent Destailleur
8076719d9c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-06 19:25:43 +02:00
Laurent Destailleur
a659e6f9f7 More elegant position of button to aufofill fields. 2012-10-06 19:25:25 +02:00
Maxime Kohlhaas
5aa9a8e41d Add changelog entries 2012-10-06 13:53:37 +02:00
simnandez
7faa90e831 New: More import options. Prepare database 2012-10-06 09:52:33 +02:00
simnandez
2d4957d415 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr.git into develop 2012-10-06 09:38:09 +02:00
Laurent Destailleur
e5cd2c1941 Init script can run on rom command line 2012-10-05 23:20:18 +02:00
Laurent Destailleur
6873e93b7f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-05 19:40:09 +02:00
Laurent Destailleur
34f2402cb5 Qual: Removed dead code 2012-10-05 19:39:53 +02:00
simnandez
0e5cc34b1f Trad: Add ca_ES and es_ES translations 2012-10-05 18:50:30 +02:00
Regis Houssin
b1ad840055 Fix: optimize code 2012-10-05 15:12:17 +02:00
Regis Houssin
6b21ca442d New: add possibility to defined position/job of a user
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-10-05 12:40:19 +02:00
Regis Houssin
f3086ae23d Merge pull request #437 from atm-maxime/develop
Branch mko186 merged
2012-10-04 23:56:45 -07:00
Maxime Kohlhaas
85c03faec7 Merge branch 'mko186' into develop
Conflicts:
	htdocs/langs/en_US/orders.lang
	htdocs/langs/fr_FR/orders.lang
2012-10-05 08:30:09 +02:00
Maxime Kohlhaas
c4c4648176 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-10-05 08:27:36 +02:00
Regis Houssin
1b7f93fc29 Merge pull request #436 from simnandez/develop
Task # 104: Check if module invoice is active and user has creation permissions. Move creation invoice to action bar into customer card
2012-10-04 10:06:22 -07:00
Regis Houssin
6b50219999 Fix: add function for build $mysoc object 2012-10-04 18:54:56 +02:00
simnandez
f873198442 Fix: Warning into perms page 2012-10-04 18:40:05 +02:00
simnandez
caef97dc08 Task # 104: Check if module invoice is active and user has creation
permissions. Move creation invoice to action bar into customer card
2012-10-04 18:23:21 +02:00
Maxime Kohlhaas
16f82216bf Task # 186 : Add stock column in sql request to get object lines + display alert icon if stock is too low 2012-10-04 16:26:33 +02:00
Maxime Kohlhaas
5a64e3b1ec Task # 104 : Commited these 2 files instead of translations files 2012-10-04 15:43:52 +02:00
Laurent Destailleur
5c6b0c064e Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-10-04 15:43:28 +02:00
Laurent Destailleur
9ba100a84b New: Support removing tab into member module 2012-10-04 15:37:10 +02:00
Maxime Kohlhaas
0e17c7c063 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko186 2012-10-04 15:36:47 +02:00
Maxime Kohlhaas
87d643d482 Task # 104 : translations 2012-10-04 15:36:38 +02:00
Maxime Kohlhaas
12128a6226 Task # 186 : Stock calculation on product, migration + update product 2012-10-04 15:25:34 +02:00
Laurent Destailleur
bdb7becbc6 Fix: Try another fix on getTrad bug. 2012-10-04 09:44:04 +02:00
Laurent Destailleur
4b27a9215b Fix: Show message only when needed 2012-10-03 23:15:57 +02:00
Laurent Destailleur
59a33db53d Fix: Add warning to ask refresh. 2012-10-03 20:10:29 +02:00
Laurent Destailleur
1f2b05fbc0 Fix: Can unset ChromePHP output 2012-10-03 18:40:24 +02:00
Laurent Destailleur
fa016baa7e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-03 17:48:09 +02:00
Laurent Destailleur
2159848490 Fix: getTradFromKey 2012-10-03 17:47:53 +02:00
Laurent Destailleur
315670273d Merge pull request #434 from grandoc/develop
try to fix canvas issue
2012-10-03 06:16:35 -07:00
Laurent Destailleur
a821d6cafe Fix: We use dolibarr_details as type of DolEditor here, because we
must not accept images as description is included into PDF and not
accepted by TCPDF.
2012-10-03 14:52:01 +02:00
Laurent Destailleur
1d9e77a53d Fix: We use dolibarr_details as type of DolEditor here, because we must
not accept images as description is included into PDF and not accepted
by TCPDF.
2012-10-03 14:49:51 +02:00
Laurent Destailleur
0f78ffda5c New: POS module can works with only one payment method (cach, chq,
credit card).
2012-10-03 14:45:58 +02:00
Grand Philippe
fb487ff855 try to fix canvas issue 2012-10-03 14:20:04 +02:00
Laurent Destailleur
61958f445d Fix translation 2012-10-03 14:15:07 +02:00
Laurent Destailleur
3bd20ee8ba Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-03 13:04:29 +02:00
Laurent Destailleur
6d8ea8dcd5 Update trans 2012-10-03 13:04:18 +02:00
Regis Houssin
4ed05b5b2e Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-10-03 12:41:02 +02:00
Regis Houssin
935bb09b99 Fix: better translation 2012-10-03 12:39:48 +02:00
Laurent Destailleur
c69e1af7db Update changelog 2012-10-03 11:54:23 +02:00
Laurent Destailleur
9997d6ca15 Fix: Other minor fixes 2012-10-03 11:53:14 +02:00
Laurent Destailleur
9dac672ca6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-03 11:43:51 +02:00
Laurent Destailleur
2617fc21a6 Some fix: List of invoices to show in "to bill" menu must contains
"Validated, Shipment in process, Delivered" (some users may want to
make invoice before shipment, some after).
We keep workflow opened by default. Module workflow may restrict this
however.
Also, remove menu entry, because we now have direct link to page onto
list.
2012-10-03 11:43:39 +02:00
Regis Houssin
18015986b6 Fix: bad field name 2012-10-03 11:38:18 +02:00
Laurent Destailleur
a347b996b5 Merge pull request #433 from simnandez/develop
Task # 104 : Remove MAIN_FEATURES_LEVEL
2012-10-03 02:01:59 -07:00
simnandez
921795e562 Task # 104 : Remove MAIN_FEATURES_LEVEL 2012-10-03 09:16:27 +02:00
Regis Houssin
fc1cc95d08 Fix: bad path 2012-10-03 08:54:21 +02:00
Laurent Destailleur
44ee8b8e38 Doxygen 2012-10-03 00:39:34 +02:00
Laurent Destailleur
c25e908b75 Doxygen 2012-10-03 00:30:50 +02:00
Laurent Destailleur
4b09414dc4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-02 23:48:54 +02:00
Laurent Destailleur
358bb1f3b0 Fix maintenance scripts 2012-10-02 23:48:27 +02:00
Laurent Destailleur
4243f94f80 Merge pull request #424 from aspangaro/develop
Add function to choose chart of accounts
2012-10-02 14:10:50 -07:00
Laurent Destailleur
883e51566f Merge pull request #432 from grandoc/develop
try to fix canvas within members module
2012-10-02 14:10:10 -07:00
Grand Philippe
ec9946222d new try to fix canvas within members module 2012-10-02 22:58:49 +02:00
Laurent Destailleur
82eacec792 Merge pull request #431 from atm-maxime/mko104
Task # 104 : Can create an invoice from several orders
2012-10-02 11:38:35 -07:00
Laurent Destailleur
8d39e57ad3 Add dump for 3.3 2012-10-02 19:55:34 +02:00
Laurent Destailleur
bef9fd152b Fix: table creation scripts 2012-10-02 19:42:44 +02:00
Grand Philippe
085923dc64 try to fix canvas within members module 2012-10-02 18:27:41 +02:00
Maxime Kohlhaas
89e14043a1 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into mko186 2012-10-02 11:01:21 +02:00
Maxime Kohlhaas
3ca55eb058 Task # 104 : display invoice multi order link on third party page only if there are orders to bill + translations 2012-10-02 10:52:08 +02:00
Maxime Kohlhaas
61e7f32e81 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-10-02 10:33:50 +02:00
Spangaro Alexandre
3ae6117e16 Reintegrate accounting.php in admin 2012-10-02 06:07:57 +02:00
Spangaro Alexandre
5c56bd629b Fix: add country in request 2012-10-02 05:45:50 +02:00
Spangaro Alexandre
8a99eedc6c Hum... Now it's work ! Little fix 2012-10-02 05:45:50 +02:00
Spangaro Alexandre
3e4fd761a5 Add function to choose chart of accounts 2012-10-02 05:45:49 +02:00
Laurent Destailleur
079ea61582 Fix: W3C 2012-10-02 00:36:23 +02:00
Laurent Destailleur
082ee53dae Fix: Miscellaneous fix in supplier product input 2012-10-02 00:30:23 +02:00
Laurent Destailleur
eec2a7b34e Merge pull request #429 from atm-maxime/mko559
Task # 559 : add discount on supplier prices
2012-10-01 13:31:17 -07:00
Laurent Destailleur
6971cf5779 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-10-01 22:05:22 +02:00
Laurent Destailleur
32fdfbb1cb Fix: Styles 2012-10-01 21:53:22 +02:00
Laurent Destailleur
43dce1c3fa Merge pull request #426 from grandoc/develop
add canvas to adherents module
2012-10-01 12:39:09 -07:00
Laurent Destailleur
4a9db063c2 Fi: Uninstall not complete 2012-10-01 20:58:39 +02:00
Maxime Kohlhaas
1aa3156958 Task # 186 : new box of products with stock alert 2012-10-01 16:44:38 +02:00
Maxime Kohlhaas
af179eca94 Cosmetic : span buttons were'nt with the same style as links 2012-10-01 15:44:40 +02:00
Maxime Kohlhaas
8a62af1c78 Task # 559 : added use of discount in supplier bills 2012-10-01 11:49:20 +02:00
Maxime Kohlhaas
ed2a140046 Task # 559 : add display of discount in product list while adding line on supplier order 2012-10-01 11:45:28 +02:00
Maxime Kohlhaas
f62772a1c5 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-10-01 11:26:42 +02:00
Maxime Kohlhaas
1d21f24fa7 Task # 559 : Add possibility to define a discount for min quantity on supplier product prices 2012-10-01 11:25:17 +02:00
Maxime Kohlhaas
6329c01d5d Added link to multi-origin invoicing on thirdparty page 2012-10-01 11:23:51 +02:00
Regis Houssin
8c17266ed4 Merge pull request #425 from marcosgdf/translations
Added missing & improved es_ES translations
2012-10-01 01:11:30 -07:00
Regis Houssin
7837356fe9 Merge pull request #423 from simnandez/develop
Trad: Add missing translations
2012-10-01 01:11:14 -07:00
Grand Philippe
0215ce9122 add canvas to adherents module 2012-10-01 10:05:03 +02:00
Marcos García
a4b0f7e521 Fixed es_ES typo 2012-10-01 04:17:17 +02:00
Marcos García
13cbf154e1 Added missing & improved es_ES translations 2012-10-01 03:09:37 +02:00
Regis Houssin
bcf46d00f0 Fix: convert line delimiters !! 2012-09-30 21:26:58 +02:00
Regis Houssin
d23188c64a Fix: doxygen 2012-09-30 20:49:13 +02:00
Regis Houssin
422f028ac9 Fix: use ADHERENT_BANK_USE for check or not bank via invoice
Fix: code optimizing
2012-09-29 12:07:07 +02:00
Regis Houssin
c3dd8348fe Fix: PEAR packages upgrade in Jenkins server has caused problems with
CodeSniffer. The exclusion directory was no longer taken. I restored the
server backup.
2012-09-28 20:54:47 +02:00
Regis Houssin
025211fa3d Fix: try again 2012-09-28 18:17:19 +02:00
Regis Houssin
44dde562fa regression and add slash at end 2012-09-28 17:51:35 +02:00
Regis Houssin
d8a0fed001 Fix: try to add all subdir 2012-09-28 17:11:53 +02:00
Regis Houssin
4f115268a9 Fix: try this for subdir 2012-09-28 16:55:09 +02:00
Laurent Destailleur
e9c222a82b Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-28 16:39:45 +02:00
Regis Houssin
5e1cbc77e4 Fix: try to use full path 2012-09-28 16:37:16 +02:00
Regis Houssin
265c2a4be4 Fix: avoid error 2012-09-28 16:24:54 +02:00
Laurent Destailleur
918d5c9aa2 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-28 16:20:10 +02:00
Regis Houssin
b994eeb15f try to exclude with another method 2012-09-28 16:13:31 +02:00
Laurent Destailleur
9db72fb50d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-28 16:11:46 +02:00
Laurent Destailleur
e7203fa4f3 New: The discount on line for supplier invoices is now supported 2012-09-28 16:08:44 +02:00
simnandez
6bbcb376b1 Trad: Add missing translations 2012-09-28 15:55:50 +02:00
Regis Houssin
666854f1fb Fix: try another method 2012-09-28 15:37:33 +02:00
Regis Houssin
9f042c9d78 Merge pull request #422 from atm-maxime/develop
Task # 355 : corrections
2012-09-28 06:06:59 -07:00
Maxime Kohlhaas
6ac83a4205 Task # 355 : last correction 2012-09-28 14:58:47 +02:00
Maxime Kohlhaas
4deae1d948 Task # 355 : corrections + added on edit mode 2012-09-28 14:56:47 +02:00
Regis Houssin
987fd9ef2b Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-28 14:46:40 +02:00
Regis Houssin
34e672cb45 try to exclude 2012-09-28 14:45:54 +02:00
Regis Houssin
ee3d956919 Merge pull request #421 from atm-maxime/develop
Task # 355 : Add link "autfill contact address with third party address"
2012-09-28 05:36:53 -07:00
Maxime Kohlhaas
398023e722 Task # 335 : translation 2012-09-28 14:29:20 +02:00
Maxime Kohlhaas
c0f22ac472 Task # 355 : autofill contat address with third party address 2012-09-28 14:27:16 +02:00
Regis Houssin
d05b4cc674 try verbose mode 2012-09-28 14:27:01 +02:00
Regis Houssin
29dc00056b try to debug 2012-09-28 13:45:35 +02:00
Maxime Kohlhaas
2ac91cbc80 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-09-28 12:39:48 +02:00
Regis Houssin
99b1c63712 Fix: try another method for find the problem 2012-09-28 12:14:24 +02:00
Regis Houssin
f22c27c8bf Fix: restore rule for check old style 2012-09-28 12:06:32 +02:00
Regis Houssin
3b4090852c Merge pull request #420 from simnandez/develop
Trad: Add missing translation
2012-09-28 02:50:48 -07:00
Regis Houssin
0441c6dd46 Merge pull request #417 from aspangaro/develop
Continue working on accountancy
2012-09-28 02:43:54 -07:00
Regis Houssin
40aa0ecc2a Merge pull request #419 from cbattarel/develop
import : add csv options (separator and enclosure)
2012-09-28 02:42:28 -07:00
simnandez
67e38df6ee Trad: Add missing translation 2012-09-28 11:39:23 +02:00
Christophe Battarel
9f15a11b10 update lang files for import (csv options) 2012-09-28 10:28:17 +02:00
Christophe Battarel
15d7266abf import : add csv options (separator and enclosure) 2012-09-28 10:23:04 +02:00
Laurent Destailleur
d397be12ef Fix: Redirect on config home. 2012-09-27 23:57:10 +02:00
Laurent Destailleur
6c769cfaf3 Fix: postgresql compatibility
Qual: Removed deprecated code
2012-09-27 23:54:47 +02:00
Laurent Destailleur
49e79a2c28 Fix: database compatibility 2012-09-27 23:43:58 +02:00
Laurent Destailleur
e94ddde91d Fix: Patch calculation field odt 2012-09-27 21:08:32 +02:00
Laurent Destailleur
3a98f6903e Fix: If a customer has 2000 invoices, creating next one make 2000
requests instead of 1.
2012-09-27 20:54:04 +02:00
Laurent Destailleur
a98de7ef02 Fix: No error when hour not provided 2012-09-27 13:25:31 +02:00
Laurent Destailleur
9d732b0876 Fix: nowrap 2012-09-27 12:53:17 +02:00
Regis Houssin
1919604089 Fix: more compatible with multicompany transverse mode
Fix: strict mode bubbles
2012-09-27 11:57:46 +02:00
Laurent Destailleur
ad0e3ba4a0 Fix: Better translation 2012-09-27 10:48:40 +02:00
Maxime Kohlhaas
a9cd1c4f6b Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-09-27 09:34:06 +02:00
Laurent Destailleur
05a97aaaf0 Fix: Bad alignement when no menus 2012-09-27 01:38:31 +02:00
Laurent Destailleur
051b93c73b Qual: Code cleaner using field name instead of index number.
New: Can use new syntax to define parent of a menu
(fk_mainmenu=&fk_leftmenu=)
2012-09-27 00:05:13 +02:00
Maxime Kohlhaas
838ef9b8d9 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-09-26 23:37:08 +02:00
Spangaro Alexandre
e4391207e4 Add new dictionnary to edit accountingsystem 2012-09-26 20:37:28 +02:00
Spangaro Alexandre
7cea254255 Continue working on accountancy 2012-09-26 20:37:27 +02:00
Laurent Destailleur
2d87b0c025 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-26 13:43:23 +02:00
Laurent Destailleur
434fb1f79f Update doc 2012-09-26 13:35:08 +02:00
Maxime Kohlhaas
e76e8c8ed4 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-09-26 12:33:51 +02:00
Regis Houssin
ca28aa7710 Fix: multicompany transverse mode compatibility 2012-09-26 12:10:25 +02:00
Regis Houssin
e9de123036 Fix: hide menu if empty 2012-09-26 12:09:14 +02:00
Regis Houssin
d08e66b0b8 Fix: add member module compatibility 2012-09-26 10:43:15 +02:00
Maxime Kohlhaas
8710b8d5d5 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-09-25 22:57:11 +02:00
Laurent Destailleur
81cc311844 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-25 21:31:20 +02:00
Laurent Destailleur
9e6defab04 Fix on total 2012-09-25 21:30:55 +02:00
Regis Houssin
f77911f25f Fix: indent 2012-09-25 19:34:18 +02:00
Regis Houssin
817e653519 Fix: add todo for free tag treatment 2012-09-25 18:31:08 +02:00
Regis Houssin
e5b88e0589 Merge pull request #415 from cbattarel/develop
add ability to remove a product tab if it's defined in a module description
2012-09-25 07:03:38 -07:00
Christophe Battarel
67333522b0 add ability to remove a product tab if it's defined in a module description 2012-09-25 14:42:58 +02:00
Regis Houssin
d01f68a7af Fix: try to fix codesniffer error 2012-09-25 12:07:26 +02:00
Regis Houssin
a828d53074 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-25 08:13:03 +02:00
Regis Houssin
7b1a1a0fd2 Merge pull request #414 from cbattarel/develop
pull request test for updating lang file
2012-09-24 23:11:04 -07:00
Regis Houssin
537152f950 Fix: regression 2012-09-25 08:10:12 +02:00
Christophe Battarel
8bbbdf9238 Merge branch 'develop' of https://github.com/cbattarel/dolibarr into develop 2012-09-25 08:07:35 +02:00
Christophe Battarel
2d911c097b update french translation for LocalTaxDesc 2012-09-25 08:06:47 +02:00
Regis Houssin
338f0b06d9 Fix: missing changes in migration file 2012-09-25 08:06:39 +02:00
Christophe Battarel
0b699d8a34 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-09-25 07:56:50 +02:00
Laurent Destailleur
c5ed476f25 Merge pull request #412 from atm-maxime/develop
Task # 104 : Can create an invoice from several orders
2012-09-24 16:05:19 -07:00
Laurent Destailleur
3b8104f013 Merge pull request #410 from marcosgdf/minor
Fixed dictionary form
2012-09-24 16:03:51 -07:00
Laurent Destailleur
f17906b331 Merge pull request #413 from aspangaro/develop
Add a new column in llx_c_tva
2012-09-24 16:03:05 -07:00
Laurent Destailleur
043e5edc2c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-24 21:37:36 +02:00
Laurent Destailleur
7d83fdce5b Fix: Several fixes into date functions
Qual: Add PHPUnit tests
2012-09-24 21:37:19 +02:00
Laurent Destailleur
e6d91a3e50 The phpunit test is correct. What's wrong is
inside dolibarr code (Really dont know why it fails with 1900. It
looks like a year 2000 bug). Let's try with 1915 and 1916
2012-09-24 18:56:28 +02:00
Regis Houssin
9792d5a289 Fix: use company name if firstname and lastname not exists 2012-09-24 12:12:37 +02:00
Christophe Battarel
1a55320ddd french translation for LocalTaxDesc 2012-09-24 11:03:44 +02:00
Regis Houssin
1d344ec89c Fix: increase length, is too restrictive
Fix: use company name if lastname and firstname not exists
2012-09-24 11:01:27 +02:00
Regis Houssin
c268a62cab Fix: try to disable 1900 test 2012-09-24 09:30:37 +02:00
Spangaro Alexandre
ba45295c7e Working for accountancy 2012-09-24 07:14:39 +02:00
Spangaro Alexandre
96dd6efae0 Minor fix for llx_c_tva 2012-09-24 07:14:38 +02:00
Spangaro Alexandre
a6f9111b54 Add new column in llx_c_tva 2012-09-24 07:14:37 +02:00
Laurent Destailleur
d3ef78df47 Qual: Respect database rules
Qual: Add indexes
2012-09-24 00:10:01 +02:00
Laurent Destailleur
a6b2eab439 Revert bad fix.
Unit tests are back ok (when tag is @6 or @=, yearoffset
is not zero but must not be applied when replacing yyyy). 
Compatibility with 3.2 is also restored.
2012-09-23 22:09:54 +02:00
Laurent Destailleur
0741b907ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-23 22:03:08 +02:00
Laurent Destailleur
0c1651dbf3 Doxygen 2012-09-23 22:02:44 +02:00
Maxime Kohlhaas
8e9fa095e2 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-09-23 18:14:42 +02:00
Maxime Kohlhaas
bcbc35bd47 Task # 104 : added choice to auto close orders or not + translations 2012-09-23 18:00:30 +02:00
Maxime Kohlhaas
382bee4601 Task # 104 : added link on order list to the multi-orders invoice page 2012-09-23 17:59:50 +02:00
Laurent Destailleur
9175d91bc0 Doxygen 2012-09-23 17:11:01 +02:00
Regis Houssin
d147c360d3 FIXME: this code is useless, $yearoffset is 0 by default 2012-09-23 17:05:08 +02:00
Laurent Destailleur
2519783ce2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-23 16:26:13 +02:00
Laurent Destailleur
7fac6b65f6 Fix: Fix for compatibility with previous version and for case "@=".
Qual: Add a lot of phpunit tests to validate all get_next_value()
cases.
2012-09-23 16:25:08 +02:00
Regis Houssin
71f7baf461 Merge pull request #411 from aspangaro/develop
Minor fix
2012-09-23 04:22:53 -07:00
Spangaro Alexandre
d8481fa19b Minor fix 2012-09-23 12:05:03 +02:00
Laurent Destailleur
5c4a31369d Update changelog 2012-09-22 20:29:17 +02:00
Laurent Destailleur
9bbe0e6b1c Qual: Mutuamize codeby using tpl.
New: Support unique field for extrafields
2012-09-22 20:27:06 +02:00
Marcos García
a24031dc19 Fixed dictionary form
When creating or modifying an entry, id param was lost
Also, missing </form> added
2012-09-22 15:13:23 +02:00
Regis Houssin
e721c6e723 Fix: more simple too 2012-09-22 10:40:12 +02:00
Regis Houssin
1e3cecf25c Fix: can use {yy}{mm} or {mm}{yy} 2012-09-22 10:33:25 +02:00
Regis Houssin
2ef521ff30 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-22 09:19:24 +02:00
Regis Houssin
6151bc3a42 Fix: more simple 2012-09-22 09:18:36 +02:00
Regis Houssin
d7bbd8e947 Merge pull request #409 from simnandez/develop
Trad: Update ca_ES donations translation
2012-09-22 00:13:23 -07:00
Regis Houssin
eee4434850 Fix: update doc 2012-09-22 09:03:38 +02:00
Regis Houssin
d48f494eb0 Fix: check fiscal date and new year 2012-09-22 08:53:10 +02:00
simnandez
a25f2eae46 Trad: Update ca_ES donations translation 2012-09-21 16:30:38 +02:00
Regis Houssin
ba1b282c3b Fix: remove unused code 2012-09-21 11:28:28 +02:00
Regis Houssin
00af89488c Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-21 11:24:19 +02:00
Regis Houssin
50b0dcf47e New: try to use new tag 2012-09-21 11:23:31 +02:00
Christophe Battarel
c10c4bdba1 add french translation for LocalTaxDesc 2012-09-21 10:04:31 +02:00
Laurent Destailleur
73562b7fc1 Use correct status for select 2012-09-21 09:33:12 +02:00
Regis Houssin
5ce44eff57 Fix: more simple
Fix: eclipse auto align is bad !!! ;-)
2012-09-21 08:50:23 +02:00
Regis Houssin
622f5dff59 Fix: use order entity instead customer entity 2012-09-21 08:23:48 +02:00
Laurent Destailleur
84089f3e53 Fix: bas tabs when socid provided into stats pages 2012-09-21 00:28:11 +02:00
Laurent Destailleur
320b24bca1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-21 00:13:41 +02:00
Laurent Destailleur
5e9cd37107 Uniformise look of PHP Info page. 2012-09-21 00:13:20 +02:00
Laurent Destailleur
c5bda9b1d5 Hide feature not available 2012-09-20 23:01:24 +02:00
Laurent Destailleur
408a4553ee Help center at end (because we leave software) 2012-09-20 22:54:05 +02:00
Laurent Destailleur
cf4be61349 Merge pull request #407 from simnandez/develop
[ task #104 ] Possibilité de facturer plusieurs commandes. Working
2012-09-20 10:54:19 -07:00
Laurent Destailleur
22a28abed1 Fix: Add more sql fix commands 2012-09-20 17:46:47 +02:00
simnandez
38b7aa69cb [ task #104 ] Possibilité de facturer plusieurs commandes. Working 2012-09-20 15:57:53 +02:00
simnandez
77ecd5c6fc [ task #104 ] Possibilité de facturer plusieurs commandes. Working 2012-09-20 15:55:51 +02:00
Laurent Destailleur
4881d8f1c2 Fix: Horizontal scrolling 2012-09-20 14:52:31 +02:00
Regis Houssin
073170514f Fix: increase memory limit 2012-09-20 09:13:02 +02:00
Laurent Destailleur
05e20b8f30 New: Can exclude some type of events 2012-09-20 00:42:51 +02:00
Laurent Destailleur
44591bd756 Use a specific type to isolate type of event that are event
automatically added into agenda from other predefined events.
2012-09-20 00:18:29 +02:00
Laurent Destailleur
596b12cacc Fix: sort in dictionnaries 2012-09-20 00:14:40 +02:00
Laurent Destailleur
5ea03e7448 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-19 20:45:43 +02:00
Laurent Destailleur
8b0cc3a953 Fix: Date format 2012-09-19 20:45:20 +02:00
Regis Houssin
d58c106f66 Fix: convert line delimiters !!! 2012-09-19 17:53:09 +02:00
Regis Houssin
63a68d0d1c Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-19 17:35:14 +02:00
Laurent Destailleur
b2825e1af3 Merge pull request #406 from simnandez/develop
Develop
2012-09-19 08:30:16 -07:00
Regis Houssin
98b38628c5 Fix: optimizing 2012-09-19 17:24:40 +02:00
Regis Houssin
40f5427520 Fix: broken features, ready for doliforge 2012-09-19 17:18:52 +02:00
Laurent Destailleur
cd3d01127c Merge pull request #404 from grandoc/develop
fix: Warning : Invalid argument supplied for foreach()
2012-09-19 07:40:43 -07:00
simnandez
5344d0c330 Fix: Update spanish VAT data for first instalations 2012-09-19 16:15:35 +02:00
simnandez
31b91e68c1 Fix: Update spanish VAT data for first instalations 2012-09-19 16:09:41 +02:00
simnandez
1be38732d6 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr.git into develop 2012-09-19 16:04:15 +02:00
Laurent Destailleur
8b7342f0ea New: Project notes use the note.tpl templates 2012-09-19 16:03:17 +02:00
simnandez
d18488966b Fix: Update spanish VAT data for first instalations 2012-09-19 15:51:00 +02:00
Laurent Destailleur
21c4baa13b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-19 15:10:39 +02:00
Laurent Destailleur
2ac3fbc5c6 New: Add clipart for holiday module 2012-09-19 15:10:23 +02:00
Grand Philippe
aa7cd880c0 fix: Warning : Invalid argument supplied for foreach() 2012-09-19 15:07:06 +02:00
Laurent Destailleur
533e285dad Merge pull request #403 from simnandez/develop
Trad: Add ca_ES and es_ES translations
2012-09-19 05:53:43 -07:00
Laurent Destailleur
9bc0011290 Merge pull request #405 from cbattarel/develop
correct some ajax bugs caused by tpl recent updates
2012-09-19 05:53:29 -07:00
Laurent Destailleur
a68483d72f Uniformize code. 2012-09-19 14:49:13 +02:00
Laurent Destailleur
0b4df34091 Fix: Blank page when renaming product ref 2012-09-19 14:16:29 +02:00
Laurent Destailleur
0e76bd7ac6 Fix: Blank page when renaming a product ref 2012-09-19 14:11:01 +02:00
Laurent Destailleur
9306360d3c Remove warnings 2012-09-19 13:39:47 +02:00
Laurent Destailleur
d1cfe2ec54 Fix: Bug when metafile is on 2012-09-19 13:30:59 +02:00
Laurent Destailleur
1347ecf14e Qual: Removed warnings 2012-09-19 12:49:58 +02:00
Christophe Battarel
de93c819f4 correct some ajax bugs caused by tpl recent updates 2012-09-19 12:02:06 +02:00
Laurent Destailleur
60fc0f2b74 Removed warning 2012-09-19 11:56:50 +02:00
simnandez
875edcad0d Merge branch 'develop' of git://github.com/Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-09-19 10:32:00 +02:00
simnandez
cf72ffd650 Trad: Improve bank translations for adjust into pdf info size 2012-09-18 18:50:02 +02:00
simnandez
13aeca2ffd Fix: Add type of product/service into factures for a correct localtaxes
calculation
2012-09-18 18:27:28 +02:00
Laurent Destailleur
89dfd246d1 Init data must match migrated data 2012-09-18 18:27:10 +02:00
simnandez
b7837f9280 Fix: Localtaxes type only missing in propal update line 2012-09-18 18:18:30 +02:00
Grand Philippe
2bcbd7dc2a fix: Warning : Invalid argument supplied for foreach() 2012-09-18 18:00:05 +02:00
simnandez
dd9d3c8ba4 Fix: localtaxes must display in pdf even if they are in negative 2012-09-18 17:57:52 +02:00
simnandez
0bf29edb60 Fix: Add type of product/service into commandes for a correct
localtaxes calculation
2012-09-18 17:41:59 +02:00
simnandez
76f3fb56ea Fix: Add type of product/service into propals for a correct localtaxes
calculation
Fix: Localtax2_type for Spain must be 3
2012-09-18 16:06:45 +02:00
simnandez
fab101d2e8 Fix: Spanish localtax1 must be only applicable to products
Add localtax2_type
2012-09-18 15:38:08 +02:00
simnandez
b65c23576a Trad: Add ca_ES and es_ES translations 2012-09-18 15:28:38 +02:00
Laurent Destailleur
889f71db6f Fix: Color of lines must be set for each lines 2012-09-18 12:52:54 +02:00
Laurent Destailleur
303f0dc681 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-18 11:09:44 +02:00
Laurent Destailleur
ffbe2acc36 Fix: use https if https is used 2012-09-18 11:06:49 +02:00
Laurent Destailleur
4f0e4be449 Merge pull request #402 from cbattarel/develop
add option to select contact type associated to commercial agents for margin and commission modules
2012-09-18 01:24:00 -07:00
Christophe Battarel
951b98a963 add option to select contact type associated to commercial agents for margin and commission modules 2012-09-18 09:44:34 +02:00
Laurent Destailleur
eb964e6436 Fix: Should works for everybody like that 2012-09-17 22:08:41 +02:00
Laurent Destailleur
4065b52441 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-17 22:05:36 +02:00
Laurent Destailleur
4a98c08a74 Fix: Use correct date timezone. 2012-09-17 22:05:13 +02:00
Regis Houssin
8bab5fdadd Fix: convert line delimiters 2012-09-17 19:37:02 +02:00
Regis Houssin
58ae3b9372 Fix: possibility to disable hook 2012-09-17 19:36:43 +02:00
Regis Houssin
dc7100677a Fix: avoid warning if no object 2012-09-17 16:28:37 +02:00
Regis Houssin
c42cf7ce78 Fix: broken features 2012-09-17 16:16:48 +02:00
Laurent Destailleur
7167edb244 Fix: Comment to avoid bug 2012-09-17 16:00:41 +02:00
Laurent Destailleur
237bcf35ed Merge pull request #401 from grandoc/develop
missing translation
2012-09-17 06:23:20 -07:00
Laurent Destailleur
ef4831d119 Solved FIXME. I keep the code but commented, to keep source the more
similar as possible than invoices.
2012-09-17 11:46:50 +02:00
Grand Philippe
d25e8fc584 missing translation 2012-09-17 11:18:20 +02:00
Regis Houssin
16ad953d10 Fix: best practice 2012-09-17 08:13:29 +02:00
Regis Houssin
80eceab230 Fix: restore broken features 2012-09-17 07:15:38 +02:00
Regis Houssin
10b122578e FIXME: $deja_regle not use in proposal? 2012-09-17 06:52:33 +02:00
Regis Houssin
bf008c7640 Fix: optimizing 2012-09-17 06:43:58 +02:00
Laurent Destailleur
cd6a8fa761 New: Uniformize code 2012-09-17 02:07:14 +02:00
Laurent Destailleur
9ab0653902 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-17 01:39:49 +02:00
Laurent Destailleur
3953be53a7 Qual: Mutualize code
New: Can use extrafields on contacts/addresses.
2012-09-17 01:39:30 +02:00
Laurent Destailleur
2170801fd2 New: Uniformize pdf generation code. We also keep space to repeat pdf
head info.
2012-09-17 00:43:23 +02:00
Laurent Destailleur
832a472325 Little clean of page 2012-09-16 22:45:58 +02:00
Regis Houssin
ada85df649 Fix: wrong permission 2012-09-16 21:12:55 +02:00
Laurent Destailleur
07fa800360 Fix: Correct concat when mixing not html and html descriptions 2012-09-16 20:23:57 +02:00
Laurent Destailleur
df3227ef7e Migrate spain to localtax type. 2012-09-16 16:56:24 +02:00
Laurent Destailleur
b724a78cb3 Fix: Debug dictionnary to add localtaxes 2012-09-16 15:04:55 +02:00
Laurent Destailleur
df2bac35c6 Merge pull request #399 from cbattarel/develop
patch on the dictionnary setup of local taxes table to be able to set localtax type
2012-09-16 04:40:54 -07:00
Christophe Battarel
a9ed3bc175 correction for previous patch on localtax 2012-09-16 10:12:43 +02:00
Christophe Battarel
05971f1952 patch on the dictionnary setup of local taxes table to be able to set localtax type 2012-09-16 10:08:41 +02:00
Laurent Destailleur
d48f294531 New: [ task #289 ] Reorder tasks 2012-09-15 15:33:00 +02:00
Laurent Destailleur
9147911ae4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/tpl/freeproductline_create.tpl.php
	htdocs/core/tpl/predefinedproductline_create.tpl.php
2012-09-15 13:53:19 +02:00
Laurent Destailleur
4566595d44 Fix: W3C when module margin is on 2012-09-15 13:44:40 +02:00
Laurent Destailleur
1fb26e2ab2 Fix: if 1 experimental module is on, we must always show tab 2012-09-15 13:37:55 +02:00
Regis Houssin
89e70cd61a Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-15 11:22:30 +02:00
Regis Houssin
43c0a03758 Fix: strict mode tornado 2012-09-15 11:21:22 +02:00
Regis Houssin
85a756bee4 Merge pull request #398 from grandoc/develop
dyslexie
2012-09-15 01:05:08 -07:00
Regis Houssin
e19f8c54f1 Fix: strict mode hurricane 2012-09-15 10:01:35 +02:00
Regis Houssin
be13602c71 Fix: use getDocumentsLink method 2012-09-15 09:02:20 +02:00
Grand Philippe
f19321eaf6 dyslexie 2012-09-14 17:37:14 +02:00
Regis Houssin
4220229573 Fix: minor change 2012-09-14 15:56:50 +02:00
Regis Houssin
b33e59dd66 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-14 15:56:11 +02:00
Laurent Destailleur
e7d3d9496c first step for extrafield for contact/address 2012-09-14 12:15:55 +02:00
Regis Houssin
3a6be2b896 Fix: uniformize code
fix: add current user for commercial by default
2012-09-14 11:34:30 +02:00
Laurent Destailleur
643d6ff3f9 Fix: Debug feature predefined invoices 2012-09-14 10:09:56 +02:00
Regis Houssin
968380ba3e Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-13 18:50:29 +02:00
Laurent Destailleur
46ee00fc5e A party to fish bugs and merou. 2012-09-13 18:28:03 +02:00
Regis Houssin
f902fedbb8 Fix: split for more possibility 2012-09-13 17:43:24 +02:00
Laurent Destailleur
0a5c49b3d9 Fix: If no warehouse selected, no warning for stock in warehouse too
low.
2012-09-13 16:23:58 +02:00
Regis Houssin
125f499e82 Fix: dol_htmloutput_events is already call in llxFooter 2012-09-13 16:15:36 +02:00
Laurent Destailleur
af5507bcfa Fix: restore correct behaviour. Space is output only if there is an img
+ text. img alone is not enough.
2012-09-13 16:13:12 +02:00
Regis Houssin
84c61c9411 Fix: remove obsolete code and use "propal" instead "propale" 2012-09-13 16:11:08 +02:00
Regis Houssin
7eef637776 Fix: strict mode killer 2012-09-13 11:52:50 +02:00
Laurent Destailleur
ed61508b3f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-13 10:14:47 +02:00
Laurent Destailleur
4cc56f0176 New: Extra fields supports more types (now int, string, double, date,
datetime)
2012-09-13 10:14:25 +02:00
Regis Houssin
6561694658 Fix: invert space 2012-09-13 10:03:58 +02:00
Regis Houssin
1fa84aa92b Fix: better 2012-09-13 10:02:45 +02:00
Regis Houssin
9130dbda4e Fix: wrong space 2012-09-13 09:57:12 +02:00
Regis Houssin
b1e01b50f5 Fix: use warning icon for limit size of tab
Fix: optimizing textwithtooltip method
2012-09-13 09:52:03 +02:00
Laurent Destailleur
29b4e1f57a Removed not available module from demo 2012-09-13 09:19:45 +02:00
Laurent Destailleur
4b1c863673 Fix: removed warnings 2012-09-12 23:59:19 +02:00
Laurent Destailleur
a950f775e5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-12 20:50:00 +02:00
Laurent Destailleur
82435fb176 Merge pull request #396 from marcosgdf/translations
Removed unused lines mistakenly introduced in previous PR #395
2012-09-12 11:45:56 -07:00
Laurent Destailleur
c11c3897ef Qual: Uniformize code 2012-09-12 20:45:01 +02:00
Laurent Destailleur
b221b8878e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-12 20:34:25 +02:00
Laurent Destailleur
91e304d0d7 Move dev and experimental modules into a separated tab 2012-09-12 20:33:50 +02:00
Marcos García
c38274c111 Forgot to remove some lines... 2012-09-12 20:32:39 +02:00
Laurent Destailleur
d5e8037483 Merge pull request #395 from marcosgdf/translations
Improved translations
2012-09-12 11:08:55 -07:00
Laurent Destailleur
bd49dc81a3 Merge pull request #394 from simnandez/develop
Localtaxes also in skip_update_total comprobation
2012-09-12 10:54:42 -07:00
Regis Houssin
5770245805 Fix: rename the hook 2012-09-12 19:37:37 +02:00
Marcos García
cb4044755b Fixed export translations
Added missing strings
Corrected some translations
2012-09-12 19:11:03 +02:00
simnandez
4ac2ee83f2 Localtaxes also in skip_update_total comprobation 2012-09-12 19:07:23 +02:00
Regis Houssin
28e5ba6c18 Fix: mini strict mode 2012-09-12 18:47:06 +02:00
Laurent Destailleur
c465aea0e7 Merge pull request #393 from simnandez/develop
Fix: If price is 'TTC' we need to have the totals without VAT for a correct calculation
2012-09-12 09:16:19 -07:00
simnandez
2e37084c55 Fix: If price is 'TTC' we need to have the totals without VAT for a
correct
calculation
Fix: The updateline of propal must include the localtaxes totals
2012-09-12 17:48:45 +02:00
Laurent Destailleur
dd66ebd3f6 New: Use GB address format 2012-09-12 17:39:02 +02:00
Marcos García
be174c6b46 Fixed problem with accentuated strings 2012-09-12 17:32:14 +02:00
Laurent Destailleur
040dd09f5d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-12 17:25:01 +02:00
Laurent Destailleur
41078019dd Make demo of foundation at end 2012-09-12 17:24:39 +02:00
Laurent Destailleur
a7ddbf8f10 Use key value if translation not found 2012-09-12 16:56:30 +02:00
Regis Houssin
f16a68bf01 Fix: remove unused tables 2012-09-12 16:40:46 +02:00
Regis Houssin
3bdda8429d Merge pull request #392 from marcosgdf/minor
Fixed incorrect BackToList link
2012-09-12 07:23:03 -07:00
Marcos García
d5fc2a9488 Fixed incorrect BackToList link 2012-09-12 16:11:16 +02:00
Regis Houssin
a663f8fb3b Fix: remove obsolete code 2012-09-12 16:02:01 +02:00
Regis Houssin
b78b0830d1 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-12 14:56:23 +02:00
Regis Houssin
664ceb7f2c Fix: This is a 'superglobal', there is no need to do 'global $variable;'
to access it within functions or methods.
2012-09-12 14:55:39 +02:00
Laurent Destailleur
11bb601059 Merge pull request #386 from marcosgdf/translations
Added missing translations
2012-09-12 05:53:40 -07:00
Laurent Destailleur
c9678e3f1d Merge pull request #391 from marcosgdf/minor
Fixed xinputuser emailing module
2012-09-12 05:53:12 -07:00
Marcos García
aa9ef31f9d Added Changelog 2012-09-12 14:51:21 +02:00
Regis Houssin
a2f1107bfc Fix: add GET in hook parameters 2012-09-12 14:49:36 +02:00
Marcos García
98092b952d Fixed xinputuser emailing module
Lastname wasn't being recorded
2012-09-12 14:49:02 +02:00
Laurent Destailleur
ce1b759c47 Merge pull request #390 from cbattarel/develop
use selected value in contact type list + remove duplicate print statement
2012-09-12 04:18:32 -07:00
Laurent Destailleur
71c25bb939 Hide not frequently used third level menus entries. 2012-09-12 13:01:20 +02:00
Christophe Battarel
8111909340 use selected value in contact type list + remove duplicate print statement 2012-09-12 12:55:45 +02:00
Regis Houssin
7358223c8f Fix: convert line delimiters 2012-09-12 12:41:44 +02:00
Regis Houssin
b75efdcf10 Fix: regression, replace triggers by hooks 2012-09-12 12:27:11 +02:00
Laurent Destailleur
8fd384373a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-12 10:57:09 +02:00
Regis Houssin
2557320f8d Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-12 10:47:17 +02:00
Regis Houssin
71d5191ff7 Fix: duplicate parameters 2012-09-12 10:46:35 +02:00
Regis Houssin
622d37f32f Merge pull request #389 from lrq3000/develop
Fix: definition of all substitution functions is no more required
2012-09-11 11:32:53 -07:00
Stephen L
8fcf20227a Fix: definition of all substitution functions is no more required
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-09-11 20:15:03 +02:00
Laurent Destailleur
54be534506 Add comment and renamed file to be sure new function is not called
directly. Not sure it's a good idea to have dolDeleteFile separated
since it must be called only by dol_delete_file.
2012-09-11 20:06:37 +02:00
Regis Houssin
b39c9c514a Fix: split into 2 functions 2012-09-11 18:52:23 +02:00
Regis Houssin
3e033ef48c Fix: doc 2012-09-11 17:09:43 +02:00
Regis Houssin
1d6645c5c4 Fix: rename this method 2012-09-11 17:08:29 +02:00
Regis Houssin
f95d611f12 New: add hooks in dol_delete_file and list_of_documents methods 2012-09-11 17:08:10 +02:00
Regis Houssin
c6c2fd2f39 Fix: restore previous field type 2012-09-11 16:07:52 +02:00
Laurent Destailleur
a249061017 Fix: If object already loaded, the url was not returned. 2012-09-11 15:49:46 +02:00
Laurent Destailleur
bf9b8657c3 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-11 15:43:29 +02:00
Laurent Destailleur
c10e587870 Fix: Bad init of specimen 2012-09-11 15:42:41 +02:00
Regis Houssin
a798069322 Merge pull request #388 from cbattarel/develop
add en_US language files for commissions and margins modules
2012-09-11 06:35:07 -07:00
Regis Houssin
97fffe7b62 Merge pull request #387 from marcosgdf/minor
Search thirds from barcode directly from the mini search box
2012-09-11 06:34:32 -07:00
Christophe Battarel
37b166024d add en_US language files for commissions and margins modules 2012-09-11 15:20:00 +02:00
Marcos García
85064abdad Search thirds from barcode directly from the mini search box
Also added a check when generating barcode image
2012-09-11 14:27:41 +02:00
Laurent Destailleur
1c91027a4e Fix: Uniformize pdf code. Try to solve offset when a product line is
moved onto next page.
2012-09-11 14:03:16 +02:00
Marcos García
d3eed9f15e Removed '=undefined' from translation files 2012-09-11 12:43:15 +02:00
Marcos García
f7fff8ecb3 Added missing translations removed in PR #371 2012-09-11 12:40:08 +02:00
Laurent Destailleur
c291ea2ec2 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-11 11:23:08 +02:00
Regis Houssin
7712b1c25f Merge pull request #385 from marcosgdf/translations
Improved translations
2012-09-10 20:30:25 -07:00
Laurent Destailleur
12b42ab1b4 Doc 2012-09-11 01:53:15 +02:00
Laurent Destailleur
ef00d592e7 Fix: Backward compatibility with spain. 2012-09-11 01:42:50 +02:00
Laurent Destailleur
e68f861923 New: Add more test and enhancement to make new calcul_price function
more reliable. We need to add more PHPUnit test case on this function
(testcase using localtax1 and localtax2).
2012-09-11 01:09:34 +02:00
Marcos García
f2393f08bc Translated paper formats and size units in PDF admin page 2012-09-11 00:36:49 +02:00
Marcos García
b3235887d3 Improved translations of menu edit 2012-09-10 23:50:46 +02:00
Laurent Destailleur
b6239427f6 Merge pull request #382 from cbattarel/localtax
calculate prices with generic local taxes management
2012-09-10 14:36:44 -07:00
Laurent Destailleur
6159e71427 Merge pull request #384 from marcosgdf/task-539
Better practice
2012-09-10 14:32:42 -07:00
Marcos García
62b7ba607d Better practice
Replaced `empty($conf->global->MAIN_MODULE_BARCODE)` with `empty($conf->barcode->enabled)`
2012-09-10 23:23:25 +02:00
Laurent Destailleur
3a18633df3 Merge pull request #383 from marcosgdf/task-539
Task #539 - Add new products into proposals,invoices... with barcode
2012-09-10 14:04:50 -07:00
Laurent Destailleur
de339278bc Fix: removed warning 2012-09-10 22:59:50 +02:00
Marcos García
ded4e061e1 Typo 2012-09-10 22:59:03 +02:00
Marcos García
61e2596e4d Task #539 - Add new products into proposals,invoices... with barcode 2012-09-10 22:55:12 +02:00
Laurent Destailleur
4c05112662 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-10 17:11:15 +02:00
Regis Houssin
de54481129 Merge pull request #381 from marcosgdf/minor
Translation improvements
2012-09-10 07:56:37 -07:00
Christophe Battarel
c6da5b79fe change localtaxes parameters to be compatible with older calls 2012-09-10 16:49:36 +02:00
Laurent Destailleur
4847e946a4 Fix: Use varchar instead of char (for better compatibility, char is an
old directive)
Fix: Restore usage of text field for "enabled" menu because, even if in
standard code, we use 0 or 1, into external module, or menu editor we
should be able to use full condition dynamic string.
2012-09-10 16:20:34 +02:00
Christophe Battarel
8c11da1df8 readapt to 3.3 2012-09-10 16:01:20 +02:00
Christophe Battarel
4cca760feb calculate prices with generic local taxes management 2012-09-10 15:47:33 +02:00
Laurent Destailleur
09d3d0a37d Fix: removed warning 2012-09-10 15:47:13 +02:00
Marcos García
d7d1c8ac65 Missing paper formats unit translations 2012-09-10 15:14:29 +02:00
Regis Houssin
ba2f986282 Fix: [ bug #537 ] Fatal error: Using $this when not in object context 2012-09-10 14:40:32 +02:00
Regis Houssin
6162d296ce Fix: strict mode cowboy 2012-09-10 14:30:33 +02:00
Marcos García
b92f52cdf9 Social charges deductible field now with yes/no select 2012-09-10 14:12:31 +02:00
Regis Houssin
26ff406e4a Fix: use MODIFY instead CHANGE for just change the type of field 2012-09-10 13:25:34 +02:00
Regis Houssin
e9c72f812d Merge pull request #380 from marcosgdf/minor
Modified llx_menu sql and improved add menu form
2012-09-10 04:18:31 -07:00
Marcos García
74b28dab79 Merge branch 'develop' into minor
Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-09-10 12:16:45 +02:00
Regis Houssin
9188a24c78 Merge pull request #379 from marcosgdf/translations
Improved translations
2012-09-10 03:07:07 -07:00
Regis Houssin
83179fc4f0 Merge pull request #378 from cbattarel/localtax
prepare database for local taxes management (2nd try) - task 204 on doliforge
2012-09-10 03:04:31 -07:00
Regis Houssin
4269878e6d Fix: restore varchar for the moment 2012-09-10 11:59:17 +02:00
Marcos García
f0803a7713 Improved es_ES translations 2012-09-10 11:15:54 +02:00
Christophe Battarel
2e4aa1131a prepare database for local taxes management
add localtax1_type and localtax2_type in database.
these type are char(1) and support following values :
'0' : local tax not applied
'1' : local tax apply on products and services without vat (vat is not applied on local tax)
'2' : local tax apply on products and services before vat (vat is calculated on amount + localtax)
'3' : local tax apply on products without vat (vat is not applied on local tax)
'4' : local tax apply on products before vat (vat is calculated on amount + localtax)
'5' : local tax apply on services without vat (vat is not applied on local tax)
'6' : local tax apply on services before vat (vat is calculated on amount + localtax)
'7' : local tax is a fix amount applied on global invoice
2012-09-10 11:00:35 +02:00
Regis Houssin
e1fcaf738f Fix: move llx_ecm_documents in external module 2012-09-10 10:55:06 +02:00
Laurent Destailleur
66af48697c Doc 2012-09-10 10:25:47 +02:00
Laurent Destailleur
1a746ad99b Merge pull request #377 from GPCsolutions/societe_commercial
Inverted the clause for commercial_id affectation
2012-09-10 01:21:38 -07:00
Raphaël Doursenaud
75647aa19d Inverted the clause for commercial_id affectation
This permits using a script to import commercial_id.
The clause to automatically affect the current user as commercial doesn't seem to work anyway
2012-09-10 10:00:22 +02:00
Laurent Destailleur
3335bf629b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-10 09:47:11 +02:00
Laurent Destailleur
1d341caffd Merge pull request #376 from simnandez/develop
Fix: use $ldap instead $this
2012-09-10 00:46:35 -07:00
simnandez
f390bec1ac Fix: use $ldap instead $this 2012-09-10 09:06:37 +02:00
Marcos García
45cd500882 Modified llx_menu sql and improved new menu form
Modified `enabled` field to tinyint(1) because only holds 0 or 1
Enabled input field now made yes/no select
2012-09-10 02:09:52 +02:00
Marcos García
5536fecc3b Missing translations & improved es_ES translations 2012-09-10 01:15:57 +02:00
Regis Houssin
61159ca220 Fix: use specific hash for ref 2012-09-09 22:05:53 +02:00
Laurent Destailleur
3b3e67758e Fix: Removed warnings 2012-09-09 20:33:00 +02:00
Regis Houssin
5ff1240287 Fix: increase size for big path and where data is encrypted 2012-09-09 18:28:36 +02:00
Regis Houssin
d7f3deffce Fix: convert line delimiters 2012-09-09 16:32:03 +02:00
Regis Houssin
a7bfc722d5 Fix: use specific variable 2012-09-09 16:31:00 +02:00
Regis Houssin
9058439015 Fix: best practice 2012-09-09 16:17:19 +02:00
Laurent Destailleur
1450ee1978 Merge pull request #375 from marcosgdf/barcode-mini-search
Added Copyright and changelog entry
2012-09-09 06:34:26 -07:00
Laurent Destailleur
2cfb0428bc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-09 15:24:34 +02:00
Laurent Destailleur
83cdb2167e Fix: Use bad parameter name 2012-09-09 15:23:09 +02:00
Marcos García
94090e85db Added Copyright and changelog entry 2012-09-09 15:12:04 +02:00
Laurent Destailleur
3ab88a1171 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-09 15:10:15 +02:00
Laurent Destailleur
fcce22026a Fix: Bad name of var 2012-09-09 15:09:54 +02:00
Laurent Destailleur
8f20d31b4f Merge pull request #374 from marcosgdf/barcode-mini-search
Allow to search barcodes in the permanent mini search box
2012-09-09 06:04:20 -07:00
Laurent Destailleur
e0624abb2c Added option THEME_ELDY_USE_HOVER to enable mouse hover, because when
using software a lot, it becomes annoying. So we let user choose
(choice possible only with eldy theme for the moment).
2012-09-09 14:49:20 +02:00
Marcos García
33c1fd2a01 Allow to search barcodes in the permanent mini search box
Requested by Joaquim in Dolibarr.es forum
http://dolibarr.es/index.php/foro/9-sugerencias/1337-buscador-de-la-izquierda/
2012-09-09 14:43:41 +02:00
Laurent Destailleur
2c2d17b101 Fix: Try a fix to avoid having the hover on array that should not have
it.
2012-09-09 13:13:24 +02:00
Laurent Destailleur
a551fa982e Comments 2012-09-08 21:29:03 +02:00
Laurent Destailleur
4f72b0ea92 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-08 18:58:15 +02:00
Laurent Destailleur
5bd14b20d5 Trans: Add bg_BG language and fix monor strings
Fix: Removed warning into autotranslator tool.
2012-09-08 18:57:52 +02:00
Regis Houssin
0a61f13c7a Fix: restore broken features 2012-09-08 18:10:19 +02:00
Regis Houssin
7a0b8b3b1a Fix: saturday strict mode 2012-09-08 17:43:14 +02:00
Laurent Destailleur
4ac14fd927 Merge pull request #371 from simnandez/develop
Try to enable hover in lists into auguria and eldy themes
2012-09-08 06:27:28 -07:00
Laurent Destailleur
39ca93bb7a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-08 15:18:37 +02:00
Laurent Destailleur
ce64a26875 A different fix to keep username. 2012-09-08 15:18:14 +02:00
Laurent Destailleur
600915b8ec Revert "Revert "Fix: GETPOST is already in method""
This reverts commit 0d13b80fec.
2012-09-08 15:17:53 +02:00
Regis Houssin
d2e336ddd6 Fix: GET and POST treatment in dol_loginfunction() 2012-09-08 15:16:27 +02:00
Laurent Destailleur
26d3234dc8 Update pt_PT 2012-09-08 15:12:12 +02:00
Laurent Destailleur
0d13b80fec Revert "Fix: GETPOST is already in method"
This reverts commit c4f3e872ca.
2012-09-08 13:33:52 +02:00
Laurent Destailleur
5641a451d5 Revert "Fix: GETPOST is already in method"
This reverts commit ce26a3cc81.
2012-09-08 13:33:48 +02:00
Regis Houssin
ce26a3cc81 Fix: GETPOST is already in method 2012-09-08 13:24:10 +02:00
Laurent Destailleur
00ceaf9fac Sec: XSS hole 2012-09-08 13:19:54 +02:00
Laurent Destailleur
0cf89eac08 Doxygen 2012-09-08 02:17:08 +02:00
Laurent Destailleur
a7fdbcbddc Update auguria module 2012-09-08 02:03:47 +02:00
Laurent Destailleur
1721f564c8 Increase size of field into database 2012-09-08 01:42:15 +02:00
Laurent Destailleur
d0528740c2 Fix: We must not show date range for a product line type (only
service line)
2012-09-08 01:02:54 +02:00
Laurent Destailleur
7c27cfa88e Fix: br at wrong place (a different fix that should be ok in all cases) 2012-09-08 00:58:14 +02:00
Laurent Destailleur
1280499110 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-08 00:52:59 +02:00
Laurent Destailleur
265ef489a6 Merge menu "System info" with "System tools" 2012-09-08 00:52:44 +02:00
Regis Houssin
c98e456ba9 Fix: missing <br> and strict mode 2012-09-07 18:16:05 +02:00
Regis Houssin
d60211a7c8 Fix: update entity field 2012-09-07 17:43:27 +02:00
Regis Houssin
ee1cf819f7 Fix: mass convert line delimiters 2012-09-07 17:23:16 +02:00
Regis Houssin
5270ec06cb Fix: compatibility with multicompany transverse mode 2012-09-07 17:20:12 +02:00
Regis Houssin
ab5e4db9c0 Fix: possibility to use with another element 2012-09-07 13:47:35 +02:00
Regis Houssin
847a335ee5 TODO: just use ajaxdirtree.php for load database after ajax refresh and
not scan directories, too slow every page loaded !
2012-09-07 13:33:13 +02:00
Regis Houssin
830ec2d4fb Fix: reload page after refresh 2012-09-07 13:28:38 +02:00
Regis Houssin
2ee6f33f72 New: add ajax refresh method and code more clear 2012-09-07 13:27:12 +02:00
Regis Houssin
928aae7f79 Fix: strict mode day 2012-09-07 11:40:59 +02:00
Regis Houssin
77bbae7723 Fix: remove older models for avoid warnings 2012-09-07 11:18:08 +02:00
Regis Houssin
b6dc20fb90 Fix: send $varfiles instead _FILES 2012-09-07 10:58:29 +02:00
Regis Houssin
e725ef0eef Fix: find $upload_dir in first part of $dest_file 2012-09-07 10:54:56 +02:00
Regis Houssin
68c71896d4 Fix: add extraparams field for more parameters 2012-09-07 10:50:19 +02:00
Laurent Destailleur
0dfc9e59fe New: Creation of meta file works for all elements. Disabled by default. 2012-09-07 10:30:02 +02:00
Laurent Destailleur
eb3a262289 Fix: br at wrong place 2012-09-07 10:03:25 +02:00
Regis Houssin
171f25d3b2 Fix: getDirList is ambiguous, this method can return dir list or files
list. Method is renamed to "getNodesList"
2012-09-07 08:47:10 +02:00
Regis Houssin
b6f090eeef Fix: add notrigger parameter 2012-09-07 08:09:07 +02:00
Laurent Destailleur
13d6024a9f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-07 00:15:08 +02:00
Laurent Destailleur
1275a41244 New: Start to work on position of tasks into a project 2012-09-07 00:14:50 +02:00
Laurent Destailleur
28e7b73d21 Enhancement of holiday module 2012-09-06 23:58:09 +02:00
Laurent Destailleur
6e90e60268 Fix data init 2012-09-06 23:46:35 +02:00
Regis Houssin
83fbaac70d New: add hook in dol_move_uploaded_file method and split function with
dol_check_uploaded_file method
2012-09-06 21:30:44 +02:00
Laurent Destailleur
221b671636 New: The signature feature is full ok now. 2012-09-06 19:07:51 +02:00
Regis Houssin
210662d39e Fix: [ bug #533 ] 2012-09-06 15:18:30 +02:00
Regis Houssin
282d9c9c29 Merge pull request #372 from cbattarel/develop
dont use lines without buying price for margin calculation if ForceBuyPr...
2012-09-06 06:10:51 -07:00
Christophe Battarel
2b010c9ba4 dont use lines without buying price for margin calculation if ForceBuyPriceIfNull is set 2012-09-06 13:49:39 +02:00
Regis Houssin
20751e0279 Fix: [ bug #533 ] Using quotes in intervention sheet description leads
to empty description
2012-09-06 12:55:54 +02:00
Regis Houssin
6f8b403c23 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-06 12:41:08 +02:00
Regis Houssin
b5ba6ef4d9 Fix: broken feature, enable source details by default 2012-09-06 12:37:36 +02:00
Regis Houssin
720d0d99b0 Fix: strict mode 2012-09-06 12:36:55 +02:00
Regis Houssin
3c63307087 Fix: remove dead code 2012-09-06 12:30:03 +02:00
Regis Houssin
4309705b4c Fix: bad array 2012-09-06 12:26:23 +02:00
Laurent Destailleur
055bb7a9b8 Fix: Restore correct includes.
All entry pages must start with a require main.inc.php, except command
line script that start with master.inc.php.
To avoid errors into jenkins, we must exclude file common.inc.php.
All files ending *.inc.php must be excluded from jenkins because such
files are not "start/entry pages". That's the difference with
standard files *.php.
*.php
2012-09-06 10:39:25 +02:00
Laurent Destailleur
1a2ead7bdf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-06 10:22:56 +02:00
Laurent Destailleur
7f3013cd8f Fix: Show box even if order was not yet set 2012-09-06 10:22:33 +02:00
Laurent Destailleur
35c44896e4 Strict mode 2012-09-06 10:22:15 +02:00
Laurent Destailleur
0ec9793308 Fix: Bad test 2012-09-06 10:18:45 +02:00
Regis Houssin
00784ffce5 Fir: go to hell 2012-09-06 09:48:25 +02:00
Regis Houssin
c99e730e0c Fix: last try before asylum 2012-09-06 09:27:23 +02:00
Regis Houssin
7bd18ba840 Fix: phpunit error again ! pfff 2012-09-06 09:17:01 +02:00
Regis Houssin
c9ea50c51f Try another method 2012-09-06 09:09:00 +02:00
Regis Houssin
83dd81110d Fix: bad path the return 2012-09-06 09:01:54 +02:00
Regis Houssin
9e4ff47711 Fix: bad path 2012-09-06 08:52:31 +02:00
Regis Houssin
e0bb5f334d Try to avoid phpunit errors 2012-09-06 08:31:38 +02:00
Regis Houssin
0b057a071a Fix: for avoid phpunit errors 2012-09-06 08:24:29 +02:00
Regis Houssin
8787a703a0 Fix: remove old tests 2012-09-06 08:06:48 +02:00
Laurent Destailleur
2141a33d53 Trans: Init bulgarian files 2012-09-06 00:17:45 +02:00
Laurent Destailleur
2ff87a2c1c Exclude dir 2012-09-05 20:41:58 +02:00
Laurent Destailleur
856c829c99 New: Add a selection module for emailing to enter a recipient from
gui.
2012-09-05 20:41:28 +02:00
Laurent Destailleur
655a288f8b Fix: Removed last separator line 2012-09-05 19:52:17 +02:00
Laurent Destailleur
76bdd878cf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-05 19:35:42 +02:00
Laurent Destailleur
aef1e29ad7 Qual: Interface is more clear. 2012-09-05 19:35:04 +02:00
Regis Houssin
67f0313802 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-05 19:25:20 +02:00
Regis Houssin
9d67b04076 New: add possibility to force entity in login page 2012-09-05 19:22:03 +02:00
Laurent Destailleur
7059cdb07a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-05 18:33:01 +02:00
Laurent Destailleur
20bca1dd5a Qual: Removed useless page 2012-09-05 18:28:12 +02:00
simnandez
bae63a70a1 Trad: Add holiday first translation 2012-09-05 17:51:25 +02:00
Regis Houssin
3823e5d374 New: add possibility to add or force default directories 2012-09-05 17:37:58 +02:00
simnandez
99946d828c Trad: Add missing translations 2012-09-05 16:39:01 +02:00
Laurent Destailleur
2e2f156839 Fix: title 2012-09-05 16:20:51 +02:00
Laurent Destailleur
7910993d90 Update favicon 2012-09-05 15:35:26 +02:00
simnandez
ff0bf4417b Try to enable hover in lists into auguria and eldy themes 2012-09-05 15:29:21 +02:00
Laurent Destailleur
2aafe5eef1 Merge pull request #370 from simnandez/develop
Develop
2012-09-05 05:43:16 -07:00
Laurent Destailleur
765fd9341a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-05 14:42:20 +02:00
Laurent Destailleur
d02076f8f2 Strict mode war 2012-09-05 14:41:45 +02:00
simnandez
f164bb6758 New: Add PRODUCT_PRICE_MODIFY trigger 2012-09-05 14:40:11 +02:00
simnandez
a3ecb1203b New: Add PRODUCT_PRICE_MODIFY trigger 2012-09-05 14:38:16 +02:00
Regis Houssin
4f056c707c Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-05 14:33:00 +02:00
Regis Houssin
c18375d7ee Fix: broken features
$reshook may contain returns stacked by other modules
$reshook is always empty with an array for can not lose returns stacked
with other modules
$hookmanager->resArray may contain array stacked by other modules
2012-09-05 14:30:12 +02:00
Laurent Destailleur
5878dd5e40 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-05 14:05:55 +02:00
Laurent Destailleur
a3cb0e502e Uniformize code and add comment on localtax to prepare usage for other
countries.
2012-09-05 14:05:17 +02:00
Regis Houssin
cb4d7409e0 Merge pull request #369 from simnandez/develop
Update ChangeLog
2012-09-05 04:39:26 -07:00
Laurent Destailleur
00cd6a050d Uniformise code 2012-09-05 13:10:13 +02:00
Laurent Destailleur
0e1dcb9408 Use a more standard behaviour: If hook return non zero, it is a "replace
code" hook. Otherwise, it is "insert code" hook.
2012-09-05 13:05:24 +02:00
Laurent Destailleur
9496fdd20b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-05 13:00:01 +02:00
Laurent Destailleur
84438d82f4 Qual: Clean module 2012-09-05 12:59:33 +02:00
simnandez
815dd9f5ee Update ChangeLog 2012-09-05 12:45:15 +02:00
Regis Houssin
86f3c8eb26 Fix: return an array 2012-09-05 12:38:39 +02:00
Regis Houssin
696c7eb454 Fix: use require instead include_once 2012-09-05 11:22:52 +02:00
Laurent Destailleur
b20c8d97c0 Fix: Checkstyle 2012-09-05 11:20:52 +02:00
Laurent Destailleur
9c11092f46 Uniformize code 2012-09-05 11:15:38 +02:00
Regis Houssin
5be523faad Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-05 11:05:02 +02:00
Laurent Destailleur
ef7de86d7e Show more param on conf.php file 2012-09-05 10:38:48 +02:00
Regis Houssin
1933bd4b50 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-05 10:17:33 +02:00
Regis Houssin
6bd571b31a New: add hook 'getDirList' in dol_dir_list() method 2012-09-05 10:17:02 +02:00
Laurent Destailleur
92fb64d112 Fix: PHP 5.2 compatibility 2012-09-05 10:11:18 +02:00
Laurent Destailleur
d57ba942f4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-05 09:59:03 +02:00
Laurent Destailleur
cc38fbe33f Uniformize code 2012-09-05 09:58:35 +02:00
Laurent Destailleur
f9607037a7 Qual: Removed deprecated table 2012-09-05 09:58:09 +02:00
Regis Houssin
f056ca3a41 FIXME: class commonagenda not exist 2012-09-05 08:07:15 +02:00
Regis Houssin
3e5e301725 Fix: remove deleted files from phpunit test 2012-09-05 07:48:17 +02:00
Laurent Destailleur
105cb2373c Add comment 2012-09-05 04:13:31 +02:00
Laurent Destailleur
e441b246a8 Debug of holiday module 2012-09-05 03:57:26 +02:00
Laurent Destailleur
246f3b5bb8 New: Add the holiday module (provided by teclib with permission to add
it by default).
2012-09-05 03:26:57 +02:00
Laurent Destailleur
55a5d56ebb Fix: comment 2012-09-04 23:08:57 +02:00
Laurent Destailleur
2f680adbb5 Fix: We must use the shipping address. 2012-09-04 23:03:39 +02:00
Regis Houssin
8a50a391be Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-04 20:47:03 +02:00
Regis Houssin
678e006121 Fix: for test 2012-09-04 20:46:08 +02:00
Laurent Destailleur
95fc429743 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-04 20:05:31 +02:00
Laurent Destailleur
aea89389e8 Qual: Uniformize pdf templates
Qual: Removed duplicate pdf templates when content with no technology
difference nor functionnal difference
2012-09-04 20:04:38 +02:00
Regis Houssin
58a9dc1afb Fix: syntax error 2012-09-04 19:33:11 +02:00
Regis Houssin
32421ef33c Fix: more simple 2012-09-04 19:25:31 +02:00
Regis Houssin
db9fe97738 New: add "please be patient" message 2012-09-04 19:19:30 +02:00
Regis Houssin
75166db2ed Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-04 18:35:03 +02:00
Regis Houssin
1b238a7086 Fix: try to use jquery blockUI 2012-09-04 18:34:36 +02:00
Laurent Destailleur
2bf933fbab Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-09-04 17:48:33 +02:00
Laurent Destailleur
dcc6b5e2c1 Qual: Removed deprecated files 2012-09-04 17:44:23 +02:00
Regis Houssin
83b5860ee1 Fix: for use with command line 2012-09-04 12:27:43 +02:00
Regis Houssin
65263886f4 Fix: add distinct for avoid double record 2012-09-04 11:51:51 +02:00
Regis Houssin
795bb1de77 Fix: comaptibility with multicompany and transverse mode 2012-09-04 11:09:17 +02:00
Regis Houssin
7f6bf34362 Try to use blockUI 2012-09-04 09:38:38 +02:00
Regis Houssin
2130571712 New: try jquery blockUI plugin 2012-09-03 22:05:13 +02:00
Regis Houssin
15db85bc86 Fix: prepare external extended ged 2012-09-03 21:00:46 +02:00
Laurent Destailleur
bfc933df4d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-03 18:18:12 +02:00
Laurent Destailleur
841586b050 Removed dead code. Allow to use attachment=0. 2012-09-03 18:17:19 +02:00
Regis Houssin
5622d1624c New: prepare for extend GED module 2012-09-03 18:03:39 +02:00
Laurent Destailleur
ac02450200 New: Can also use attachment=0 as parameter (for test purpose) 2012-09-03 18:01:07 +02:00
Regis Houssin
0797ff3057 Fix: missing concat 2012-09-03 17:25:35 +02:00
Regis Houssin
1abc87f642 Fix: can delete an import file with dialog confirm 2012-09-03 17:14:33 +02:00
Regis Houssin
fc29e7c432 Fix: $attachement is already true by default
Fix: remove deprecated code
2012-09-03 17:01:03 +02:00
Regis Houssin
14b1b1d6e5 Fix: missing upgrade with minor version 2012-09-03 16:28:55 +02:00
Regis Houssin
616ee24683 Fix: try to use another popup jquery plugin gpl compatible 2012-09-03 11:45:01 +02:00
Laurent Destailleur
36571f1d54 Removed dead code 2012-09-03 10:39:21 +02:00
Laurent Destailleur
51ea3c0775 Minor look fix 2012-09-03 10:27:31 +02:00
Laurent Destailleur
9eb21c3d9f Fix: Minot miscellanous fix 2012-09-03 10:17:58 +02:00
Laurent Destailleur
fdf787fca4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-03 09:45:44 +02:00
Laurent Destailleur
ac5cb23c04 Fix: Parameters at wrong place. 2012-09-03 09:45:26 +02:00
Regis Houssin
d2ae90f938 Fix: strict mode everywhere 2012-09-02 22:48:52 +02:00
Regis Houssin
8a5fe809f4 Fix: remove deprecated function and avoid warnings 2012-09-02 22:31:25 +02:00
Regis Houssin
e36af3085a New: add possibility to have a confirm dialog box with on/off buttons
Qual: move some functions in lib_head.js
2012-09-02 22:18:06 +02:00
Regis Houssin
0a88287b50 Fix: strict mode circus 2012-09-02 22:16:57 +02:00
Regis Houssin
7e5971f2d1 Fix: missing conf max_file_size 2012-09-02 22:15:18 +02:00
Regis Houssin
3659887134 Fix: add list of files 2012-09-02 22:15:00 +02:00
Regis Houssin
afdab32bbf Fix: avoid warnings (strict mode) 2012-09-02 22:12:56 +02:00
Regis Houssin
a00205a17d New: add possibility to set and del anothers constants 2012-09-02 22:06:03 +02:00
Regis Houssin
b9ac974013 Fix: use ajax button on/off 2012-09-02 22:04:30 +02:00
Regis Houssin
026cf124af Fix: avoid php warning 2012-09-02 22:01:05 +02:00
Regis Houssin
0ad137e734 Fix: uniformize code 2012-09-02 22:00:14 +02:00
Regis Houssin
00e0649cde Fix: strict mode plaza 2012-09-02 21:58:55 +02:00
Laurent Destailleur
2927a58606 Fix: Some fix into ajax ecm.
New: The cache for nb of files into a dir is now implemented. By
default it is "not defined" and we refresh it when making a scan of a
dir for all subdirs.
2012-09-02 20:11:36 +02:00
Laurent Destailleur
913b923886 Fix: error report when duplicate product 2012-09-02 15:09:48 +02:00
Laurent Destailleur
f369c9d99b New: ECM autodir works also for files joined to products and services 2012-09-02 15:03:55 +02:00
Laurent Destailleur
7f40fe18a4 Works on larger screens 2012-09-02 14:43:57 +02:00
Laurent Destailleur
f783960f19 Fix: Avoid repeat of img 2012-09-02 14:32:56 +02:00
Laurent Destailleur
c2dc2ba115 Fix: percentage during creation 2012-09-02 14:26:40 +02:00
Laurent Destailleur
c68ffdfcae Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-02 14:11:28 +02:00
Laurent Destailleur
1253683b83 Fix: edit of percentage 2012-09-02 14:11:07 +02:00
Laurent Destailleur
b891975b7d Fix: edit of percentage 2012-09-02 14:10:51 +02:00
Regis Houssin
ac5e201829 Fix: compatibility between bureau2crea theme and multicompany module 2012-09-02 11:40:20 +02:00
Regis Houssin
63564f8d50 Fix: broken features 2012-09-02 09:27:06 +02:00
Regis Houssin
671006316a Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-09-02 09:02:16 +02:00
Regis Houssin
9813344346 Fix: broken features and uniformize code 2012-09-02 08:50:42 +02:00
Laurent Destailleur
1ccb8f3363 New: Add a test during upgrade if database version is too low. 2012-09-02 01:47:21 +02:00
Laurent Destailleur
5536df6941 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-01 19:16:16 +02:00
Laurent Destailleur
8613dcd26e Add specific README.md for DoliWamp directory of sourceforge. 2012-09-01 19:15:08 +02:00
Regis Houssin
6f8b63f0ef Merge pull request #367 from simnandez/develop
Fix: Bad assignation of const for pdf delivery module name
2012-09-01 09:48:57 -07:00
Regis Houssin
7ff475c462 Fix: Modify spanish VAT to new rates (Juanjo) 2012-09-01 18:43:51 +02:00
Regis Houssin
54acdc71f6 Fix: this field is for 3.3 2012-09-01 18:09:47 +02:00
simnandez
44a3db8785 Fix: Bad assignation of const for pdf delivery module name 2012-09-01 17:02:38 +02:00
Laurent Destailleur
c5dea16e31 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-09-01 14:34:40 +02:00
Regis Houssin
1ec4278234 Merge pull request #365 from grandoc/develop
fix: wrong link
2012-09-01 01:47:32 -07:00
Grand Philippe
56a620bc88 fix: wrong link 2012-08-31 19:07:47 +02:00
Laurent Destailleur
f64e6ced25 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-31 18:38:35 +02:00
Laurent Destailleur
9c13f81bef Trans 2012-08-31 18:38:01 +02:00
Regis Houssin
c9886fb86d Fix: same size of view lines 2012-08-31 16:50:46 +02:00
Laurent Destailleur
83ab8c05e2 New: More surface control into project edition 2012-08-31 14:31:36 +02:00
Laurent Destailleur
6709d3d377 Fix: moving date of task when moving date of project was not working 2012-08-31 14:31:08 +02:00
Laurent Destailleur
27846d1698 Fix: Start and end date not saved at project creation
Conflicts:
	htdocs/projet/class/project.class.php
2012-08-31 12:55:10 +02:00
Regis Houssin
f21fda248b Fix: update virtualmin script 2012-08-31 11:55:53 +02:00
Regis Houssin
f81b696890 Fix: code optimization 2012-08-31 09:25:27 +02:00
Regis Houssin
18b7549c52 Fix: use GETPOST('usenewaddlineform') instead MAIN_FEATURES_LEVEL 2012-08-31 08:51:08 +02:00
Regis Houssin
4054e5a8bd Merge pull request #364 from marcosgdf/minor
Fixed a problem when adding line into proposal
2012-08-30 23:36:36 -07:00
Regis Houssin
57fa5d6c03 Merge pull request #363 from marcosgdf/translations
Fixed es_ES translation typo
2012-08-30 23:33:38 -07:00
Regis Houssin
41af1cec79 Merge pull request #362 from marcosgdf/coding-style
Lower-cased Header function
2012-08-30 23:28:40 -07:00
Marcos García
bb99e4d40d Fixed a problem when adding line into proposal 2012-08-31 07:49:00 +02:00
Marcos García
2b63ea314c Fixed es_ES translation typo 2012-08-31 07:16:39 +02:00
Marcos García
4209898d20 Lower-cased Header function 2012-08-31 05:58:38 +02:00
Laurent Destailleur
2aa883c25e Better comments 2012-08-31 01:00:18 +02:00
Regis Houssin
9a6ddbe096 Fix: use $mysoc instead customer 2012-08-30 22:14:18 +02:00
Regis Houssin
e84f57e62c Fix: restore broken features 2012-08-30 21:37:37 +02:00
Laurent Destailleur
c322f2d3b1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-30 21:16:57 +02:00
Laurent Destailleur
c7e7b67433 Fix: bad default vat calculation 2012-08-30 21:16:41 +02:00
Laurent Destailleur
eea2840f15 Revert "Fix: Disabled if customer is not subject to VAT"
This reverts commit 8f21abfc5a.
2012-08-30 20:29:03 +02:00
Laurent Destailleur
cd9a6942ce Revert "Fix: add title"
This reverts commit f27821a657.
2012-08-30 20:28:43 +02:00
Regis Houssin
f27821a657 Fix: add title 2012-08-30 19:32:34 +02:00
Regis Houssin
8f21abfc5a Fix: Disabled if customer is not subject to VAT 2012-08-30 19:01:48 +02:00
Regis Houssin
cf89896df0 Fix: changelog 2012-08-30 18:05:16 +02:00
Laurent Destailleur
96e0586934 Fix: enhance cleaning of database 2012-08-30 17:11:42 +02:00
Laurent Destailleur
ddb31d4b2c Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/webservices/server_user.php
2012-08-30 16:54:59 +02:00
Regis Houssin
88742e41d4 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-30 11:10:53 +02:00
Regis Houssin
95c2650160 Fix: best method 2012-08-30 11:10:17 +02:00
Laurent Destailleur
bd5acde0c7 Add tag to detect new method (to help debugs) 2012-08-29 19:03:58 +02:00
Laurent Destailleur
edab47fbc8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-29 18:23:49 +02:00
Regis Houssin
ffd6c07003 Fix: remove obsolete code 2012-08-29 18:14:20 +02:00
Regis Houssin
13d46da3fe Fix: clear old data before update 2012-08-29 18:01:00 +02:00
Laurent Destailleur
86a12d7471 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-29 17:43:43 +02:00
Laurent Destailleur
d8d28d6350 New: Add ChromePHP output into syslog module. 2012-08-29 17:43:20 +02:00
Regis Houssin
327e51ccd9 Fix: more simple 2012-08-29 17:40:13 +02:00
Regis Houssin
4a97ea9b7b Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-29 17:30:11 +02:00
Laurent Destailleur
21555f00ef Fix: Bad test 2012-08-29 16:59:36 +02:00
Regis Houssin
d6918d7a87 Fix: upgrade ckeditor 2012-08-29 16:31:48 +02:00
Laurent Destailleur
87742cb3d8 Qual: Move an admin tools into admin menu.
Fix: Fix 7 bugs into the mass vat update tool.
2012-08-29 14:13:13 +02:00
Laurent Destailleur
28d8431159 Fix: Packaging for 3.2.1 of zip 2012-08-29 12:40:49 +02:00
Regis Houssin
6bdba9fa72 Fix: get the good vat rates 2012-08-29 11:55:53 +02:00
Laurent Destailleur
07aae3200f Fix: Test on ref and ref_ext into webservice 2012-08-29 10:23:15 +02:00
Regis Houssin
5f32617843 Fix: restore dolibarr parameters 2012-08-29 10:14:40 +02:00
Regis Houssin
4da73a8d82 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-29 10:08:46 +02:00
Regis Houssin
54860ef304 Fix: upgrade tcpdf and fpdi 2012-08-29 09:55:32 +02:00
Laurent Destailleur
e027f12e0a Merge pull request #359 from marcosgdf/minor
Uniformized SQL error management in boxes
2012-08-29 00:45:27 -07:00
Laurent Destailleur
d710de5e64 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-29 09:43:45 +02:00
Laurent Destailleur
3771ad2e87 Fix: Restore line feed after removing it from select_product function. 2012-08-29 09:43:24 +02:00
Marcos García
89692fb79e Uniformized sql error management
Eldy told me that this is the correct way to handle SQL errors…
2012-08-29 08:37:12 +02:00
Regis Houssin
70c467e429 Fix: Update vat rate combobox 2012-08-29 08:17:25 +02:00
Regis Houssin
3cb93e90cd Merge pull request #358 from marcosgdf/translations
Improved translations
2012-08-28 22:22:00 -07:00
Marcos García
f9eb3873b0 Improved and added missing es_ES translations 2012-08-29 00:32:57 +02:00
Marcos García
1a676b5b4b Added missing permission translations 2012-08-29 00:32:16 +02:00
Marcos García
7c0463b215 Used incorrect translation keys
Duplicated keys
2012-08-29 00:29:47 +02:00
Laurent Destailleur
e3e36dca6d We set to zero to unifrmize way of working between customer and supplier
payments
2012-08-28 23:39:11 +02:00
Laurent Destailleur
8a74c928f3 Fix: regression 2012-08-28 23:01:04 +02:00
Laurent Destailleur
745b35f94e Missing translation key 2012-08-28 22:39:22 +02:00
Laurent Destailleur
6853ed0e5e Fix: permission for a user to view its own card using webservice 2012-08-28 22:31:51 +02:00
Laurent Destailleur
bd05056616 Fix: Missing br removed from select_produits 2012-08-28 22:25:58 +02:00
Laurent Destailleur
32ca894952 Try a fix for js syntax error 2012-08-28 22:05:40 +02:00
Laurent Destailleur
990a13146d Fix: permission for a user to view its own card using webservice 2012-08-28 18:47:32 +02:00
Laurent Destailleur
4108e48d5c Merge pull request #349 from FHenry/develop
Change size of element type
2012-08-28 09:25:08 -07:00
Laurent Destailleur
2a800816d9 Merge pull request #356 from cbattarel/develop
modify margin management for global discount + correct bug (wrong consta...
2012-08-28 09:24:06 -07:00
Laurent Destailleur
4bd6e9e6ad Merge pull request #355 from marcosgdf/cerfafr
Minor fixes to CerfaFR donation document
2012-08-28 09:09:29 -07:00
Regis Houssin
f9aca7ed18 Fix: changelog and copyright 2012-08-28 17:17:21 +02:00
Marcos García
55d7c6cd4e Added me to the COPYRIGHT file 2012-08-28 17:10:11 +02:00
Regis Houssin
4bb837dc6a Fix: update icon 2012-08-28 17:01:16 +02:00
Regis Houssin
c0bde33b1f Fix: [ task #498 ] add same tests in edit mode 2012-08-28 16:11:40 +02:00
Regis Houssin
62a7847c5b Fix: [ task #498 ] debug 2012-08-28 15:35:32 +02:00
Regis Houssin
ce9a16b341 Fix: button add not disabled 2012-08-28 14:42:46 +02:00
Regis Houssin
526f0e310b Fix: convert line delimiters 2012-08-28 12:38:07 +02:00
Regis Houssin
06b4cc3724 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-28 12:37:06 +02:00
Regis Houssin
4332c341bf Fix: check if textarea is not empty for free lines 2012-08-28 12:36:35 +02:00
Christophe Battarel
c1859d361a modify margin management for global discount + correct bug (wrong constant name) 2012-08-28 10:13:58 +02:00
Marcos García
c8869e65a6 Minor fixes to CerfaFR donation document
* Title wasn't localized
* Fixed donation ref
2012-08-28 09:58:15 +02:00
Laurent Destailleur
562e2b6a7b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-28 09:33:58 +02:00
Laurent Destailleur
26b05212c7 Fix: Missing include 2012-08-28 09:33:43 +02:00
Regis Houssin
57f5338e4f Merge pull request #353 from marcosgdf/coding-style
Refactored Mailmanspip class
2012-08-27 22:55:18 -07:00
Regis Houssin
84a634f7f0 Merge pull request #352 from marcosgdf/mailmanspip
Fixes to MailmanSPIP module
2012-08-27 22:53:33 -07:00
Marcos García
c302567d1d Refactored Mailmanspip class
Removed duplicated code
Added missing error tests and logs
2012-08-28 07:02:00 +02:00
Marcos García
afee791b35 Forgot to add the copyright 2012-08-28 05:53:44 +02:00
Marcos García
c6fe6c32bc Translated some MailmanSPIP strings 2012-08-28 05:46:48 +02:00
Marcos García
f64ab52993 Fixed MailmanSPIP problem + little refactor 2012-08-28 05:22:39 +02:00
Regis Houssin
eea7127aa2 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-27 21:45:48 +02:00
Regis Houssin
e55c86074e Fix: compatibility with combobox 2012-08-27 21:45:19 +02:00
Laurent Destailleur
24c29e23f9 Fix: Force reload of index page when all boxes were removed. This is to
be sure to have the combo list complete after this refresh.
2012-08-27 21:16:26 +02:00
Laurent Destailleur
857a11f508 New: Can select thirdparties into emailing targets, even if module
category is not enabled.
2012-08-27 20:21:53 +02:00
Laurent Destailleur
80d9fb7134 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-27 20:02:42 +02:00
Laurent Destailleur
d0d5891eef New: Add unit foot2, inch2, foot3 and inch3 for surface and volumes. 2012-08-27 20:02:23 +02:00
Laurent Destailleur
6c0dac2f17 More things to repair 2012-08-27 19:30:09 +02:00
Regis Houssin
10f9b53557 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-27 19:12:31 +02:00
Regis Houssin
3e2be54ead Fix: restore old method 2012-08-27 19:11:44 +02:00
Laurent Destailleur
29fa8b64c4 Checkstyle 2012-08-27 18:04:00 +02:00
Laurent Destailleur
8a42cc26b7 Fix: Bad syntax of class name 2012-08-27 18:00:59 +02:00
Laurent Destailleur
60ad09db90 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-27 17:56:10 +02:00
Laurent Destailleur
5e63642fcb Change to ignore bad detection of ident by PEAR code sniffer. 2012-08-27 17:55:15 +02:00
Regis Houssin
7ca0aa8a78 Fix: restore deprecated files 2012-08-27 17:23:35 +02:00
Regis Houssin
07a10d3984 Fix: add compatibility with old static combobox 2012-08-27 17:18:46 +02:00
Laurent Destailleur
426b3c2627 New: Adding a box add it on column with the less boxes. 2012-08-27 14:47:20 +02:00
Laurent Destailleur
b57de4fbac Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-27 14:11:58 +02:00
Laurent Destailleur
1255699791 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/tpl/objectline_add.tpl.php
2012-08-27 14:11:17 +02:00
Regis Houssin
6426ef3f8d Fix: add test for instance 2012-08-27 14:08:59 +02:00
Laurent Destailleur
625f53a708 Fix 4: test on selected value was lenght > 0 but if value is 0, lenght
is 1 and we want flase here.
Fix 5: Button Add is enabled once a predefined product is selected.
2012-08-27 13:54:14 +02:00
Regis Houssin
fb866d9106 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/core/lib/ajax.lib.php
	htdocs/core/tpl/objectline_add.tpl.php
2012-08-27 13:33:31 +02:00
Regis Houssin
2f14fbe791 Fix: debug ckeditor and VAT 2012-08-27 13:27:27 +02:00
Laurent Destailleur
cc22f25d97 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-27 13:07:40 +02:00
Laurent Destailleur
0bdb9aac31 Fix condition of usage of ckeditor 2012-08-27 13:07:25 +02:00
Laurent Destailleur
be10fe40ba Merge pull request #350 from marcosgdf/fix-install-table
Fixed SQL syntax problem
2012-08-27 03:37:17 -07:00
Laurent Destailleur
9570e03b1e Qual: Add TODO 2012-08-27 12:07:50 +02:00
Marcos García
7be72c39b1 Fixed SQL problems with llx_accounting.sql 2012-08-27 03:17:57 +02:00
Marcos García
07070b238b Fixed SQL syntax problem 2012-08-27 02:41:49 +02:00
Laurent Destailleur
35a0311d28 Fix: Checkstyle 2012-08-26 23:15:26 +02:00
Laurent Destailleur
0b42251dfd Checkstyle 2012-08-26 23:13:18 +02:00
Laurent Destailleur
d8e162c309 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-26 22:36:21 +02:00
Laurent Destailleur
bdaaa1d038 New: [ task #494 ] Send an email to foundation when a new member has
auto-subscribed
2012-08-26 22:33:27 +02:00
FHenry
d716763896 change size of elementtype 2012-08-26 21:53:40 +02:00
Regis Houssin
efa471b12b Fix: test if ckeditor is enabled 2012-08-26 21:47:56 +02:00
Laurent Destailleur
7fa4b9b423 Fix: Clean feature [ task #515 ] Add a "no e-mail" checkbox on contact 2012-08-26 20:28:19 +02:00
Laurent Destailleur
b2808f6a60 Doxygen 2012-08-26 20:18:29 +02:00
Laurent Destailleur
a18187620e [ bug #512 ] Filter system not working in banks > account > transactions 2012-08-26 19:23:08 +02:00
FHenry
7895ff0e5c Change size of element type 2012-08-26 19:03:23 +02:00
Laurent Destailleur
85bec2230e Update changelog 2012-08-26 18:58:24 +02:00
Laurent Destailleur
a08606f456 Add constant because such table should be edited with a specific page
(that does not exist yet, but that should exists as soon as someone
works on it).
2012-08-26 18:54:34 +02:00
Laurent Destailleur
5bc5707236 Merge pull request #348 from aspangaro/develop
I added the patch but i also added a hidden constant to make the accountancy dictionnary appears because this feature is not yet used.
2012-08-26 09:45:10 -07:00
Laurent Destailleur
fd00b16b19 Fix: Bad log format 2012-08-26 18:28:59 +02:00
Laurent Destailleur
efc61be1a4 Fix: Rounding at wrong place 2012-08-26 18:27:15 +02:00
Laurent Destailleur
56d19437f4 Fix: [ bug #524 ] Donation receipt html_cerfafr is not localized 2012-08-26 18:01:29 +02:00
Spangaro Alexandre
62322b3bda Better translation 2012-08-26 17:24:49 +02:00
Laurent Destailleur
a5a3121771 Update doc 2012-08-26 17:23:26 +02:00
Spangaro Alexandre
9050431f87 Simply way to update chart of accounts 2012-08-26 17:11:19 +02:00
Laurent Destailleur
9c04cb25db Qual: Removed not used files. 2012-08-26 15:51:28 +02:00
Laurent Destailleur
15eec16bee Fix: Regression 2012-08-26 15:31:06 +02:00
Laurent Destailleur
7db8c8aab9 Fix: Regression 2012-08-26 14:14:27 +02:00
Laurent Destailleur
1c0303ea6b Fix: Restore broken feature. 2012-08-26 13:44:42 +02:00
Laurent Destailleur
7c455da7c7 Revert "for module ultimatepdf"
This reverts commit 72895fa4b7.
2012-08-26 13:24:28 +02:00
Laurent Destailleur
41d047e3b2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/index.php
2012-08-26 13:13:37 +02:00
Laurent Destailleur
3ab014e5c0 Fix: Use bad date.
Fix: Autoselect of type.
2012-08-26 13:09:34 +02:00
Laurent Destailleur
4e537a986b Fix: Use bad date.
Fix: Autoselect of type.
2012-08-26 13:07:24 +02:00
Laurent Destailleur
bda132b07f Fix: [ bug #254 ] Database backup not working with complex passwords 2012-08-26 00:33:37 +02:00
Laurent Destailleur
8bcb90fcd0 Fix: syntax error 2012-08-26 00:28:04 +02:00
Regis Houssin
becda06fd6 Fix: security 2012-08-25 19:40:08 +02:00
Regis Houssin
40be4287cf Fix: remove old code 2012-08-25 19:29:26 +02:00
Regis Houssin
e402c9cd28 Fix: use propal instead propale 2012-08-25 19:25:06 +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
f322ec50ed New: [ task #498 ] - final part 2012-08-25 15:21:34 +02:00
Regis Houssin
d88abe8df0 Fix: use label instead libelle 2012-08-25 12:07:18 +02:00
Regis Houssin
6fe631378b Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into task498_objectline 2012-08-25 11:28:08 +02:00
Regis Houssin
e00b74619a Fix: regression 2012-08-25 11:09:58 +02:00
Regis Houssin
954f2afbc5 Fix: remove obsolete code 2012-08-25 10:49:59 +02:00
Regis Houssin
fbe28e75c9 Merge pull request #346 from marcosgdf/bug-499
Forgot to apply the patch to the rest of the files
2012-08-25 01:32:55 -07:00
Regis Houssin
c9113458d9 New: [ task #498 ] part 3 2012-08-25 03:28:30 +02:00
Marcos García
082753d115 Refactored code 2012-08-24 19:55:31 +02:00
Marcos García
977571e032 Forgot to apply the patch to the rest of the files 2012-08-24 18:32:19 +02:00
Regis Houssin
1a1fb2a88c Merge pull request #344 from grandoc/develop
fix some issue within typhon pdf
2012-08-24 07:41:48 -07:00
Grand Philippe
2d34e7bf8b fix some issue within typhon pdf 2012-08-24 16:34:05 +02:00
Regis Houssin
a0b3ea0dd4 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into task498_objectline

Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-08-23 18:52:55 +02:00
Regis Houssin
ead2a81baf Fix: merge problem 2012-08-23 18:45:41 +02:00
Regis Houssin
56a22d2b59 Fix: rename for security raison 2012-08-23 18:15:54 +02:00
Regis Houssin
eca37eb123 Fix: [ bug #497 ] Module Order Supplier inaccessible altogether because
of a missing SQL field
2012-08-23 17:24:29 +02:00
Regis Houssin
6a60551fdd Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into task498_objectline

Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-08-23 17:19:05 +02:00
Regis Houssin
45971ce6f0 Merge pull request #343 from marcosgdf/minor
Translations + Little refactor
2012-08-23 08:10:54 -07:00
Regis Houssin
86763bc20f Merge pull request #342 from grandoc/develop
fix some language issues
2012-08-23 08:08:20 -07:00
Regis Houssin
484f8ec218 Merge pull request #341 from marcosgdf/bug-499
Fixed bug #499
2012-08-23 08:07:26 -07:00
Regis Houssin
995c7f13d3 New: [ task #498 ] part3 2012-08-23 13:45:51 +02:00
Marcos García
752c867882 I like more this variable name :D 2012-08-23 09:45:52 +02:00
Marcos García
cb29cfed7b Translations + Little refactor 2012-08-23 09:43:13 +02:00
Grand Philippe
b015c7799a fix some language issues 2012-08-23 09:27:01 +02:00
Marcos García
0ecfe0465e Fixed bug #499
The input method of supplier orders wasn't being translated
2012-08-23 09:20:30 +02:00
Regis Houssin
51d3d33947 Merge pull request #339 from marcosgdf/bug-511
Fixed bug #511
2012-08-23 00:02:23 -07:00
Regis Houssin
4d1555f4ca Merge pull request #338 from atm-maxime/mko515
Mko515
2012-08-23 00:01:05 -07:00
Marcos García
fcb4f5ce67 Renamed MySQL alias that could cause conflicts 2012-08-23 09:00:31 +02:00
Regis Houssin
ff6b010c3e Merge pull request #340 from marcosgdf/translations
Improvements to translations
2012-08-22 23:59:04 -07:00
Marcos García
44cc4ae949 Some strings weren't being translated
Thanks to @grandoc and I.D & L (idl-mp.com) for the french translations
2012-08-23 08:46:22 +02:00
Maxime Kohlhaas
332ee652c3 Clear action was called with a rowid instead of id (rowid is for a target of the emailing, id is for the emailing) 2012-08-23 08:45:45 +02:00
Maxime Kohlhaas
39de1cb010 Task 515 : Correction on SQL request 2012-08-23 08:43:29 +02:00
Marcos García
66eabbe4a9 Improved es_ES translations 2012-08-23 08:33:18 +02:00
Marcos García
19bf4ab8df Improvements to translations
Some available translations weren't being translated
Also corrected wrong translation key
Improved es_ES translation string
2012-08-23 08:29:38 +02:00
Marcos García
43e4f139d5 Fixed bug #511
A pagination problem was causing duplicated records
https://doliforge.org/tracker/?func=detail&aid=511&group_id=144
2012-08-23 08:21:32 +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
Regis Houssin
3cdb2ba8e1 Merge pull request #337 from marcosgdf/coding-style
Improved coding style
2012-08-22 22:43:03 -07:00
Regis Houssin
99e7b82b69 Merge pull request #336 from marcosgdf/minor
Fixed string not being translated
2012-08-22 22:40:02 -07:00
Regis Houssin
08ea9c4351 Merge pull request #334 from grandoc/develop
Develop
2012-08-22 22:39:39 -07:00
Regis Houssin
4bdb2047a9 Merge pull request #335 from marcosgdf/translations
Added missing en_US translations
2012-08-22 22:38:46 -07:00
Marcos García
5769c0facc Changed incorrect includes 2012-08-23 02:46:16 +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
37c4898720 Removed "./" in require statements
It does not make any sense to do that
2012-08-23 01:43:44 +02:00
Maxime Kohlhaas
5fd10d14be Task 515 : Corrections + target modules modifications 2012-08-23 00:00:01 +02:00
Marcos García
56264f0bf5 Fixed incorrect change 2012-08-22 23:44:17 +02:00
Marcos García
ea119c45a2 Lower-cased all <?PHP 2012-08-22 23:27:53 +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
Maxime Kohlhaas
06ab1f6f94 Task 515 : New field added on contact : no_email 2012-08-22 22:59:10 +02:00
Marcos García
bed4e7bc72 Fixed string being not translated 2012-08-22 22:36:08 +02:00
Regis Houssin
85c0dd95ca Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into task498_objectline

Conflicts:
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-08-22 17:50:07 +02:00
Regis Houssin
4a5d89e6cc Fix: move barcode type entries in module descriptor for best
compatibility with multicompany
2012-08-22 17:44:52 +02:00
Regis Houssin
2ae1d3d3b5 New: [ task #498 ] 2012-08-22 17:42:40 +02:00
Philippe Grand
f6e31ee6bc Merge branch 'develop' of git://github.com/Dolibarr/dolibarr into develop 2012-08-22 09:04:41 +02:00
Marcos García
25042c1ef9 Added missing en_US translations
Made by tanayhan
http://www.dolibarr.org/forum/fbprofile/userid-7996
2012-08-22 07:13:02 +02:00
Regis Houssin
545cb023ff Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into task498_objectline 2012-08-21 13:48:52 +02:00
Regis Houssin
75bfddd7a6 Fix: wrong ereg 2012-08-21 11:47:56 +02:00
Philippe Grand
6cfe58f083 fix some english translation 2012-08-21 09:39:07 +02:00
Philippe Grand
0cc8ee9b8d translation enhancement 2012-08-20 16:18:42 +02:00
Philippe Grand
dcba31a4db translation enhancement 2012-08-20 15:51:16 +02:00
Philippe Grand
33ea1e1622 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr into develop 2012-08-20 14:44:20 +02:00
Laurent Destailleur
2ab1a018df Fix: GETPOST can not always be used to replace isset. 2012-08-20 14:30:16 +02:00
Laurent Destailleur
880276f047 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-08-20 14:14:26 +02:00
Laurent Destailleur
fb074daaf1 Fix: The backto use bad url. 2012-08-20 14:14:01 +02:00
Regis Houssin
3c13395d21 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into task498_objectline 2012-08-20 12:10:20 +02:00
Philippe Grand
158019f161 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr into develop 2012-08-20 11:07:28 +02:00
Regis Houssin
7c623a9a2e Fix: strict mode bounty 2012-08-20 11:04:56 +02:00
Regis Houssin
5dc10cfcae Fix: possibility to defined another value instead 50% 2012-08-20 10:38:48 +02:00
Regis Houssin
c6d008fb1b Fix: broken feature and add FIXME 2012-08-20 09:40:59 +02:00
Regis Houssin
1aa26d0cd7 Fix: missing show field if "in progress" is chosen first 2012-08-20 08:45:39 +02:00
Philippe Grand
b2771660d3 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr into develop 2012-08-20 08:43:10 +02:00
Regis Houssin
8719f87781 Fix: avoid warning "is not a legal ECMA-262 octal constant" 2012-08-20 08:30:55 +02:00
Regis Houssin
257dcb8928 Merge pull request #332 from marcosgdf/minor
Fixed incorrect HTML
2012-08-19 22:47:48 -07:00
Regis Houssin
945deb95a2 Merge pull request #331 from marcosgdf/coding-style
jQuerified events' javascript
2012-08-19 22:47:03 -07:00
Marcos García
63c4cfb609 Fixed incorrect HTML 2012-08-20 02:45:38 +02:00
Marcos García
344f379683 jQuerified events' javascript 2012-08-20 02:42:56 +02:00
Laurent Destailleur
9c31e6b2db Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-08-20 02:15:50 +02:00
Laurent Destailleur
218b97f2d0 Fix: [ bug #506 ] Can't set percentage of a started event 2012-08-20 02:15:07 +02:00
Regis Houssin
00781031d8 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-20 01:30:28 +02:00
Regis Houssin
3991e0b13d Fix: add accountancy code error message 2012-08-20 01:29:13 +02:00
Laurent Destailleur
f0d0539766 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-08-20 00:40:07 +02:00
Laurent Destailleur
a0796423e9 Move warning to info 2012-08-20 00:39:35 +02:00
Regis Houssin
24cc07815d Fix: remove old accountancy code, can cause blank screen 2012-08-20 00:36:51 +02:00
Laurent Destailleur
c664ac3cfa Fix: Default value was not defined 2012-08-20 00:27:38 +02:00
Regis Houssin
a856ad0afa Fix: strict mode sunshine 2012-08-19 09:05:50 +02:00
Regis Houssin
6729cd9b4b Merge pull request #330 from marcosgdf/fix-bug-504
Fixed bug #504
2012-08-18 22:48:24 -07:00
Regis Houssin
95c2312971 Merge pull request #329 from marcosgdf/translations
Added missing es_ES translation
2012-08-18 22:47:39 -07:00
Marcos García
8639f1a414 Fixed bug #504
https://doliforge.org/tracker/?func=detail&aid=504&atid=246&group_id=144
2012-08-19 03:37:37 +02:00
Marcos García
bced5f3bca Added missing es_ES translation 2012-08-19 03:36:04 +02:00
Philippe Grand
72895fa4b7 for module ultimatepdf 2012-08-18 21:31:12 +02:00
Regis Houssin
eb24a2fb4d Merge pull request #324 from simnandez/develop
Trad: Add ca_ES missing translations
2012-08-18 12:04:58 -07:00
Regis Houssin
88becc9592 Merge pull request #325 from marcosgdf/translations
Added missing permission translation
2012-08-18 12:03:41 -07:00
Regis Houssin
4439d829e3 Merge pull request #328 from marcosgdf/coding-style
Removed duplicated code
2012-08-18 12:02:52 -07:00
Marcos García
7608905b3c Removed duplicated code 2012-08-18 20:51:30 +02:00
Regis Houssin
b4e324a515 Fix: add ht and ttc fields 2012-08-18 19:05:59 +02:00
Regis Houssin
d72835bb93 Merge pull request #327 from marcosgdf/invoice-line-bug
Fixed a SQL error when listing lines of an invoice
2012-08-18 09:57:50 -07:00
Marcos García
d32ed9b39c Missing copyright 2012-08-18 18:49:18 +02:00
Marcos García
44fd4e7eb8 Fixed a SQL error when listing lines of an invoice
Column 'localtax1_tx' in field list is ambiguous
2012-08-18 18:47:12 +02:00
simnandez
ea8c380ef3 Trad: Add missing ca_ES translations 2012-08-18 18:45:23 +02:00
Marcos García
12282a8a20 Added missing permission translation 2012-08-18 17:27:12 +02:00
simnandez
c8a1bc5490 Qual: A closed contract no more invoiceable 2012-08-18 16:42:46 +02:00
simnandez
16e5742ae2 Trad: Add ca_ES missing translations 2012-08-18 13:17:27 +02:00
Regis Houssin
10d5feb932 Merge pull request #323 from simnandez/develop
Trad: Improve ca_ES and es_ES translations
2012-08-18 03:36:58 -07:00
simnandez
8f8cdf78fa Trad: Improve ca_ES and es_ES translations 2012-08-18 12:33:10 +02:00
Regis Houssin
3e49942351 Merge pull request #322 from simnandez/develop
Trad: Improve ca_ES and es_ES translations
2012-08-18 03:29:09 -07:00
simnandez
4fdf38b51c Trad: Improve ca_ES and es_ES translations 2012-08-18 12:12:17 +02:00
Regis Houssin
74c1fa2263 Fix: bad rights 2012-08-18 10:52:10 +02:00
Regis Houssin
4aa8d0eb0c Fix: [ bug #501 ] Error while trying to modify an user 2012-08-18 10:19:01 +02:00
Regis Houssin
eeb52eee0d Fix: [ bug #500 ] PHP Warning when creating dict line 2012-08-18 09:57:42 +02:00
Regis Houssin
058d0b1b08 Fix: [ bug #503 ] Unable to delete linked file to a deposit 2012-08-18 08:51:52 +02:00
Regis Houssin
bd99c2d23d Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-18 08:31:59 +02:00
Regis Houssin
d03b29ba78 Fix: [ bug #502 ] Error when validating cheque deposit 2012-08-18 08:30:29 +02:00
Regis Houssin
add63c7320 Merge pull request #321 from marcosgdf/minor
Project::setClose wasn't setting the new status
2012-08-17 22:28:39 -07:00
Regis Houssin
e7b63faaa8 Merge pull request #320 from marcosgdf/project-upload-bug
Fixed a bug where files were not being uploaded to a project's task
2012-08-17 22:27:39 -07:00
Regis Houssin
09e34068bc Merge pull request #319 from marcosgdf/translations
A lot of improvements into translations
2012-08-17 22:22:56 -07:00
Regis Houssin
8ec91adfc4 Merge pull request #318 from lrq3000/develop
Update changelog
2012-08-17 22:06:41 -07:00
Marcos García
737b7d4946 Improved es_ES translation 2012-08-18 06:10:58 +02:00
Marcos García
30d7aa0383 Missing es_ES translation and improved the rest of them 2012-08-18 06:00:05 +02:00
Marcos García
4842da5679 Project::setClose wasn't setting the new status 2012-08-18 05:57:25 +02:00
Marcos García
1339796492 Untranslated dict errors 2012-08-18 05:14:21 +02:00
Marcos García
f7a7ca4ff2 Fixed a bug where files were not being uploaded to a project's task
Reported by Jose Antonio Garcia in dolibarr.es' forum
http://www.dolibarr.es/index.php/foro/7-bugs-versiones-estables/1250-error-subir-archivo-en-una-tarea-de-un-proyecto
2012-08-18 04:09:28 +02:00
Marcos García
f5b5f88f84 Added missing copyright 2012-08-18 00:04:52 +02:00
Marcos García
46ab7c597a Missing translation in PoS > Print Ticket page 2012-08-17 23:50:22 +02:00
Marcos García
952204564f Missing dict translation because of translated key 2012-08-17 23:43:08 +02:00
Marcos García
da762903bb Missing paper format dict translations 2012-08-17 23:28:15 +02:00
Stephen L
0ef7b4e57c Update changelog
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-17 22:48:50 +02:00
Regis Houssin
bc9ab610ea Merge pull request #317 from simnandez/develop
Trad: add mailminspip into ca_ES
2012-08-17 11:16:32 -07:00
Regis Houssin
5ff8d74d34 Merge pull request #316 from marcosgdf/minor
Translated message was generating an incomplete string
2012-08-17 11:15:50 -07:00
Regis Houssin
577a853b9b New: update field "qty" with minimum qty for this supplier price 2012-08-17 18:17:15 +02:00
Regis Houssin
878f54b1e9 Fix: invoice supplier, disable "add" button and show error message if a
product with no supplier price is selected
2012-08-17 17:23:36 +02:00
Regis Houssin
7394525388 Fix: disable "add" button and show error message if a product with no
supplier price is selected
2012-08-17 16:58:57 +02:00
Regis Houssin
3438305169 FIXME: with ajax autocompleter, does not see the products that have no
supplier prices because they can be selected and it creates an error
message.
Fix: Do not make a "print" on "hook methods", just get the result
2012-08-17 15:16:07 +02:00
simnandez
f20c7ea4c9 Trad: add mailminspip into ca_ES 2012-08-17 09:38:09 +02:00
Marcos García
8d6d9e8f8c PoS permission number was incorrect in admin.lang 2012-08-17 07:56:54 +02:00
Marcos García
8ab7a5e276 Improved es_ES translations 2012-08-17 07:55:28 +02:00
Marcos García
24c89ddc12 Translated message was generating an incomplete string 2012-08-17 07:05:28 +02:00
Regis Houssin
4825448ced Merge pull request #315 from marcosgdf/error-messages
Forgot to migrate to some lines to the new error-handler
2012-08-16 13:59:05 -07:00
Marcos García
29f2e7236a Forgot to migrate to some lines to the new error-handler 2012-08-16 21:37:33 +02:00
Regis Houssin
3468787a29 Fix: best view 2012-08-16 20:20:23 +02:00
Regis Houssin
d03eb5af4a New: add total vat field 2012-08-16 20:11:48 +02:00
Regis Houssin
97474bf77f Fix: strict mode safari 2012-08-16 19:18:24 +02:00
Regis Houssin
a25814022b Merge pull request #314 from lrq3000/developcondodt
Fix mistake: Add back conditional substitution IF/ELSEIF/ENDIF for ODT
2012-08-16 08:34:51 -07:00
Stephen L
087cf0bb91 Add conditional substitution IF/ELSEIF/ENDIF for ODT
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-16 17:30:32 +02:00
Regis Houssin
e1c009fce4 Fix: regression, formconfirm template can't use with variable content 2012-08-16 17:22:00 +02:00
Regis Houssin
7a30416124 Merge pull request #310 from marcosgdf/error-messages
Added missing error messages in supplier & customer's orders
2012-08-16 08:16:56 -07:00
Regis Houssin
b3d09478ca Merge pull request #313 from lrq3000/develophooks
A lot of hooks and triggers implemented + custom substitution function for lines in ODT
2012-08-16 08:15:19 -07:00
Regis Houssin
0ff6e4ec54 Merge pull request #312 from lrq3000/develop2
Fix: mysqlnobin export method now works better + more options...
2012-08-16 08:09:10 -07:00
Stephen L
427da6ed5e Add optional options for mysqlnobin export method.
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-16 16:02:08 +02:00
Stephen L
ed990c00f5 Revert "Add conditional substitution IF/ELSEIF/ENDIF for ODT"
This reverts commit adab15a30a.

Revert to cleanup (the conditional substitution is in another pull request)
2012-08-16 13:54:19 +02:00
Marcos García
db5d046ee7 Applied 3.3 error management as @hregis requested 2012-08-16 13:10:14 +02:00
Marcos García
f320ed92cc Translated and upper-cased export formats, improved es_ES translations
fr_FR exports translations were made by @fhenry and Manuel Pintor (contact@idl-mp.com)
Little refactor too
2012-08-16 13:07:12 +02:00
Marcos García
3941466cd3 Removed duplicated code 2012-08-16 03:55:41 +02:00
Marcos García
b6cd8b632b Improved es_ES translations 2012-08-15 19:32:26 +02:00
Marcos García
557cb35b8d Added missing translations 2012-08-15 19:17:05 +02:00
Marcos García
cc4d5ff8d8 Removed the use of duplicated key translations
Nature is now being used instead of MorPhy
UserTitle is now being used instead of Civility
VATIntraVeryShort was being used were not necessary
2012-08-15 18:55:32 +02:00
Stephen L
44bed57faf Fix: mysqlnobin export method now works better (avoid duplicates values errors when a number is in fact a string and foreign keys checks are always disabled when restoring)
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-15 18:35:37 +02:00
Marcos García
46db54da21 Renamed ECMNoDirecotyYet to ECMNoDirectoryYet 2012-08-15 16:06:53 +02:00
Marcos García
a9c868a17b Added modification to ChangeLog 2012-08-15 16:01:16 +02:00
Marcos García
b4471a4bd7 Added missing error messages in supplier & customer's orders 2012-08-15 15:52:51 +02:00
Regis Houssin
f714897873 Fix: limit to products and services 2012-08-15 10:34:10 +02:00
Regis Houssin
fbb275ee25 Fix: remove bad fixe 2012-08-15 09:15:26 +02:00
Regis Houssin
48efabc8a4 Fix: remove deprecated function and avoid warnings 2012-08-15 09:06:36 +02:00
Regis Houssin
56c73192f1 Merge pull request #308 from marcosgdf/fix-stats
More fixes to graph stats
2012-08-14 22:27:11 -07:00
Regis Houssin
a8c8ef456c Merge pull request #301 from marcosgdf/translations
Improved some translations
2012-08-14 22:26:50 -07:00
Marcos García
37332ee040 Forgot to rename the variable 2012-08-15 01:20:53 +02:00
Marcos García
9c179699fb Added missing fr_FR translations 2012-08-14 21:33:32 +02:00
Marcos García
c8851cfca6 Fixed a problem with supplier's orders stats
They were showing orders even if they were not approved or ordered
2012-08-14 21:23:50 +02:00
Marcos García
764c0a50cd Fixed more average amount graph stats. They include:
* Customer's orders
* Supplier's orders
* Customer's invoices
* Trips and expense
2012-08-14 21:23:14 +02:00
Regis Houssin
b77a2255a0 Fix: wrong user count 2012-08-14 19:54:08 +02:00
Stephen L
c0a314000c Add custom ODT substitution for lines of products (completesubstitutionarray_lines)
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-14 16:03:45 +02:00
Regis Houssin
da995f248b Merge pull request #307 from marcosgdf/fix-bug-propal-stats
Propal stats weren't showing average total for more than 1 year
2012-08-14 06:53:07 -07:00
Stephen L
c1d15a9572 Add: hooks and triggers for a lot of core modules (action/calendrier, deplacement, dons, tva, contact/tiers, contrat, product lines, expedition, fournisseur commandes et factures, fiche intervention, projet et taches)
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-14 15:50:45 +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
Stephen L
adab15a30a Add conditional substitution IF/ELSEIF/ENDIF for ODT
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2012-08-14 11:38:27 +02:00
Regis Houssin
adc5af440f Merge pull request #306 from marcosgdf/removed-changelog-entry
Removed changelog entry introduced in 3.2.1 changelog
2012-08-14 02:23:39 -07:00
Marcos García
e7d5a8d98c Removed changelog entry introduced in 3.2.1 2012-08-14 11:10:42 +02:00
Regis Houssin
423199c1d5 Merge pull request #304 from marcosgdf/fix-bug-485
Fixed bug #485
2012-08-14 01:21:04 -07:00
Marcos García
f54c92eeff Modified changelog 2012-08-14 10:00:27 +02:00
Marcos García
3e1e508bf3 Fixed bug #485
Merged patch from J. Fernando Lagrange (lowmemory)
https://doliforge.org/tracker/?func=detail&aid=485&atid=246&group_id=144
2012-08-14 09:57:03 +02:00
Marcos García
2f011638b1 Merge branch 'develop' into translations 2012-08-13 10:45:45 +02:00
Regis Houssin
53c9830fcc Merge pull request #303 from marcosgdf/fix-ged-translations
Improved some es_ES translations & fixed untranslated string
2012-08-13 01:07:40 -07:00
Marcos García
770194aa91 Improved SPIP CMS translation 2012-08-13 06:28:34 +02:00
Marcos García
1b817e79b9 Improved some es_ES translations & fixed untranslated string 2012-08-13 06:26:56 +02:00
Marcos García
0b7cea6c73 Lowercased strings 2012-08-13 04:49:23 +02:00
Marcos García
2c007644ba Better es_ES translation 2012-08-13 03:11:40 +02:00
Regis Houssin
4a9bf79744 Merge pull request #300 from marcosgdf/translations
Translated es_ES string
2012-08-12 02:07:22 -07:00
Marcos García
651d0e4eca Translated es_ES string 2012-08-11 19:14:25 +02:00
Laurent Destailleur
74d7bc0c06 Update pad 2012-08-11 13:04:38 +02:00
Laurent Destailleur
3b2ffb8cc0 Fix: Removed key of external modules 2012-08-11 02:06:34 +02:00
Laurent Destailleur
724ea40fa4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-11 02:00:02 +02:00
Laurent Destailleur
855bcf1b24 Fix: missing or duplicate key 2012-08-11 01:59:45 +02:00
Laurent Destailleur
0251385624 Fix: Broken feautres after migration from old versions 2012-08-10 19:13:54 +02:00
Laurent Destailleur
0176674c9f Add info for chinese 2012-08-10 04:16:31 +02:00
Laurent Destailleur
8627464596 Exclude file 2012-08-10 03:51:53 +02:00
Laurent Destailleur
4250dedf60 Better message if param not defined 2012-08-10 03:46:17 +02:00
Laurent Destailleur
8e16581e7f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-10 03:13:54 +02:00
Laurent Destailleur
628f1b17a6 Add missing key 2012-08-10 03:06:16 +02:00
Laurent Destailleur
d57a54fd04 Fix: Removed deprecated string key 2012-08-10 03:03:52 +02:00
Laurent Destailleur
84d5b75518 New: Add field tms into llx_bank 2012-08-09 19:04:39 +02:00
Laurent Destailleur
a7d9f13287 Qual: Removed deprecated columns 2012-08-09 18:45:56 +02:00
Laurent Destailleur
b3b598c068 New input reason into dictionnary. 2012-08-09 18:33:45 +02:00
Laurent Destailleur
d9955cc9af Merge pull request #299 from atm-maxime/mko326
Everything looks ok with your push request. I merge it.
2012-08-08 17:54:27 -07:00
Maxime Kohlhaas
d0fbca4c37 task # 326 : en_US translations :) 2012-08-09 01:51:45 +02:00
Maxime Kohlhaas
44b84b2177 task # 326 : Add a numbering module to suggest automatically a product ref 2012-08-09 01:41:55 +02:00
Maxime Kohlhaas
4420684a39 Merge pull request #2 from Dolibarr/develop
Develop
2012-08-08 13:24:54 -07:00
Laurent Destailleur
32a1301a92 Fix: Use correct object 2012-08-08 22:11:08 +02:00
Laurent Destailleur
2620abc6a0 Use different class for a and img 2012-08-08 20:46:50 +02:00
Laurent Destailleur
0d346ac1c1 New: A module can add several css and several js.
New: Removed lightbox as it is not compatible with GPL.
2012-08-08 20:43:23 +02:00
Laurent Destailleur
2220c6e964 Fix: Do not run request if param is empty 2012-08-08 14:07:04 +02:00
Laurent Destailleur
85f5033f47 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-08 04:12:48 +02:00
Laurent Destailleur
54c6db5b81 Qual: Uniformize code for pdf generation.
Refactoring of pdf code to make code cleaner and fix a lot of bug into
page breaks.
2012-08-08 04:12:20 +02:00
Laurent Destailleur
6231dd9a10 Fix: Translation 2012-08-08 00:46:08 +02:00
Regis Houssin
291a6f7d09 Merge pull request #298 from marcosgdf/translations
Missing es_ES translations
2012-08-07 11:41:38 -07:00
Marcos García
e191196156 Typo 2012-08-07 20:36:35 +02:00
Marcos García
9719c71643 Missing es_ES translation 2012-08-07 20:25:57 +02:00
Marcos García
fd65e73f7e Missing es_ES translation 2012-08-07 20:25:17 +02:00
Laurent Destailleur
2f0a88ce69 [ bug #480 ] Can't receive to stock with strict mode 2012-08-07 19:32:51 +02:00
Laurent Destailleur
da484bdaa5 Fix: Missing desc field 2012-08-07 19:09:41 +02:00
Laurent Destailleur
30444da6b9 Fix: autoselect when it should not 2012-08-07 18:55:55 +02:00
Laurent Destailleur
5ddd982f6e New: If field "signature" is filled into user table, text is added at
end of predefined email texts. If option MAIL_DO_NOT_USE_SIGN is on,
this feautre is disabled.
2012-08-07 16:55:14 +02:00
Laurent Destailleur
9800b6e7a6 Commit 2012-08-07 15:58:45 +02:00
Laurent Destailleur
040c675de6 Fix: Do not overwrite global $user information 2012-08-07 14:54:56 +02:00
Regis Houssin
57750770cd Merge pull request #297 from GPCsolutions/time
Fix: Display correct user in project tasks' time spent list
thanks ;-)
2012-08-07 05:52:33 -07:00
Raphaël Doursenaud
1df12a701d Fix: Display correct user in project tasks' time spent list
Use a local object rather than modifying the global $user object (sic!)
2012-08-07 14:38:04 +02:00
Laurent Destailleur
068c536741 Fix: Delete all files (PROV* when validating. 2012-08-07 14:24:54 +02:00
Laurent Destailleur
e47accd87b Qual: Removed deprecated code 2012-08-07 14:13:59 +02:00
Laurent Destailleur
fac878ca69 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-08-07 13:13:30 +02:00
Laurent Destailleur
803f840761 Qual: Rename label to avoid confusion.
Qual: Fix code to reflect documentation.
2012-08-07 13:12:20 +02:00
Maxime Kohlhaas
b03c1aed6b Merge pull request #1 from Dolibarr/develop
Develop
2012-08-07 03:36:24 -07:00
Regis Houssin
5564421e3f Fix: update method return $this->error not $this->errors 2012-08-07 12:00:22 +02:00
Regis Houssin
71a4a2b7f9 Fix: dol_htmloutput_events() already loaded in footer 2012-08-07 11:48:28 +02:00
Laurent Destailleur
edbfd7d4f8 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-08-07 11:33:53 +02:00
Laurent Destailleur
5d9f16ca20 New: More surface control on stock correction page 2012-08-07 11:33:11 +02:00
Regis Houssin
fd2a06bc6b Merge pull request #296 from cbattarel/develop
also take lines without buying_price in commissions
2012-08-07 01:14:00 -07:00
Christophe Battarel
cbd54291b1 also take lines without buying_price in commissions 2012-08-07 09:46:26 +02:00
Laurent Destailleur
e3ed088355 Merge pull request #294 from marcosgdf/minor
Added missing change in changelog
2012-08-06 17:24:01 -07:00
Marcos García
26e9a5c877 Added missing change in changelog 2012-08-07 00:59:20 +02:00
Regis Houssin
85e8c6f8d6 Merge pull request #293 from marcosgdf/translations
Added missing translation
2012-08-06 12:51:55 -07:00
Marcos García
d5ce19840c Added missing translations 2012-08-06 21:22:45 +02:00
Regis Houssin
f814e4e25f Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-06 20:42:27 +02:00
Regis Houssin
f6a4277525 Fix: remove unused file and missing print 2012-08-06 20:38:03 +02:00
Laurent Destailleur
1e28904d56 New: task #185 : Can input amount when correcting stock to recalculate
PMP.
2012-08-06 19:41:03 +02:00
Laurent Destailleur
0ad8f31899 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-08-06 19:24:40 +02:00
Laurent Destailleur
49f8f07737 Start to work on bug [ bug #251 ] and [ bug #260 ]. 2012-08-06 19:22:14 +02:00
Regis Houssin
67d90d9de2 Merge pull request #292 from atm-maxime/mko185
Mko185
2012-08-06 10:03:59 -07:00
Regis Houssin
58878cdb6f Fix: update jquery fileupload 2012-08-06 18:43:34 +02:00
Maxime Kohlhaas
c2b38e8415 task #185 2012-08-06 18:11:00 +02:00
Regis Houssin
d830041441 Fix: missing object 2012-08-06 17:43:14 +02:00
Maxime Kohlhaas
e8a3af017e task #185 : Can input HT amount when correcting stock to recalculate PMP 2012-08-06 17:10:55 +02:00
Regis Houssin
1b2e6aa5e4 Fix: remove draft status if invoice is validated 2012-08-06 09:13:50 +02:00
Regis Houssin
a0ac6873ed Fix: use doliforge instead savannah 2012-08-06 08:17:36 +02:00
Regis Houssin
e140724738 Fix: avoid warning 2012-08-06 08:13:58 +02:00
Laurent Destailleur
816e317dd2 Fix into categorie functions 2012-08-05 23:58:42 +02:00
Laurent Destailleur
e53ae6eea2 Fix: W3C 2012-08-05 21:59:45 +02:00
Laurent Destailleur
76cdb809cc Fix: syntax error 2012-08-05 21:30:40 +02:00
Laurent Destailleur
cc76ea1f66 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-05 21:14:52 +02:00
Laurent Destailleur
3af27d17ab Add param to force to hide menu from login page 2012-08-05 21:14:17 +02:00
Laurent Destailleur
4d59ecb049 Fix: Missing condition 2012-08-05 21:06:48 +02:00
Regis Houssin
89cd23452f Fix: missing delete shipping and delivery files
(minimum for possibility to merge with 3.2)
2012-08-05 20:41:11 +02:00
Laurent Destailleur
9e6a9f1b12 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-05 19:08:49 +02:00
Regis Houssin
2884aac4bc Fix: delete pdf if supplier invoice is deleted
Fix: compatibility with external modules

Conflicts:
	htdocs/core/modules/supplier_invoice/pdf/pdf_canelle.modules.php
2012-08-05 18:36:20 +02:00
Regis Houssin
400621135b Fix: indentation 2012-08-05 18:33:11 +02:00
Regis Houssin
25662f9ecc Fix: compatibility with jquery fileupload 2012-08-05 18:32:59 +02:00
Laurent Destailleur
7764cfec83 Trans 2012-08-05 16:43:39 +02:00
Laurent Destailleur
591b029781 Doxygen 2012-08-05 15:15:58 +02:00
Laurent Destailleur
c247c710ec Qual: Uniformize code 2012-08-05 15:00:24 +02:00
Laurent Destailleur
990da41955 Qual: Removed bad herit 2012-08-05 14:56:20 +02:00
Laurent Destailleur
e53e847083 Qual: Uniformize code 2012-08-05 14:37:45 +02:00
Laurent Destailleur
14bda09369 Removed deprecated not used method 2012-08-05 14:11:28 +02:00
Laurent Destailleur
9fef649a7c Removed useless file 2012-08-05 14:06:21 +02:00
Laurent Destailleur
895b491d84 Uniformize files 2012-08-05 14:06:09 +02:00
Laurent Destailleur
0471b4e548 Update doc 2012-08-05 13:30:12 +02:00
Laurent Destailleur
386a1dcb55 More phpunit tests 2012-08-05 13:07:17 +02:00
Regis Houssin
64e32258c2 Merge pull request #291 from marcosgdf/translations
Translations
2012-08-04 22:53:29 -07:00
Laurent Destailleur
22b0261bc7 Update DoliWamp packager 2012-08-05 01:06:37 +02:00
Laurent Destailleur
b82fb7a7d9 Fix: exit code when upgrade is ran from command line 2012-08-05 00:49:28 +02:00
Laurent Destailleur
45621af4c7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-04 15:46:04 +02:00
Laurent Destailleur
bfb85b7073 Update images with new look 2012-08-04 15:41:59 +02:00
Marcos García
c76cdd74e7 es_ES typos and missing translation 2012-08-04 14:52:44 +02:00
Marcos García
2726283034 Missing BoxGlobalActivity translation and missing es_ES BoxLatestSupplierOrders translation 2012-08-04 14:45:23 +02:00
Regis Houssin
4d3e798f99 Fix: remove test in $pictoisfullpath and add test in $options 2012-08-04 14:18:02 +02:00
Regis Houssin
46511de913 Fix: remove unused code for avoid warning with IE9 2012-08-04 13:49:04 +02:00
Regis Houssin
e955b041ca Fix: just change $path value 2012-08-04 09:56:25 +02:00
Regis Houssin
320ce03e29 Fix: optimization
see : http://mkaz.com/web-dev/php-benchmarking-isset-empty-or-var.html
2012-08-04 08:45:38 +02:00
Regis Houssin
d883c135e0 Merge pull request #290 from marcosgdf/coding-style
Removed duplicated code
2012-08-03 23:16:07 -07:00
Laurent Destailleur
7f218bd6ba Better error management 2012-08-04 02:20:51 +02:00
Marcos García
189c3c94da Removed duplicated code 2012-08-04 02:15:39 +02:00
Laurent Destailleur
82744c0020 Update packager 2012-08-04 01:10:12 +02:00
Laurent Destailleur
2020d6ae00 Fix: debian rules must use tabs 2012-08-04 00:30:30 +02:00
Laurent Destailleur
377b1716ef Fix: permission execute on perl script
Fix: Checkstyle
2012-08-04 00:17:34 +02:00
Regis Houssin
1451f8c0b4 Merge pull request #289 from marcosgdf/style
Refactor
2012-08-03 14:31:15 -07:00
Marcos García
b8add21d93 Reversed lost changes with the previous commit 2012-08-03 23:29:08 +02:00
Marcos García
ba41a94bca Merge branch 'develop' into style
Conflicts:
	htdocs/core/lib/functions.lib.php
2012-08-03 23:20:35 +02:00
Marcos García
b08181ee95 Removed $codelang test 2012-08-03 23:11:51 +02:00
Marcos García
4b86e1079c Changed test of $codelang variable as @hregis requested, also renamed a variable so that it makes more sense 2012-08-03 23:00:58 +02:00
Marcos García
9c0e6d2b20 $tmpcode is always defined 2012-08-03 22:03:28 +02:00
Marcos García
808cfdd9f4 Improved getmypid() comment 2012-08-03 21:48:20 +02:00
Marcos García
7defdbc663 Revert "getmypid is a PHP core function"
This reverts commit cc4fe0889d.
2012-08-03 21:46:05 +02:00
Regis Houssin
447fc1de1a Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-03 20:10:01 +02:00
Regis Houssin
0d96803937 Fix: strict mode tour 2012-08-03 20:09:37 +02:00
Laurent Destailleur
1307c77900 Fix: Project validation 2012-08-03 19:05:20 +02:00
Laurent Destailleur
9f5fbe78c9 Fix: Bad fix 2012-08-03 18:50:24 +02:00
Laurent Destailleur
5dc6f6aec8 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-08-03 17:28:52 +02:00
Laurent Destailleur
a29205cea9 Fix: tr_TR 2012-08-03 17:09:07 +02:00
Marcos García
0166968431 Minor change 2012-08-03 16:04:37 +02:00
Marcos García
146d66fe02 Converted indentation from spaces to tabs 2012-08-03 15:56:20 +02:00
Marcos García
61c211c639 Improved readability in picto_from_langcode 2012-08-03 15:47:09 +02:00
Marcos García
cc4fe0889d getmypid is a PHP core function 2012-08-03 15:26:26 +02:00
Regis Houssin
65bb19da02 Merge pull request #288 from marcosgdf/style
Little refactor to img_phone function
2012-08-03 05:48:25 -07:00
Marcos García
d30b2804bc Was using tabs instead of spaces 2012-08-03 14:31:10 +02:00
Marcos García
f700f63494 Little refactor + cpd 2012-08-03 14:30:11 +02:00
Laurent Destailleur
236dbb8598 Merge pull request #287 from marcosgdf/translations
Little fixes to translations
2012-08-03 05:28:41 -07:00
Marcos García
5b8e8ff11b ECM Area page title translation didn't exist 2012-08-03 14:24:02 +02:00
Laurent Destailleur
6cf97a7317 Clean dead code 2012-08-03 14:18:48 +02:00
Marcos García
0e108226da FeatureNotYetAvailable wasn't being translated 2012-08-03 14:05:28 +02:00
Laurent Destailleur
30d22378ac Restore img_phone as deprecated function after a patch push. 2012-08-03 13:10:15 +02:00
Laurent Destailleur
f1618bcaa7 Merge pull request #282 from marcosgdf/style
Refactor
2012-08-03 03:28:10 -07:00
Laurent Destailleur
fdd781f6fe Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-08-03 12:04:28 +02:00
Regis Houssin
286854bf2c Fix: [bug #478] Can access pages belonging to disabled modules 2012-08-03 11:56:42 +02:00
Laurent Destailleur
d4a19f0674 Fix: Removed warning 2012-08-03 10:56:50 +02:00
Laurent Destailleur
18944a3d9b Merge branch 'develop' of https://eldy:ld101010-gb@github.com/Dolibarr/dolibarr.git into develop 2012-08-03 10:29:00 +02:00
Laurent Destailleur
ff0d24a0dc Fix: Remove warning 2012-08-03 10:26:39 +02:00
Laurent Destailleur
1e13a7cf13 Merge pull request #285 from simnandez/develop
Develop
2012-08-02 07:46:58 -07:00
Laurent Destailleur
233c47ef08 Merge pull request #286 from FHenry/develop
update select_contact method to add possibility to display contact
2012-08-02 07:45:50 -07:00
FHenry
799b1727f8 update select_contact method to add possibility to display contact
compagny also
2012-08-02 10:12:32 +02:00
Regis Houssin
e0385cf06f Fix: strict mode palace 2012-08-02 10:07:55 +02:00
Regis Houssin
fe4fc7f8dc Fix: increase speed 2012-08-02 08:02:49 +02:00
Regis Houssin
e717f491c1 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-01 19:41:09 +02:00
Regis Houssin
5ad211a1ca Fix: bad document path with multicompany 2012-08-01 19:34:42 +02:00
Laurent Destailleur
07a09cad1d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-08-01 19:29:58 +02:00
Laurent Destailleur
b35240c899 Fix: Bad url 2012-08-01 19:29:36 +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
d6a4d5ef41 Fix: avoid errors if install directory is deleted before module
activation
2012-08-01 14:42:24 +02:00
Regis Houssin
2dcb158915 Fix: strict mode again 2012-08-01 13:32:50 +02:00
Regis Houssin
c558f2206c Fix: strict mode pleasure 2012-08-01 13:30:38 +02:00
Regis Houssin
29fea7bbf4 Fix: regression (multicompany) 2012-08-01 13:03:41 +02:00
Regis Houssin
da44fa7186 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-08-01 08:23:54 +02:00
Regis Houssin
902f1c7e71 Fix: typo 2012-08-01 08:23:37 +02:00
Laurent Destailleur
4b3aba919f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-31 23:06:12 +02:00
Marcos García
9d422350a5 Translated some comments 2012-07-31 14:41:15 +02:00
Laurent Destailleur
8d031900f9 [ bug #464 ] Payment form should allow to add transmitter for bank transfers 2012-07-31 13:40:38 +02:00
simnandez
47335f0613 Trad: Improve translations 2012-07-31 09:29:19 +02:00
simnandez
40a57f63cb Trad: Improve translations 2012-07-31 09:26:35 +02:00
Regis Houssin
2eb38ac8c8 Fix: uniformize test 2012-07-31 08:43:45 +02:00
Regis Houssin
fcae6f8811 Merge pull request #284 from marcosgdf/php-error
Fixed an error that I introduced in a previous commit...
2012-07-30 23:36:08 -07:00
Regis Houssin
24585dbf71 Merge pull request #283 from marcosgdf/translations
es_ES translation
2012-07-30 23:35:11 -07:00
Marcos García
dbe2fa55df es_ES translation typo 2012-07-31 01:18:32 +02:00
Marcos García
315896c702 Fixed img_up 2012-07-31 01:17:21 +02:00
Marcos García
c62ac71e03 Typo in es_ES translation 2012-07-31 01:05:03 +02:00
Marcos García
3520513c6b Fixed an error that I introduced in a previous commit... 2012-07-31 00:53:05 +02:00
Marcos García
fc012a394c Duplicated space 2012-07-31 00:44:55 +02:00
Marcos García
e0325f3df1 Missing es_ES translations 2012-07-31 00:36:42 +02:00
Laurent Destailleur
2f19fd9612 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-31 00:07:19 +02:00
Laurent Destailleur
acad2191d5 Fix: Style 2012-07-31 00:06:39 +02:00
Marcos García
571d20d583 Wrong behaviour 2012-07-30 23:27:12 +02:00
Marcos García
2c466159f9 Refactoring 2012-07-30 23:23:58 +02:00
Regis Houssin
97027c7d76 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-30 22:38:46 +02:00
Regis Houssin
66ba264ca3 Fix: strict mode and event message 2012-07-30 22:38:21 +02:00
Marcos García
0e0cf98c4f Code style improved, removed duplicated code, also removed img_phone function as it is no longer used in Dolibarr 2012-07-30 22:36:43 +02:00
Laurent Destailleur
5772e46c9a We start new modules with level "experimental". 2012-07-30 22:18:54 +02:00
Laurent Destailleur
a996e8f98a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-30 21:44:21 +02:00
Laurent Destailleur
190f005b68 New: ECM module is full Ajax 2012-07-30 21:44:00 +02:00
Laurent Destailleur
2191a4dc73 Fix: use ENGINE=innodb instead of type=innodb 2012-07-30 21:43:40 +02:00
Regis Houssin
4f1814d486 Merge pull request #280 from marcosgdf/translations
Translations
2012-07-30 11:47:10 -07:00
Marcos García
237d7b744c Including other.lang in files using FeaturesSupported string, also removed duplicated code 2012-07-30 20:39:47 +02:00
Regis Houssin
1533eef852 Merge pull request #281 from FHenry/develop
Develop
2012-07-30 11:36:42 -07:00
Marcos García
a71840bbd9 Revert "Moved FeaturesSupported string from other.lang to admin.lang as it is only used in admin pages"
This reverts commit 0e952521e1.
2012-07-30 20:29:54 +02:00
Marcos García
fb95a0ed16 Made corrections that @hregis told me 2012-07-30 20:29:39 +02:00
FHenry
bf2d0ea82a correct checkstyle 2012-07-30 20:15:18 +02:00
FHenry
af91a7185a Checkstyle (from hudson) 2012-07-30 20:11:55 +02:00
Marcos García
7bbfe9c29b Fixed es_ES typo 2012-07-30 20:09:35 +02:00
Marcos García
0e952521e1 Moved FeaturesSupported string from other.lang to admin.lang as it is only used in admin pages 2012-07-30 19:45:51 +02:00
Marcos García
e81a8b1d2c Merge branch 'develop' into translations 2012-07-30 19:04:53 +02:00
Regis Houssin
e44fd4885d Fix: change the last $DB to $db 2012-07-30 18:43:49 +02:00
Regis Houssin
166bcb2a03 Merge pull request #279 from marcosgdf/migrate-to-construct
Coding style improvements
2012-07-30 09:33:51 -07:00
Marcos García
8f678cebec Added missing translation 2012-07-30 17:33:32 +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
914087b92e Merge pull request #275 from marcosgdf/translations
Minor fixes
2012-07-30 03:03:54 -07:00
Marcos García
7e0892783a Removed duplicated translation and modified a line of code as @hregis requested 2012-07-30 08:21:05 +02:00
Regis Houssin
4750406eba Merge pull request #277 from marcosgdf/phpinfo-improvement
Phpinfo improvement
2012-07-29 22:20:21 -07:00
Regis Houssin
a7b1b23461 Merge pull request #276 from marcosgdf/margin-typo
Fixed untranslated string and broken image in Margins module
2012-07-29 22:19:03 -07:00
Regis Houssin
2db6a68acf Merge pull request #274 from marcosgdf/fix-fatalerror
Fixed a PHP fatal error warning in remisecheque.class.php
2012-07-29 22:01:34 -07:00
Marcos García
20bf07a3e2 Typo 2012-07-30 03:52:48 +02:00
Marcos García
db2cab0e04 Better parsing, replacing preg_replace for str_replace for easy replacements 2012-07-30 03:51:40 +02:00
Marcos García
a0eb690d0f Fixed untranslated string and broken image 2012-07-30 03:28:16 +02:00
Marcos García
c627e73c9d Realized that es_ES looks better this way 2012-07-30 03:21:33 +02:00
Marcos García
d1cbf4f944 Fixed BIG es_ES translation problem with donations module
Fixed some es_ES and en_US typos
There was a string that wasn't available for translation
2012-07-30 03:18:17 +02:00
Marcos García
35f2e731e1 PHP upper-cased + checkstyle 2012-07-29 22:43:54 +02:00
Marcos García
8910fa46da Corrected English translation and added Spanish missing translation 2012-07-29 22:40:11 +02:00
Marcos García
be388b4418 Fixed some typos in es_ES and en_US translations
Allowed MailmanSPIP module configuration to be translated into other languages
Moved MailmanSPIP-related strings to mailmanspip.lang file
2012-07-29 22:23:51 +02:00
Marcos García
e26b53e8c5 Fixed a PHP fatal error warning in remisecheque.class.php 2012-07-29 21:43:19 +02:00
Laurent Destailleur
a429a930d0 Fix: Uniformize code and PHPUnit tests 2012-07-29 20:07:03 +02:00
Laurent Destailleur
b40c0a5d86 Fix: Check conditions to run test 2012-07-29 19:40:20 +02:00
Laurent Destailleur
d85bd3d41c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-29 18:47:03 +02:00
Laurent Destailleur
77e4b088ac Doc 2012-07-29 18:27:53 +02:00
Laurent Destailleur
6739d5fd8d Fix: Add missing error message 2012-07-29 16:51:16 +02:00
Regis Houssin
28851b46c4 Fix: remove duplicate code 2012-07-29 16:44:19 +02:00
Regis Houssin
30ca31de6c Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-29 16:12:05 +02:00
Regis Houssin
a64723ea74 Fix: replace with new event message system 2012-07-29 16:11:52 +02:00
Laurent Destailleur
56e9ffb685 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-29 15:55:59 +02:00
Laurent Destailleur
8c5e8e0690 Fix: [ bug #466 ] Module MailmanSpip 2012-07-29 15:55:19 +02:00
Regis Houssin
1591a5ac3b Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-29 15:47:40 +02:00
Regis Houssin
0aa6694c95 Fix: broken event message 2012-07-29 15:47:24 +02:00
Laurent Destailleur
e8b2489c1c Checkstyle 2012-07-29 15:28:39 +02:00
Laurent Destailleur
b43c7e1b35 Qual: Removed warning 2012-07-29 14:23:33 +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
Laurent Destailleur
0ee08418cc New: Add test on mandatory field 2012-07-29 13:47:42 +02:00
Laurent Destailleur
bd22581687 Update doc 2012-07-29 13:47:21 +02:00
Laurent Destailleur
71f3ff8e33 To match debian rules 2012-07-29 13:30:13 +02:00
Regis Houssin
eee5653c54 Fix: try to use the new message system 2012-07-29 12:54:19 +02:00
Regis Houssin
77a5ef0b22 Fix: move ajax response in ajax directory 2012-07-29 10:24:42 +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
b37a1b3daa Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-29 08:27:02 +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
f2239c897e Merge pull request #273 from marcosgdf/translations
Fixed some minor es_ES translation typos
2012-07-28 13:29:48 -07:00
Regis Houssin
cdc9dda11e Fix: best practice 2012-07-28 22:28:33 +02:00
Regis Houssin
a27e347ee0 Fix: for backward compatibility 2012-07-28 22:20:58 +02:00
Marcos García
535e6f1756 es_ES typos 2012-07-28 22:16:39 +02:00
Regis Houssin
75588c2eb3 Merge pull request #272 from marcosgdf/backtolist-links
Created BackToList links
2012-07-28 13:15:42 -07:00
Marcos García
ec36ffd73c Missing expeditions and stocks BackToList links 2012-07-28 22:14:53 +02:00
Regis Houssin
61fc592434 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-28 22:08:05 +02:00
Regis Houssin
c7bacecf10 Fix: try to use another method for messages 2012-07-28 22:07:27 +02:00
Marcos García
04c34b0042 BackToList links in Contacts section 2012-07-28 21:54:36 +02:00
Marcos García
9dc38f4382 Created rest of BackToList links 2012-07-28 21:49:47 +02:00
Marcos García
2eeaad1352 BackToList links in Financial section 2012-07-28 21:22:59 +02:00
Marcos García
32a3477ccb BackToList links in Interventions section 2012-07-28 21:05:00 +02:00
Marcos García
b3b33b7aca BackToList links in Contracts section 2012-07-28 20:59:57 +02:00
Marcos García
90963ca84a BackToList links in Client orders section 2012-07-28 20:54:07 +02:00
Marcos García
472397d5c2 BackToList links in Supplier order section 2012-07-28 20:47:12 +02:00
Regis Houssin
1816886135 Merge pull request #271 from marcosgdf/translations
Removed space before colon
2012-07-28 11:30:25 -07:00
simnandez
8a19946e4a Trad: Commissions and margins
Conflicts:
	htdocs/langs/fr_FR/margins.lang
2012-07-28 20:22:38 +02:00
Marcos García
16df86003d Removed space before : 2012-07-28 20:20:56 +02:00
Marcos García
8c68b096fd Removed space before : 2012-07-28 20:16:54 +02:00
Regis Houssin
af0b36c1d1 Merge pull request #269 from marcosgdf/translations
Fixed some typos in es_ES and allowed some strings to be translated
2012-07-28 11:16:20 -07:00
Marcos García
de7595922e Fixed some typos in es_ES and allowed some strings to be translated 2012-07-28 19:53:13 +02:00
Regis Houssin
9a80f0351d New: add phpmailer class 2012-07-28 19:11:05 +02:00
Regis Houssin
bdc9dbfb01 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-28 19:05:28 +02:00
Raphaël Doursenaud
d34c4518d2 Removed BOM from UTF-8 files
Fix: convert line delimiters (regis)

Conflicts:
	htdocs/core/filemanagerdol/browser/default/js/common.js
	htdocs/core/filemanagerdol/browser/default/js/fckxml.js
2012-07-28 19:04:50 +02:00
Regis Houssin
97655ae836 Merge pull request #268 from simnandez/develop
Trad: Export de données dangereux
2012-07-28 09:57:09 -07:00
simnandez
b03fd00c3a Trad: Export de données dangereux 2012-07-28 18:53:05 +02:00
Regis Houssin
49bacc6fda Merge pull request #267 from marcosgdf/trans-and-link-fixes
Fixed es_ES translations and some BackToList links
2012-07-28 09:36:28 -07:00
Regis Houssin
e7a994360e Merge pull request #266 from marcosgdf/typo-spanish-translation
Typo in es_ES translation
2012-07-28 09:35:28 -07:00
Regis Houssin
1dd14d35f7 Fix: add null value in class method 2012-07-28 18:32:54 +02:00
Regis Houssin
edbf104a7b Merge pull request #265 from marcosgdf/fix-commande-addline
Fixed 2 fatal errors in commande/fiche.php and a SQL problem too
2012-07-28 09:11:16 -07: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
Marcos García
f9dbc6d9be Merge branch 'develop' into typo-spanish-translation
Conflicts:
	htdocs/langs/es_ES/products.lang
2012-07-28 16:31:34 +02:00
Marcos García
bb8dd6ded6 Fixed 2 fatal errors in commande/fiche.php and a SQL problem too 2012-07-28 16:22:01 +02:00
Regis Houssin
2a3a8f5aa5 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-28 12:35:47 +02:00
Regis Houssin
251640561f Fix: strict mode happy hour 2012-07-28 12:35:11 +02:00
Laurent Destailleur
859c6cee97 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-28 12:32:06 +02:00
Laurent Destailleur
160997cbbe Fix: Bad test 2012-07-28 12:31:37 +02:00
Regis Houssin
a157327859 Fix: strict mode paradise 2012-07-28 11:28:37 +02:00
Regis Houssin
3390a514e1 Fix: include wrong class 2012-07-28 09:57:04 +02:00
Regis Houssin
1e07ed6af6 Fix: broken link 2012-07-28 09:54:47 +02:00
Regis Houssin
a3080acab4 Merge pull request #262 from marcosgdf/minor-fixes-develop
Pull request #254 into develop
2012-07-28 00:31:51 -07:00
Regis Houssin
5fb22d689b Fix: best practice 2012-07-28 09:10:09 +02:00
Laurent Destailleur
bf94d05293 New: Add great britain provinces 2012-07-28 03:12:34 +02:00
Laurent Destailleur
70eb10daf7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-28 00:57:42 +02:00
Laurent Destailleur
7883124958 New: [ task #454 ] Add "No category" into filters on category 2012-07-28 00:53:51 +02:00
Marcos García
c14d9ce13b Typo in es_ES translation 2012-07-28 00:00:46 +02:00
Laurent Destailleur
f31277401b New: [ task #454 ] Add "No category" into filters on category 2012-07-27 23:40:28 +02:00
Laurent Destailleur
eb79646315 Fix: restore correct test (empty instead of ! isset) 2012-07-27 23:30:23 +02:00
Laurent Destailleur
a2e745fab6 Fix: Function return was missing in some case. Save bug of empty
category.
2012-07-27 23:21:22 +02:00
Marcos García
2204c09e5a Applied commits 16-22 2012-07-27 23:04:05 +02:00
Marcos García
a6c8838b8f Applied patches 9-15 2012-07-27 21:27:03 +02:00
Laurent Destailleur
bd20ab3500 New: Auto check box on page to edit interface options of user. 2012-07-27 20:47:17 +02:00
Laurent Destailleur
1c557a96bd Prepare task 473 2012-07-27 19:26:54 +02:00
Laurent Destailleur
86ac10995f Fix perm 2012-07-27 19:26:38 +02:00
Laurent Destailleur
42d6ed91f7 Fix: Closing tab 2012-07-27 18:41:52 +02:00
Marcos García
5fd7fcb6c4 Applied commits 1-8 2012-07-27 18:40:06 +02:00
Laurent Destailleur
1fa2d93f07 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-27 18:36:34 +02:00
Laurent Destailleur
56ced6e5f0 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-07-27 16:04:28 +02:00
Laurent Destailleur
0b048ebb94 [ bug #40 ] Export de donnes dangereux 2012-07-27 16:03:20 +02:00
Regis Houssin
6a69b55e5e Fix: tabulation 2012-07-27 14:10:56 +02:00
Raphaël Doursenaud
9ffb6317cf Fix: Allows to use a comma decimal separator in supplier invoices
payments
2012-07-27 13:54:16 +02:00
Regis Houssin
723df0dd43 Fix: changelog 2012-07-26 21:09:07 +02:00
Regis Houssin
20ed6bd5c5 Fix: Bug #460 - Wrong entity assignment when creating a warehouse 2012-07-26 20:52:05 +02:00
Regis Houssin
79181f9183 Fix: add external user filter 2012-07-26 18:24:54 +02:00
Regis Houssin
b2317fd3ee Fix: external user confidentiality 2012-07-26 18:11:06 +02:00
Regis Houssin
5318fb54d5 Fix: bad path 2012-07-26 17:07:10 +02:00
Laurent Destailleur
71157aec84 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-26 16:28:04 +02:00
Regis Houssin
b83fbf981d Fix: problem with double quote 2012-07-26 14:33:25 +02:00
Regis Houssin
a6758c2557 Fix: use span instead div for align image warning 2012-07-26 11:34:43 +02:00
Regis Houssin
28a98f6bd9 Fix: wrong action 2012-07-26 10:45:19 +02:00
Laurent Destailleur
56da9baf2c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-26 09:37:21 +02:00
Laurent Destailleur
6311da9428 Qual: Removed error we need to keep 2012-07-26 09:34:51 +02:00
Regis Houssin
68196e638a Fix: compatibility with edit in place 2012-07-26 09:32:54 +02:00
Laurent Destailleur
ac81e1732e Fix: bad field name 2012-07-26 03:01:15 +02:00
Laurent Destailleur
97906568e3 Typo fix 2012-07-26 02:57:35 +02:00
Laurent Destailleur
ef86d8e2dc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-25 17:39:44 +02:00
Laurent Destailleur
9392cf2832 Update translation for tr_TR 2012-07-25 17:39:17 +02:00
Laurent Destailleur
105e91dfea Fix: Redirect after delete to correct page 2012-07-25 15:03:06 +02:00
Regis Houssin
e3a3dd0454 Fix: it's for margin module 2012-07-25 12:53:02 +02:00
Laurent Destailleur
126979efe1 Fix: All "isset" must not be replaced by "GETPOST". If isset is used to
know if value is defined (and not to know if value is null), we must
keep the isset.
2012-07-25 12:25:45 +02:00
Laurent Destailleur
75e9d93e69 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-25 12:21:04 +02:00
Laurent Destailleur
dce9b96260 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/lib/functions2.lib.php
	htdocs/install/lib/repair.lib.php
	htdocs/install/mysql/migration/3.2.0-3.3.0.sql
2012-07-25 12:20:45 +02:00
Regis Houssin
7d2f7e9800 Fix: strict mode crazy 2012-07-25 11:46:33 +02:00
Laurent Destailleur
ea54523181 Checkstyle 2012-07-25 11:40:23 +02:00
Laurent Destailleur
b63820c013 Checkstyle 2012-07-25 11:37:43 +02:00
Laurent Destailleur
7d08bd45d6 Checkstyle 2012-07-25 11:35:34 +02:00
Laurent Destailleur
de621f0567 Fix: Restore compatibility. Try to isolate "charges" feature with
a condition (i did not understand what it means and goal, i'm afraid
other users should not understand too).
2012-07-25 11:32:48 +02:00
Laurent Destailleur
758d613908 Fix: Checkstyle 2012-07-25 11:29:45 +02:00
Laurent Destailleur
276e32dc22 Fix: Products with no prices not visible 2012-07-25 11:27:25 +02:00
Laurent Destailleur
b47ced7507 Fix: syntax error 2012-07-25 10:56:30 +02:00
Regis Houssin
e12604cb71 Fix: avoid warning and strict mode story 2012-07-25 09:09:56 +02:00
Regis Houssin
8e953a6858 Fix: external modules workflow compatibility 2012-07-24 20:18:37 +02:00
Regis Houssin
f8f50a722d Fix: patch of Terry (language) 2012-07-24 18:38:35 +02:00
Regis Houssin
65e183c8c9 Merge pull request #258 from FHenry/develop
Develop
2012-07-24 09:15:36 -07:00
Regis Houssin
8219ab9ec0 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-24 17:53:43 +02:00
Regis Houssin
c6cd17cf3f Fix: strict mode... far away 2012-07-24 17:52:46 +02:00
FHenry
b3ca737662 remove useless parameters 2012-07-24 17:33:26 +02:00
Laurent Destailleur
24c54ccaf1 Start to work on bug export 2012-07-24 16:19:46 +02:00
FHenry
a2b6abcb85 Fix nb mailling message receive according toher status than error or not
send
2012-07-24 14:33:27 +02:00
FHenry
8f2efa4879 Add syslog for debug 2012-07-24 14:25:21 +02:00
FHenry
3892c2ceca Usubscribe mailling module
- Correct indentation
2012-07-24 13:24:22 +02:00
FHenry
6fc9bf5143 Correct mail tag __UNSUSCRIBE__ to __UNSUBSCRIBE__ 2012-07-24 10:18:17 +02:00
Regis Houssin
812d02ebe0 Fix: strict mode and $mesgs 2012-07-23 22:04:06 +02:00
Regis Houssin
a4f35bbfd5 Fix: uniformize $mesgs 2012-07-23 21:45:22 +02:00
Regis Houssin
2035eb0b14 Fix: strict mode mini 2012-07-23 21:40:34 +02:00
Regis Houssin
eba0db736e Fix: try to use $mesgs (array) for stock all messages and
$_SESSION['dol_message'] for specific message when a page is reloading
2012-07-23 21:31:10 +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
Regis Houssin
9cf088560f Fix: syntax error 2012-07-23 16:47:16 +02:00
Regis Houssin
9d0f99c99a Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-23 16:11:48 +02:00
Regis Houssin
fb23364511 Fix: uniformize code 2012-07-23 16:10:54 +02:00
Laurent Destailleur
7983a83466 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-23 11:42:58 +02:00
Laurent Destailleur
bcae9b5c8b Fix: [ bug #463 ] makepack-dolibarrmodule.pl truncates version 2012-07-23 11:22:03 +02:00
Laurent Destailleur
b63505ff15 Better fix 2012-07-23 11:10:18 +02:00
Regis Houssin
01ab1aa66f Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/core/modules/modCommissions.class.php
2012-07-23 11:07:53 +02:00
Regis Houssin
3fe8b5bc58 Change-Id: Ia9f609c8a1264d245ff5074b981305f7d1792aef 2012-07-23 11:01:52 +02:00
Regis Houssin
bf807c27e5 Fix: uniformize code 2012-07-23 11:01:36 +02:00
Laurent Destailleur
7a8224c4d5 Normalize code 2012-07-23 10:55:29 +02:00
Laurent Destailleur
ea93e62e91 Fix: Checkstyle 2012-07-23 10:46:09 +02:00
Laurent Destailleur
f07c416f76 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-23 10:38:02 +02:00
Regis Houssin
0301e35a44 Merge pull request #256 from marcosgdf/task-195
Completed Task #195
2012-07-23 01:37:37 -07:00
Regis Houssin
6e41d645f0 Merge pull request #251 from cbattarel/commissions
basic commissions management module
2012-07-23 01:37:09 -07:00
Laurent Destailleur
087cf87722 New: Add state into substitution vars 2012-07-23 10:29:58 +02:00
Regis Houssin
a109d5f32b Fix: bug #467 2012-07-23 10:29:26 +02:00
Regis Houssin
68f04de488 Fix: uniformize external lang files call 2012-07-23 09:45:16 +02:00
Laurent Destailleur
1c17767dda Fix: Send instructions must be into core page. 2012-07-22 23:22:40 +02:00
Laurent Destailleur
0eb9b105c9 Fix: Translation missing 2012-07-22 23:07:25 +02:00
Laurent Destailleur
c56898a957 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2012-07-22 21:53:04 +02:00
Laurent Destailleur
68e619fb00 Fix: escape for create command 2012-07-22 21:50:08 +02:00
Laurent Destailleur
4c0c9919c5 Fix: escape for create command 2012-07-22 21:48:03 +02:00
Marcos García
568db22649 Renamed fk_methode_commande to fk_input_method 2012-07-22 16:58:37 +02:00
Laurent Destailleur
8080ee4565 Fix: dol_syslog at wrong place. 2012-07-22 16:57:15 +02:00
Laurent Destailleur
970d946e5b Fix: sql injection for create database 2012-07-22 16:53:32 +02:00
Marcos García
e6a192ba87 Renamed fk_demand_reason to fk_input_reason 2012-07-22 16:53:02 +02:00
Marcos García
9eb9fe6d2c Moved bookmark translations from other.lang to bookmarks.lang, also
removed unused translations

Conflicts:
	htdocs/langs/tr_TR/bookmarks.lang
2012-07-22 16:44:16 +02:00
Laurent Destailleur
474a67a4a4 Fix: picto 2012-07-22 16:11:23 +02:00
Laurent Destailleur
0d6baa4288 Qual: Enhance codesniffer setup 2012-07-22 14:08:05 +02:00
Laurent Destailleur
c41c5bf797 New: Add help on feature to use it with caution 2012-07-22 13:36:28 +02:00
Laurent Destailleur
72d9f7348c Fix: Missing lang loading 2012-07-22 12:13:53 +02:00
Laurent Destailleur
66ea44886b Fix: Permissions when using web services. 2012-07-22 02:33:21 +02:00
Laurent Destailleur
db4c6bd289 New: After first install, warning are visible onto mandatory setup
not configured. Show also total number of activated modules.
2012-07-22 01:03:19 +02:00
Christophe Battarel
b8fa4468ce add commissions module 2012-07-20 16:21:35 +02:00
Regis Houssin
fafd79a0f8 Fix: uniformize code (in progress) 2012-07-20 09:57:50 +02:00
Marcos García
9f3f3703e3 Fixed Catalan typos too 2012-07-19 23:44:36 +02:00
Marcos García
7b478dbb35 Contracts box name wasn't being translated 2012-07-19 23:44:28 +02:00
Marcos García
6039c6f420 Added missing translation and fixed some typos 2012-07-19 23:44:02 +02:00
Marcos García
8233a26422 Fixed some spanish & catalan translations 2012-07-19 23:43:41 +02:00
Regis Houssin
b121a01ef8 Merge pull request #247 from cbattarel/marges
Margin module
2012-07-19 10:46:24 -07:00
Marcos García
44a6236b7d Replaced "Seconds" for "seconds"
Conflicts:
	htdocs/admin/proxy.php
2012-07-19 19:43:15 +02:00
Raphaël Doursenaud
4f0d43bbc8 French wording
Réception -> Traitement en cours
2012-07-19 19:33:05 +02:00
Raphaël Doursenaud
bba9aa4bb4 French spelling
Chiffre d'affaire -> Chiffre d'affaires
2012-07-19 19:32:57 +02:00
Raphaël Doursenaud
04a975fbad Text: Chiffrer 2012-07-19 19:32:43 +02:00
Marcos García
319cf18b3b The tab Documents of the Contracts module wasn't being translated 2012-07-19 19:29:43 +02:00
simnandez
7f33e41113 Trad: Better translation 2012-07-19 19:29:30 +02:00
Laurent Destailleur
fb9bf3ddac Fix: Restore menu entry [ bug #455 ] Impossible de crer une facture fournisseur 2012-07-19 18:23:10 +02:00
Laurent Destailleur
69ca9cf7d4 [ bug #445 ] Hex escaping in descriptions 2012-07-19 18:03:25 +02:00
Christophe Battarel
98a2cf547e correct module description and image 2012-07-19 16:27:08 +02:00
Christophe Battarel
8e8fd72459 correct margin infos display on order 2012-07-19 16:25:40 +02:00
Christophe Battarel
34132de71d add charges to supplier prices 2012-07-19 15:36:25 +02:00
Laurent Destailleur
f5b58b6f12 Fix: Missing fields into insert from webservice 2012-07-19 14:26:02 +02:00
Christophe Battarel
55d547348a margin management for invoices 2012-07-19 11:07:50 +02:00
Christophe Battarel
c8e211c864 add missing include 2012-07-19 10:48:01 +02:00
Christophe Battarel
d32091120b margin management for orders 2012-07-19 10:26:26 +02:00
Christophe Battarel
b5c92c7b46 correction in getlinesarray 2012-07-19 10:15:59 +02:00
Christophe Battarel
019b857784 correct display of margin resume table 2012-07-19 09:55:43 +02:00
simnandez
5b3c50dad2 Trad: Add missing translation 2012-07-19 09:13:39 +02:00
Marcos García
98dfa8cd2e Fixed bug https://doliforge.org/tracker/?func=detail&aid=456&atid=246&group_id=144 2012-07-19 09:12:41 +02:00
Laurent Destailleur
1d89c172d0 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-18 22:41:06 +02:00
Christophe Battarel
9a7935075c correct margin informations when buy_price at zero 2012-07-18 17:29:32 +02:00
Christophe Battarel
8e2fee02df correct default definition for buy_price_ht in migration script 2012-07-18 17:17:00 +02:00
Christophe Battarel
f0f52270a5 adapt to new structure 2012-07-18 17:13:29 +02:00
Christophe Battarel
efba33eb13 adapt to new module structure 2012-07-18 17:00:56 +02:00
Christophe Battarel
411bb993b5 correct path to price.lib.php 2012-07-18 16:49:45 +02:00
Christophe Battarel
bd05495375 correct syntax error 2012-07-18 16:45:34 +02:00
Christophe Battarel
34022de1de correction of syntax error in tpl 2012-07-18 16:43:02 +02:00
Christophe Battarel
c5fe895dce adaptation to new module structure 2012-07-18 16:17:33 +02:00
Christophe Battarel
c12c8bd0bb update margin modules to core module 2012-07-18 16:13:29 +02:00
Christophe Battarel
3844a77395 correct typing bugs 2012-07-18 16:06:36 +02:00
Christophe Battarel
50c2a65b6a add margin infos to templates 2012-07-18 16:01:54 +02:00
Christophe Battarel
1de9dc15bf add margin module 2012-07-18 15:52:15 +02:00
Christophe Battarel
c0ac8c9ae1 fetch margin infos on line object 2012-07-18 15:50:37 +02:00
Christophe Battarel
316f6ce09c add margin infos to commonobject.class.php 2012-07-18 15:26:33 +02:00
Christophe Battarel
58262034cf add extra parameters to control combo in form_thirdparty like in select_company 2012-07-18 15:22:45 +02:00
Christophe Battarel
0cdf208f3d trigger change event when updating item value 2012-07-18 15:17:04 +02:00
Christophe Battarel
122fc5eaa7 update propales for margins 2012-07-18 15:15:54 +02:00
Christophe Battarel
a37707f96f updata database for margin module 2012-07-18 11:39:41 +02:00
Laurent Destailleur
ba25905926 New: [ task #454 ] Add "No category" into filters on category
combo for product list
2012-07-18 00:20:33 +02:00
Laurent Destailleur
9116db986f Fix: Restore button to edit products. Fix: the template to use for notes is dolibarr_notes. 2012-07-17 19:45:22 +02:00
Laurent Destailleur
7d9a4f2441 Make code simpler 2012-07-17 19:24:50 +02:00
Laurent Destailleur
73b17dc4c5 New: Make things more clear. 2012-07-17 15:28:34 +02:00
Laurent Destailleur
0021f7d98e New: Use a better format for workflow array:
- allow more complex permissions/conditions
- allow to define order of options
- can define workflow option not using two modules (can use only one, of
threee or more...)
2012-07-17 15:27:36 +02:00
Laurent Destailleur
86c59a2460 Better translation 2012-07-17 15:03:04 +02:00
Laurent Destailleur
1831b46bae Fix: Do not show if module disabled 2012-07-17 14:30:10 +02:00
Laurent Destailleur
393f407341 Update turkish language files 2012-07-17 02:33:14 +02:00
Laurent Destailleur
46d1c0a3fa New: Add option WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER
and WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER
2012-07-17 01:23:41 +02:00
Laurent Destailleur
d07e68e12f Fix: Combo list of warehouse not saved.
Fix: Validate of shipment in error
when using not predefined products.
2012-07-17 01:22:19 +02:00
Laurent Destailleur
06926e626a Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-07-13 17:19:11 +02:00
Regis Houssin
7122b91203 Merge pull request #242 from simnandez/develop
Fix: Bad local taxes if price base type is TTC
2012-07-13 07:29:12 -07:00
Regis Houssin
4f458c01f4 Fix: missing entity filter 2012-07-13 16:23:47 +02:00
Laurent Destailleur
035b2d201b Fix: Translation 2012-07-13 16:17:30 +02:00
Laurent Destailleur
a953dbd01c Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-07-13 16:13:24 +02:00
simnandez
b8338425f4 Trad: Add missing translations 2012-07-13 15:46:42 +02:00
Laurent Destailleur
ae08c49d13 Fix: due date and unit price into web service 2012-07-13 15:32:38 +02:00
simnandez
606674d8c8 Fix: Bad local taxes if price base type is TTC
Conflicts:
	htdocs/core/lib/price.lib.php
2012-07-13 15:28:25 +02:00
Regis Houssin
f16d204ca2 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-13 14:45:12 +02:00
Regis Houssin
221ecafe07 Fix: use click2dial only for phone tel 2012-07-13 14:45:00 +02:00
Laurent Destailleur
3fafecffbc Fix: field not saved into invoice creation 2012-07-13 14:06:51 +02:00
Regis Houssin
a1c86f52d7 Fix: strict mode holidays 2012-07-13 11:40:06 +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
Laurent Destailleur
5a57070f6f Fix: Works whatever is number of lines into invoice 2012-07-12 18:12:02 +02:00
Laurent Destailleur
ee8b80813a Fix: Date not converted correctly when using web service 2012-07-12 17:07:56 +02:00
Laurent Destailleur
bea1a50e2c Fix: Phone not saved when using web service 2012-07-12 14:36:08 +02:00
Laurent Destailleur
f7eebc0502 Fix: Phone not saved when using web service 2012-07-12 11:58:44 +02:00
Regis Houssin
5b0719f402 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-11 18:14:20 +02:00
Regis Houssin
e1b0d183e4 Fix: add commonorder and commoninvoice classes 2012-07-11 18:13:41 +02:00
Regis Houssin
e18d3c6e18 Fix: strict mode again 2012-07-11 15:55:56 +02:00
Laurent Destailleur
14917190b9 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-11 15:44:25 +02:00
Regis Houssin
6935598ced Fix: optimization 2012-07-11 12:05:43 +02:00
Laurent Destailleur
89bbeaab9f New: Add ekiga launcher for click to dial with ekiga 2012-07-11 11:47:52 +02:00
Regis Houssin
5e020cd178 Fix: use array for external module 2012-07-11 11:23:32 +02:00
Regis Houssin
b53d108c50 Fix: uniformize code 2012-07-11 10:14:56 +02:00
Regis Houssin
ff0668e908 Fix: strict mode way 2012-07-10 22:10:12 +02:00
Regis Houssin
28ccc43125 Fix: avoid another warning 2012-07-10 20:45:07 +02:00
Regis Houssin
71ad968c03 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-10 18:57:38 +02:00
Regis Houssin
4291db4a93 Fix: strict mode 2012-07-10 18:57:27 +02:00
Regis Houssin
b4617ee6cb Fix: bad test 2012-07-10 18:57:09 +02:00
Laurent Destailleur
73c331a8e1 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-07-10 17:52:09 +02:00
Laurent Destailleur
df31ae2b0e New: Add canadian provinces 2012-07-10 17:51:29 +02:00
Laurent Destailleur
d5e8c2bfbb Merge pull request #238 from simnandez/develop
Trad: Add missing translations
2012-07-10 07:29:33 -07:00
Regis Houssin
60dc11872e Fix: for multicompany transverse mode 2012-07-10 13:35:22 +02:00
Regis Houssin
55c30edc22 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-10 13:22:01 +02:00
Regis Houssin
226caf0152 Fix: and again, and again, and again... (strict mode) 2012-07-10 13:20:53 +02:00
Laurent Destailleur
72e21e3640 Add address format 2012-07-10 12:57:00 +02:00
Regis Houssin
6da69208d4 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-10 11:46:18 +02:00
Regis Houssin
41144643eb Fix: avoid warning php strict mode 2012-07-10 11:45:38 +02:00
Laurent Destailleur
20c1e29d72 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-10 11:09:49 +02:00
Laurent Destailleur
6f02fc841d Renamed type 2012-07-10 11:07:40 +02:00
Regis Houssin
41789458c5 Fix: warning again and again... 2012-07-09 18:09:44 +02:00
Regis Houssin
7fac86a5af Fix: avoid warnings 2012-07-09 12:54:27 +02:00
Regis Houssin
66b2f630ac Fix: big avoid strict mode errors 2012-07-09 12:31:21 +02:00
Regis Houssin
1f98c2cfc4 Fix: add possibility to use strict mode for debugging 2012-07-09 10:24:33 +02:00
Regis Houssin
1842fd3058 Fix: restore parameters 2012-07-09 10:10:21 +02:00
Regis Houssin
cd7bf41ae0 Fix: php 5.4 strict mode warning 2012-07-09 10:08:56 +02:00
Regis Houssin
7fe53c4dcf Fix: object already defined in constructor 2012-07-08 23:26:28 +02:00
Regis Houssin
07ddd75b99 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-08 23:22:36 +02:00
Regis Houssin
887f210618 Fix: avoid warning with php 5.4 and strict mode 2012-07-08 23:22:22 +02:00
Regis Houssin
320fe741cb Fix: avoid warning with php 5.4 and strict mode 2012-07-08 22:43:06 +02:00
Laurent Destailleur
be04878d4d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-08 16:54:27 +02:00
Laurent Destailleur
f09dfe8864 Fix: removed warning 2012-07-08 16:54:08 +02:00
Regis Houssin
10160d99a7 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-08 15:51:02 +02:00
Regis Houssin
65e0f18449 Fix: view image object 2012-07-08 15:50:27 +02:00
Laurent Destailleur
d0943be80d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-08 14:30:27 +02:00
Laurent Destailleur
fb1034c8a7 Fix: sort in ecm module 2012-07-08 14:30:05 +02:00
Regis Houssin
c25254e7d1 Fix: doc 2012-07-08 14:22:11 +02:00
Regis Houssin
2804ef2252 New: classify billed order if invoice billed (workflow
manager)
2012-07-08 14:18:40 +02:00
Laurent Destailleur
c9a2c70110 Fix: must use utf8 2012-07-08 13:57:51 +02:00
Laurent Destailleur
9c5e98aad7 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-08 13:30:39 +02:00
Laurent Destailleur
616f8ddaa8 New: Add a repair function to restore data into ecm_directories table
that was not sanitized.
2012-07-08 13:30:21 +02:00
Regis Houssin
b56d1ac735 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-08 13:19:56 +02:00
Regis Houssin
d1e80afe62 Fix: move "classify billed propal with order" in workflow manager 2012-07-08 13:19:13 +02:00
Laurent Destailleur
fad501d777 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-08 12:43:11 +02:00
Laurent Destailleur
0d12536b56 Fix: ecm 2012-07-08 12:42:33 +02:00
Regis Houssin
680fd32d23 Fix: missing parameters 2012-07-08 12:24:13 +02:00
Regis Houssin
3ca844b3df Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-08 12:19:12 +02:00
Regis Houssin
69ebda8ddb Fix: regression corrected 2012-07-08 12:18:29 +02:00
Laurent Destailleur
c68476d93e Prepare 3.2 release 2012-07-07 20:21:58 +02:00
Laurent Destailleur
d0f7acb4e1 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-07 20:12:23 +02:00
Laurent Destailleur
1e25ccac3e Update translation 2012-07-07 19:47:27 +02:00
Regis Houssin
05b7dfd97b Fix: compatibility with multicompany and transverse mode 2012-07-07 15:21:52 +02:00
Regis Houssin
714fe81abf Fix: getpost error 2012-07-07 12:50:56 +02:00
Regis Houssin
fa8841c53f Fix: missing object 2012-07-07 12:26:46 +02:00
Regis Houssin
7e2469618e Change-Id: I5f8bcf59cf2fc0d902edb4d61f8c20a2880765a2 2012-07-07 12:21:09 +02:00
Regis Houssin
ba45953223 Fix: more bugs with multicompany 2012-07-07 11:01:05 +02:00
Regis Houssin
1c545c4161 Fix: problem with template 2012-07-07 11:00:53 +02:00
Regis Houssin
5ad84406a2 Fix: security 2012-07-07 07:58:59 +02:00
Regis Houssin
ca62c3dba8 Fix: compatibility with multicompany 2012-07-06 20:50:24 +02:00
Regis Houssin
3bfd9182e0 Fix: uniformize code 2012-07-06 13:43:59 +02:00
Laurent Destailleur
d5060adf9d Fix: Error if curl not available 2012-07-06 11:35:03 +02:00
Laurent Destailleur
2500faa65d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-07-06 11:17:01 +02:00
Laurent Destailleur
6c433db348 New: Update turkish translation 2012-07-06 11:14:45 +02:00
Regis Houssin
9fa6f43643 Fix: bad link and uniformize code 2012-07-06 10:22:37 +02:00
Regis Houssin
dfe7b9ecbb Fix: price field is obsolete 2012-07-06 09:52:20 +02:00
Regis Houssin
46d2c1f730 Fix: wrong links 2012-07-05 16:04:03 +02:00
Laurent Destailleur
f9cef80942 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-07-05 15:48:02 +02:00
Laurent Destailleur
059c5bf632 New: Add ext ref 2012-07-05 15:44:01 +02:00
Regis Houssin
1968a8079a Fix: wrong link 2012-07-05 15:39:32 +02:00
Regis Houssin
83a228265c New: add possibility to use hooks for view linked objects block 2012-07-05 15:02:11 +02:00
Regis Houssin
ed3439d8ee Fix: add test if curl is installed 2012-07-04 17:00:29 +02:00
Regis Houssin
30989fc6c3 Fix: lines delimiter 2012-07-04 16:55:14 +02:00
Regis Houssin
293eab7676 New: add possibility to hide vat only if null 2012-07-04 16:52:08 +02:00
Laurent Destailleur
de2f869c94 Fix: bad log output 2012-07-04 13:43:50 +02:00
Laurent Destailleur
df42899ecd Checkstyle 2012-07-04 12:01:45 +02:00
Laurent Destailleur
59bd8ada73 New: Show root install param only if required. 2012-07-04 10:23:59 +02:00
Laurent Destailleur
571041e5d5 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2012-07-04 10:22:51 +02:00
Laurent Destailleur
957270783e Comments 2012-07-04 10:21:39 +02:00
Regis Houssin
cc4b2bf69c New: add box activity 2012-07-04 09:07:15 +02:00
Regis Houssin
454aa69697 Fix: missing images files filter 2012-07-03 21:13:09 +02:00
Regis Houssin
1c97934f6d Fix: test if ckeditor is enable 2012-07-03 16:42:04 +02:00
simnandez
a305b7d555 Trad: Add missing translations 2012-07-03 15:43:08 +02:00
Regis Houssin
4a0dad9524 Fix: missing shipping linked object box 2012-07-02 22:41:45 +02:00
Regis Houssin
4bafa13b5a New: check the real version and remove specific php settings 2012-07-02 20:57:22 +02:00
Regis Houssin
0bb3aced2f Fix: access problem if thirdparty module is disable 2012-07-02 20:04:28 +02:00
Regis Houssin
9c2f1a7544 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-07-02 19:31:00 +02:00
Regis Houssin
6f1651309e Fix: global converting lines delimiter 2012-07-02 19:30:37 +02:00
Laurent Destailleur
24ede26dd7 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-07-02 18:37:53 +02:00
Laurent Destailleur
6769cbbd2c Increase size of ref for products 2012-07-02 17:47:16 +02:00
Regis Houssin
897d59d8fa Fix: converting lines delimiter 2012-07-02 17:20:20 +02:00
Regis Houssin
d593878c78 Fix: big problem with linked elements 2012-07-02 17:07:37 +02:00
Regis Houssin
95c30de0b9 Fix: wrong sql request 2012-07-02 16:12:55 +02:00
Regis Houssin
c69fa495fa Fix: compatibility with multicompany 2012-07-02 15:42:35 +02:00
Regis Houssin
761f841735 Fix: missing contract reference 2012-07-02 10:37:39 +02:00
Regis Houssin
96bd81d387 Fix: sql request error 2012-07-02 10:14:01 +02:00
Laurent Destailleur
e300bb0611 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-30 01:48:58 +02:00
Laurent Destailleur
f4e30f4fcc Use stable url. 2012-06-30 01:45:39 +02:00
Laurent Destailleur
b3f99e946f Merge pull request #234 from defrance69/patch-6
Update develop
2012-06-29 03:38:26 -07:00
Regis Houssin
a96ab9a587 Fix: missing parameters ! 2012-06-29 10:08:48 +02:00
Regis Houssin
a26e03367b New: remove linked elements invalid 2012-06-29 09:35:20 +02:00
Laurent Destailleur
efbd0a2533 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-28 22:58:44 +02:00
Laurent Destailleur
a30b366b2b Fix: Can't modifiy accountancy code sell 2012-06-28 20:01:50 +02:00
Laurent Destailleur
4176287094 Fix: Panicum module for supplier accountancy code 2012-06-28 19:51:25 +02:00
Laurent Destailleur
732a98d9bb New: Show company in contact box 2012-06-28 09:43:30 +02:00
Laurent Destailleur
3242f2fb6c Fix: Removed warnings 2012-06-27 23:54:31 +02:00
Laurent Destailleur
8d3a03ab18 Qual: Normalize code 2012-06-27 23:46:25 +02:00
Laurent Destailleur
693deca816 Fix: doxygen 2012-06-27 23:45:58 +02:00
Regis Houssin
1755c34208 Fix: add ckeditor create div option with dolibarr_mailings toolbar 2012-06-27 16:36:25 +02:00
Laurent Destailleur
339e944b32 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-27 13:25:53 +02:00
Laurent Destailleur
ef81408dc0 Fix: Missing include 2012-06-27 13:25:13 +02:00
Regis Houssin
2334e5814d Merge pull request #235 from jfefe/develop
Fix : use lastname to test contact ldap synchro (not name)
2012-06-27 02:37:24 -07:00
Laurent Destailleur
2ab416889a First change to use native date functions instead of adodb 2012-06-27 10:58:51 +02:00
Laurent Destailleur
aa649c167d Fix: Bad hour 2012-06-27 01:40:25 +02:00
Laurent Destailleur
0de24cf6f1 Enhance generators 2012-06-27 01:27:22 +02:00
Laurent Destailleur
87efb2cbb0 Add log 2012-06-27 00:41:57 +02:00
Laurent Destailleur
787f423448 Fix: Removed warning. Fix compatibility. 2012-06-26 23:11:46 +02:00
jfefe
e2b4a69c89 Fix : use lastname to test contact ldap synchro (not name) 2012-06-26 13:11:04 +02:00
Laurent Destailleur
3b9d7c0125 New: Add webservice for thirdparty creation and list. 2012-06-25 13:06:26 +02:00
Laurent Destailleur
9669deb737 Turkish translation 2012-06-24 19:59:24 +02:00
Laurent Destailleur
4a98dbe9a5 Fix: Remove warning 2012-06-24 19:43:38 +02:00
Laurent Destailleur
018cafe92c Fix: Add an unsecape function to decode javascript escape
encoding. This also fix ecm for cyrillic chars.
2012-06-24 19:32:19 +02:00
Laurent Destailleur
0a75367a74 New: Auto ecm for third parties 2012-06-24 17:49:52 +02:00
Laurent Destailleur
e734a3cdca Fix: filename must be case sensitive 2012-06-24 13:15:39 +02:00
Laurent Destailleur
db4008850b Fix: missing include 2012-06-23 22:25:40 +02:00
Laurent Destailleur
9a36956619 New: Can filter list of proposal, order or invoice on sales
representative
2012-06-23 20:48:50 +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
Laurent Destailleur
9e4af7c5a7 Fix: group by not complete 2012-06-23 20:29:35 +02:00
Laurent Destailleur
6e29a098c0 Fix: fckeditor ko on linux distrib 2012-06-23 20:17:51 +02:00
Laurent Destailleur
a34ce201b1 Normalize themes 2012-06-23 15:44:02 +02:00
Laurent Destailleur
6c6e542fc0 Fix: Bad style 2012-06-23 15:17:04 +02:00
Laurent Destailleur
4792727ca6 Fix: Label was not translated 2012-06-23 15:01:08 +02:00
BENKE Charles
63493a6d1f Update develop 2012-06-21 12:30:22 +03:00
Laurent Destailleur
90569e264c Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/master.inc.php
2012-06-20 23:34:08 +02:00
Laurent Destailleur
f52cb1b571 Fix: We must not define language var if parm not defined. 2012-06-20 23:31:02 +02:00
Regis Houssin
c041feec6a Fix: missing not empty test 2012-06-20 22:23:43 +02:00
Regis Houssin
d061025955 Fix: rename and include unit test 2012-06-20 22:19:03 +02:00
Laurent Destailleur
cb0cd9c7fe Fix: If option to not manage a login is on, login is not output into
info message.
Fix: Bad error management
2012-06-19 21:54:36 +02:00
Laurent Destailleur
78421efcd3 Fix: rebuild_merge_pdf does not regenerate files already existing by
default.
2012-06-19 21:33:36 +02:00
Regis Houssin
6fece1e7ef Merge pull request #232 from simnandez/develop
Doc: Update ChangeLog
2012-06-18 02:33:28 -07:00
simnandez
f4c004d1c8 Doc: Update ChangeLog 2012-06-18 11:27:47 +02:00
Laurent Destailleur
c273f9f698 Fix: escape double quotes into dol_html_escapetag
New: Passwords not reset into install page.
2012-06-17 23:27:17 +02:00
Laurent Destailleur
42c25a4c0c Update doc 2012-06-17 22:28:52 +02:00
Laurent Destailleur
e20818f9ed Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-17 19:26:29 +02:00
Laurent Destailleur
1e039bb708 Update doc 2012-06-17 19:22:09 +02:00
Regis Houssin
2e22ac895f Fix: change smtps for have the same email structure of phpmail 2012-06-17 18:43:30 +02:00
Laurent Destailleur
492cf03989 Fix: Removed warning 2012-06-17 17:44:38 +02:00
Regis Houssin
4e1418a6a6 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-16 08:22:08 +02:00
Laurent Destailleur
90bfea882a Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-16 00:08:03 +02:00
Laurent Destailleur
7e46ddd5b0 Fix: Permissions for click2dial tab 2012-06-16 00:07:24 +02:00
Regis Houssin
4db07c3d34 Fix: avoid empty email address 2012-06-15 16:54:13 +02:00
Regis Houssin
971802e773 Fix: send only status 1 2012-06-15 16:53:55 +02:00
Regis Houssin
cf7872497e New: add EXTERNAL_USERS_ARE_AUTHORIZED for bypass security access for
external users
2012-06-15 16:53:44 +02:00
Regis Houssin
86deb53761 Merge pull request #230 from simnandez/develop
Fix: [ bug #427 ] Bad links to wiki help in certains menus
2012-06-15 07:19:24 -07:00
simnandez
cedde3ef83 Fix: [ bug #427 ] Bad links to wiki help in certains menus 2012-06-15 16:13:18 +02:00
Regis Houssin
0469fb1114 Merge pull request #228 from simnandez/develop
Fix: [ bug #427 ] Bad links to wiki help in certains menus
2012-06-15 06:49:14 -07:00
simnandez
cf85f6708e Fix: [ bug #427 ] Bad links to wiki help in certains menus 2012-06-15 15:43:00 +02:00
Laurent Destailleur
18c5588c5e Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-06-15 11:24:28 +02:00
Laurent Destailleur
4f1d6d7328 Fix: missing a return into clean_url function 2012-06-15 11:24:09 +02:00
Regis Houssin
c6d703de54 Fix: convert lines delimiters 2012-06-15 11:20:09 +02:00
Regis Houssin
a7e45ae10d Fix: missing urlfrom 2012-06-15 11:18:44 +02:00
Laurent Destailleur
44f31bf21c Fix: The fix made by renaming PDF_ADDALSOTARGETDETAILS into MAIN_PDF_ADDALSOSOURCEDETAILS was fixing things in the wrong direction. The regression was the missing data on the recipient compared to 3.1.1 2012-06-15 11:16:17 +02:00
Laurent Destailleur
81eadcd426 Fix: Avoid warning if param is empty 2012-06-15 10:05:28 +02:00
Laurent Destailleur
c592bc88b8 Fix: Init 2012-06-15 02:17:00 +02:00
Laurent Destailleur
6f8ad124a1 New: Can correct stock of a warehouse from warehouse card. 2012-06-15 02:16:35 +02:00
Laurent Destailleur
bfee1630a0 Typo 2012-06-15 01:09:25 +02:00
Laurent Destailleur
db910c8c6f Update logo 2012-06-15 00:59:58 +02:00
Laurent Destailleur
d20aa0f4a2 Qual: More phpunit tests 2012-06-15 00:15:59 +02:00
Laurent Destailleur
d8ee62101a Fix: function dol_nboflines_bis 2012-06-15 00:15:30 +02:00
Laurent Destailleur
777755dcec New: Suggest a method to generate a backup file for user with no
access to mysqldump binary.
2012-06-14 23:00:44 +02:00
Laurent Destailleur
1ddbc12258 Fix: No link if not found into table 2012-06-14 22:56:14 +02:00
Laurent Destailleur
a7d27fc711 Fix: Update was broken 2012-06-14 22:47:45 +02:00
Laurent Destailleur
8d01ba75c9 Fix: Provide a solution for backup when mysqldump is not available 2012-06-14 22:33:27 +02:00
Laurent Destailleur
90fd8abddf Qual: More phpunit tests 2012-06-14 20:16:40 +02:00
Laurent Destailleur
e3d8c07e57 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-06-14 20:16:23 +02:00
Laurent Destailleur
a9d5109d3d Qual: More phpunit tests 2012-06-14 20:15:50 +02:00
Regis Houssin
1155b0097b New: add advanced rights 2012-06-14 20:11:54 +02:00
Regis Houssin
4f67488bd3 New: add possibility to hide unauthorized buttons 2012-06-14 20:11:43 +02:00
Laurent Destailleur
ec621d2dcb Fix: Bad calculation of nb of line. Fix: Bad position of lines into pdf_soleil 2012-06-14 19:58:35 +02:00
Laurent Destailleur
3fe6ed9a7d Fix: Messy source address 2012-06-14 17:50:32 +02:00
Laurent Destailleur
b1e934d853 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-06-14 16:48:36 +02:00
Laurent Destailleur
c1c94abcd3 Fix: Menu list was empty into menu editor. 2012-06-14 16:48:02 +02:00
Regis Houssin
6585d86fd7 Fix: set status 9 (in progress) to avoid duplication 2012-06-14 15:58:32 +02:00
Laurent Destailleur
66740071fd Fix: Use order date for stats, not valid date. 2012-06-14 14:30:58 +02:00
Laurent Destailleur
a1bd60a614 Fix: No call of any login method. 2012-06-14 14:08:29 +02:00
Regis Houssin
515d8278bc Fix: wrong method 2012-06-14 09:44:27 +02:00
Regis Houssin
159206d52c Fix: $id and $rowid conflict 2012-06-14 09:27:16 +02:00
Regis Houssin
26a4c6c925 New: add script for send emailings with cron job 2012-06-14 09:27:03 +02:00
Regis Houssin
7644fa96dc Fix: uniformize code and add specific rights 2012-06-13 21:48:59 +02:00
Regis Houssin
0d6004588e Fix: adjust user rights and change status icon 2012-06-13 21:48:38 +02:00
Laurent Destailleur
5e2f846894 Missing fpdfi 2012-06-13 20:21:43 +02:00
Laurent Destailleur
6cd03f9ccd Fix: typo error 2012-06-13 20:13:57 +02:00
Laurent Destailleur
864589f4cf Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-13 11:33:37 +02:00
Laurent Destailleur
daad1877a8 New: Add link to third party into sells and purchase journal. 2012-06-13 11:32:09 +02:00
Regis Houssin
6246228544 New: add extraparams, hooks and extrafields for emailing card 2012-06-13 09:28:59 +02:00
Regis Houssin
315fba37fc Fix: restore broken feature (hooks) 2012-06-13 09:28:48 +02:00
Regis Houssin
df28f09286 Fix: mutualize ckeditor parameters 2012-06-12 23:13:25 +02:00
Laurent Destailleur
a23df4f407 Qual: Removed deprecated var
New: Can add global js
2012-06-12 18:35:29 +02:00
Laurent Destailleur
a5702e150c Enable jflot lib 2012-06-12 00:55:09 +02:00
Regis Houssin
302c0bb778 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-11 22:39:26 +02:00
Regis Houssin
06ef4ea4c4 Fix: missing end parenthesis 2012-06-11 22:38:52 +02:00
Regis Houssin
38b0b5b39d Merge pull request #226 from defrance69/patch-5
if day of week < 7 display 2 times the day : 3 days 3 days
2012-06-11 13:05:26 -07:00
Regis Houssin
5009867181 Merge pull request #225 from simnandez/develop
Fix: Bad link to propal list into stadistics and dashboard boxes
2012-06-11 13:02:56 -07:00
Regis Houssin
774be84c54 Merge pull request #220 from GPCsolutions/supplier-orders-box
New box showing the latest supplier orders.
2012-06-11 13:02:01 -07:00
Regis Houssin
fee5a0894c Merge pull request #221 from GPCsolutions/pgsql
Fix first activation of some modules on PgSQL
2012-06-11 13:00:37 -07:00
Regis Houssin
bf379fc242 Fix: uniformize code 2012-06-11 21:45:59 +02:00
Laurent Destailleur
0739942b7e Can add more text into title shown by getNomUrl 2012-06-11 19:28:04 +02:00
Regis Houssin
e0109c019d Fix: update jquery-cookie plugin 2012-06-11 17:26:48 +02:00
Laurent Destailleur
8c5f0f6811 New: Update mailman mailing-list subscription. 2012-06-11 01:34:51 +02:00
Laurent Destailleur
a1cd073640 Fix: Translation key 2012-06-10 22:02:14 +02:00
Laurent Destailleur
9a3e3e8e18 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-10 21:55:46 +02:00
Laurent Destailleur
98676ddaa1 Qual: Enhance mailmanspip module.
New: When a member is validated, we can subscribe to mailing-lists
according to its type.
2012-06-10 21:49:19 +02:00
Regis Houssin
cc18dab5c9 Fix: missing remove_file action
Fix: use object instead id and store odt filename in object for use in
triggers
2012-06-10 17:09:10 +02:00
Laurent Destailleur
b7abad95d8 Doxygen 2012-06-10 13:22:28 +02:00
Laurent Destailleur
ae10eb0360 Doxygen 2012-06-10 13:19:20 +02:00
Laurent Destailleur
7147994fd6 Fix: Checkstyle 2012-06-10 13:17:53 +02:00
Laurent Destailleur
c774d94bc9 Fix: Checkstyle 2012-06-10 13:15:24 +02:00
Laurent Destailleur
37f7c98e50 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-10 13:08:56 +02:00
defrance69
2540f727c0 if day of week < 7 display 2 times the day : 3 days 3 days
add the 's' if they are many days
2012-06-10 13:42:19 +03:00
simnandez
530743e8b4 Fix: Bad link to propal list into stadistics and dashboard boxes 2012-06-10 11:10:18 +02:00
Regis Houssin
af38a2fab7 Fix: bad parameters, use global 2012-06-10 10:29:43 +02:00
Laurent Destailleur
ddf274e2c1 Fix: translation 2012-06-09 19:44:35 +02:00
Laurent Destailleur
50719271c0 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-09 19:33:52 +02:00
Laurent Destailleur
e6cd400bc3 Qual: List of elements must be into a page called "list.php". 2012-06-09 19:16:31 +02:00
Regis Houssin
b51cd362b0 Fix: problem with external modules and uniformize code 2012-06-09 18:40:36 +02:00
Laurent Destailleur
85e7e5eddd Fxi: Removed checkstyles errors 2012-06-09 13:54:05 +02:00
Laurent Destailleur
fd0450457d New: Can insert links into elements lines. Also reported into PDF. 2012-06-09 13:16:55 +02:00
Laurent Destailleur
931b1d3ab7 Fix: Removed non greek sentences 2012-06-09 12:37:40 +02:00
Laurent Destailleur
1a3a045af6 Fix: No alpha here, this breaks ability to submit html content with
images or links.
2012-06-09 12:33:51 +02:00
Laurent Destailleur
655c317645 Fix: Turkish translation 2012-06-09 00:22:41 +02:00
Laurent Destailleur
394e044fa8 Fix: Missing translation key 2012-06-09 00:18:47 +02:00
Laurent Destailleur
158930eb7b Fix: function is loaded once and not overwritten if loaded
by another ajax page. So if we need inputok/ko and pageyes/no to be
different according to ajax calls (to have several confirm box
loaded from different ajax parts of page, we must place such variables
outside of function. For this $useglobalvars must be set to 1.
2012-06-08 23:48:53 +02:00
Laurent Destailleur
1022c73c24 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-08 22:17:14 +02:00
Regis Houssin
f4135d3758 Fix: delete or rename a document product dir 2012-06-08 21:40:27 +02:00
Regis Houssin
355cb988b7 Fix: missing oldcopy during update 2012-06-08 21:40:15 +02:00
Laurent Destailleur
62766288c8 Fix: Another fix for var not initialized 2012-06-08 21:39:44 +02:00
Laurent Destailleur
59e39b5d91 Fix: A lot of pb into javascript. Javascripts code for same feature was
not inserted always at same place (sometinmes at low level, and
sometimes at high level). This was creating conflict into javascript.
2012-06-08 21:33:12 +02:00
Laurent Destailleur
85f31fc0cb Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-08 20:37:14 +02:00
Regis Houssin
513e3b8ae7 Fix: remove deprecated code can cause warning 2012-06-08 18:18:59 +02:00
Regis Houssin
e6c6d6cf84 Fix: avoid warning 2012-06-08 18:17:03 +02:00
Regis Houssin
bd6f5c4ca7 Fix: use template for best visibility 2012-06-08 18:03:00 +02:00
Regis Houssin
d9e3a941de Fix: conflict with anothers dialog box 2012-06-08 17:06:22 +02:00
Regis Houssin
1fc102825a Fix: bad option name 2012-06-08 11:47:34 +02:00
Regis Houssin
92b02a0084 Fix: add iframe transport for compatibility with all browser 2012-06-08 11:35:32 +02:00
Laurent Destailleur
8a4a74a1bf Look: Add more space 2012-06-07 20:58:26 +02:00
Laurent Destailleur
5c553878c7 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-06 23:13:06 +02:00
Laurent Destailleur
b120eb9a15 Fix: Confirm box not opened 2012-06-06 23:12:33 +02:00
Laurent Destailleur
f575dd4ae5 Fix: bad error management 2012-06-06 23:06:17 +02:00
Regis Houssin
d0161087cb Fix: problem with external module 2012-06-06 23:02:02 +02:00
Regis Houssin
e311a7b64c Merge pull request #222 from simnandez/develop
[ task #104 ] Possibilité de facturer plusieurs commandes
2012-06-06 13:31:09 -07:00
simnandez
b96fb07cbf [ task #104 ] Possibilité de facturer plusieurs commandes 2012-06-06 18:02:47 +02:00
Raphaël Doursenaud
a29301d8b5 Indent 2012-06-06 16:35:58 +02:00
Raphaël Doursenaud
2a8cc5ad60 Fix a bug preventing module enablement with PostgreSQL 2012-06-06 16:30:52 +02:00
Regis Houssin
4d2a77a657 Fix: missing search in alternative root directory 2012-06-06 14:04:19 +02:00
Laurent Destailleur
23dea40504 Fxi: Bad permission check 2012-06-05 23:32:13 +02:00
Laurent Destailleur
9a7382de1b Fix: Exclude temp file 2012-06-05 23:31:46 +02:00
Laurent Destailleur
5ab3512914 Fix: Missing permission check 2012-06-05 23:12:40 +02:00
Laurent Destailleur
eb3484d6b6 No need of compatibility mode 2012-06-05 12:52:25 +02:00
Laurent Destailleur
07a6ee67e2 Minor perf enhancement 2012-06-05 12:42:32 +02:00
Laurent Destailleur
14719d1b7a Compatibility mode 2012-06-05 12:34:34 +02:00
Laurent Destailleur
dadc36ad18 Fix for PHP < 5.3 2012-06-05 12:27:42 +02:00
Laurent Destailleur
50f3e480c9 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-05 12:11:45 +02:00
Laurent Destailleur
b6fb117f78 Fix if tz is UTC. 2012-06-05 12:11:20 +02:00
Raphaël Doursenaud
29bfc2f310 Fixed supplier url in supplier orders' box 2012-06-04 18:05:19 +02:00
Raphaël Doursenaud
0f410996f7 New box showing the latest supplier orders. 2012-06-04 17:37:38 +02:00
Regis Houssin
6311712052 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-04 11:26:45 +02:00
Regis Houssin
94103af605 Fix: don't exclude savant and jstree for externals modules ! 2012-06-04 11:21:20 +02:00
Laurent Destailleur
044ca3062b Fix: Use wrong handler. Make install fails. 2012-06-04 02:13:59 +02:00
Regis Houssin
ed50c65631 Fix: date format error 2012-06-03 23:53:58 +02:00
Regis Houssin
93e3c3e3f3 Fix: merge array of hookmanager errors 2012-06-03 23:53:32 +02:00
Laurent Destailleur
dfb697d794 Prepare ajax for ecm module. 2012-06-02 18:55:04 +02:00
Laurent Destailleur
88c5d0f6e9 USe html & not xml 2012-06-02 14:56:36 +02:00
Laurent Destailleur
3d73952376 Look: Reduce login table pad 2012-06-02 14:07:38 +02:00
Laurent Destailleur
df45c51336 Fix: Solve error Method Not Implemented 2012-06-01 21:15:14 +02:00
Laurent Destailleur
7bc803ca9e Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-06-01 20:51:55 +02:00
Laurent Destailleur
6147377e16 Fix: Try a fix for the _FILES escape problem. 2012-06-01 20:51:31 +02:00
Raphaël Doursenaud
38740fb70f Fixed a bug in interventions' list navigation
The navigation arrows were referencing "index.php" file thus
preventing navigation between pages.
The actual name of the file is "list.php".
2012-06-01 11:21:56 +02:00
Laurent Destailleur
61ed269044 Fix: restore broken feature. File upload/delete was ko with linux and
windows.
Note also that strisplashes should never be used anywhere in the code,
because strislashes is nor a HTML escape, nor a javascrip escape, nor a
shell or PHP escape function. If stripslashes is used somewhere, this
means there is a bug somewhere else.

upload/delete using the standard feature (not fileupload) works
correctly with that on linux/windows.
2012-06-01 10:16:42 +02:00
Laurent Destailleur
f11508a09e Fix: an url must be with url escape format. 2012-06-01 10:12:28 +02:00
Regis Houssin
84cf35d8f2 Fix: Multi-line function call not indented correctly 2012-06-01 08:05:45 +02:00
Regis Houssin
6c8db0aa2d Fix: Protected member variable must not be prefixed with an underscore 2012-06-01 07:59:45 +02:00
Regis Houssin
e9994c683a Fix: clear file name send by php 2012-06-01 07:11:00 +02:00
Raphaël Doursenaud
6c963fc591 Fixed a bug preventing invoice sorting by authors 2012-06-01 03:07:05 +02:00
Laurent Destailleur
9985355f9e Merge pull request #215 from simnandez/develop
Trad: Add translation
2012-05-31 18:04:32 -07:00
Laurent Destailleur
8f5a95255d Checkstyle 2012-06-01 02:32:17 +02:00
Laurent Destailleur
93ced076ac Checkstyle 2012-05-31 21:25:22 +02:00
Regis Houssin
2ad1cf0665 Fix: more clean code for new version of jQuery fileupload 2012-05-31 21:11: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
Regis Houssin
248f0e9d08 Fix: reload page after file upload completed 2012-05-30 23:14:35 +02:00
Regis Houssin
6c5237f94e Fix: add max file size 2012-05-30 22:44:44 +02:00
Regis Houssin
1e77ff069a Fix: replace Bootstrap version by jQueryUI version 2012-05-30 22:13:23 +02:00
Laurent Destailleur
1929c1784d Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-30 21:41:52 +02:00
Laurent Destailleur
d9efb88d35 Fix: Can edit emailing even when validated. 2012-05-30 21:40:32 +02:00
Simnandez
5a1001f006 Trad: Add translation 2012-05-30 18:00:37 +02:00
Regis Houssin
0d909e6ba1 Merge pull request #213 from simnandez/develop
[ task #104 ] Possibilité de facturer plusieurs commandes. Init works
2012-05-30 06:00:16 -07:00
juanjo
c24b901dd6 [ task #104 ] Possibilité de facturer plusieurs commandes. Init works 2012-05-30 14:48:23 +02:00
Regis Houssin
85e3407559 Fix: Unescape a file submitted by upload. PHP escape char " (%22) and
char ' (%27) into $FILES
Before= Capture d\'écran.doc  After= Capture d'écran.doc
2012-05-30 13:58:20 +02:00
Laurent Destailleur
17b50e02b7 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-30 12:43:50 +02:00
Laurent Destailleur
c2db3265ec Fix: Regression with quot management. Try a better fix. 2012-05-30 12:43:23 +02:00
Laurent Destailleur
705c152f7a Fix: js not escaped 2012-05-30 12:33:31 +02:00
Regis Houssin
1ea7e53273 Works on jQuery fileupload upgrade (Todo: css problem) 2012-05-30 11:57:00 +02:00
Laurent Destailleur
6d245e6f31 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-30 11:22:20 +02:00
Laurent Destailleur
fb4d62c34a Fix: Some fix into the canvas for companies. 2012-05-30 11:21:42 +02:00
Regis Houssin
a5b0de15ac Fix: can't delete a files with quote 2012-05-30 08:30:25 +02:00
Regis Houssin
a486da1b0e Fix: restore files for template engine 2012-05-30 07:43:06 +02:00
Laurent Destailleur
ebf77e8c92 A better fix to remove files from document list 2012-05-30 04:11:00 +02:00
Laurent Destailleur
3c98daaf09 More fix for canvas features 2012-05-30 03:46:06 +02:00
Laurent Destailleur
cd1c5f6aaf Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-30 03:03:23 +02:00
Laurent Destailleur
8481af9ee4 Fix: Try to fix several bugs into canvas feature. 2012-05-30 03:02:44 +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
763e2a96a4 Revert "Revert "Fix: Return empty image instead of error when file not found.""
This reverts commit b99d3a70ae.
2012-05-30 00:05:42 +02:00
Laurent Destailleur
b99d3a70ae Revert "Fix: Return empty image instead of error when file not found."
This reverts commit b266a19300.
2012-05-30 00:05:08 +02:00
Laurent Destailleur
18d24c3f78 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-30 00:00:05 +02:00
Laurent Destailleur
b266a19300 Fix: Return empty image instead of error when file not found. 2012-05-29 23:59:43 +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
ef111dda47 New: update jQuery and jQuery UI 2012-05-29 22:57:12 +02:00
Laurent Destailleur
446ae46557 Removed deprecated strings 2012-05-29 22:22:59 +02:00
Laurent Destailleur
dc4d4ae50c Update de_de translation (manual translation) 2012-05-29 22:16:54 +02:00
Laurent Destailleur
ba77757146 Fix: Restore unix line ending 2012-05-29 21:48:44 +02:00
Laurent Destailleur
1cc3cb842e Merge pull request #212 from defrance69/patch-4
Update htdocs/comm/fiche.php
2012-05-29 12:44:57 -07:00
Regis Houssin
08f87515af Fix: clone object before all treatment 2012-05-29 09:55:29 +02:00
Laurent Destailleur
7213ae09fe Checkstyle 2012-05-29 00:08:00 +02:00
Laurent Destailleur
d52d063d98 Fix: Avoid to have a special php module. 2012-05-28 22:39:04 +02:00
Laurent Destailleur
d008225bef Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-28 22:10:01 +02:00
Laurent Destailleur
57c8797459 Fix: Subscription must use company name when type is "moral" 2012-05-28 22:09:36 +02:00
defrance69
33a8a3f468 Update htdocs/comm/fiche.php 2012-05-26 12:13:07 +03:00
Regis Houssin
516be43404 Fix: jquery fileupload broken feature 2012-05-25 20:56:05 +02:00
Laurent Destailleur
2c21700933 Checkstyle 2012-05-25 11:54:19 +02:00
Laurent Destailleur
513413da16 Checkstyle 2012-05-25 11:53:53 +02:00
Laurent Destailleur
f2c1346cb7 Fix: Removed warning 2012-05-24 23:22:45 +02:00
Laurent Destailleur
eca1223949 Indent 2012-05-24 16:58:14 +02:00
Laurent Destailleur
c207080527 Error management 2012-05-24 00:26:39 +02:00
Laurent Destailleur
6b2faf02d9 Checkstyle 2012-05-23 23:34:00 +02:00
Laurent Destailleur
c87af887ea Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-23 23:24:32 +02:00
Laurent Destailleur
ed93e5cc7c Qual: Serious clean of code of formconfirm method. This also solve bugs
of ecm module when using ajax.
2012-05-23 23:23:57 +02:00
Laurent Destailleur
7801749874 Fix: Bad action reset
Qual: Removed useless code
2012-05-23 17:49:41 +02:00
Laurent Destailleur
5c995a421c Merge pull request #210 from FHenry/develop
Correct start date and end date to be midnight rather than midday
2012-05-23 05:37:08 -07:00
Laurent Destailleur
1fec3b56d9 Fix: Permissions to see project
Conflicts:
	htdocs/projet/fiche.php
2012-05-23 14:34:44 +02:00
Laurent Destailleur
c6c9861bff Fix: bug on projects visibility for external users 2012-05-23 13:09:36 +02:00
Raphaël Doursenaud
e1767d1337 Trim payment amounts
This allows to ignore trailing characters that may triggers a warning because the payment looks greater than what's
required
2012-05-23 12:03:02 +02:00
Laurent Destailleur
1aa442977c Fix: extrafield repair was using bad hardcoded values. 2012-05-23 11:48:52 +02:00
Laurent Destailleur
81be50b91b Fix: [ bug #411 ] Can't modify most properties 2012-05-23 11:21:51 +02:00
Laurent Destailleur
82dda362c5 Fix: [ bug #409 ] List of vat rates for supplier prices must use the
seller country.
2012-05-23 10:50:38 +02:00
Laurent Destailleur
dc16085d57 Fix: No hard coded precision. Second param must be 'MU' (we want a
unit price so 'MU'. If unit price was on 4 decimal, we must keep 4
decimals once vat rate was changed)
2012-05-23 02:31:38 +02:00
Regis Houssin
8eb73aaa33 Fix: convert line delimiters 2012-05-22 19:26:33 +02:00
Regis Houssin
8f3ead5cfc Fix: round ttc with 2 decimal 2012-05-22 19:25:51 +02:00
Regis Houssin
b58a296f66 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/product/admin/product_tools.php
2012-05-22 19:14:05 +02:00
Regis Houssin
d7d26b9375 Fix: bad sql result name 2012-05-22 19:11:41 +02:00
Regis Houssin
569a3152ff Fix: bad sql result name 2012-05-22 19:09:05 +02:00
Regis Houssin
e8fd068cb0 Fix: reinstanciate object 2012-05-22 18:48:56 +02:00
Regis Houssin
01f1674231 New: add product admin page for mass conversion 2012-05-22 18:35:14 +02:00
FHenry
dfebf31c02 Correct strat date and end date to be midnight rather than midday 2012-05-22 12:54:13 +02:00
Laurent Destailleur
2a3db5a3ac Fix: new self is not compatible with most version of PHP. Also result is
not predicable as it depends on PHP version.
2012-05-21 20:31:02 +02:00
Laurent Destailleur
2b0cfb04af Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-21 20:18:32 +02:00
Laurent Destailleur
c1547b6ad0 Fix: Translation of payment term/cond 2012-05-21 20:17:58 +02:00
Regis Houssin
9cf2ea492c Fix: broken features with external module 2012-05-21 18:44:09 +02:00
Regis Houssin
5466c83e7b Merge pull request #209 from simnandez/develop
[ task #407 ] Manage PDF hidden items
2012-05-21 09:33:25 -07:00
juanjo
a6b0242f8a [ task #407 ] Manage PDF hidden items 2012-05-21 17:12:57 +02:00
Regis Houssin
77eb5d4287 Merge pull request #208 from simnandez/develop
Develop
2012-05-21 07:42:23 -07:00
juanjo
dbdd3f5e8a [ task #407 ] Manage PDF hidden items 2012-05-21 16:23:52 +02:00
juanjo
9b70ac1be3 [ bug #399 ] Bad calculation of local taxes in update line products 2012-05-21 16:21:09 +02:00
juanjo
b2ad2decad [ task #407 ] Manage PDF hidden items 2012-05-21 16:20:19 +02:00
FHenry
63f6707a7b correct bug #410
Conflicts:
	htdocs/comm/mailing/cibles.php
2012-05-21 16:16:24 +02:00
Regis Houssin
5f835bed7e Fix: broken features 2012-05-21 15:45:44 +02:00
Laurent Destailleur
fe48342aaf Fix: Check for duplicate must ignore spaces before and after 2012-05-21 10:37:03 +02:00
Laurent Destailleur
2ffa73660a Better error management 2012-05-21 09:21:03 +02:00
Laurent Destailleur
8b2a17bbf0 Perf: One request instead of two. 2012-05-21 00:36:59 +02:00
Laurent Destailleur
545eaa15c6 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-21 00:10:55 +02:00
Laurent Destailleur
864ca3090a Fix: [ bug #405 ] Late icon always displayed on comm/propal.php 2012-05-21 00:08:55 +02:00
Regis Houssin
99ac04b96d Merge pull request #204 from defrance69/patch-3
Update htdocs/fichinter/class/fichinter.class.php
2012-05-18 07:46:23 -07:00
defrance69
80e717af7e Update htdocs/fichinter/class/fichinter.class.php 2012-05-18 15:36:05 +03:00
Regis Houssin
34e2320e61 Fix: use $mysoc object and clean code 2012-05-18 09:03:24 +02:00
Laurent Destailleur
1252d7bf2c Fix: Missing name 2012-05-16 17:04:00 +02:00
Laurent Destailleur
4d06b0bff3 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-16 12:33:47 +02:00
Laurent Destailleur
0cbe83aaed Fix: W3C 2012-05-16 12:33:10 +02:00
Laurent Destailleur
c500a9db33 Merge pull request #202 from simnandez/develop
Trad: Add missing translations
2012-05-15 12:14:30 -07:00
Laurent Destailleur
1c7e3d1097 Fix: cancel not supported 2012-05-15 20:39:04 +02:00
juanjo
857b0e6199 Trad: Add missing translations 2012-05-15 16:19:12 +02:00
Laurent Destailleur
c48e0e6996 Merge pull request #200 from GPCsolutions/develop
Develop
2012-05-15 02:39:21 -07:00
Laurent Destailleur
b0c1fa5b4f Fix: Pgsql 2012-05-15 01:52:46 +02:00
Laurent Destailleur
e0b6bee540 New: Add timezone string from browser. 2012-05-15 01:41:12 +02:00
Laurent Destailleur
e7138bce4e Fix: daylight depends also on year (not only month and day) 2012-05-15 00:48:59 +02:00
Laurent Destailleur
bd26c9e465 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-14 20:46:35 +02:00
Regis Houssin
93c32ba43f Fix: add quote with date 2012-05-14 20:05:39 +02:00
Laurent Destailleur
4a9baa590c Fix: Bad timezone function. Daylight was not used. 2012-05-14 16:46:48 +02:00
Laurent Destailleur
2a7cf9c6f6 Fix: bad translation 2012-05-14 14:41:26 +02:00
Laurent Destailleur
70f7cd8232 Fix: missing include 2012-05-14 14:06:27 +02:00
Cédric Salvador
c78288c89c Merge remote-tracking branch 'origin/develop' into develop 2012-05-14 11:49:04 +02:00
Cédric Salvador
673f57edae Fix: error in syslog call 2012-05-14 11:46:42 +02:00
Laurent Destailleur
89e95f8d97 Fix: Do not use correct env var 2012-05-14 01:47:26 +02:00
Laurent Destailleur
89836cea29 Fix: var init 2012-05-14 01:39:59 +02:00
Laurent Destailleur
55e21b85c7 Fix: delete go back to list. 2012-05-13 19:52:19 +02:00
Laurent Destailleur
5541c2b693 Fix: Exclude nltechno modules from demo 2012-05-13 19:13:41 +02:00
Laurent Destailleur
51e8ebd664 Fix: Clean sql 2012-05-13 18:08:03 +02:00
Laurent Destailleur
a87cefa64d Fix: pgsql 2012-05-13 17:38:04 +02:00
Laurent Destailleur
c4daa904c4 Fix: W3C 2012-05-13 17:37:53 +02:00
Laurent Destailleur
cf03228053 Fix: syntax error in name of pgsql util proc.
Fix: Add a proc to fix pgsql problems.
2012-05-13 16:42:59 +02:00
Laurent Destailleur
acef702c27 Fix: pgsql compatibility not complete.
New: Move convert sql functions as static.
New: Add phpunit tests for database drivers.
2012-05-13 14:30:11 +02:00
Laurent Destailleur
4277087f76 Fix: Missing log when error 2012-05-13 14:27:51 +02:00
Laurent Destailleur
8abacfaf35 Fix: Bad phpunit test 2012-05-13 14:26:25 +02:00
Laurent Destailleur
57adc5e76a Fix: Style 2012-05-12 20:58:36 +02:00
Laurent Destailleur
5be544264b Fix: Missing lang 2012-05-12 18:30:49 +02:00
Laurent Destailleur
64c7ae1667 Fix: hour reported is not user hour. To fix this, we show both hour
"server and user" but only if it differs.
2012-05-12 16:27:20 +02:00
Laurent Destailleur
28febe728b Fix: Pb with backtopage 2012-05-12 15:53:57 +02:00
Laurent Destailleur
9a2f05b87a Fix: SQL error 2012-05-12 15:27:22 +02:00
Laurent Destailleur
04ee415879 Fix: [ bug #404 ] Impossible d'ajouter un contact lorsque le module LDAP
est actif (erreur Array 1)
2012-05-12 12:32:24 +02:00
Laurent Destailleur
13ea9c91fd Fix: Synchro with group not done when editing group only of a user. 2012-05-11 12:47:15 +02:00
Laurent Destailleur
61a6105c98 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-11 12:11:23 +02:00
Laurent Destailleur
3ab6ffdd0e Fix: A lot of fix for LDAP synchro 2012-05-11 12:10:47 +02:00
Regis Houssin
ddf0f3521f Fix: [Bug #403] Insertion Image via l'éditeur WISIWIG plante 2012-05-11 10:14:15 +02:00
Laurent Destailleur
4977cfd44f Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-10 23:02:40 +02:00
Laurent Destailleur
dc904ddf5f Fix: vat rates 2012-05-10 23:02:05 +02:00
Regis Houssin
8ec51c2a6b Fix: fetch object for hookmanager 2012-05-10 19:30:10 +02:00
Laurent Destailleur
63ce05b939 New: Localize for NL 2012-05-10 00:35:20 +02:00
Laurent Destailleur
62a1dd1912 Fix: escape html tag value 2012-05-09 18:48:16 +02:00
Laurent Destailleur
d0c0a0a42c Fix: Bad warning 2012-05-09 18:16:09 +02:00
Laurent Destailleur
8823f9234f Fix: Bad warning 2012-05-09 17:58:38 +02:00
Laurent Destailleur
7c78c894de Fix: Not escaped html value 2012-05-09 17:44:52 +02:00
Laurent Destailleur
cc2ce60312 Fix: Validate broken, missing warning on bad email. 2012-05-09 17:15:44 +02:00
Laurent Destailleur
34f433ee4b Uniformize code 2012-05-09 17:14:46 +02:00
Laurent Destailleur
30c8fcd0e1 Fix: regression sql error 2012-05-09 16:45:15 +02:00
Laurent Destailleur
aa6eb25f85 Qual: Uniformize code 2012-05-09 16:40:54 +02:00
Laurent Destailleur
8cc55ae0df Fix: Warning GETPOST with alpha and int must be used ONLY if content is
not a free text.
2012-05-09 16:18:59 +02:00
Laurent Destailleur
923562c520 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-09 16:03:48 +02:00
Laurent Destailleur
f995d0d9cb Fix: Missing extrafields
New: Can resiliate/edit member status from list.
2012-05-09 16:03:15 +02:00
Laurent Destailleur
c8d72ef92a Fix: Failed to delete member 2012-05-09 15:22:09 +02:00
Laurent Destailleur
60b37d6b43 Fix: style 2012-05-09 14:50:28 +02:00
Regis Houssin
b2022b3b74 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-09 12:46:28 +02:00
Regis Houssin
fb2cd3d842 Fix: more compatibility with multicompany 2012-05-09 12:45:19 +02:00
Regis Houssin
646a0eaf1e Merge pull request #199 from simnandez/develop
Fix:[ bug #399 ] Bad calculation of local taxes in update line products
2012-05-09 03:14:33 -07:00
simnandez
d226534ba0 Fix:[ bug #399 ] Bad calculation of local taxes in update line products 2012-05-09 12:12:14 +02:00
Laurent Destailleur
a3216ee0c6 Fix: Checkstyle 2012-05-09 02:39:30 +02:00
Laurent Destailleur
6ed75123d8 Fix: checkstyle 2012-05-09 00:28:02 +02:00
Laurent Destailleur
0135129b9b Fix: Regression in packager 2012-05-09 00:04:32 +02:00
Laurent Destailleur
f8d7591d6d Fix: Load lang 2012-05-08 22:58:54 +02:00
Laurent Destailleur
c01fae04e4 Qual: Uniformize management of alt directories. 2012-05-08 22:49:03 +02:00
Laurent Destailleur
161846be77 Fix: [ bug #397 ] Product VAT is not coming from buying price 2012-05-08 22:10:07 +02:00
Laurent Destailleur
a772fff5ed Fix: update price for pgsql 2012-05-08 21:59:02 +02:00
Laurent Destailleur
dc09960143 New: Add bank account on payment list of invoice card. 2012-05-08 15:43:58 +02:00
Laurent Destailleur
aa9648288c Uniformize order of fileds 2012-05-08 15:01:20 +02:00
Laurent Destailleur
a7c4a88b07 Look: Minor look enhancements 2012-05-08 15:00:46 +02:00
Laurent Destailleur
a83fd529af Fix: bad br 2012-05-07 20:56:36 +02:00
Laurent Destailleur
774bf30e4c Fix: corrupted extra tables. 2012-05-07 20:55:14 +02:00
Laurent Destailleur
0737748e48 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-07 18:59:17 +02:00
Regis Houssin
c2f6a267d8 Merge pull request #197 from GPCsolutions/typo
Fix: Typo
2012-05-07 09:30:53 -07:00
Raphaël Doursenaud
6fd60ff174 Fix: Typo 2012-05-07 18:27:23 +02:00
Laurent Destailleur
16b1655ad5 Fix: Width of gantt chart 2012-05-07 18:00:53 +02:00
Raphaël Doursenaud
2d706fc0f8 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-05-07 17:40:05 +02:00
Laurent Destailleur
2f081f2bd5 Too shadow with IE 2012-05-07 17:19:46 +02:00
Laurent Destailleur
8c6570718d Fix: Better fix for gant view 2012-05-07 17:11:40 +02:00
Laurent Destailleur
c904e3e4b3 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-05-07 17:07:13 +02:00
Regis Houssin
bfb102db18 Fix: add MAIN_HIDE_LEFT_MENU 2012-05-07 17:05:15 +02:00
Laurent Destailleur
792c0a33f3 Fix: Works with checkbox htdocs/core/class/html.form.class.php 2012-05-07 17:04:35 +02:00
Regis Houssin
f6aadae900 Merge pull request #196 from GPCsolutions/typo
Typo: instantanée ne prend qu'un n.
2012-05-07 07:52:54 -07:00
Raphaël Doursenaud
d4b902e7dc Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-05-07 11:43:43 +02:00
Regis Houssin
412cbf2dfd Fix: wrong permission 2012-05-07 11:15:14 +02:00
Laurent Destailleur
d5f0c487ad Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-05-07 10:36:45 +02:00
Raphaël Doursenaud
f7aafdc610 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-05-07 10:12:48 +02:00
Laurent Destailleur
a8307a32fd New: Switch ecm module to use ajax by default. 2012-05-07 10:08:11 +02:00
Regis Houssin
af7dc508cd Fix: [Bug #384] Gantt doesn't display beyond 20 tasks 2012-05-07 09:58:44 +02:00
Raphaël Doursenaud
01641dfb60 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-05-07 09:08:35 +02:00
Laurent Destailleur
f5592bcc32 Fix: Removed warning and fix pb with extra fields. 2012-05-06 21:05:02 +02:00
Laurent Destailleur
d60061f682 Fix: pagecode when using postgresql
Conflicts:
	htdocs/support/inc.php
2012-05-06 15:36:53 +02:00
Laurent Destailleur
8b07aa3623 Fix: log must be before request 2012-05-06 15:33:39 +02:00
Laurent Destailleur
eb541ceaa9 Fix: foreign key on non existing field 2012-05-06 15:33:33 +02:00
Laurent Destailleur
7c94b21211 Comments 2012-05-06 15:32:23 +02:00
Laurent Destailleur
ad26cff69f Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-06 02:33:15 +02:00
Laurent Destailleur
b4f83d33a6 Merge pull request #180 from GPCsolutions/typo
Typo
2012-05-05 17:32:51 -07:00
Laurent Destailleur
e9fb0f427c New: Add customer invoice ref on invoices 2012-05-06 02:27:09 +02:00
Laurent Destailleur
7a2bead1bf Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-06 00:46:10 +02:00
Laurent Destailleur
50944a71db Checkstyle 2012-05-06 00:45:15 +02:00
Laurent Destailleur
ed3dfe2756 Checkstyle 2012-05-06 00:39:59 +02:00
Laurent Destailleur
6599f2d755 Checkstyle 2012-05-06 00:15:03 +02:00
Laurent Destailleur
d47a78479e Fix: several fixes 2012-05-05 23:59:14 +02:00
Laurent Destailleur
d2672c4b39 Fix: setStatut works for user class 2012-05-05 20:22:46 +02:00
Laurent Destailleur
10e88ad006 New: Add example to create a user 2012-05-05 20:22:21 +02:00
Laurent Destailleur
f7263d1773 Fix: Do not lose filter 2012-05-05 20:07:34 +02:00
Laurent Destailleur
29c7c109fa New: Can filter on user contact 2012-05-05 19:41:38 +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
Laurent Destailleur
f924fdf711 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-05 13:38:54 +02:00
Laurent Destailleur
70a2f45c35 Fix: for new eldy theme 2012-05-05 13:32:31 +02:00
Regis Houssin
00b65d42e4 Fix: [bug #385] Can't delete a task 2012-05-05 09:28:06 +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
0c6d7c56d3 Fix: bad parameters 2012-05-05 09:02:13 +02:00
Laurent Destailleur
93252b941b Fix: % must be sprintf format. 2012-05-05 03:02:46 +02:00
Laurent Destailleur
436726e520 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-05 02:57:04 +02:00
Laurent Destailleur
9913e87410 New: Add more payment conditions 2012-05-05 02:56:38 +02:00
Laurent Destailleur
7e839daa6a Fix: Manual fix of italian language 2012-05-05 02:53:30 +02:00
Laurent Destailleur
75cefe53cf Fix: Set payment term 2012-05-04 18:30:35 +02:00
Regis Houssin
12b6d6c0ef Fix: MultiCompany compatibility for public page 2012-05-04 13:21:00 +02:00
Laurent Destailleur
8b9200732e Fix: optimize for print 2012-05-04 13:13:12 +02:00
Laurent Destailleur
fcd4de888f Fix: Use correct dest dir. 2012-05-03 23:14:32 +02:00
Laurent Destailleur
05c015836a Fix: filter on status 2012-05-03 22:58:12 +02:00
Laurent Destailleur
498be67ac1 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-05-03 22:12:13 +02:00
Laurent Destailleur
a6f8fc4af4 Fix: Bad cr 2012-05-03 22:11:36 +02:00
Regis Houssin
1b350fafd1 Fix: missing entity field in contract
Fix: multicompany compatibility
2012-05-03 18:42:46 +02:00
Regis Houssin
3b2159b34d Fix: changelog 2012-05-03 11:31:42 +02:00
Regis Houssin
fb7872fc5a Merge pull request #194 from simnandez/develop
Trad: add missing translations
2012-05-02 09:34:21 -07:00
simnandez
c4d17076f6 Trad: add missing translations 2012-05-02 18:30:39 +02:00
Regis Houssin
e44b626e0c Merge pull request #192 from simnandez/develop
Trad: Add missing trans
2012-05-02 09:12:00 -07:00
simnandez
5e2b034031 Trad: Add missing trans 2012-05-02 18:10:25 +02:00
Raphaël Doursenaud
96111a2206 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-05-02 17:44:48 +02:00
Laurent Destailleur
bd724c9d70 Fix: Use de_De language for de_de, not de_at 2012-05-02 17:36:27 +02:00
Laurent Destailleur
5c7bc05920 Merge pull request #190 from simnandez/develop
New: Add translation
2012-05-02 07:33:34 -07:00
Laurent Destailleur
dd2859a5ad Fix: Missing picto 2012-05-02 13:41:34 +02:00
Laurent Destailleur
ffada89b25 Fix: IE 2012-05-02 13:39:30 +02:00
Laurent Destailleur
e671e234ca Fix: W3C 2012-05-02 11:57:32 +02:00
Laurent Destailleur
74b115877d Fix: Middle 2012-05-02 10:19:42 +02:00
Laurent Destailleur
64ee9b8065 Fix: Missing translation 2012-05-02 00:17:33 +02:00
Laurent Destailleur
c2d357b51e Minor fix 2012-05-02 00:03:11 +02:00
Laurent Destailleur
3a05649df1 Qual: Top menus use div only now. Menu manager eldy and auguria does not
differs.
First work to align eldy theme to dolibarr theme.
2012-05-01 23:40:23 +02:00
Laurent Destailleur
4618b9b9c5 Better error management 2012-05-01 23:15:01 +02:00
Laurent Destailleur
03718e0f23 Fix: Clean database to allow constraints 2012-05-01 15:29:53 +02:00
Laurent Destailleur
fbab99b28e Fix: [ bug #378 ] status for order i, process is "waiting for reception" 2012-05-01 15:08:54 +02:00
Laurent Destailleur
7bbacaece7 Fix: missing global 2012-05-01 14:09:58 +02:00
simnandez
511ecb3e52 New: Add translation 2012-04-30 19:30:13 +02:00
Laurent Destailleur
e04e40b38a Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-04-30 17:47:50 +02:00
Laurent Destailleur
c99f407add New: Add translation 2012-04-30 17:47:15 +02:00
Regis Houssin
84f17d0127 Merge pull request #189 from simnandez/develop
Fix: Url to wiki, div message, variable more clear
2012-04-30 07:59:34 -07:00
Regis Houssin
18c081a7ac New: add external theme with a module 2012-04-30 16:51:45 +02:00
simnandez
23a956c47b Fix: Url to wiki, div message, variable more clear 2012-04-30 16:23:43 +02:00
Laurent Destailleur
8898b9a3b0 Fix: Firstname/Lastname lost 2012-04-30 16:08:34 +02:00
Laurent Destailleur
d804683b32 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-04-30 15:18:24 +02:00
Laurent Destailleur
fecab54f43 Checkstyle 2012-04-30 15:17:50 +02:00
Laurent Destailleur
a2246b1465 Checkstyle 2012-04-30 15:03:58 +02:00
Regis Houssin
73487a6aec Fix: replace mktime() by dol_now() 2012-04-30 15:01:25 +02:00
Laurent Destailleur
1227642db0 Checkstyle 2012-04-30 15:01:20 +02:00
Regis Houssin
79f2781bdb Merge pull request #188 from FHenry/develop
Develop
2012-04-30 05:33:48 -07:00
Laurent Destailleur
19ce632d7a Removed duplicate file 2012-04-30 14:13:16 +02:00
FHenry
fca02bf918 Remove space 2012-04-30 13:53:16 +02:00
FHenry
dc42e16ff1 Secure URL use to CheckRead and Unsubcribe with security key in
configuration screen
2012-04-30 13:49:29 +02:00
FHenry
7aada2c442 correct debug code and alfa 2012-04-30 13:13:10 +02:00
FHenry
4fd00c50be Feature Clone project (357)
Fix variable date property name, to be compliant with varaible naming
convention (create)
Add feature to shift task date when change project start date (option)
Add project start/end date on Project->Task View
2012-04-30 13:13:09 +02:00
Regis Houssin
a34cf11e22 Merge pull request #187 from simnandez/develop
[ task #297 ] Add a installer for external modules
2012-04-30 03:34:11 -07:00
simnandez
5713a93c27 [ task #297 ] Add a installer for external modules
Adaptation to changes in dol_uncompress function. More clear and
accurate messages.
2012-04-30 12:19:11 +02:00
Laurent Destailleur
f060e6e5c1 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-30 09:58:16 +02:00
Laurent Destailleur
8b953026fd Look: minor change 2012-04-30 09:57:57 +02:00
Laurent Destailleur
44de296af1 Look: minor change 2012-04-30 09:42:42 +02:00
Laurent Destailleur
29fdb33406 Fix: Removed warnings 2012-04-30 09:36:10 +02:00
Laurent Destailleur
4132b51936 Fix: Regression 2012-04-29 21:40:13 +02:00
Laurent Destailleur
5499c91712 New: Monaco is like France for default vat calculation
Qual: More phpunit tests
2012-04-29 11:42:30 +02:00
Laurent Destailleur
96a90e2e7a 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-29 11:00:28 +02:00
Laurent Destailleur
5c46c3bcbb Fix: Class not deleted after move. 2012-04-29 10:32:37 +02:00
Regis Houssin
c962e515d5 Merge pull request #186 from grandoc/develop
to use specific tpl within his own theme
2012-04-28 10:06:39 -07:00
Laurent Destailleur
b9133410c2 Qual: Uniformize code. 2012-04-28 18:49:01 +02:00
Laurent Destailleur
edb3178def Fix: Bad declaration of error_reporting 2012-04-28 18:47:54 +02:00
Laurent Destailleur
ead6b387d9 Fix: Use same algo to scan modules than admin/modules page 2012-04-28 18:38:15 +02:00
Grand Philippe
922703879f to use specific tpl within his own theme 2012-04-28 18:24:52 +02:00
Laurent Destailleur
7977897fd8 Fix: dol_uncompress function now works with all PHP and OS. Use PHP
native code. Only zip is supported. This is enough, modules must be zip
and only zip (tgz not more allowed).
2012-04-28 18:21:51 +02:00
Laurent Destailleur
7b5aedeb3e Fix: Var can't be static 2012-04-28 18:04:55 +02:00
Laurent Destailleur
5e252bcb04 Fix: Removed warning 2012-04-28 17:59:08 +02:00
Laurent Destailleur
e411852c39 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-28 17:01:48 +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
Laurent Destailleur
a862b5d5c3 Fix: Try a better fix. Format of content of table should depend of
content and output rules and not on how data was input.
2012-04-28 16:58:32 +02:00
Laurent Destailleur
25441e57f4 Bookmarks should use menu style 2012-04-28 16:40:15 +02:00
Laurent Destailleur
8ea079ed96 New: Prepare change to allow usage of print sheet for any purpose (not
only
memeber module).
Qual: Remove duplicate declaration of version.
2012-04-28 16:37:58 +02:00
Laurent Destailleur
ef94ea5c26 Fix: Keep feature as hidden feature because when enabled, it is a
security hole (every worm can modify/edit data calling public urls).
2012-04-28 15:50:52 +02:00
Laurent Destailleur
84a0d93475 New: Can add a link or tooltip on fields into dictionnaries. 2012-04-28 14:52:53 +02:00
Regis Houssin
e543bc1ac4 New: add Savant pure php template engine 2012-04-27 15:18:32 +02:00
Regis Houssin
fc468e4409 Fix: change files name 2012-04-27 11:57:36 +02:00
Regis Houssin
8dccd3cfea Merge pull request #185 from grandoc/develop
to use personal contacts.tpl within personal theme, and fix error for js...
2012-04-27 02:53:37 -07:00
Grand Philippe
b34ecf757d to use personal contacts.tpl within personal theme, and fix error for js file 2012-04-27 11:40:11 +02:00
Regis Houssin
3d272a2a3e Merge pull request #183 from grandoc/develop
add jquery plugin, and uniformize code
2012-04-27 02:36:04 -07:00
Regis Houssin
2a155bb8b9 Merge pull request #184 from FHenry/doli_develop
Feature Clone project (357) and other tricks
2012-04-27 02:32:16 -07:00
Grand Philippe
a8d12a7c48 to use personal contacts.tpl within personal theme 2012-04-27 11:13:59 +02:00
FHenry
1aece03b6b Set same space than develop branch 2012-04-27 11:09:53 +02:00
Grand Philippe
834a6f9d02 add jquery plugin, and uniformize code 2012-04-27 11:04:29 +02:00
FHenry
073e06ab8f Feature Clone project (357) and other tricks
Fix variable date property name, to be compliant with variable naming
convention (create)
Add feature to shift task date when change project start date (option)
Add project start/end date on Project->Task View
2012-04-27 11:03:01 +02:00
Regis Houssin
d1758f751b Merge pull request #181 from simnandez/develop
[ task #297 ] Add a installer for external modules
2012-04-27 01:38:34 -07:00
simnandez
67ba805d90 [ task #297 ] Add a installer for external modules 2012-04-27 09:11:03 +02:00
Raphaël Doursenaud
ef6cd4a314 Typo: instantanée ne prend qu'un n. 2012-04-26 15:48:30 +02:00
Raphaël Doursenaud
27ff111e51 Typo: instantanée ne prend qu'un n. 2012-04-26 15:47:21 +02:00
Raphaël Doursenaud
9237d7b8ee Fix: typo in unset 2012-04-26 15:32:34 +02:00
Raphaël Doursenaud
ce42e5e4f6 Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
	htdocs/public/agenda/agendaexport.php
2012-04-26 15:10:11 +02:00
Regis Houssin
8cf1da4ddb Fix: mac os compatibility 2012-04-26 15:02:29 +02:00
Regis Houssin
b48f2ae1f9 New: update jquery datatables with 1.9.1 2012-04-26 13:28:24 +02:00
Regis Houssin
1dd12db306 Todo: Use hookmanager for external modules 2012-04-26 10:54:39 +02:00
simnandez
429851cb49 Fix: Bad include 2012-04-26 10:52:10 +02:00
Regis Houssin
725373f673 Merge pull request #179 from simnandez/develop
Update ChangeLog with fixes
2012-04-26 01:33:05 -07:00
Regis Houssin
0ad2c4a027 Fix: problem of line break between label and description when
using fckeditor
2012-04-26 10:30:18 +02:00
simnandez
f88eedc1cc Update ChangeLog with fixes 2012-04-26 09:07:08 +02:00
Regis Houssin
ff6624f5f1 Merge pull request #177 from simnandez/develop
[ task #297 ] Add a installer for external modules. Init works
2012-04-25 09:29:20 -07:00
Regis Houssin
071cef15bf Merge pull request #175 from grandoc/develop
Prepair to display receiptdocument within a custom place and uniformize ...
2012-04-25 09:27:03 -07:00
Regis Houssin
bd0464b4db Merge pull request #174 from FHenry/develop
Remove Eclipse Warning (Undeclare variable)
2012-04-25 09:26:40 -07:00
Grand Philippe
078c0d0743 to use personal contacts.tpl within personal theme 2012-04-25 17:09:02 +02:00
simnandez
25df346bd3 [ task #297 ] Add a installer for external modules 2012-04-25 16:52:35 +02:00
simnandez
5b7ff51ffc [ task #297 ] Add a installer for external modules. Init works 2012-04-25 12:41:00 +02:00
FHenry
07bff417e8 remove useless line 2012-04-24 16:15:46 +02:00
FHenry
5ed77c8d40 Rename global variable from MAIN_SOCIETE_UNSUBSCRIBE to
MAILING_EMAIL_UNSUBSCRIBE to be reliable on dolibarr implementation
2012-04-22 11:19:04 +02:00
Grand Philippe
559c7974e9 shipping receipt modele can be used from a custom directory 2012-04-22 10:02:12 +02:00
Grand Philippe
c190d4ddf8 fix : shipping specimen is displayed, and shipping modele can be used from custom place 2012-04-22 09:28:39 +02:00
Grand Philippe
04f2b04dcf try to fix : shipping specimen model not displayed 2012-04-22 00:41:13 +02:00
Laurent Destailleur
afb79d5d2c Fix: [ bug #367 ] "Multi-tiers" fonctionality inverted in project
contacts.
2012-04-21 19:45:25 +02:00
Laurent Destailleur
80de63d5a3 Fix: [ bug #372 ] Upgrade error from 3.1.0 to 3.2.0 Beta 2012-04-21 19:45:04 +02:00
Grand Philippe
bc3f121d5a fix : receipt specimen was not displayed 2012-04-21 18:40:37 +02:00
Grand Philippe
078d01b4ee Prepair to display receiptdocument within a custom place and uniformize code 2012-04-21 18:31:20 +02:00
Laurent Destailleur
c74b34969b Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-21 18:30:15 +02:00
Laurent Destailleur
c7b8184844 Add more sources 2012-04-21 18:22:57 +02:00
Laurent Destailleur
26d5392e34 Add more sources 2012-04-21 18:22:10 +02:00
Laurent Destailleur
3afbd182b4 Fix: Missing css style 2012-04-21 12:30:39 +02:00
Laurent Destailleur
dca1c715d4 Fix: Try a fix for the lost mainmenu session. 2012-04-20 22:52:57 +02:00
FHenry
07fc51b7ff Remove Eclipse variable warning 2012-04-20 15:54:37 +02:00
FHenry
668bec3775 Remove Eclipse Warning (Undeclare variable) 2012-04-20 15:48:48 +02:00
Laurent Destailleur
f1cc8c05f2 Fix: Can clone a proposal 2012-04-20 14:09:38 +02:00
Laurent Destailleur
c42a854a87 Fix: wrong encoding of special chars 2012-04-20 14:09:30 +02:00
Laurent Destailleur
c691de6046 Fix: Field must be reset after adding. 2012-04-20 13:55:14 +02:00
Laurent Destailleur
4b8eeead2c Fix: Add hidden option to restore lost feature. 2012-04-20 13:55:06 +02:00
Laurent Destailleur
334adf7ae2 Fix: Bad CR for public note. Must work when text is full text with \n
and also when text is HTML with br.
2012-04-20 13:54:57 +02:00
Laurent Destailleur
062170b484 Fix: textarea field was not detected 2012-04-20 13:54:50 +02:00
Laurent Destailleur
5b4b7f33ea Fix: Missing translation 2012-04-20 13:54:42 +02:00
Laurent Destailleur
afc53fefe9 Change to help to fight the mainmenu lost bug. 2012-04-20 13:07:53 +02:00
Laurent Destailleur
829de6b062 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/menus/standard/eldy.lib.php
2012-04-20 12:50:46 +02:00
Laurent Destailleur
62fa57da52 Fix: Bad url syntax 2012-04-20 12:45:14 +02:00
Laurent Destailleur
dc97e757ff Fix: left menu for home menu 2012-04-20 12:44:52 +02:00
Laurent Destailleur
55b963c047 Fix: left menu for home menu 2012-04-20 12:37:41 +02:00
Laurent Destailleur
fd5f0fb2d8 Fix: Force mainmenu. This does not solve completely bug of eaccelerator
but provide a way to have access to system menu to help to diagnose.
2012-04-20 12:24:47 +02:00
Laurent Destailleur
716b605d27 Fix: bad case of construct key word 2012-04-20 09:48:00 +02:00
Laurent Destailleur
010f19d531 Fix: upload dir 2012-04-20 09:45:16 +02:00
simnandez
68b98e2e2a Fix: [ bug #370 ] Filter in accountancy -> suppliers_bills 2012-04-20 09:32:39 +02:00
simnandez
04b5ffcf64 Fix: [ bug #370 ] Filter in accountancy -> suppliers_bills 2012-04-20 09:32:32 +02:00
simnandez
90ecb566d8 Fix: [ bug #368 ] Product list 2012-04-20 09:32:24 +02:00
Regis Houssin
41b29b03b5 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-18 18:54:10 +02:00
Laurent Destailleur
956215fc0a Fix: Script to build package for doliwamp is now ok. 2012-04-18 17:19:53 +02:00
Laurent Destailleur
d957076955 Update xcache and xtrigger info pages 2012-04-18 15:16:34 +02:00
Laurent Destailleur
658911b8c9 Qual: Move embeded style into css files. Add more styles. 2012-04-18 14:27:31 +02:00
Laurent Destailleur
2670f356f1 Fix: no mainmenu nor leftmenu into public pages 2012-04-18 13:04:05 +02:00
Regis Houssin
46234024c8 Fix: Bug #369 2012-04-18 12:42:41 +02:00
Laurent Destailleur
4ac9947772 Fix: project info are not lost when submiting actions on tasks 2012-04-18 12:15:14 +02:00
Laurent Destailleur
a15ab9c4c5 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-18 11:52:16 +02:00
Laurent Destailleur
2332a5a133 Fix: left was used for right style
Fix: Difference between menu and search box was lost.
2012-04-18 11:51:45 +02:00
FHenry
300b0e02da Fix: Bug #362 and clean code 2012-04-18 11:16:15 +02:00
Laurent Destailleur
b18dbaded9 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-18 01:17:50 +02:00
Laurent Destailleur
d906d8af16 Fix: Restore broken feature 2012-04-18 01:01:46 +02:00
Regis Houssin
a1ac69f614 New: add Amarok theme (experimental) 2012-04-17 11:50:25 +02:00
Laurent Destailleur
dc547cfa7d Look: Uniformize look 2012-04-17 11:40:08 +02:00
Laurent Destailleur
4be802597d Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-17 10:28:11 +02:00
Laurent Destailleur
220d7a2c33 Fix: eldy theme still works without css3 2012-04-17 10:27:42 +02:00
Regis Houssin
65b9d6281d Merge pull request #168 from grandoc/develop
update approve function
2012-04-16 03:20:00 -07:00
Laurent Destailleur
66531ea539 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/fourn/commande/index.php
2012-04-16 12:03:33 +02:00
Laurent Destailleur
9114fec4ed Doxygen 2012-04-16 12:01:32 +02:00
Regis Houssin
6c3e88e43a Fix: missing field change name 2012-04-16 11:52:27 +02:00
Laurent Destailleur
9e0cd530bc New: Add date approve into log view. 2012-04-16 11:43:19 +02:00
Regis Houssin
a03b216c63 Fix: remove unnecessary function 2012-04-16 11:39:51 +02:00
Laurent Destailleur
48542b8625 Fix: Must use tms date 2012-04-16 11:39:26 +02:00
Regis Houssin
258a06a281 Fix: increase size of "body" field 2012-04-16 11:20:56 +02:00
Laurent Destailleur
f7acd0f5c3 Fix: Bad path for instal.lock 2012-04-16 11:07:09 +02:00
Grand Philippe
30c5160007 update approve function 2012-04-16 09:50:02 +02:00
Regis Houssin
e6a89633ae Fix: disable core test for avoid this message: Click here to finish
Dolibarr install process
2012-04-16 09:32:23 +02:00
Regis Houssin
00bcbd45d1 Try to fix phpunit error 2012-04-16 09:22:39 +02:00
Regis Houssin
b0b3ce826f Fix: wrong file name 2012-04-16 09:04:07 +02:00
Laurent Destailleur
b315bf3e3a Fix: Generate donation document 2012-04-16 01:23:53 +02:00
Laurent Destailleur
f9e2fe0440 Fix: date must be quoted 2012-04-15 19:22:43 +02:00
Laurent Destailleur
b23bbc2432 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git
into develop

Conflicts:
	htdocs/projet/class/task.class.php
2012-04-15 18:49:09 +02:00
Laurent Destailleur
9a70541084 Fix: Missing migration field
Fix: Date must be quoted
2012-04-15 18:41:38 +02:00
Regis Houssin
48543a0d2f Fix: sorry it's ok 2012-04-15 18:33:14 +02:00
Laurent Destailleur
58f9cc2f7b Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-15 18:19:21 +02:00
Regis Houssin
de20b6b70e Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-15 18:19:04 +02:00
Laurent Destailleur
ef79c1ba21 Fix: commit at wrong place 2012-04-15 18:18:46 +02:00
Regis Houssin
057103902b Fix: you can not delete project document folder in delete task method 2012-04-15 18:17:55 +02:00
Regis Houssin
f85eced62d Merge pull request #167 from grandoc/develop
fix : trad
2012-04-15 08:58:38 -07:00
Laurent Destailleur
0f8156ebcf Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-15 17:56:30 +02:00
Laurent Destailleur
753434a545 Qual: More phpunit tests 2012-04-15 17:56:13 +02:00
Laurent Destailleur
4f1f25b89c Fix: numbering when reset is on was wrong for past dates 2012-04-15 17:55:45 +02:00
FHenry
bf8389144a correct bug 364 2012-04-15 17:51:05 +02:00
FHenry
d66eb5bb23 Corect bug #364 2012-04-15 17:50:50 +02:00
FHenry
cac4d0da6b Correct bug 363 2012-04-15 17:50:40 +02:00
FHenry
d7ae9db463 Correct bug #363 2012-04-15 17:50:26 +02:00
Grand Philippe
d79c8a3fa1 change from cloture to approve and complete function approve 2012-04-15 16:49:49 +02:00
Grand Philippe
548bbe78e6 Merge remote-tracking branch 'dolibarr/develop' into develop 2012-04-15 16:32:45 +02:00
Laurent Destailleur
df4f59db8a Fix: dump file to use must be last one 2012-04-15 15:50:20 +02:00
Laurent Destailleur
8562cb677d Fix: Restore lost fix into tcpdf 2012-04-15 15:46:50 +02:00
Laurent Destailleur
269a4a8ba8 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-15 15:25:14 +02:00
Grand Philippe
f218aa0ec6 fix : trad 2012-04-15 12:27:10 +02:00
Regis Houssin
161e39794e Fix: security update for multicompany 2012-04-15 11:30:06 +02:00
Regis Houssin
a2f363c24b Fix: right access error 2012-04-15 10:09:32 +02:00
Regis Houssin
f0f74a7d92 Fix: disable php display errors with $dolibarr_main_prod 2012-04-15 09:30:40 +02:00
Regis Houssin
6a3587adb5 Merge pull request #165 from grandoc/develop
try to fix create issue...but not enought
2012-04-14 23:27:36 -07:00
Laurent Destailleur
c4c2b4ee7f Fix: PHP 5.4 2012-04-14 20:21:06 +02:00
Laurent Destailleur
df13921ed4 Germany data not complete. 2012-04-14 19:31:10 +02:00
Grand Philippe
5858ef3bf1 try to fix create issue...but not enought 2012-04-14 19:10:15 +02:00
Laurent Destailleur
ebc9cc2ad7 Fix: Some bug into rpm and debian packaging. 2012-04-14 15:41:34 +02:00
Laurent Destailleur
0d42b96b98 Fix: licence pb with fedora 2012-04-14 15:41:03 +02:00
Regis Houssin
e49df57667 Fix: compatibility with php 5.4 and E_STRICT mode 2012-04-14 15:04:46 +02:00
Laurent Destailleur
c876b6f2be Fix: debian epiphany and iceweasel browsers. 2012-04-14 03:20:10 +02:00
Laurent Destailleur
45e61b1a10 Fix: logo size was too large. 2012-04-14 02:54:07 +02:00
Laurent Destailleur
74d5f5e295 Fix: Work on debian 6 2012-04-14 02:49:48 +02:00
Laurent Destailleur
e55d7d92cc Fix: plugin not into debian 2012-04-14 01:23:51 +02:00
Laurent Destailleur
716f9d8786 Fix: Avoid error when removing not correctly installed package 2012-04-13 20:16:48 +02:00
Regis Houssin
ad5770ac21 Fix: not set delivery date during create 2012-04-13 19:13:48 +02:00
Regis Houssin
f2c5e1f984 Merge pull request #163 from grandoc/develop
uniformise code and fix rights
2012-04-13 06:36:14 -07:00
Grand Philippe
980fa86857 uniformise code and fix rights 2012-04-13 14:02:53 +02:00
Regis Houssin
026ee8ddb7 New: add possibility to define a page break, its very important for
internal and external modules (milestone)
2012-04-12 20:52:41 +02:00
Regis Houssin
a2fc719a22 Merge pull request #162 from FHenry/develop
correct bug #360
2012-04-12 02:17:54 -07:00
FHenry
adce88c4d1 correct bug #360 2012-04-12 11:02:11 +02:00
Regis Houssin
578e13cfc6 Fix: missing date fields 2012-04-12 10:52:53 +02:00
Regis Houssin
46bbefd730 Fix: exclude dir for external modules 2012-04-12 10:42:31 +02:00
Regis Houssin
4077ed9817 Fix: missing fields fk_user_valid and fk_user_cloture 2012-04-12 10:03:55 +02:00
Regis Houssin
153cdb53e8 Fix: update version 2012-04-12 08:36:01 +02:00
Laurent Destailleur
dd4d684490 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-12 00:02:17 +02:00
Laurent Destailleur
14ad919109 Fix: Avoid fall of funtion if not defined 2012-04-11 17:30:51 +02:00
Regis Houssin
025a38cb60 Merge pull request #161 from grandoc/develop
trad missing
2012-04-11 08:19:39 -07:00
Regis Houssin
c2d162d4c6 Fix: add Monaco VAT rates 2012-04-11 16:52:55 +02:00
Grand Philippe
cf9d1b10b5 trad missing 2012-04-11 16:33:04 +02:00
Regis Houssin
6964a0a0c2 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-11 16:28:20 +02:00
Regis Houssin
68e5229e9b Fix: missing langs object 2012-04-11 16:26:45 +02:00
Laurent Destailleur
11c174e209 New: Can export supplier ref
New: Add profid6
2012-04-11 15:27:03 +02:00
Laurent Destailleur
0faa5d9196 Fix: this must not be used inside static classes 2012-04-11 14:44:54 +02:00
Laurent Destailleur
7daea97ebb Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-11 14:38:13 +02:00
Laurent Destailleur
0cb1e4fe7c New: Add supplier ref on supplier orders 2012-04-11 14:37:36 +02:00
Laurent Destailleur
f4cd202a29 Use correct function 2012-04-11 13:29:45 +02:00
Laurent Destailleur
f1d1b0972f Bad comment 2012-04-11 13:29:23 +02:00
Regis Houssin
25e08204ae Merge pull request #160 from FHenry/develop
Develop
2012-04-11 04:21:56 -07:00
Laurent Destailleur
680193c2e0 Add dump of 3.2 demo 2012-04-11 12:15:26 +02:00
FHenry
4e759b15fe Correction Bug #358 2012-04-11 10:03:57 +02:00
FHenry
ba499c0b40 Merge remote-tracking branch 'origin/develop' into develop 2012-04-11 08:42:10 +02:00
Regis Houssin
97f4a74ad0 Merge pull request #157 from FHenry/develop
Add __MAILTOEMAIL__ and configutation gobal varialbe of Check Read and
2012-04-10 23:23:42 -07:00
Regis Houssin
83135225c3 Merge pull request #159 from grandoc/develop
Develop
2012-04-10 23:18:07 -07:00
Grand Philippe
c78723a3e8 to add delivery date 2012-04-10 19:43:44 +02:00
Grand Philippe
c8dd3b4801 to add delivery date 2012-04-10 17:21:28 +02:00
FHenry
c59f01a70d trad FR 2012-04-10 14:39:12 +02:00
FHenry
cec2a5e7f9 Translation ES 2012-04-10 14:38:32 +02:00
FHenry
2749117aba Add __MAILTOEMAIL__ and configutation gobal varialbe of Check Read and
unsubscribe in Admin part
2012-04-10 14:32:54 +02:00
Laurent Destailleur
e3b9a3a023 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2012-04-10 12:40:24 +02:00
Laurent Destailleur
bc8d9d9d87 Fix: Removed warning 2012-04-10 12:38:10 +02:00
Regis Houssin
02d2872ac5 Fix: invert emetteur and problem with long phone number 2012-04-10 12:35:14 +02:00
Regis Houssin
42c3c6a02d Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-04-10 12:04:58 +02:00
Regis Houssin
f5097dd605 Fix: missing company logo and invert from to ! 2012-04-10 12:04:14 +02:00
Laurent Destailleur
caf2ad85ed Fix: bad link 2012-04-10 11:18:01 +02:00
Laurent Destailleur
6618c4e658 Fix: W3C 2012-04-10 11:00:42 +02:00
Laurent Destailleur
0b808b42f9 Fix: translation 2012-04-10 10:55:20 +02:00
Raphaël Doursenaud
e490f378d0 Merge remote-tracking branch 'upstream/develop' into develop 2012-03-23 11:16:24 +01:00
Raphaël Doursenaud
90eeb8ff94 Agenda export: Tweaked HTTP headers for Google Agenda import 2012-03-06 17:53:55 +01:00
3082 changed files with 241528 additions and 144783 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@ htdocs/conf/conf.php.old
documents/
custom/
custom2/
test/
nbproject
default.properties
.settings/

975
COPYING

File diff suppressed because it is too large Load Diff

View File

@@ -3,33 +3,36 @@ License
-------
Dolibarr is released under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version
published by the Free Software Foundation; either version 3 of the License,
or (at your option) any later version (GPL-3+).
More information: http://www.gnu.org/licenses/gpl-3.0.txt
However it uses some external libraries under different licences. This is compatibility summary:
Dolibarr uses some external libraries released under different licences. This is compatibility summary:
Composant Version License Compatible GPL Usage
----------------------------------------------------------------------------
PHP libraries:
AdoDb-Date 0.21 Modified BSD License Yes Date convertion (not into rpm package)
CKEditor 3.6.2 GPL or LGPL 2.1 or MPL 1.1 Yes Editor WYSIWYG
FPDI 1.4.1 Apache Software License 2.0 ? PDF templates management
GeoIP 2004 LGPL 2.1 Yes Sample code to make geoip convert (not into deb package)
NuSoap 0.9.5 LGPL 2.1 Yes Library to develop SOAP Web services (not into rpm and deb package)
OdtPHP 1.0.1 GPL 2.0 Yes Library to build/edit ODT files
PHPExcel 1.7.6 LGPL 2.1 Yes Read/Write XLS files, read ODS files
TCPDF 5.9.098 LGPL 3.0 Yes PDF generation
CKEditor 3.6.4 LGPL-2.1+ Yes Editor WYSIWYG
FPDI 1.4.2 Apache Software License 2.0 Yes PDF templates management (with FPDF_TPL 1.2)
GeoIP 2004 LGPL-2.1+ Yes Sample code to make geoip convert (not into deb package)
NuSoap 0.9.5 LGPL 2.1+ Yes Library to develop SOAP Web services (not into rpm and deb package)
OdtPHP 1.0.1 GPL-2+ Yes Library to build/edit ODT files
PHPExcel 1.7.6 LGPL-2.1+ Yes Read/Write XLS files, read ODS files
TCPDF 5.9.180 LGPL-3+ Yes PDF generation
JS libraries:
jQuery 1.7.1 GPL and MIT Licence Yes JS library
jQuery UI 1.8.17 GPL and MIT Licence Yes JS library plugin UI
jQuery 1.8.2 MIT Licence Yes JS library
jQuery UI 1.9.1 GPL and MIT Licence Yes JS library plugin UI
jQuery Timepicker 1.1.0 GPL and MIT Licence Yes JS library Timepicker addon for Datepicker
jQuery Colorpicker 1.1 MIT Licence Yes JS library for color picker for a defined list of colors
jQuery DataTable 1.8.1 BSD Yes JS library for tables output
jQuery DataTables 1.9.1 BSD Yes JS library for tables output
jQuery Flot 0.7 MIT Licence Yes JS library to build graph
jQuery FileUpload 5.0.3 GPL and MIT Licence Yes JS library to upload files
jQuery JCrop 0.9.8 GPL and MIT Licence Yes JS library plugin Crop (to crop images)
jQuery jeditable 1.7.1 GPL and MIT Licence Yes JS library plugin jeditable (to edit in place)
jQuery jNotify 1.1.00 Apache Software License 2.0 ? JS library plugin jNotify (to use ajax popups)
jQuery jNotify 1.1.00 Apache Software License 2.0 Yes JS library plugin jNotify (to use ajax popups)
jQuery blockUI 2.43 GPL and MIT Licence Yes JS library plugin blockUI (to use ajax popups)
jQuery jPicker 1.1.00 GPL and MIT Licence Yes JS library for color picker with not defined list of colors
jQuery Layout 1.3.0 GPL and MIT Licence Yes JS library plugin Layout (RC-29.15)
jQuery TableDnD 0.5 GPL and MIT Licence Yes JS library plugin TableDnD (to reorder table rows)
@@ -37,7 +40,6 @@ jQuery Mobile 1.0rc2 GPL and MIT Licence Yes JS library for smartphone (n
jQuery Tiptip 1.3 GPL and MIT Licence Yes JS library for tooltips
JSGantt 1.2 BSD Licence Yes JS library (to build Gantt reports)
For licenses compatibility informations:
http://www.fsf.org/licensing/licenses/index_html
@@ -45,50 +47,65 @@ http://www.fsf.org/licensing/licenses/index_html
Copyright
---------
Copyright (C) 2012
Copyright (C) 2013
- Christophe Battarel <christophe.battarel@altairis.fr>
- Laurent Destailleur <eldy@users.sourceforge.net>
- Regis Houssin <regis@dolibarr.fr>
- Marcos García <marcosgdf@gmail.com>
- Philippe Grand <philippe.grand@atoo-net.com>
- Florian Henry <florian.henry@open-concept.pro>
- Regis Houssin <regis.houssin@capnetworks.com>
- Juanjo Menent <jmenent@2byte.es>
Copyright (C) 2012
- Christophe Battarel <christophe.battarel@altairis.fr>
- Laurent Destailleur <eldy@users.sourceforge.net>
- Marcos García <marcosgdf@gmail.com>
- Philippe Grand <philippe.grand@atoo-net.com>
- Jean Heimburger <jean@tiaris.info>
- Florian Henry <florian.henry@open-concept.pro>
- Regis Houssin <regis.houssin@capnetworks.com>
- Juanjo Menent <jmenent@2byte.es>
- Nicolas Péré <nicolas@amarok2.net>
Copyright (C) 2011
- Laurent Destailleur <eldy@users.sourceforge.net>
- Regis Houssin <regis@dolibarr.fr>
- Regis Houssin <regis.houssin@capnetworks.com>
- Juanjo Menent <jmenent@2byte.es>
- Philippe Grand <philippe.grand@atoo-net.com>
- Jean Heimburger <jean@tiaris.info>
Copyright (C) 2010
- Laurent Destailleur <eldy@users.sourceforge.net>
- Regis Houssin <regis@dolibarr.fr>
- Regis Houssin <regis.houssin@capnetworks.com>
- Juanjo Menent <jmenent@2byte.es>
- r2gnl
- meos
Copyright (C) 2009
- Laurent Destailleur <eldy@users.sourceforge.net>
- Regis Houssin <regis@dolibarr.fr>
- Regis Houssin <regis.houssin@capnetworks.com>
- Juanjo Menent <jmenent@2byte.es>
Copyright (C) 2008
- Laurent Destailleur <eldy@users.sourceforge.net>
- Regis Houssin <regis@dolibarr.fr>
- Regis Houssin <regis.houssin@capnetworks.com>
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
- Jeremie Ollivier <jeremie.o@laposte.net>
Copyright (C) 2007
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
- Laurent Destailleur <eldy@users.sourceforge.net>
- Regis Houssin <regis@dolibarr.fr>
- Regis Houssin <regis.houssin@capnetworks.com>
- Auguria SARL <info@auguria.org>
- Jean Heimburger <jean@tiaris.info>
- Jeremie Ollivier <jeremie.o@laposte.net>
Copyright (C) 2006
- Auguria SARL <info@auguria.org>
- Marc Barilley/Ocebo <marc@ocebo.com>
- Laurent Destailleur <eldy@users.sourceforge.net>
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
- Regis Houssin <regis@dolibarr.fr>
- Regis Houssin <regis.houssin@capnetworks.com>
- Andre Cianfarani <acianfa@free.fr>
- Yannick Warnier <ywarnier@beeznest.org>
- Jean Heimburger <jean@tiaris.info>
@@ -100,7 +117,7 @@ Copyright (C) 2005
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
- Eric Seigne <erics@rycks.com>
- Matthieu Valleton <mv@seeschloss.org>
- Regis Houssin <regis@dolibarr.fr>
- Regis Houssin <regis.houssin@capnetworks.com>
Copyright (C) 2004
- Laurent Destailleur <eldy@users.sourceforge.net>

259
ChangeLog
View File

@@ -2,11 +2,233 @@
English Dolibarr ChangeLog
--------------------------------------------------------------
***** ChangeLog for 3.3 compared to 3.2 *****
***** ChangeLog for 3.3.3 compared to 3.3.2 *****
- Fix: [ bug #903 ] Fatal error: Call to undefined function dol_get_first_day() in htdocs/commande/liste.php
- Fix: [ bug #934 ] Error on proformat invoice creation (pgsql)
- Fix: [ bug #947 ] Can't create proposal lines with unit price = 0
***** ChangeLog for 3.3.2 compared to 3.3.1 *****
- Fix: Dutch (nl_NL) translation
- Generalize fix: file with a specific mask not found, again
- Fix: translations and BILL_SUPPLIER_BUILDDOC trigger
- Fix: Can't reset payment due date
- Fix: Orderstoinvoice didn't act as expected when no order was checked
- Fix: Bad link to all proposals into Third party card if customer is prospect
- Fix: Some bugs on withdrawal rejects
- Fix: [ bug #774 ] Bug on creating event with box "all day" crossed
- Fix: [ bug #787 ] Invoice supplier box incorrect tooltip when delay on payment
- Fix: [ bug #789 ] VAT not being calculated in POS
- Fix: [ bug #790 ] Spanish localtax RE not being correctly calculated
- Fix: [ bug #794 ] Lost filter on zipcode in prospect list
- Fix: [ bug #806 ] Margins module with orders2invoice does not respect cost price
- Fix: [ bug #810 ] Cannot update ODT template path
- Fix: [ bug #816 ] Sales journal does not reflect localtaxes
- Fix: [ bug #817 ] Purchases journal does not reflect localtaxes
- Fix: [ bug #824 ] MAIN_DB_PREFIX not use into dictionnary
- Fix: [ bug #828 ] Error when code_region is not a number in llx_c_regions (with postgres)
- Fix: [ bug #855 ] Holiday approval email in French
- Fix: [ bug #856 ] (Holidays module) Mail error if destination user doesn't have an email
- Fix: [ bug #857 ] Invoice created from shipment does not have the order discount
- Fix: [ bug #861 ] Impossible to create a new event in agenda
- Fix: [ bug #827 ] AJAX search does not respect multiprice level
- Fix: [ bug #865 ] Dolibarr navigation array in project/task do not work
- Fix: [ bug #866 ] Standing order from an invoice suggests invoice total amount instead of remaining to pay
- Fix: [ bug #788 ] Date of linked interventions are not shown
- Fix: external users should not see costprice and margin infos
- Fix: [ bug #806 ] Tasks are ordered alphabetically instead of chronological order
***** ChangeLog for 3.3.1 compared to 3.3 *****
- Fix: [ bug #733 ] Mass emailing tools do not support <style HTML tag
- Fix: Package for launchpad
- Fix: [ bug #736 ] Missing column in llx_c_chargesociales
- Fix: Localtax2 for Spain must be based into buyer
- Fix: [ bug #762 ] Bad profit calculation in Reporting
- Fix: bug dictionnary with wrong prefix table
***** ChangeLog for 3.2 compared to 3.1 *****
***** ChangeLog for 3.3 compared to 3.2.3 *****
For users:
- New: Add holiday module, to declare and follow holidays of your employees.
- New: Add margin management module.
- New: Add new theme Amarok.
- New: [ task #289 ] Can reorder tasks.
- New: Add field "signature" into user card. If filled, text is added
at end of predefined email texts. If option MAIN_MAIL_DO_NOT_USE_SIGN is on, this
feature is disabled.
- New: Can input a payment back onto an credit note.
- New: Add link "Back to list" on all cards.
- New: After first install, warning are visible onto mandatory setup not
configured. Show also total number of activated modules.
- New: Can filter list of proposal, order or invoice on sales representative.
- New: Add supplier ref on supplier orders.
- New: Can export supplier orders and customers shipments.
- New: First change to install external plugins from gui (experimental).
- New: Monaco is like France for default vat calculation
- New: Can list elements (invoices, orders or proposals) on a particular
user contact). This allow to view a "basket" of its elements.
- New: Show bank account on payment list of invoice card.
- New: Cloning project allow to clones task, notes, files, contacts.
- New: Enhance default style.
- New: Can edit and resiliate member status from list.
- New: Can insert URL links into elements lines. Also reported into PDF.
- New: When a member is validated, we can subscribe to mailing-lists
according to its type.
- New: Add a tab into members statistics to count members by nature.
- New: Add link to third party into sells and purchase journal.
- New: Suggest a method to generate a backup file for user with no access
to mysqldump binary.
- New: Can also use extrafields on contacts/addresses and users.
- New: Support unique field for extrafields.
- New: Extra fields supports more types (int, string, double, date, datetime).
- New: Can correct stock of a warehouse from warehouse card.
- New: [ task #185 ] Can input amount when correcting stock to recalculate PMP.
- New: [ task #454 ] Add "No category" into filters on category.
- New: Auto check box on page to edit interface options of user.
- New: More surface control on stock correction page.
- New: Add great britain provinces.
- New: [ task #494 ] Send an email to foundation when a new member has auto-subscribed.
- New: [ task #326 ] Add a numbering module to suggest automatically a product ref.
- New: Add conditional substitution IF/ELSEIF/ENDIF for ODT templates.
- New: Add unit foot2, inch2, foot3 and inch3 for surface and volumes.
- New: Can select thirdparties into emailing targets, even if module category is not enabled.
- New: [ task #498 ] Improvement of the block to add products/services lines.
- New: ECM autodir works also for files joined to products and services.
- New: Add a selection module for emailing to enter a recipient from gui.
- New: Allow to search thirds and products from barcodes directly from the permanent mini search left box.
- New: Allow to search product from barcodes directly from invoices, proposals... through AJAX.
- New: Can make one invoice for several orders.
- New: POS module can works with only one payment method (cach, chq, credit card).
- New: Add possibility to defined position/job of a user.
- New: Add hidden option to add slashes between lines into PDF.
- New: [ task #210 ] Can choose cash account during POS login.
- New: [ task #104 ] Can create an invoice from several orders.
- New: Update libs/tools/logo for DoliWamp (now use PHP 5.3).
- New: Added ODT Template tag {object_total_discount_ht}
- New: Add new import options: Third parties bank details, warehouses and stocks, categories and suppliers prices
- New: English bank account need a bank code (called sort code) to identify an account.
- New: Can choose menu entry to show with external site module.
- New: Add hidden option MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT, MAIN_PDF_MARGIN_TOP, MAIN_PDF_MARGIN_BOTTOM to force margins of generated PDF.
- New: [ task #314 ] Can define if prof id are mandatory or not.
- New: Add button on order card to create intervention from services.
- New: Add search box to find products by supplier reference.
- New: Add option MAIN_HELPCENTER_LINKTOUSE to define target link "I need help" onto logon page.
- New: [ task #608 ] Can clone a supplier order with prices updates
- New: [ task #559 ] Can define a discount % regarding quantity in supplier prices and price by quantity in customer prices
- New: [ task #527 ] After cloning a suplier invoice, go onto invoice ref into edit mode
New experimental module:
- New: Add commissions management module.
- Fix: [ bug #499 ] Supplier order input method not translated
- Fix: No images into product description lines as PDF generation does not work with this.
- Fix: Errors weren't being shown in customer's & supplier's orders
- Fix: Lastname wasn't being recorded in xinputuser emailing module.
- Fix: [ bug #653 ] Error while creating agenda additional attributes
- Fix: [ bug #654 ] Event rapport PDF showing ActionAC_OTH_AUTO
- Fix: [ bug #658 ] Search on bank do not work for description
- Fix: [ bug #659 ] Comment in recurrent invoices is not stored
- Fix: [ bug #622 ] Attaching wrong file when sending the invoice via e-mail
For developers:
- New: Add webservice for thirdparty creation and list.
- New: A module can overwrite templates parts.
- New: Can add a link on title field of added dictionnary.
- New: Uniformize code.
- New: Add option WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER and
WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER.
- New: A module can add several css and js.
- New: removed deprecated methods
ldap::connect, formadmin::select_lang,
html::select_tva
- New: Add custom substitution function for ODT product lines: mymodule_completesubstitutionarray_lines()
- New: Basic implementation of hooks and triggers for a lot (most) of core modules:
action/calendar, trips and expenses, dons, vat payment, contact/society, contract, product lines,
expedition, order supplier and order invoice (lines included), intervention card, project, tasks.
- New: Add ChromePHP output into syslog module.
- New: Add PRODUCT_PRICE_MODIFY trigger.
- New: Created function to retrieve total amount of discount of an invoice/proposal...
- New: We can use a dynamic value ($conf->global->XXX for example) into titles of menus.
- New: Use PHP classes DateTime* for some data functions instead of adodb
- Qual: Renamed SUPPLIER_INVOICE_BUILDDOC trigger to BILL_SUPPLIER_BUILDDOC
- Qual: Renamed INVOICE_SUPPLIER_DELETE trigger to BILL_SUPPLIER_DELETE
- Qual: Renamed SUPLIER_ORDER_BUILDDOC trigger to ORDER_SUPPLIER_BUILDDOC
- Qual: Renamed CONTRACTLINE_DELETE trigger to CONTRACT_LINE_DELETE
- Qual: Renamed all ficheinter.class.php triggers so that they start with 'FICHINTER_'
- Fix: [ bug #655 ] ORDER_REOPEN trigger incorrectly named
- Fix: [ bug #656 ] Contracts trigger CONTRACT_MODIFY incorrectly named
- Fix: [ bug #657 ] Usergroup class' GROUP_DELETE trigger incorrectly named
For translators:
- New: Update language files (de, tr, pt, ca, es, en, fr).
- New: Added bg_BG autotranslated language.
- New: Translate the donation receipt.
Dolibarr license has also been updated from GPLv2+ to GPLv3+.
***** ChangeLog for 3.2.3 compared to 3.2.2 *****
- Fix: Some permission into agenda module.
- Fix: Generation of PDF was not using correct font for some languages.
- Fix some translations.
- Fix: [ bug #607 ] Nom de société avec guillemets.
- Fix: Option MAIN_MAIL_SENDMAIL_FORCE_BA and MAIN_FIX_BUGGED_MTA was not
complete.
- Fix: comaptiblity with multicompany module.
- Fix: Bad label when validating/paying an invoice from POS module.
- Fix: Correct recipient into rouget template.
- Fix: A lot of fix into PDF pagebreak management.
- Update VAT for some countries.
- Firstname was missing when sending email from file list.
- Added en_SA language.
***** ChangeLog for 3.2.2 compared to 3.2.1 *****
- Fix: Modify spanish VAT to new rates.
- Fix: Add error message when creating already existing product.
- Fix: Edition of percentage of an event.
- Fix: Minor look fix for theme bureau2crea.
- Fix: Start and end date not saved at project creation
- Fix: Default vat is zero for customer invoices if company does not use vat
- Fix: Localtaxes unit prices precision
***** ChangeLog for 3.2.1 compared to 3.2.0 *****
- Fix: Edit of projects.
- Fix: Activation of modules does not fails if directory install was removed.
- Fix: [ bug #444 ] Regression on auto-closing for proposals and orders.
- Fix: Update translations (catalan, french, spanish, brazilian).
- Fix: [ bug #445 ] Hex escaping in descriptions.
- Fix: error when validating shipment for non predefined products with a
selected warehouse.
- Fix: Bad local taxes if price base type is TTC for spanish local taxes.
- Fix: Phone not saved when using web service.
- Fix: [ bug #464 ] Payment form should allow to add transmitter for bank transfers.
- Fix: Allows to use a comma decimal separator in supplier invoices payments.
- Fix: Translation for tr_TR, es_ES, pt_BR.
- Fix: Products with no prices not visible.
- Fix: Access to product card created with very old version of Dolibarr.
- Fix: Delete temporary files after validating an invoice.
- Fix: preview of supplier order and invoice template.
- Fix: [ bug #485 ] Configurated amount for public auto-subscription form is not taken into account
- Fix: Average amount graphs weren't comparing the previous year stats
- Fix: Closed project didn't show the new status unless the page was refreshed
- Fix: Files were not being uploaded to a project's task
- Fix: [ bug #503 ] Unable to delete linked file to a deposit
- Fix: [ bug #501 ] Error while trying to modify an user
- Fix: [ bug #506 ] Can't set percentage of a started event
- Fix: Bad assignation of const for pdf delivery module name
***** ChangeLog for 3.2.0 compared to 3.1.3 *****
WARNING: PHP lower than 5.x are no more supported.
WARNING: Because of a major datastructure change onto supplier prices tables, be aware
to make a backup of your database before making upgrade.
@@ -14,7 +236,7 @@ to make a backup of your database before making upgrade.
For users:
- New: Each user can remove/add its own boxes.
- New: Add signature at end of predefined email text.
- New: Can use personalized fields of products/services.
- New: Can use personalized fields on products/services.
- New: Can attach files on social contributions.
- New: Show payments terms and conditions onto muscadet template.
- New: Can open back a closed commercial proposal.
@@ -32,7 +254,7 @@ For users:
- New: task #10606 : more comprehensive message error.
- New: task #11278 : Option into point of sale module to add services in list.
- New: task #11261 : Add an entry into menu called "New shipment".
- New: [ task #187 ] Gerer les evenement recurrents dans les imports ical
- New: [ task #187 ] Gerer les evenement recurrents dans les imports ical.
- New: Make option MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT available by default.
- New: Can build PDF in USLetter format or canada format (change paper size).
- New: Can export into Excel 2007 format.
@@ -47,7 +269,7 @@ For users:
- New: Reduce seriously size of packages.
- New: Can define country code for import.
- New: When invoice was generated from order, order date is visible on PDF, after order ref.
- New: [ task #181 ] Hide password of click2dial in user card
- New: [ task #181 ] Hide password of click2dial in user card.
- New: Chart are faster to build
- New: Value of data into charts are visible on mouse hover.
- New: Import wizard can import contacts.
@@ -70,6 +292,10 @@ For users:
- Fix: Can use POS module with several concurrent users.
- Fix: Installer don't fails with Mysql version that added a ssl_cypher field.
- Fix: Sanitize input parameters.
- Fix: [ bug #368 ] Product list
- Fix: [ bug #370 ] Filter in accountancy -> suppliers_bills
- Fix: [ bug #399 ] Bad calculation of local taxes in update line products
- Fix: [ bug #427 ] Bad links to wiki help in certains menus
For developers:
- New: Can add a left menu into an existing top menu or left menu.
@@ -98,6 +324,29 @@ For developers:
WARNING: To reduce technic debt, all functions dolibarr_xxx were renamed int dol_xxx.
***** ChangeLog for 3.1.3 compared to 3.1.2 *****
Fix: PgSQL - property must be set if success
Fix: Provide a solution for backup when mysqldump is not available
Fix: Bug #460 - Wrong entity assignment when creating a warehouse
Fix: bug #405 - Late icon always displayed on comm/propal.php
***** ChangeLog for 3.1.2 compared to 3.1.1 *****
- Fix: Can clone a proposal
- Fix: Add member ID in substitution method
- Fix: Duplicate end tag and missing form parts
- Fix: Support companies with no prof id.
- Fix: Sanitize data
- Fix: Bug #318
- Fix: Bug #369
- Fix: More bugs
***** ChangeLog for 3.1.1 compared to 3.1.0 *****
- New: Add option FACTURE_DEPOSITS_ARE_JUST_PAYMENTS. With this option added,

View File

@@ -1,6 +1,6 @@
INSTALL
-------
English: See file README.
English: See README file.
French: Voir fichier README-FR.

2
README
View File

@@ -108,7 +108,7 @@ Other modules:
- RSS
Miscellanous:
- Mutli-user, with several permissions levels for each feature.
- Multi-user, with several permissions levels for each feature.
- Serveral menu managers (can be used by internal users, as a back-office,
with a particular menu, or by external users, as a front-office, with
another menu and permissions).

View File

@@ -122,7 +122,7 @@ V - CE QUE DOLIBARR NE PEUT PAS FAIRE (TACHES A FAIRE)
Voici un liste de fonctionnalites pas encore gérées par Dolibarr:
- Pas de compta analytique (uniquement gestion de trésorerie).
- Dolibarr ne gère qu'une seule monnaie à la fois (mono-devise).
- Dolibarr ne gère en standard qu'une société/institution/association (mono-société). Pour en gérer plusieurs (comme vos filiales), il faut, soit faire plusieurs installations de Dolibarr, soit installer le module MutliCompany qui permet de gérer n société/institutions/associations dans une seule instance par une isolation logique des données.
- Dolibarr ne gère en standard qu'une société/institution/association (mono-société). Pour en gérer plusieurs (comme vos filiales), il faut, soit faire plusieurs installations de Dolibarr, soit installer le module MultiCompany qui permet de gérer n société/institutions/associations dans une seule instance par une isolation logique des données.
- Ne gère pas la double tva (Fédérale / provinciale) du canada.
- Dolibarr ne contient pas de module de Gestion de la paie.
- Les taches du module de gestion de projets n'ont pas de dépendance entre elle.

View File

@@ -3,6 +3,13 @@
Dolibarr ERP & CRM is a modern software to manage your company or foundation activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).It's an opensource software (wrote with PHP language) designed for small and medium companies, foundation and freelances. You can freely install, use and distribute it as a standalone application or as a web application to use it from every internet access and media.
## LICENSE
Dolibarr is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version (GPL-3+).
## INSTALL
If you have no technical knowledge, and you are looking for an autoinstaller to install Dolibarr ERP/CRM in few clicks, you must download DoliWamp (the all-in-one package of Dolibarr for Windows), DoliDeb (the all-in-one package of Dolibarr for Debian or Ubuntu) or DoliRpm (the all-in-one package of Dolibarr for Fedora, Redhat, Opensue, Mandriva or Mageia).
@@ -98,7 +105,7 @@ See ChangeLog file found into package.
### Miscellanous:
- Mutli-user, with several permissions levels for each feature.
- Multi-user, with several permissions levels for each feature.
- Serveral menu managers (can be used by internal users, as a back-office, with a particular menu, or by external users, as a front-office, with another menu and permissions).
- Very user friendly and easy to use.
- Optional WYSIWYG forms, optional Ajax forms.

View File

@@ -21,7 +21,7 @@
<parallel>
<!-- <antcall target="phpmd"/> -->
<antcall target="phpcpd"/>
<antcall target="phpcs"/>
<!-- <antcall target="phpcs"/> -->
<antcall target="doxygen"/>
<antcall target="phploc"/>
</parallel>
@@ -69,9 +69,10 @@
<!-- Generate checkstyle.xml -->
<target name="phpcs">
<exec executable="phpcs" dir="${basedir}" output="${basedir}/hudson/logs/checkstyle.xml">
<exec executable="phpcs" dir="${basedir}">
<arg line=" --standard=${basedir}/dev/codesniffer/jenkins_ruleset.xml
--report=checkstyle
--report-file=${basedir}/hudson/logs/checkstyle.xml
--ignore=${ignorepaths},${ignoreregexp}
htdocs
"/>
@@ -97,5 +98,5 @@
</exec>
</target>
<target name="hudson" depends="clean,phpunit,parallelTasks"/>
<target name="hudson" depends="clean,phpunit,phpcs,parallelTasks"/>
</project>

View File

@@ -56,7 +56,7 @@ standalone software. Dolibarr is designed to provide simplicity to end-user.
<!-- Service presentation properties (step 7) -->
<license must-accept="false">
<text>
<name>GPLv2</name>
<name>GPL-3.0+</name>
<file>COPYING</file>
</text>
</license>

View File

@@ -57,7 +57,7 @@ standalone software. Dolibarr is designed to provide simplicity to end-user.
<!-- Service presentation properties (step 7) -->
<license must-accept="false">
<text xml:lang="">
<name>GPLv2</name>
<name>GPL-3.0+</name>
<file>COPYING</file>
</text>
</license>

View File

@@ -8,14 +8,12 @@ script to build a package, ready to be distributed,
with format .DEB (for Debian, Ubuntu, ...).
# To build a debian package, you need first
# apt-get -i debhelper
# apt-get -i dpkg-source
# apt-get -i gpg
# apt-get -i debhelper dpkg-source gpg lintian
# This is standard command to work on Debian packaging:
#
# gpg --gen-key Generate a GPG key
# gpg --gen-key Generate a GPG key (-> pubring.gpg + secring.gpg)
#
# debconf-updatepo To run into po dir to regenate templates.pot
# podebconf-report-po --from email@email.com To send email to ask translations
@@ -35,7 +33,8 @@ with format .DEB (for Debian, Ubuntu, ...).
# dpkg --purge Remove config files and interactive saved answers
#
# dpkg-buildpackage -us -uc Build a source and binary package
#
# gdebi package.deb Install a package + dependencies
To submit a package to Debian:
@@ -44,10 +43,11 @@ To submit a package to Debian:
See page http://www.debian.org/devel/wnpp/#l1 for example of ITP requests contents.
- Wait until you received bug number.
For first ITP submission of Dolibarr, bug id was 634783.
For first ITP submission of Dolibarr, bug id was 634783.
- Check bug is into database by searching with id on http://www.debian.org/Bugs/
- Check bug is into database by searching with id on
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634783
- Add a line for upstream into file changelog with bug number
- Call for a mentor on ML debian-mentors to upload packages

View File

@@ -34,16 +34,6 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
</IfModule>
# OPTIMIZE: To use gzip compressed files (for Dolibarr already compressed files).
# Note that constant MAIN_OPTIMIZE_SPEED must have a value with bit 0 set.
#AddType text/javascript .jgz
#AddEncoding gzip .jgz
# OPTIMIZE: To use gzip compression (on the fly).
# Note that you must also enable the module mod_deflate.
# You can also set this with constant MAIN_OPTIMIZE_SPEED and bit 2 set.
#TODO
# OPTIMIZE: To use cache on static pages (A259200 = 1 month).
# Note that you must also enable the module mod_expires.
#ExpiresActive On

View File

@@ -1,9 +1,9 @@
dolibarr (3.3.0+nmu1) unstable; urgency=low
dolibarr (3.3.3+nmu1) unstable; urgency=low
* Non-maintainer upload.
* New upstream release.
closes: bug#634783
-- Dolibarr team <contact@dolibarr.org> Mon, 10 Aug 2011 12:00:00 +0100
-- Dolibarr team <contact@dolibarr.org> Mon, 22 Apr 2013 12:00:00 +0100
# For a changelog file dedicated to end users, see /usr/share/doc/dolibarr/ChangeLog.gz
# For a changelog file dedicated to end users, see /usr/share/doc/dolibarr/ChangeLog.gz

View File

@@ -161,12 +161,11 @@ $dolibarr_main_authentication='dolibarr';
# $dolibarr_main_auth_ldap_filter = ''; # If defined, two previous parameters are not used to find a user into LDAP. Ex: (uid=%1%) or &(uid=%1%)(isMemberOf=cn=Sales,ou=Groups,dc=opencsi,dc=com).
# $dolibarr_main_auth_ldap_admin_login=''; # Required only if anonymous bind disabled. Ex: cn=admin,dc=example,dc=com
# $dolibarr_main_auth_ldap_admin_pass=''; # Required only if anonymous bind disabled. Ex: secret
# $dolibarr_main_auth_ldap_debug='false';
# dolibarr_main_demo
# Login and pass to use in a demo mode
# Login and pass to use in a demo mode.
# Default value: ''
# Examples:
# $dolibarr_main_demo='autologin,autopass'

View File

@@ -9,10 +9,8 @@ Build-Depends: debhelper (>= 7), po-debconf, dpatch
Package: dolibarr
Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5,
php5-mysql | php5-mysqli,
php5-cli, php5-curl, php5-gd, php5-ldap, php-pear, php-mail-mime, php5-geoip, php-fpdf,
php5-cli, php5-curl, php5-gd, php5-ldap, php-pear, php-mail-mime, php5-geoip,
libphp-adodb,
libfpdi-php,
libfpdf-tpl-php,
libnusoap-php,
libphp-pclzip,
libjs-jquery, libjs-jquery-ui, libjs-flot, ckeditor,

View File

@@ -1,55 +0,0 @@
Package: dolibarr
Version: __VERSION__
Architecture: all
Maintainer: Laurent Destailleur <eldy@users.sourceforge.net>
Installed-Size: 61200
Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5,
php5-mysql | php5-mysqli,
php5-cli, php5-curl, php5-gd, php5-ldap, php-pear, php-mail-mime, php5-geoip,
libnusoap-php,
libphp-pclzip,
libfpdi-php,
libfpdf-tpl-php,
ckeditor,
ttf-dejavu-core,
xdg-utils,
mysql-server
Section: web
Priority: optional
Homepage: http://www.dolibarr.org
Description: Web based software to manage a small company or foundation
Dolibarr ERP & CRM is an easy to use open source/free software for small
and medium companies, foundations or freelances. It includes different
features for Enterprise Resource Planning (ERP) and Customer Relationship
Management (CRM) but also for different other activities.
It's a web software you can install as a standalone program or on any web
hosting provider to use it from anywhere with any web browser.
.
Dolibarr was designed to be easy to use. Only features you need are
visible, depending on which module were activated.
.
Customers, Suppliers or Prospects directory,
Contacts directory,
Orders management,
Commercial proposals management,
Invoices management,
Products and services catalog,
Stock management,
Foundations members management,
Bank accounts management,
Point of Sale,
Payments management,
Commercial actions management,
Contracts management,
Standing orders management,
Shipping management,
Donations management,
Bookmarks management,
Mass Emailings,
Reports,
Wizards to export and import data,
LDAP connectivity,
PDF exports,
And a lot of more modules...
.
You can also add third parties external modules or develop yours.

View File

@@ -6,9 +6,9 @@ Source: git@github.com:Dolibarr/dolibarr.git
Files: *
Copyright: 2002-2009, Rodolphe Quiedeville <rodolphe@quiedeville.org>
2003-2006, Jean-Louis Bergamo <jlb@j1b.org>
2003-2012, Laurent Destailleur <eldy@users.sourceforge.net>
2003-2013, Laurent Destailleur <eldy@users.sourceforge.net>
2003, Xavier Dutoit <doli@sydesy.com>
2004-2012, Regis Houssin <regis@dolibarr.fr>
2004-2013, Regis Houssin <regis.houssin@capnetworks.com>
2004, Sebastien Di Cintio <sdicintio@ressource-toi.org>
2004, Benoit Mortier <benoit.mortier@opensides.be>
2004, Christophe Combelles <ccomb@free.fr>
@@ -31,18 +31,18 @@ Copyright: 2002-2009, Rodolphe Quiedeville <rodolphe@quiedeville.org>
2008, Matteli <unknown@unknown.com>
2008, Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr>
2010, Francois Legastelois <flegastelois@teclib.com>
2010-2012, Juanjo Menent <jmenent@2byte.es>
2010-2012, Philippe Grand <philippe.grand@atoo-net.com>
2010-2013, Juanjo Menent <jmenent@2byte.es>
2010-2013, Philippe Grand <philippe.grand@atoo-net.com>
2010, Pierre Morin <pierre.morin@auguria.net>
2010, Servitux Servicios Informaticos <info@servitux.es>
2011, Herve Prot <herve.prot@symeos.com>
2011, Remy Younes <ryounes@gmail.com>
2012, Christophe Battarel <christophe.battarel@altairis.fr>
License: GPL-2+
2012-2013, Christophe Battarel <christophe.battarel@altairis.fr>
License: GPL-3+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version 3 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be

View File

@@ -83,8 +83,9 @@ case "$1" in
chown -R root:www-data $installconfig
chmod -R 660 $installconfig
if [ ! -s $config ]
then
# If a conf already exists and its content was already completed by installer
if [ ! -s $config ] || ! grep -q "File generated by" $config
then
# Create an empty conf.php with permission to web server
echo Create empty file $config
touch $config
@@ -93,17 +94,17 @@ case "$1" in
else
# File already exist. We add params not found.
echo Add new params to overwrite path to use shared libraries/fonts
grep -q -c "dolibarr_lib_ADODB_PATH" $config || echo "<?php \$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; ?>" >> $config
grep -q -c "dolibarr_lib_FPDI_PATH" $config || echo "<?php \$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; ?>" >> $config
grep -q -c "dolibarr_lib_GEOIP_PATH" $config || echo "<?php \$dolibarr_lib_GEOIP_PATH=''; ?>" >> $config
grep -q -c "dolibarr_lib_NUSOAP_PATH" $config || echo "<?php \$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; ?>" >> $config
grep -q -c "dolibarr_lib_ODTPHP_PATHTOPCLZIP" $config || echo "<?php \$dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip'; ?>" >> $config
grep -q -c "dolibarr_lib_PHPEXCEL_PATH" $config || echo "<?php \$dolibarr_lib_PHPEXCEL_PATH=''; ?>" >> $config
grep -q -c "dolibarr_lib_TCPDF_PATH" $config || echo "<?php \$dolibarr_lib_TCPDF_PATH=''; ?>" >> $config
grep -q -c "dolibarr_js_CKEDITOR" $config || echo "<?php \$dolibarr_js_CKEDITOR='/javascript/ckeditor'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY" $config || echo "<?php \$dolibarr_js_JQUERY='/javascript/jquery'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_UI" $config || echo "<?php \$dolibarr_js_JQUERY_UI='/javascript/jquery-ui'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_FLOT" $config || echo "<?php \$dolibarr_js_JQUERY_FLOT='/javascript/flot'; ?>" >> $config
grep -q -c "dolibarr_lib_ADODB_PATH" $config || [ ! -d "/usr/share/php/adodb" ] || echo "<?php \$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; ?>" >> $config
grep -q -c "dolibarr_lib_FPDI_PATH" $config || [ ! -d "/usr/share/php/fpdi" ] || echo "<?php \$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; ?>" >> $config
#grep -q -c "dolibarr_lib_GEOIP_PATH" $config || echo "<?php \$dolibarr_lib_GEOIP_PATH=''; ?>" >> $config
grep -q -c "dolibarr_lib_NUSOAP_PATH" $config || [ ! -d "/usr/share/php/nusoap" ] || echo "<?php \$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; ?>" >> $config
grep -q -c "dolibarr_lib_ODTPHP_PATHTOPCLZIP" $config || [ ! -d "/usr/share/php/libphp-pclzip" ] || echo "<?php \$dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip'; ?>" >> $config
#grep -q -c "dolibarr_lib_PHPEXCEL_PATH" $config || echo "<?php \$dolibarr_lib_PHPEXCEL_PATH=''; ?>" >> $config
#grep -q -c "dolibarr_lib_TCPDF_PATH" $config || echo "<?php \$dolibarr_lib_TCPDF_PATH=''; ?>" >> $config
grep -q -c "dolibarr_js_CKEDITOR" $config || [ ! -d "/usr/share/javascript/ckeditor" ] || echo "<?php \$dolibarr_js_CKEDITOR='/javascript/ckeditor'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY" $config || [ ! -d "/usr/share/javascript/jquery" ] || echo "<?php \$dolibarr_js_JQUERY='/javascript/jquery'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_UI" $config || [ ! -d "/usr/share/javascript/jquery-ui" ] || echo "<?php \$dolibarr_js_JQUERY_UI='/javascript/jquery-ui'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_FLOT" $config || [ ! -d "/usr/share/javascript/flot" ] || echo "<?php \$dolibarr_js_JQUERY_FLOT='/javascript/flot'; ?>" >> $config
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf'; ?>" >> $config
fi

View File

@@ -3,7 +3,8 @@
#
# see: dh_installdeb(1)
set -e
#set -e
set +e
# summary of how this script can be called:
# * <postrm> `remove'
@@ -179,11 +180,17 @@ case "$1" in
# Now run the drop user
if eval $mysqlcmd -f -e "\"DROP USER '$dbuser'@'localhost';\"" ; then
echo postrm Database login $dbuser removed
echo postrm Database login $dbuser@localhost removed
else
error="Unable to run $mysqlcmd -f -e \"DROP USER '$dbuser'@'localhost';\""
echo postrm $error
fi
if eval $mysqlcmd -f -e "\"DROP USER '$dbuser'@'%';\"" ; then
echo postrm Database login $dbuser@% removed
else
error="Unable to run $mysqlcmd -f -e \"DROP USER '$dbuser'@'%';\""
echo postrm $error
fi
# Now run the drop commands
if eval $mysqlcmd -f -e "\"show databases;\"" | grep -e "^$dbname" > /dev/null 2>&1 ; then

View File

@@ -1,292 +1,196 @@
/* XPM */
static char * dolibarr_xpm[] = {
"32 32 257 2",
"32 32 161 2",
" c None",
". c #000000",
"+ c #800080",
"@ c #000080",
"# c #008080",
"$ c #008000",
"% c #808000",
"& c #800000",
"* c #C0C0C0",
"= c #C0DCC0",
"- c #A6CAF0",
"; c #808080",
"> c #FF00FF",
", c #0000FF",
"' c #00FFFF",
") c #00FF00",
"! c #FFFF00",
"~ c #FF0000",
". c #4378AA",
"+ c #4277A8",
"@ c #4175A7",
"# c #3F74A5",
"$ c #3E72A3",
"% c #3D71A2",
"& c #487AA8",
"* c #5A87B0",
"= c #5987B0",
"- c #5986B0",
"; c #5583AE",
"> c #4678A6",
", c #326A9D",
"' c #356C9F",
") c #3B70A1",
"! c #3B6FA0",
"~ c #90ADC9",
"{ c #FFFFFF",
"] c #FFFBF0",
"^ c #A0A0A4",
"/ c #402000",
"( c #602000",
"_ c #802000",
": c #A02000",
"< c #C02000",
"[ c #E02000",
"} c #004000",
"| c #204000",
"1 c #404000",
"2 c #604000",
"3 c #804000",
"4 c #A04000",
"5 c #C04000",
"6 c #E04000",
"7 c #006000",
"8 c #206000",
"9 c #406000",
"0 c #606000",
"a c #806000",
"b c #A06000",
"c c #C06000",
"d c #E06000",
"e c #008000",
"f c #208000",
"g c #408000",
"h c #608000",
"i c #808000",
"j c #A08000",
"k c #C08000",
"l c #E08000",
"m c #00A000",
"n c #20A000",
"o c #40A000",
"p c #60A000",
"q c #80A000",
"r c #A0A000",
"s c #C0A000",
"t c #E0A000",
"u c #00C000",
"v c #20C000",
"w c #40C000",
"x c #60C000",
"y c #80C000",
"z c #A0C000",
"A c #C0C000",
"B c #E0C000",
"C c #00E000",
"D c #20E000",
"E c #40E000",
"F c #60E000",
"G c #80E000",
"H c #A0E000",
"I c #C0E000",
"J c #E0E000",
"K c #000040",
"L c #200040",
"M c #400040",
"N c #600040",
"O c #800040",
"P c #A00040",
"Q c #C00040",
"R c #E00040",
"S c #002040",
"T c #202040",
"U c #402040",
"V c #602040",
"W c #802040",
"X c #A02040",
"Y c #C02040",
"Z c #E02040",
"` c #004040",
" . c #204040",
".. c #404040",
"+. c #604040",
"@. c #804040",
"#. c #A04040",
"$. c #C04040",
"%. c #E04040",
"&. c #006040",
"*. c #206040",
"=. c #406040",
"-. c #606040",
";. c #806040",
">. c #A06040",
",. c #C06040",
"'. c #E06040",
"). c #008040",
"!. c #208040",
"~. c #408040",
"{. c #608040",
"]. c #808040",
"^. c #A08040",
"/. c #C08040",
"(. c #E08040",
"_. c #00A040",
":. c #20A040",
"<. c #40A040",
"[. c #60A040",
"}. c #80A040",
"|. c #A0A040",
"1. c #C0A040",
"2. c #E0A040",
"3. c #00C040",
"4. c #20C040",
"5. c #40C040",
"6. c #60C040",
"7. c #80C040",
"8. c #A0C040",
"9. c #C0C040",
"0. c #E0C040",
"a. c #00E040",
"b. c #20E040",
"c. c #40E040",
"d. c #60E040",
"e. c #80E040",
"f. c #A0E040",
"g. c #C0E040",
"h. c #E0E040",
"i. c #000080",
"j. c #200080",
"k. c #400080",
"l. c #600080",
"m. c #800080",
"n. c #A00080",
"o. c #C00080",
"p. c #E00080",
"q. c #002080",
"r. c #202080",
"s. c #402080",
"t. c #602080",
"u. c #802080",
"v. c #A02080",
"w. c #C02080",
"x. c #E02080",
"y. c #004080",
"z. c #204080",
"A. c #404080",
"B. c #604080",
"C. c #804080",
"D. c #A04080",
"E. c #C04080",
"F. c #E04080",
"G. c #006080",
"H. c #206080",
"I. c #406080",
"J. c #606080",
"K. c #806080",
"L. c #A06080",
"M. c #C06080",
"N. c #E06080",
"O. c #008080",
"P. c #208080",
"Q. c #408080",
"R. c #608080",
"S. c #808080",
"T. c #A08080",
"U. c #C08080",
"V. c #E08080",
"W. c #00A080",
"X. c #20A080",
"Y. c #40A080",
"Z. c #60A080",
"`. c #80A080",
" + c #A0A080",
".+ c #C0A080",
"++ c #E0A080",
"@+ c #00C080",
"#+ c #20C080",
"$+ c #40C080",
"%+ c #60C080",
"&+ c #80C080",
"*+ c #A0C080",
"=+ c #C0C080",
"-+ c #E0C080",
";+ c #00E080",
">+ c #20E080",
",+ c #40E080",
"'+ c #60E080",
")+ c #80E080",
"!+ c #A0E080",
"~+ c #C0E080",
"{+ c #E0E080",
"]+ c #0000C0",
"^+ c #2000C0",
"/+ c #4000C0",
"(+ c #6000C0",
"_+ c #8000C0",
":+ c #A000C0",
"<+ c #C000C0",
"[+ c #E000C0",
"}+ c #0020C0",
"|+ c #2020C0",
"1+ c #4020C0",
"2+ c #6020C0",
"3+ c #8020C0",
"4+ c #A020C0",
"5+ c #C020C0",
"6+ c #E020C0",
"7+ c #0040C0",
"8+ c #2040C0",
"9+ c #4040C0",
"0+ c #6040C0",
"a+ c #8040C0",
"b+ c #A040C0",
"c+ c #C040C0",
"d+ c #E040C0",
"e+ c #0060C0",
"f+ c #2060C0",
"g+ c #4060C0",
"h+ c #6060C0",
"i+ c #8060C0",
"j+ c #A060C0",
"k+ c #C060C0",
"l+ c #E060C0",
"m+ c #0080C0",
"n+ c #2080C0",
"o+ c #4080C0",
"p+ c #6080C0",
"q+ c #8080C0",
"r+ c #A080C0",
"s+ c #C080C0",
"t+ c #E080C0",
"u+ c #00A0C0",
"v+ c #20A0C0",
"w+ c #40A0C0",
"x+ c #60A0C0",
"y+ c #80A0C0",
"z+ c #A0A0C0",
"A+ c #C0A0C0",
"B+ c #E0A0C0",
"C+ c #00C0C0",
"D+ c #20C0C0",
"E+ c #40C0C0",
"F+ c #60C0C0",
"G+ c #80C0C0",
"H+ c #A0C0C0",
" J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.....-.S.^ * = ",
"S.y+H+y+y+y+y+y+y+y+y+y+y+y+y+y+y+y+R.R.J.J.S.* = ",
"S.R.x+o+Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.o+p+x+x+x+R.R.^ * ",
"S.R.Q.H.G.G.G.G.G.G.G.G.G.G.G.G.G.G.H.H.Q.Q.o+o+R.S.* ",
"S.R.Q.H.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.H.H.Q.Q.Q.`.* ",
"S.R.Q.H.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.H.H.H.H.^ * ",
"S.R.Q.H.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.H.H.H.H+ ",
"S.R.Q.H.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.H.G.I.= ",
"S.R.Q.H.G.G.G.G.G.y.` ` ` ` ` ` y.y.G.G.G.G.G.G.G.G.H.H.G.y+ ",
"S.R.Q.H.G.G.G.G.G.` .=.=.=.=...S S ` y.G.G.G.G.G.G.G.H.G.H. ",
"S.R.o+H.H.H.H.H.G.` ^ * R.` y.H.H.H.H.H.H.H.H.y.H+ ",
"S.R.o+H.H.H.H.H.H.` ^ = H.H.H.H.H.H.H.H.H.G.R. ",
"S.R.o+P.H.H.H.H.H.` ^ * H.H.H.H.H.H.H.H.H.z. ",
"S.p+o+P.H.H.H.H.H.` ^ * o+P.P.H.H.H.H.P.H.` ",
"S.p+o+n+P.P.P.P.H.z.^ * R.o+n+P.P.P.P.P.H.` ",
"S.p+w+n+n+n+n+n+H.z.^ * S.w+n+n+n+n+n+n+H. .* ",
"S.x+w+n+n+n+n+n+P.z.^ ^ R.x+o+n+n+n+n+n+H. .* ",
"S.x+w+n+n+n+n+n+P.H.^ ^ R.x+w+n+n+n+n+n+H. . ",
"S.x+w+n+n+n+n+n+n+H.^ * S.R.x+w+n+n+n+n+n+H. . ",
"S.x+x+w+n+n+n+n+n+H.^ = S...G+F+w+n+n+n+n+n+H. . ",
"S.x+x+w+v+v+v+v+n+H.z+ = * S...S.G+x+w+v+v+v+v+n+H.R. ",
"S.x+x+w+w+w+w+w+n+H.z+ = * ^ ^ S.....`.- G+w+w+w+w+w+w+P. .^ ",
"S.x+F+w+w+w+w+w+w+H.H+= -.....=.J.`.- - G+w+w+w+w+w+w+w+H.T ",
"S.x+F+w+w+w+w+w+w+H.H+* - - - - - - G+F+w+w+w+w+w+w+w+P. .R. ",
"S.x+F+w+w+w+w+w+w+H.H+* - G+F+F+F+F+E+w+w+w+w+w+w+w+w+H. . ",
"S.y+F+E+w+w+w+w+w+H.H+* F+F+w+w+w+w+w+w+w+w+w+w+w+w+H. .^ ",
"S.G+F+E+E+E+E+E+w+P.H+* F+F+E+E+E+E+E+E+E+E+E+E+w+H. .S. ",
"S.G+F+F+E+E+E+E+w+P.H+* G+F+E+E+E+E+E+E+E+E+E+w+H.T S. ",
"S.G+F+F+E+E+E+E+w+Q.H+* G+F+E+E+E+E+E+E+E+w+Q.H.T `. ",
"S.G+G+F+F+F+F+F+E+Q.H+* - F+F+F+E+E+w+w+Q.H. ...* ",
"^ G+F+x+x+x+x+x+Q.I.H+ - F+x+x+Q.Q.I. . .=.z+ ",
" H+I. . . . . . . .^ R... . . .J.S.^ = "};
"] c #DFE7EF",
"^ c #A6BED4",
"/ c #5683AD",
"( c #346A9D",
"_ c #3A6E9F",
": c #8CAAC7",
"< c #CFDCE8",
"[ c #4B7AA6",
"} c #3A6E9E",
"| c #396D9D",
"1 c #8BA9C6",
"2 c #FEFEFE",
"3 c #6C92B6",
"4 c #376B9C",
"5 c #386B9B",
"6 c #8AA8C5",
"7 c #648CB1",
"8 c #366A9A",
"9 c #89A8C4",
"0 c #FCFCFD",
"a c #356898",
"b c #89A7C3",
"c c #F1F4F8",
"d c #C2D1E0",
"e c #C4D2E0",
"f c #C8D6E3",
"g c #E1E8EF",
"h c #A4BBD1",
"i c #336797",
"j c #346797",
"k c #88A6C2",
"l c #D0DBE6",
"m c #285F91",
"n c #2F6494",
"o c #2E6394",
"p c #2B6192",
"q c #366898",
"r c #A1B9CE",
"s c #2A6091",
"t c #336595",
"u c #88A5C1",
"v c #D0DCE7",
"w c #2C6092",
"x c #2E6193",
"y c #9CB4CB",
"z c #557FA7",
"A c #316493",
"B c #86A4C0",
"C c #D0DCE6",
"D c #2B5F90",
"E c #799AB9",
"F c #306392",
"G c #86A4BF",
"H c #2A5E8E",
"I c #265B8C",
"J c #F2F5F8",
"K c #89A5C0",
"L c #2F6190",
"M c #85A3BE",
"N c #285C8D",
"O c #23588A",
"P c #F7F9FB",
"Q c #86A3BF",
"R c #2E608E",
"S c #85A2BD",
"T c #CFDBE5",
"U c #275B8A",
"V c #3A6995",
"W c #7092B2",
"X c #2C5E8D",
"Y c #84A1BC",
"Z c #CFDAE5",
"` c #26598A",
" . c #245889",
".. c #B1C3D4",
"+. c #46729B",
"@. c #2B5D8B",
"#. c #83A0BB",
"$. c #CEDAE5",
"%. c #235787",
"&. c #265988",
"*. c #255988",
"=. c #215686",
"-. c #376692",
";. c #B3C5D6",
">. c #F3F5F8",
",. c #205585",
"'. c #2A5C8A",
"). c #82A0BA",
"!. c #CEDAE4",
"~. c #467199",
"{. c #C8D5E0",
"]. c #C9D6E1",
"^. c #E7EDF2",
"/. c #94ADC4",
"(. c #285B89",
"_. c #285A88",
":. c #819FB9",
"<. c #527A9F",
"[. c #F9FAFB",
"}. c #275987",
"|. c #275986",
"1. c #819DB8",
"2. c #CED9E3",
"3. c #51799E",
"4. c #567DA0",
"5. c #265785",
"6. c #809DB8",
"7. c #51789D",
"8. c #698AAA",
"9. c #245584",
"0. c #255683",
"a. c #809CB7",
"b. c #CDD8E3",
"c. c #4F779B",
"d. c #EDF1F5",
"e. c #4B7399",
"f. c #235582",
"g. c #235482",
"h. c #819DB7",
"i. c #D2DCE5",
"j. c #4F769B",
"k. c #D7E0E8",
"l. c #7896B2",
"m. c #1B4E7D",
"n. c #225380",
"o. c #36628B",
"p. c #53799C",
"q. c #52789C",
"r. c #477095",
"s. c #2F5D87",
"t. c #6A8BA9",
"u. c #6F8FAD",
"v. c #688AA8",
"w. c #4F769A",
"x. c #235380",
"y. c #1A4D7B",
"z. c #21527E",
"A. c #20507D",
"B. c #1E4F7B",
"C. c #1D4D7A",
"D. c #1B4C78",
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
"+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ",
"@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ",
"# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ",
"$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ ",
"% % % % % % & * = = = = = = - ; > , ' ) % % % % % % % % % % % % ",
"! ! ! ! ! ! ~ { { { { { { { { { { { ] ^ / ( ! ! ! ! ! ! ! ! ! ! ",
"_ _ _ _ _ _ : { { { { { { { { { { { { { { < [ } _ _ _ _ _ _ _ _ ",
"| | | | | | 1 { { { { { { { { { { { { { { 2 { 3 4 | | | | | | | ",
"5 5 5 5 5 5 6 { { { { { { { { { { { { { { { 2 { 7 5 5 5 5 5 5 5 ",
"8 8 8 8 8 8 9 { { { { { { { { { { { { { { { { 2 0 5 8 8 8 8 8 8 ",
"a a a a a a b { { { { { c d e f g { { { { { { { { h i a a a a a ",
"j j j j j j k { { { { { l m n o p q r { { { { { { 0 s j j j j j ",
"t t t t t t u { { { { { v w t t t t x y { { { { { { z t t t t t ",
"A A A A A A B { { { { { C D A A A A A A { { { { { { E A A A A A ",
"F F F F F F G { { { { { l H F F F F F I J { { { { { K F F F F F ",
"L L L L L L M { { { { { l N L L L L L O P { { { { { Q L L L L L ",
"R R R R R R S { { { { { T U R R R R R V { { { { { { W R R R R R ",
"X X X X X X Y { { { { { Z ` X X X X ...{ { { { { { +.X X X X X ",
"@.@.@.@.@.@.#.{ { { { { $.%.&.*.=.-.;.{ { { { { { >.,.@.@.@.@.@.",
"'.'.'.'.'.'.).{ { { { { !.~.{.].^.{ { { { { { { { /.(.'.'.'.'.'.",
"_._._._._._.:.{ { { { { !.<.{ { { { { { { { { 2 [.}._._._._._._.",
"|.|.|.|.|.|.1.{ { { { { 2.3.{ { { { { { { { 2 { 4.|.|.|.|.|.|.|.",
"5.5.5.5.5.5.6.{ { { { { 2.7.{ { { { { { { 2 { 8.9.5.5.5.5.5.5.5.",
"0.0.0.0.0.0.a.{ { { { { b.c.{ { { { { 2 { d.e.f.0.0.0.0.0.0.0.0.",
"g.g.g.g.g.g.h.{ { { { { i.j.{ { { { { k.l.m.g.g.g.g.g.g.g.g.g.g.",
"n.n.n.n.n.n.o.p.q.q.q.q.r.s.t.u.v.w.x.y.n.n.n.n.n.n.n.n.n.n.n.n.",
"z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.",
"A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.",
"B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.",
"C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.",
"D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D."};

View File

@@ -1,7 +1,7 @@
<?php
// File to force Dolibarr wizard installer choices.
//
// This file must be present into htdocs/install directory
// This file must be present into htdocs/install or /etc/dolibarr directory
// during install process to be used.
//
//
@@ -25,14 +25,18 @@ $force_install_dolibarrlogin='admin';
$force_install_nophpinfo='1';
$force_install_lockinstall='444';
// Value to overwrite path to use shared libraries/fonts instead of embedded one
$force_dolibarr_lib_ADODB_PATH='/usr/share/php/adodb';
// Value to overwrite path to use shared libraries/fonts instead of embedded one.
// If we enable/disable libraries declaration during install, we must also check they are
// not removed from package (see in rules file),
// declared into dependencies (see in control file)
$force_dolibarr_lib_TCPDF_PATH='';
$force_dolibarr_lib_FPDF_PATH='/usr/share/php/fpdf';
$force_dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi';
$force_dolibarr_lib_ADODB_PATH='/usr/share/php/adodb';
$force_dolibarr_lib_GEOIP_PATH='';
$force_dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap';
$force_dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip';
$force_dolibarr_lib_PHPEXCEL_PATH='';
$force_dolibarr_lib_TCPDF_PATH='';
$force_dolibarr_js_CKEDITOR='/javascript/ckeditor';
$force_dolibarr_js_JQUERY='/javascript/jquery';
$force_dolibarr_js_JQUERY_UI='/javascript/jquery-ui';

View File

@@ -11,7 +11,7 @@
--- old/htdocs/filefunc.inc.php 2011-09-03 02:32:48.666952000 +0200
+++ new/htdocs/filefunc.inc.php 2011-09-03 02:33:00.510952001 +0200
@@ -64,8 +64,8 @@
@@ -63,8 +63,8 @@
$conffile = "conf/conf.php";
$conffiletoshow = "htdocs/conf/conf.php";
// For debian/redhat like systems
@@ -24,7 +24,7 @@
// Include configuration
--- old/htdocs/install/inc.php 2011-09-03 02:33:26.450952000 +0200
+++ new/htdocs/install/inc.php 2011-09-03 02:33:36.286952001 +0200
@@ -84,8 +84,8 @@
@@ -71,8 +71,8 @@
$conffile = "../conf/conf.php";
$conffiletoshow = "htdocs/conf/conf.php";
// For debian/redhat like systems
@@ -37,7 +37,7 @@
if (! defined('DONOTLOADCONF') && file_exists($conffile))
--- old/htdocs/support/inc.php 2011-09-03 02:34:39.606952000 +0200
+++ new/htdocs/support/inc.php 2011-09-03 02:33:59.814952000 +0200
@@ -79,8 +79,8 @@
@@ -69,8 +69,8 @@
$conffile = "../conf/conf.php";
$conffiletoshow = "htdocs/conf/conf.php";
// For debian/redhat like systems
@@ -46,5 +46,5 @@
+$conffile = "/etc/dolibarr/conf.php";
+$conffiletoshow = "/etc/dolibarr/conf.php";
$charset="UTF-8"; // If not output format found in any conf file
if (! defined('DONOTLOADCONF') && file_exists($conffile))

View File

@@ -14,8 +14,8 @@
msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-01 18:17+0200\n"
"Report-Msgid-Bugs-To: dolibarr@packages.debian.org\n"
"POT-Creation-Date: 2013-04-23 12:16+0200\n"
"PO-Revision-Date: 2011-07-29 22:45+0100\n"
"Last-Translator: Laurent Destailleur <eldy@users.sourceforge.net>\n"
"Language-Team: Laurent Destailleur <eldy@users.sourceforge.net>\n"
@@ -27,13 +27,13 @@ msgstr ""
#. Type: multiselect
#. Description
#: ../templates:1001
#: ../dolibarr.templates:1001
msgid "Web server to reconfigure automatically:"
msgstr "Seveur web à reconfigurer automatiquement:"
#. Type: multiselect
#. Description
#: ../templates:1001
#: ../dolibarr.templates:1001
msgid ""
"Please choose the web server that should be automatically configured to run "
"dolibarr."
@@ -44,14 +44,14 @@ msgstr ""
#
#. Type: boolean
#. Description
#: ../templates:2001
#: ../dolibarr.templates:2001
msgid "Delete database and uploaded files ?"
msgstr "Effacer la base de donnée et les fichiers uploadés ?"
#
#. Type: boolean
#. Description
#: ../templates:2001
#: ../dolibarr.templates:2001
msgid ""
"Answer if you want to removed the Dolibarr MySQL database and all other "
"datas (datas related to this question are the Dolibarr DBMS account, all "

15
build/debian/po/templates.pot Executable file → Normal file
View File

@@ -3,11 +3,12 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-01 18:17+0200\n"
"Project-Id-Version: dolibarr\n"
"Report-Msgid-Bugs-To: dolibarr@packages.debian.org\n"
"POT-Creation-Date: 2013-04-23 12:16+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,13 +19,13 @@ msgstr ""
#. Type: multiselect
#. Description
#: ../templates:1001
#: ../dolibarr.templates:1001
msgid "Web server to reconfigure automatically:"
msgstr ""
#. Type: multiselect
#. Description
#: ../templates:1001
#: ../dolibarr.templates:1001
msgid ""
"Please choose the web server that should be automatically configured to run "
"dolibarr."
@@ -32,13 +33,13 @@ msgstr ""
#. Type: boolean
#. Description
#: ../templates:2001
#: ../dolibarr.templates:2001
msgid "Delete database and uploaded files ?"
msgstr ""
#. Type: boolean
#. Description
#: ../templates:2001
#: ../dolibarr.templates:2001
msgid ""
"Answer if you want to removed the Dolibarr MySQL database and all other "
"datas (datas related to this question are the Dolibarr DBMS account, all "

View File

@@ -93,23 +93,28 @@ clean:
# clean from all embedded libraries (we use package dependencies instead)
rm -fr htdocs/includes/adodbtime
rm -fr htdocs/includes/ckeditor
rm -fr htdocs/includes/fpdfi
# rm -fr htdocs/includes/fpdfi
rm -fr htdocs/includes/fonts
rm -fr htdocs/includes/geoip
rm -fr htdocs/includes/nusoap
rm -fr htdocs/includes/odtphp/zip/pclzip
rm -fr htdocs/includes/phpmailer
rm -fr htdocs/includes/jquery/css
rm -fr htdocs/includes/jquery/js
rm -fr htdocs/includes/jquery/plugins/flot
rm -fr htdocs/includes/jquery/plugins/jstree
rm -fr htdocs/includes/jquery/plugins/lightbox
rm -fr htdocs/includes/jquery/plugins/mobile
rm -fr htdocs/includes/jquery/plugins/multiselect
rm -fr htdocs/includes/phpexcel/PHPExcel/Shared/PDF
rm -fr htdocs/includes/phpexcel/PHPExcel/Shared/PCLZip
rm -fr htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-2.33
rm -fr htdocs/includes/tcpdf/fonts/freefont-20100919
rm -fr htdocs/includes/tcpdf/fonts/utils
# clean from files to avoid warning of missing dependencies
rm -fr htdocs/includes/jquery/plugins/jqueryFileTree/connectors/jqueryFileTree.py
# Licence files are included into copyright file.
rm -fr htdocs/includes/phpexcel/license.txt
rm -f htdocs/includes/tcpdf/LICENSE.TXT

View File

@@ -31,7 +31,7 @@ PROJECT_NAME = dolibarr
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = 3.3.0
PROJECT_NUMBER = 3.3.2
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.

View File

@@ -31,7 +31,7 @@ PROJECT_NAME = dolibarr
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = 3.2.0
PROJECT_NUMBER = 3.3.0
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.

View File

@@ -0,0 +1,7 @@
# DOLIWAMP, THE DOLIBARR INSTALLER FOR WINDOWS
DoliWamp is a special all in one package installer for Windows (Dolibarr+Mysql+Apache+PHP).
It's a dedicated Dolibarr version for Windows newbies with no technical knowledge. This package will install or upgrade Dolibarr but also and all prerequisites like the web server, and the database in one autoinstall process.
If you have technical knowledge in web administration and plan to share your server instance (Apache, Mysql or PHP) with other projects than Dolibarr or want to use Dolibarr other components (PostgreSQL), you should not use this assistant and make a manual installation of Dolibarr on your existing server by downloading the standard package (.tgz or .zip file).

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -39,7 +39,7 @@ MaxRequestsPerChild 0
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot "WAMPROOT/bin/apache/apache2.2.6"
ServerRoot "WAMPROOT/bin/apache/apacheWAMPAPACHEVERSION"
#
# Listen: Allows you to bind Apache to specific IP addresses and/or

View File

@@ -326,6 +326,7 @@ else
// Read PHP extensions
$loaded_extensions = get_loaded_extensions();
$phpExtContents='';
foreach ($loaded_extensions as $extension)
$phpExtContents .= "<li>${extension}</li>";
@@ -334,6 +335,7 @@ foreach ($loaded_extensions as $extension)
// Read alias directory
$listoffile=array();
$aliasarray=array();
$aliasContents='';
if (is_dir($aliasDir))
{
$handle=opendir($aliasDir);
@@ -530,7 +532,6 @@ a:hover {
</td>
<td align="right">
<ul class="utility">
<li>${wampserverVersion}</li>
<li><a href="?lang={$langues[$langue]['autreLangueLien1']}">{$langues[$langue]['autreLangue1']}</a>
- <a href="?lang={$langues[$langue]['autreLangueLien2']}">{$langues[$langue]['autreLangue2']}</a></li>
<br><br>

View File

@@ -375,7 +375,7 @@ display_errors = On
; Even when display_errors is on, errors that occur during PHP's startup
; sequence are not displayed. It's strongly recommended to keep
; display_startup_errors off, except for when debugging.
display_startup_errors = Off
display_startup_errors = On
; Log errors into a log file (server-specific log, stderr, or error_log (below))
; As stated above, you're strongly advised to use error logging in place of
@@ -534,7 +534,7 @@ doc_root =
user_dir =
; Directory in which the loadable extensions (modules) reside.
extension_dir = "WAMPROOT/bin/php/php5.2.5/ext/"
extension_dir = "WAMPROOT/bin/php/phpWAMPPHPVERSION/ext/"
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
@@ -657,7 +657,7 @@ extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
extension=php_exif.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
@@ -677,7 +677,7 @@ extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
extension=php_openssl.dll
extension=php_pdo.dll
;extension=php_pdo.dll ; for php 5.2.11
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
@@ -685,19 +685,19 @@ extension=php_pdo_mysql.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
extension=php_shmop.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
extension=php_zip.dll
;extension=php_zip.dll
;extension=php_xdebug-2.0.5-5.2.dll
@@ -710,7 +710,8 @@ extension=php_zip.dll
; date.timezone = UTC => You have local = greenwich.
; date.timzeone = Europe/Paris => To use TZ+1
; See http://php.net/date.timezone
;date.timezone =
date.timezone = UTC
;date.timezone = USERTIMEZONE
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333

View File

@@ -12,7 +12,10 @@ a package onto LaunchPad
# To install all packagers tools:
# sudo apt-get install bzr-builder bzr dpatch pbuilder debootstrap devscripts
# Init local working env
#----------------------------------
- Create account on launchpad.org
- Create Project
- Link project to official SCM server
@@ -21,65 +24,125 @@ a package onto LaunchPad
- Run from command line:
bzr launchpad-login yourlogin
bzr whoami "Your Name <email@email.com>"
- Create a file /.pbuilderrc with content
bzr whoami
- Edit file ~/.bashrc to add
DEBFULLNAME="<Your name>"
DEBEMAIL="<Your email address>"
- Create a Bazaar directory
mkdir bzr
If you want to build/test package locally:
- Create a file ~/.pbuilderrc with content
COMPONENTS="main universe multiverse restricted"
- Create chroot ubuntu env
sudo pbuilder create [--distribution sid|squeeze]
- Edit file ~/.bashrc ti add
DEBFULLNAME="<Your name>"
DEBEMAIL="<Your email address>"
# Init package tools for launchpad
- Create a Bazaar directory
mkdir bzr
- Create debian directory and upload it onto bzr branch ~yourlogin/dolibarr/debian
# Push/declare Dolibarr sources to Launchpad
#----------------------------------
- From Launchpad project (https://launchpad.net/dolibarr), register a series:
Call it 'trunk' or 'beta' or 'stable'
Use branch (dev):
~eldy/dolibarr/develop
~eldy/dolibarr/beta
~eldy/dolibarr/stable
or
Use URL pattern (beta or stable):
http://www.dolibarr.org/files/lastbuild/package_debian-ubuntu/dolibarr_x.z.*.tar.gz
http://www.dolibarr.org/files/stable/package_debian-ubuntu/dolibarr_x.y.*.tar.gz
- For Dev, you can also add link serie to GIT HEAD.
- For beta and stable, you can init from command line
cd bzr/dolibarr-[beta|stable]
bzr init
bzr add
bzr commit -m "Init"
bzr push lp:~yourlogin/dolibarr/[beta|stable]
- List of series are visible here: https://launchpad.net/dolibarr/+series
# To update Dolibarr into launchpad (when repository for sources already exists)
#----------------------------------
cd bzr
bzr branch lp:~yourlogin/dolibarr/[dev|beta|stable]
cd dolibarr-[dev|beta|stable]
bzr status
-- Update files here --
bzr commit -m "Description of change"
bzr push
# Init debian dir repository into launchpad (when repository for sources does not exist)
#----------------------------------
- Create debian directory and upload it onto bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
cd bzr
mkdir debian
cd debian
bzr init
cp -pr dolibarr_root/debian bzr/debian
bzr add debian
bzr commit -m "Init"
bzr push lp:~eldy/dolibarr/debian
or download it from launchpad bazaar:
bzr init
bzr add
bzr commit -m "Init control files"
bzr push lp:~yourlogin/+junk/debian-[dev|beta|stable] (put here any branch name)
- or download it from launchpad bazaar:
cd bzr
bzr branch lp:~eldy/dolibarr/debian
- To update this debian directory, edit files into the bzr dir and run
bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
# Get debian dir repository from launchpad (when repository for sources already exists)
#----------------------------------
cd bzr
bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
# To update debian dir into launchpad (when repository for sources already exists)
#----------------------------------
cd bzr
bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
cd debian-[dev|beta|stable]
bzr status
-- Update files here --
bzr commit -m "Description of change"
bzr push lp:~eldy/dolibarr/debian
bzr push lp:~yourlogin/+junk/debian-[dev|beta|stable]
# Define a recipe into launchpad (a rule to build packages into a PPA)
#----------------------------------
- Create a file dolibarr.recipe with content
cd bzr
vi dolibarr.recipe
# bzr-builder format 0.3 deb-version {debupstream}+{revno}+{revno:packaging}
lp:dolibarr
merge packaging lp:~eldy/dolibarr/debian
For dev:
# bzr-builder format 0.3 deb-version {debupstream}-0~{revno}
lp:dolibarr
merge packaging lp:~yourlogin/+junk/debian-dev
For stable:
# bzr-builder format 0.3 deb-version {debupstream}-0~{revno}
lp:dolibarr/stable
merge packaging lp:~yourlogin/+junk/debian-stable
- Run command
cd bzr
bzr dailydeb dolibarr.recipe working-dir
This will create a directory "working-dir" with dolibarr sources and will add sources from ~eldy/dolibarr/debian
This will create a directory "working-dir" with dolibarr sources and will add sources from ~yourlogin/+junk/debian-[dev|stable]
- Test package sources
sudo pbuilder build <working-dir>/<project>_<version>.dsc
# To get/download package:
Add signing key of the Launchpad repository:
# To get/download package from PPA:
#----------------------------------
- Add signing key of the Launchpad repository:
> gpg --keyserver keyserver.ubuntu.com --recv-key A38BF8FD
> sudo apt-key add ~/.gnupg/pubring.gpg
Add Dolibarr Launchpad repository to your system setup by adding the two lines to /etc/apt/sources.list
- Add Dolibarr Launchpad repository to your system setup by adding the two lines to /etc/apt/sources.list
For the development snapshot version:
deb http://ppa.launchpad.net/eldy/dolibarr-dev/ubuntu precise main
deb-src http://ppa.launchpad.net/eldy/dolibarr-dev/ubuntu precise main
deb http://ppa.launchpad.net/yourlogin/dolibarr-dev/ubuntu precise main
deb-src http://ppa.launchpad.net/yourlogin/dolibarr-dev/ubuntu precise main
For the stable version:
deb http://ppa.launchpad.net/eldy/dolibarr-stable/ubuntu precise main
deb-src http://ppa.launchpad.net/eldy/dolibarr-stable/ubuntu precise main
deb http://ppa.launchpad.net/yourlogin/dolibarr-stable/ubuntu precise main
deb-src http://ppa.launchpad.net/yourlogin/dolibarr-stable/ubuntu precise main
Update your package cache:
- Update your package cache:
> apt-get update
Install Dolibarr:
- Install Dolibarr:
> apt-get install dolibarr

47
build/makepack-dolibarr.pl Normal file → Executable file
View File

@@ -10,7 +10,7 @@ use Cwd;
$PROJECT="dolibarr";
$MAJOR="3";
$MINOR="3";
$BUILD="0-alpha"; # Mettre x pour release, x-dev pour dev, x-beta pour beta, x-rc pour release candidate
$BUILD="3"; # Mettre x pour release, x-dev pour dev, x-beta pour beta, x-rc pour release candidate
$RPMSUBVERSION="auto"; # auto use value found into BUILD
@LISTETARGET=("TGZ","ZIP","RPM_GENERIC","RPM_FEDORA","RPM_MANDRIVA","RPM_OPENSUSE","DEB","APS","EXEDOLIWAMP","SNAPSHOT"); # Possible packages
@@ -24,7 +24,7 @@ $RPMSUBVERSION="auto"; # auto use value found into BUILD
"RPM_OPENSUSE"=>"rpmbuild",
"DEB"=>"dpkg",
"APS"=>"zip",
"EXEDOLIWAMP"=>"iscc.exe"
"EXEDOLIWAMP"=>"ISCC.exe"
);
%ALTERNATEPATH=(
"7z"=>"7-ZIP",
@@ -38,13 +38,14 @@ $FILENAMEZIP="$PROJECT-$MAJOR.$MINOR.$BUILD";
$FILENAMERPM="$PROJECT-$MAJOR.$MINOR.$BUILD-$RPMSUBVERSION";
$FILENAMEDEB="${PROJECT}_${MAJOR}.${MINOR}.${BUILD}";
$FILENAMEAPS="$PROJECT-$MAJOR.$MINOR.$BUILD.app";
$FILENAMEEXEDOLIWAMP="$PROJECT-$MAJOR.$MINOR.$BUILD";
if (-d "/usr/src/redhat") { $RPMDIR="/usr/src/redhat"; } # redhat
if (-d "/usr/src/RPM") { $RPMDIR="/usr/src/RPM"; } # mandrake
$FILENAMEEXEDOLIWAMP="DoliWamp-$MAJOR.$MINOR.$BUILD";
if (-d "/usr/src/redhat") { $RPMDIR="/usr/src/redhat"; } # redhat
if (-d "/usr/src/packages") { $RPMDIR="/usr/src/packages"; } # opensuse
if (-d "/usr/src/RPM") { $RPMDIR="/usr/src/RPM"; } # mandrake
use vars qw/ $REVISION $VERSION /;
$VERSION="3.2";
$VERSION="3.3";
@@ -102,7 +103,8 @@ for (0..@ARGV-1) {
$FILENAMESNAPSHOT.="-".$PREFIX;
}
}
if ($ENV{"DESTI"}) { $DESTI = $ENV{"DESTI"}; } # Force output dir if env DESTI is defined
if ($ENV{"DESTIBETARC"} && $BUILD =~ /[a-z]/i) { $DESTI = $ENV{"DESTIBETARC"}; } # Force output dir if env DESTI is defined
if ($ENV{"DESTISTABLE"} && $BUILD =~ /^[0-9]+$/) { $DESTI = $ENV{"DESTISTABLE"}; } # Force output dir if env DESTI is defined
print "Makepack version $VERSION\n";
@@ -165,7 +167,7 @@ $atleastonerpm=0;
foreach my $target (keys %CHOOSEDTARGET) {
if ($target =~ /RPM/i)
{
if ($atleastonerpm && ! $ENV{"DESTI"})
if ($atleastonerpm && ($DESTI eq "$SOURCE/build"))
{
print "Error: You asked creation of several rpms. Because all rpm have same name, you must defined an environment variable DESTI to tell packager where it can create subdirs for each generated package.\n";
exit;
@@ -314,16 +316,21 @@ if ($nboftargetok) {
$ret=`rm -f $BUILDROOT/$PROJECT/doc/images/dolibarr_screenshot11.png`;
$ret=`rm -f $BUILDROOT/$PROJECT/doc/images/dolibarr_screenshot12.png`;
$ret=`rm -fr $BUILDROOT/$PROJECT/documents`;
$ret=`rm -fr $BUILDROOT/$PROJECT/document`;
$ret=`rm -fr $BUILDROOT/$PROJECT/documents`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/document`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/documents`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/custom*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/multicompany*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/test`;
$ret=`rm -fr $BUILDROOT/$PROJECT/Thumbs.db $BUILDROOT/$PROJECT/*/Thumbs.db $BUILDROOT/$PROJECT/*/*/Thumbs.db $BUILDROOT/$PROJECT/*/*/*/Thumbs.db $BUILDROOT/$PROJECT/*/*/*/*/Thumbs.db`;
$ret=`rm -f $BUILDROOT/$PROJECT/.cvsignore $BUILDROOT/$PROJECT/*/.cvsignore $BUILDROOT/$PROJECT/*/*/.cvsignore $BUILDROOT/$PROJECT/*/*/*/.cvsignore $BUILDROOT/$PROJECT/*/*/*/*/.cvsignore $BUILDROOT/$PROJECT/*/*/*/*/*/.cvsignore $BUILDROOT/$PROJECT/*/*/*/*/*/*/.cvsignore`;
$ret=`rm -f $BUILDROOT/$PROJECT/.gitignore $BUILDROOT/$PROJECT/*/.gitignore $BUILDROOT/$PROJECT/*/*/.gitignore $BUILDROOT/$PROJECT/*/*/*/.gitignore $BUILDROOT/$PROJECT/*/*/*/*/.gitignore $BUILDROOT/$PROJECT/*/*/*/*/*/.gitignore $BUILDROOT/$PROJECT/*/*/*/*/*/*/.gitignore`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/geoip/sample*.*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/jquery/plugins/lightbox`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/jquery/plugins/jstree`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/jquery/plugins/jqueryFileTree/connectors/jqueryFileTree.pl`; # Avoid errors into rpmlint
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/jquery/plugins/template`; # Package not valid for most linux distributions (errors reported into compile.js). Package should be embed by modules to avoid problems.
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpmailer`; # Package not valid for most linux distributions (errors reported into file LICENSE). Package should be embed by modules to avoid problems.
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/nusoap/lib/Mail`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/license.txt`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/PHPExcel/Shared/PDF`;
@@ -332,6 +339,7 @@ if ($nboftargetok) {
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/freefont-20100919`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/utils`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/LICENSE.TXT`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/savant`;
}
# Build package for each target
@@ -412,7 +420,7 @@ if ($nboftargetok) {
print "Go to directory $BUILDROOT\n";
$olddir=getcwd();
chdir("$BUILDROOT");
$cmd= "7z a -r -tzip -xr\@\"$BUILDROOT\/$FILENAMEZIP\/build\/zip\/zip_exclude.txt\" -mx $BUILDROOT/$FILENAMEZIP.zip $FILENAMEZIP\\*";
$cmd= "7z a -r -tzip -xr\@\"$BUILDROOT\/$FILENAMEZIP\/build\/zip\/zip_exclude.txt\" -mx $BUILDROOT/$FILENAMEZIP.zip $FILENAMEZIP\/*";
print $cmd."\n";
$ret= `$cmd`;
chdir("$olddir");
@@ -450,6 +458,9 @@ if ($nboftargetok) {
$FILENAMETGZ2="$PROJECT-$MAJOR.$MINOR.$REL1";
#print "Create directory $RPMDIR\n";
#$ret=`mkdir -p "$RPMDIR"`;
print "Remove target ".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm...\n";
unlink("$NEWDESTI/".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm");
print "Remove target ".$FILENAMETGZ2."-".$RPMSUBVERSION.".src.rpm...\n";
@@ -503,7 +514,7 @@ if ($nboftargetok) {
print "Launch RPM build (rpmbuild --clean -ba $BUILDROOT/${BUILDFIC})\n";
#$ret=`rpmbuild -vvvv --clean -ba $BUILDROOT/${BUILDFIC}`;
$ret=`rpmbuild --clean -ba $BUILDROOT/${BUILDFIC}`;
# Move to final dir
print "Move $RPMDIR/RPMS/".$ARCH."/".$FILENAMETGZ2."-".$RPMSUBVERSION."*.".$ARCH.".rpm into $NEWDESTI/".$FILENAMETGZ2."-".$RPMSUBVERSION."*.".$ARCH.".rpm\n";
#$cmd="mv \"$RPMDIR/RPMS/".$ARCH."/".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm\" \"$NEWDESTI/".$FILENAMETGZ2."-".$RPMSUBVERSION.".".$ARCH.".rpm\"";
@@ -645,6 +656,8 @@ if ($nboftargetok) {
$ret=`chmod -R 644 $BUILDROOT/$PROJECT.tmp/dev/skeletons/skeleton_webservice_server.php`;
$cmd="find $BUILDROOT/$PROJECT.tmp/scripts -name '*.php' -type f -exec chmod 755 {} \\; ";
$ret=`$cmd`;
$cmd="find $BUILDROOT/$PROJECT.tmp/scripts -name '*.sh' -type f -exec chmod 755 {} \\; ";
$ret=`$cmd`;
print "Rename directory $BUILDROOT/$PROJECT.tmp into $BUILDROOT/$PROJECT-$MAJOR.$MINOR.$build\n";
@@ -763,8 +776,10 @@ if ($nboftargetok) {
print "Remove target $FILENAMEEXEDOLIWAMP.exe...\n";
unlink "$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe";
print "Compil exe $FILENAMEEXEDOLIWAMP.exe file from iss file \"$SOURCE\\build\\exe\\doliwamp\\doliwamp.iss\"\n";
$cmd= "iscc.exe \"$SOURCE\\build\\exe\\doliwamp\\doliwamp.iss\"";
$SOURCEBACK=$SOURCE;
$SOURCEBACK =~ s/\//\\/g;
print "Compil exe $FILENAMEEXEDOLIWAMP.exe file from iss file \"$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.iss\"\n";
$cmd= "ISCC.exe \"$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.iss\"";
print "$cmd\n";
$ret= `$cmd`;
#print "$ret\n";
@@ -772,6 +787,8 @@ if ($nboftargetok) {
# Move to final dir
print "Move \"$SOURCE\\build\\$FILENAMEEXEDOLIWAMP.exe\" to $NEWDESTI/$FILENAMEEXEDOLIWAMP.exe\n";
rename("$SOURCE/build/$FILENAMEEXEDOLIWAMP.exe","$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe");
print "Move $SOURCE/build/$FILENAMEEXEDOLIWAMP.exe to $NEWDESTI/$FILENAMEEXEDOLIWAMP.exe\n";
$ret=`mv "$SOURCE/build/$FILENAMEEXEDOLIWAMP.exe" "$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe"`;
next;
}
}

0
build/makepack-dolibarrlang.pl Normal file → Executable file
View File

13
build/makepack-dolibarrmodule.pl Normal file → Executable file
View File

@@ -77,15 +77,16 @@ for (0..@ARGV-1) {
}
$SOURCE="$DIR/..";
$DESTI="$SOURCE/build";
if ($ENV{"DESTI"}) { $DESTI = $ENV{"DESTI"}; } # Force output dir if env DESTI is defined
if ($ENV{"DESTIMODULES"}) { $DESTI = $ENV{"DESTIMODULES"}; } # Force output dir if env DESTIMODULES is defined
$NEWDESTI=$DESTI;
print "Makepack for modules version $VERSION\n";
print "Source directory: $SOURCE\n";
print "Target directory: $DESTI\n";
print "Target directory: $NEWDESTI\n";
# Ask and set version $MAJOR and $MINOR
# Ask and set version $MAJOR, $MINOR and $BUILD
print "Enter value for version: ";
$PROJVERSION=<STDIN>;
chomp($PROJVERSION);
@@ -139,8 +140,8 @@ foreach my $PROJECT (@PROJECTLIST) {
}
$FILENAME="$PROJECT";
$FILENAMETGZ="module_$PROJECT-$MAJOR.$MINOR";
$FILENAMEZIP="module_$PROJECT-$MAJOR.$MINOR";
$FILENAMETGZ="module_$PROJECT-$MAJOR.$MINOR".($BUILD ne ''?".$BUILD":"");
$FILENAMEZIP="module_$PROJECT-$MAJOR.$MINOR".($BUILD ne ''?".$BUILD":"");
if (-d "/usr/src/redhat") {
# redhat
$RPMDIR="/usr/src/redhat";
@@ -253,7 +254,7 @@ foreach my $PROJECT (@PROJECTLIST) {
print "Create version file $BUILDROOT/$PROJECT/build/version-".$PROJECT.".txt with date ".$fulldate."\n";
$ret=`mkdir -p "$BUILDROOT/$PROJECT/build"`;
print VF "Version: ".$MAJOR.".".$MINOR."\n";
print VF "Version: ".$MAJOR.".".$MINOR.($BUILD ne ''?".$BUILD":"")."\n";
print VF "Build : ".$fulldate."\n";
close VF;
}

0
build/makepack-dolibarrtheme.pl Normal file → Executable file
View File

View File

@@ -8,16 +8,14 @@ This files describe steps made by Dolibarr packaging team to make a
beta version of Dolibarr, step by step.
- Check all files are commited.
- Update version/info in / directory (README*.txt, ChangeLog...)
- Update version number with x.x.x in build/doxygen/dolibarr-doxygen.doxyfile
- Update version number with x.x.x in build/perl/virtualmin/dolibarr.pl
- Update version/info in /ChangeLog
- Update version number with x.x.x-y in htdocs/filefunc.inc.php
- Update version number with x.x.x-y in build/makepack-dolibarr.pl
- Update version number with x.x.x-y in build/debian/changelog
- Update version number with x.x.x-y in build/exe/doliwamp/doliwamp.iss
- Update version number with x.x.x-y in htdocs/filefunc.inc.php
- Update version number with x.x.x-y in htdocs/install/inc.php
- Update version number with x.x.x-y in htdocs/support/inc.php
- Update version number with x.x.x-y in htdocs/build/rpm/*.spec
- Update version number with x.x.x-y in build/rpm/*.spec
- Update version number with x.x.x in build/doxygen/dolibarr-doxygen.doxyfile
- Update version number with x.x.x in build/perl/virtualmin/dolibarr.pl
- Commit all changes.
- Add a Tag (DOLIBARR_x_y_BETA)
- Create a branch (DOLIBARR_x_y_BRANCH).
@@ -34,13 +32,12 @@ This files describe steps made by Dolibarr packaging team to make a
complete release of Dolibarr, step by step.
- Check all files are commited.
- Update version/info in / directory (README*.txt, ChangeLog...)
- Update version number with x.x.x-y in build/makepack-dolibarr.pl
- Update version number with x.x.x-y in build/exe/doliwamp/doliwamp.iss
- Update version number with x.x.x-y in htdocs/filefunc.inc.php
- Update version number with x.x.x-y in htdocs/install/inc.php
- Update version number with x.x.x-y in htdocs/support/inc.php
- Update version number with x.x.x-y in htdocs/build/rpm/*.spec
- Update version/info in ChangeLog
- Update version number with x.x.x in htdocs/filefunc.inc.php
- Update version number with x.x.x in build/makepack-dolibarr.pl
- Update version number with x.x.x in build/debian/changelog
- Update version number with x.x.x in build/exe/doliwamp/doliwamp.iss
- Update version number with x.x.x in build/rpm/*.spec
- Update PAD files.
- Commit all changes.
- Add a Tag (DOLIBARR_x_y)

35
build/obs/README Normal file
View File

@@ -0,0 +1,35 @@
README (English)
##################################################
OBS Package tools
##################################################
This directory contains files to explain how to publish
a package onto OBS
# Create a project onto OBS
#----------------------------------
https://build.opensuse.org
Add attributes:
OBS:Screenshots URL of screenshot
OBS:QualityCategory Development|Testing|Stable|Private
OBS:Maintained 1
To submit a snapshot for building, we should have a service file with content
<services>
<service name="download_src_package">
<param name="host">www.dolibarr.org</param>
<param name="protocol">http</param>
<param name="path">/files/stable/package_rpm_generic/dolibarr-3.3.2-3.src.rpm</param>
</service>
</services>
How to have such a service ?
Try to make "Add file" and select Remote URL and enter http://www.dolibarr.org/files/stable/package_rpm_generic/dolibarr-3.3.2-3.src.rpm
Then add into advanded - attributes
OBS:Screenshots http://www.dolibarr.org/images/phocagallery/dolibarr_screenshot1.png
OBS:QualityCategory Testing

View File

@@ -4,10 +4,10 @@
<CompanyName />
<Program_Info>
<Program_Name>DoliWamp</Program_Name>
<Program_Version>3.1.0</Program_Version>
<Program_Release_Month>07</Program_Release_Month>
<Program_Release_Day>09</Program_Release_Day>
<Program_Release_Year>2011</Program_Release_Year>
<Program_Version>3.3.0</Program_Version>
<Program_Release_Month>08</Program_Release_Month>
<Program_Release_Day>10</Program_Release_Day>
<Program_Release_Year>2012</Program_Release_Year>
<Program_Cost_Dollars />
<Program_Cost_Other_Code />
<Program_Cost_Other />

View File

@@ -4,10 +4,10 @@
<CompanyName />
<Program_Info>
<Program_Name>Dolibarr</Program_Name>
<Program_Version>3.1..0</Program_Version>
<Program_Release_Month>07</Program_Release_Month>
<Program_Release_Day>09</Program_Release_Day>
<Program_Release_Year>2011</Program_Release_Year>
<Program_Version>3.3.0</Program_Version>
<Program_Release_Month>08</Program_Release_Month>
<Program_Release_Day>10</Program_Release_Day>
<Program_Release_Year>2012</Program_Release_Year>
<Program_Cost_Dollars />
<Program_Cost_Other_Code />
<Program_Cost_Other />

View File

@@ -34,10 +34,10 @@
</Company_Info>
<Program_Info>
<Program_Name>Dolibarr</Program_Name>
<Program_Version>3.1.0</Program_Version>
<Program_Release_Month>07</Program_Release_Month>
<Program_Release_Day>09</Program_Release_Day>
<Program_Release_Year>2011</Program_Release_Year>
<Program_Version>3.3.2</Program_Version>
<Program_Release_Month>05</Program_Release_Month>
<Program_Release_Day>17</Program_Release_Day>
<Program_Release_Year>2013</Program_Release_Year>
<Program_Cost_Dollars />
<Program_Cost_Other_Code />
<Program_Cost_Other />
@@ -70,7 +70,7 @@
<Keywords>dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management, sme, doliwamp</Keywords>
<Char_Desc_45>Dolibarr ERP &amp; CRM</Char_Desc_45>
<Char_Desc_80>Dolibarr ERP &amp; CRM, the easy to use open source software to manage your activity</Char_Desc_80>
<Char_Desc_250>Dolibarr ERP &amp; CRM, the easy to use open source software to manage your activity (invoices, customers, suppliers, contracts, agenda, emailings...) and any other things a small or mid-sized business or a foundation needs to follow.</Char_Desc_250>
<Char_Desc_250>Dolibarr ERP &amp; CRM, the easy to use open source software to manage your activity (invoices, customers, suppliers, contracts, agenda, emailings...) and any other things a small or mid-sized business or a foundation needs to manage.</Char_Desc_250>
<Char_Desc_450>Dolibarr ERP &amp; CRM is a software built by modules addition (you enable only features you need), to manage small or medium companies, freelancers or foundations. We can say Dolibarr is an ERP or CRM. Dolibarr is also available with an auto-installer for Windows users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. See DoliWamp software for this.</Char_Desc_450>
<Char_Desc_2000>Dolibarr ERP &amp; CRM is a software built by modules addition (you enable only features you need), to manage small or mid-sized businesses, freelancers or foundations. We can say Dolibarr is an ERP or CRM (or both depending on activated modules). It's an OpenSource project base on a WAMP, MAMP or LAMP server (Apache, Mysql, PHP for all Operating Systems). Dolibarr differs from other ERP or CRM softwares (like OpenAguila, OpenBravo, OpenERP, Neogia, Compiere, etc) because everything was made to be more simple:
@@ -83,8 +83,8 @@ Note that Dolibarr is also available with an auto-installer for Windows or Ubunt
Note that Dolibarr is also available with an auto-installer for Windows or Ubuntu users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. This version is called DoliWamp (for Windows) or DoliBuntu (for Ubuntu/Debian).</Char_Desc_2000>
</English>
<French>
<Keywords>dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management, sme, doliwamp</Keywords>
<Char_Desc_45>Dolibarr ERP &amp; CRM</Char_Desc_45>
<Keywords>dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management, sme, doliwamp</Keywords>
<Char_Desc_45>Dolibarr ERP &amp; CRM</Char_Desc_45>
<Char_Desc_80>Dolibarr ERP &amp; CRM, le gestionnaire simple pour gérer votre activité</Char_Desc_80>
<Char_Desc_250>Dolibarr ERP &amp; CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_250>
<Char_Desc_450>Dolibarr ERP &amp; CRM est un logiciel modulaire (on n'active que les fonctions que l'on désire) de gestions de TPE/PME, d'indépendants, d'entrepreneurs ou d'associations. En terme plus techniques, c'est un ERP et CRM. C'est un projet OpenSource qui s'exécute au sein d'un serveur Web et peut donc être accessible depuis n'importe quel lieu disposant d'une connexion Internet (Projet basé sur un serveur WAMP, MAMP ou LAMP: Apache, MySQL, PHP).</Char_Desc_450>

View File

@@ -34,10 +34,10 @@
</Company_Info>
<Program_Info>
<Program_Name>DoliWamp</Program_Name>
<Program_Version>3.1.0</Program_Version>
<Program_Release_Month>07</Program_Release_Month>
<Program_Release_Day>09</Program_Release_Day>
<Program_Release_Year>2011</Program_Release_Year>
<Program_Version>3.3.2</Program_Version>
<Program_Release_Month>05</Program_Release_Month>
<Program_Release_Day>17</Program_Release_Day>
<Program_Release_Year>2013</Program_Release_Year>
<Program_Cost_Dollars />
<Program_Cost_Other_Code />
<Program_Cost_Other />
@@ -94,8 +94,8 @@ DoliWamp is the auto-installer for Windows users with no technical knowledge to
</Italian>
</Program_Descriptions>
<Web_Info>
<Application_URLs>
<Application_Info_URL>http://www.nltechno.com/pages/dolibarrwinbin.php</Application_Info_URL>
<Application_URLs>
<Application_Info_URL>http://www.nltechno.com/doliwamp/</Application_Info_URL>
<Application_Order_URL>http://www.nltechno.com/doliwamp/</Application_Order_URL>
<Application_Screenshot_URL>http://www.dolibarr.org/images/dolibarr_screenshot1.png</Application_Screenshot_URL>
<Application_Icon_URL>http://www.dolibarr.org/images/dolibarr.gif</Application_Icon_URL>

View File

@@ -1,7 +1,7 @@
#----------------------------------------------------------------------------
# \file dolibarr.pl
# \brief Dolibarr script install for Virtualmin Pro
# \author (c)2009-2012 Regis Houssin <regis@dolibarr.fr>
# \author (c)2009-2012 Regis Houssin <regis.houssin@capnetworks.com>
#----------------------------------------------------------------------------
@@ -30,7 +30,7 @@ return "Regis Houssin";
# script_dolibarr_versions()
sub script_dolibarr_versions
{
return ( "3.3.0", "3.2.0", "3.1.0", "3.0.1", "2.9.0" );
return ( "3.3.3", "3.3.2", "3.3.1", "3.3.0", "3.2.1", "3.1.1" );
}
sub script_dolibarr_category
@@ -43,13 +43,6 @@ sub script_dolibarr_php_vers
return ( 5 );
}
sub script_dolibarr_php_vars
{
return ( [ 'memory_limit', '64M', '+' ],
[ 'upload_max_filesize', '10M', '+' ],
[ 'max_execution_time', '60', '+' ] );
}
sub script_dolibarr_php_modules
{
local ($d, $ver, $phpver, $opts) = @_;
@@ -348,21 +341,34 @@ if ($opts->{'newdb'}) {
return (1, "Dolibarr directory and tables deleted.");
}
# script_dolibarr_latest(version)
# Returns a URL and regular expression or callback func to get the version
sub script_dolibarr_latest
# script_dolibarr_realversion(&domain, &opts)
# Returns the real version number of some script install, or undef if unknown
sub script_dolibarr_realversion
{
local ($d, $opts, $sinfo) = @_;
local $lref = &read_file_lines("$opts->{'dir'}/filefunc.inc.php", 1);
foreach my $l (@$lref) {
if ($l =~ /'DOL_VERSION','([0-9a-z\.\-]+)'/) {
return $1;
}
}
return undef;
}
# script_dolibarr_check_latest(version)
# Checks if some version is the latest for this project, and if not returns
# a newer one. Otherwise returns undef.
sub script_dolibarr_check_latest
{
local ($ver) = @_;
if ($ver >= 3.0) {
return ( "http://sourceforge.net/projects/dolibarr/files/".
"Dolibarr%20ERP-CRM",
"(3\\.[0-9\\.]+)" );
}
elsif ($ver >= 2.9) {
return ( "http://www.dolibarr.fr/files/stable/",
"dolibarr\\-(2\\.[0-9\\.]+)" );
}
return ( );
local @vers = &osdn_package_versions("dolibarr",
$ver >= 3.2 ? "dolibarr\\-(3\\.[0-9\\.]+)\\.tgz" :
$ver >= 3.1 ? "dolibarr\\-(3\\.1\\.[0-9\\.]+)\\.tgz" :
$ver >= 3 ? "dolibarr\\-(3\\.0\\.[0-9\\.]+)\\.tgz" :
$ver >= 2.9 ? "dolibarr\\-(2\\.9\\.[0-9\\.]+)\\.tgz" :
"dolibarr\\-(2\\.8\\.[0-9\\.]+)\\.tgz");
return "Failed to find versions" if (!@vers);
return $ver eq $vers[0] ? undef : $vers[0];
}
sub script_dolibarr_site
@@ -376,4 +382,3 @@ return 2;
}
1;

View File

@@ -11,7 +11,8 @@ with format RPM (for Redhat, OpenSuse, Mandriva, ...).
# This is standard command to work on RPM packaging:
#
# To install all packagers tools:
# yum -y install rpmlint fedora-packager mock koji hunspell-en hunspell-es hunspell-fr hunspell-it
# Fedora: yum -y install rpmlint fedora-packager mock koji hunspell-en hunspell-es hunspell-fr hunspell-it
# OpenSuse: yast --install update-desktop-files
#
# rpmlint file.rpm Test a package
# mock -r fedora-15-i386 --rebuild ../SRPMS/hello-2.7-1.fc15.src.rpm

View File

@@ -1,7 +1,7 @@
diff -up htdocs/filefunc.inc.php.patch htdocs/filefunc.inc.php
--- htdocs/filefunc.inc.php.patch 2011-09-03 02:32:48.666952000 +0200
+++ htdocs/filefunc.inc.php 2011-09-03 02:33:00.510952001 +0200
@@ -64,8 +64,8 @@
@@ -63,8 +63,8 @@
$conffile = "conf/conf.php";
$conffiletoshow = "htdocs/conf/conf.php";
// For debian/redhat like systems
@@ -15,7 +15,7 @@ diff -up htdocs/filefunc.inc.php.patch htdocs/filefunc.inc.php
diff -up htdocs/install/inc.php.patch htdocs/install/inc.php
--- htdocs/install/inc.php.patch 2011-09-03 02:33:26.450952000 +0200
+++ htdocs/install/inc.php 2011-09-03 02:33:36.286952001 +0200
@@ -84,8 +84,8 @@
@@ -71,8 +71,8 @@
$conffile = "../conf/conf.php";
$conffiletoshow = "htdocs/conf/conf.php";
// For debian/redhat like systems
@@ -29,7 +29,7 @@ diff -up htdocs/install/inc.php.patch htdocs/install/inc.php
diff -up htdocs/support/inc.php.patch htdocs/support/inc.php
--- htdocs/support/inc.php.patch 2011-09-03 02:34:39.606952000 +0200
+++ htdocs/support/inc.php 2011-09-03 02:33:59.814952000 +0200
@@ -79,8 +79,8 @@
@@ -69,8 +69,8 @@
$conffile = "../conf/conf.php";
$conffiletoshow = "htdocs/conf/conf.php";
// For debian/redhat like systems
@@ -38,5 +38,5 @@ diff -up htdocs/support/inc.php.patch htdocs/support/inc.php
+$conffile = "/etc/dolibarr/conf.php";
+$conffiletoshow = "/etc/dolibarr/conf.php";
$charset="UTF-8"; // If not output format found in any conf file
if (! defined('DONOTLOADCONF') && file_exists($conffile))

View File

@@ -21,7 +21,7 @@ Exec=xdg-open http://localhost/dolibarr
Icon=dolibarr
Terminal=false
Type=Application
Categories=Office;
Categories=Office;Finance;
StartupNotify=true
InitialPreference=5
#NoDisplay=true

View File

@@ -14,7 +14,7 @@ Summary(es): Software ERP y CRM para pequeñas y medianas empresas, asociaciones
Summary(fr): Logiciel ERP & CRM de gestion de PME/PMI, auto-entrepreneurs ou associations
Summary(it): Programmo gestionale per piccole imprese, fondazioni e liberi professionisti
License: GPLv2+
License: GPL-3.0+
#Packager: Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
Vendor: Dolibarr dev team
@@ -108,17 +108,20 @@ cui hai bisogno ed essere facile da usare.
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/fonts
# Lang
echo "%defattr(0644, root, root, 0755)" > %{name}.lang
echo "%dir %{_datadir}/%{name}/htdocs/langs" >> %{name}.lang
for i in $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/langs/*_*
do
lang=$(basename $i)
lang1=`expr substr $lang 1 2`;
lang2=`expr substr $lang 4 2 | tr "[:upper:]" "[:lower:]"`;
echo "%dir %{_datadir}/%{name}/htdocs/langs/${lang}" >> %{name}.lang
if [ "$lang1" = "$lang2" ] ; then
echo "%lang(${lang1}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
else
echo "%lang(${lang}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
fi
done >%{name}.lang
done >>%{name}.lang
#---- clean
@@ -131,6 +134,9 @@ done >%{name}.lang
%files -f %{name}.lang
%defattr(0755, root, root, 0755)
%dir %_datadir/dolibarr
%dir %_datadir/dolibarr/scripts
%_datadir/dolibarr/scripts/*
@@ -140,6 +146,8 @@ done >%{name}.lang
%_datadir/pixmaps/dolibarr.png
%_datadir/applications/dolibarr.desktop
%dir %_datadir/dolibarr/build
%dir %_datadir/dolibarr/build/rpm
%_datadir/dolibarr/build/rpm/*
@@ -170,11 +178,14 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/fichinter
%_datadir/dolibarr/htdocs/fourn
%_datadir/dolibarr/htdocs/ftp
%_datadir/dolibarr/htdocs/holiday
%_datadir/dolibarr/htdocs/imports
%_datadir/dolibarr/htdocs/includes
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/product
@@ -190,7 +201,9 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/*.php
%_datadir/dolibarr/htdocs/*.txt
%defattr(0664, -, -)
%dir %{_sysconfdir}/dolibarr
%defattr(0664, root, apache)
%config(noreplace) %{_sysconfdir}/dolibarr/conf.php
%config(noreplace) %{_sysconfdir}/dolibarr/apache.conf
%config(noreplace) %{_sysconfdir}/dolibarr/install.forced.php
@@ -201,6 +214,8 @@ done >%{name}.lang
#---- post (after unzip during install)
%post
echo Run post script of packager dolibarr_fedora.spec
# Define vars
export docdir="/var/lib/dolibarr/documents"
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
@@ -217,7 +232,27 @@ echo Create document directory $docdir
# Set correct owner on config files
%{__chown} -R root:$apachegroup /etc/dolibarr/*
# Create config for se $seconfig
# If a conf already exists and its content was already completed by installer
export config=%{_sysconfdir}/dolibarr/conf.php
if [ -s $config ] && grep -q "File generated by" $config
then
# File already exist. We add params not found.
echo Add new params to overwrite path to use shared libraries/fonts
grep -q -c "dolibarr_lib_ADODB_PATH" $config || [ ! -d "/usr/share/php/adodb" ] || echo "<?php \$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; ?>" >> $config
grep -q -c "dolibarr_lib_FPDI_PATH" $config || [ ! -d "/usr/share/php/fpdi" ] || echo "<?php \$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; ?>" >> $config
#grep -q -c "dolibarr_lib_GEOIP_PATH" $config || echo "<?php \$dolibarr_lib_GEOIP_PATH=''; ?>" >> $config
grep -q -c "dolibarr_lib_NUSOAP_PATH" $config || [ ! -d "/usr/share/php/nusoap" ] || echo "<?php \$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; ?>" >> $config
grep -q -c "dolibarr_lib_ODTPHP_PATHTOPCLZIP" $config || [ ! -d "/usr/share/php/libphp-pclzip" ] || echo "<?php \$dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip'; ?>" >> $config
#grep -q -c "dolibarr_lib_PHPEXCEL_PATH" $config || echo "<?php \$dolibarr_lib_PHPEXCEL_PATH=''; ?>" >> $config
#grep -q -c "dolibarr_lib_TCPDF_PATH" $config || echo "<?php \$dolibarr_lib_TCPDF_PATH=''; ?>" >> $config
grep -q -c "dolibarr_js_CKEDITOR" $config || [ ! -d "/usr/share/javascript/ckeditor" ] || echo "<?php \$dolibarr_js_CKEDITOR='/javascript/ckeditor'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY" $config || [ ! -d "/usr/share/javascript/jquery" ] || echo "<?php \$dolibarr_js_JQUERY='/javascript/jquery'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_UI" $config || [ ! -d "/usr/share/javascript/jquery-ui" ] || echo "<?php \$dolibarr_js_JQUERY_UI='/javascript/jquery-ui'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_FLOT" $config || [ ! -d "/usr/share/javascript/flot" ] || echo "<?php \$dolibarr_js_JQUERY_FLOT='/javascript/flot'; ?>" >> $config
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf'; ?>" >> $config
fi
# Create config for SE Linux
echo Add SE Linux permissions for dolibarr
# semanage add records into /etc/selinux/targeted/contexts/files/file_contexts.local
semanage fcontext -a -t httpd_sys_script_rw_t "/etc/dolibarr(/.*?)"
@@ -227,8 +262,13 @@ restorecon -R -v /var/lib/dolibarr
# Create a config link dolibarr.conf
if [ ! -L $apachelink ]; then
echo Create dolibarr web server config link $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
apachelinkdir=`dirname $apachelink`
if [ -d $apachelinkdir ]; then
echo Create dolibarr web server config link from %{_sysconfdir}/dolibarr/apache.conf to $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
else
echo Do not create link $apachelink - web server conf dir $apachelinkdir not found. web server package may not be installed
fi
fi
echo Set permission to $apacheuser:$apachegroup on /var/lib/dolibarr
@@ -262,35 +302,38 @@ echo "-------------------------------------------------------"
echo
#---- postun (after uninstall)
#---- postun (after upgrade or uninstall)
%postun
# Define vars
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
# Remove apache link
if [ -L $apachelink ] ;
if [ "x$1" = "x0" ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
fi
# Remove
echo "Removed package"
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
if [ -f %{_sysconfdir}/init.d/httpd ]; then
%{_sysconfdir}/init.d/httpd restart
fi
if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
# Define vars
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
# Remove apache link
if [ -L $apachelink ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
fi
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
/sbin/service httpd restart
fi
else
# Upgrade
echo "No remove ation done (this is an upgrade)"
fi
%changelog
* Wed Mar 4 2012 Laurent Destailleur 3.3.0-0.1.a
* Mon Apr 22 2013 Laurent Destailleur 3.3.3-0.3
- Initial version (#723326)

View File

@@ -8,26 +8,63 @@
Name: dolibarr
Version: __VERSION__
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
Release: __RELEASE__%{?dist}
%else
Release: __RELEASE__
%endif
Summary: ERP and CRM software for small and medium companies or foundations
Summary(es): Software ERP y CRM para pequeñas y medianas empresas, asociaciones o autónomos
Summary(fr): Logiciel ERP & CRM de gestion de PME/PMI, auto-entrepreneurs ou associations
Summary(it): Programmo gestionale per piccole imprese, fondazioni e liberi professionisti
License: GPLv2+
License: GPL-3.0+
#Packager: Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
Vendor: Dolibarr dev team
URL: http://www.dolibarr.org
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
Source0: http://www.dolibarr.org/files/lastbuild/package_rpm_redhat-fedora/%{name}-%{version}.tgz
%else
%if 0%{?mdkversion}
Source0: http://www.dolibarr.org/files/lastbuild/package_rpm_mandriva/%{name}-%{version}.tgz
%else
%if 0%{?suse_version}
Source0: http://www.dolibarr.org/files/lastbuild/package_rpm_opensuse/%{name}-%{version}.tgz
%else
Source0: http://www.dolibarr.org/files/lastbuild/package_rpm_generic/%{name}-%{version}.tgz
%endif
%endif
%endif
Patch0: %{name}-forrpm.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
Group: Applications/Productivity
Requires: httpd, php >= 5.3.0, php-cli, php-gd, php-ldap, php-imap, php-mysql, php-adodb, php-nusoap, dejavu-sans-fonts
Requires: mysql-server, mysql
BuildRequires: desktop-file-utils
%else
%if 0%{?mdkversion}
Group: Applications/Productivity
Requires: apache-base, apache-mod_php, php-cgi, php-cli, php-bz2, php-gd, php-ldap, php-imap, php-mysqli, php-openssl, fonts-ttf-dejavu
Requires: mysql, mysql-client
%else
%if 0%{?suse_version}
# Voir http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros
Group: Productivity/Office/Management
Requires: apache2, apache2-mod_php5, php5 >= 5.3.0, php5-gd, php5-ldap, php5-imap, php5-mysql, php5-openssl, dejavu
Requires: mysql-community-server, mysql-community-server-client
BuildRequires: update-desktop-files fdupes
%else
Group: Applications/Productivity
Requires: httpd, php >= 5.3.0, php-cli, php-gd, php-ldap, php-imap
Requires: mysql-server, mysql
Requires: php-mysql >= 4.1.0
%endif
%endif
%endif
# Set yes to build test package, no for release (this disable need of /usr/bin/php not found by OpenSuse)
AutoReqProv: no
@@ -48,7 +85,7 @@ de Recursos Empresariales (ERP) y Gestión de la Relación con los
Clientes (CRM) así como para para otras diferentes actividades.
Dolibarr ha sido diseñado para suministrarle solamente las funcionalidades
que necesita y haciendo hincapié en su facilidad de uso.
%description -l fr
Logiciel ERP & CRM de gestion de PME/PMI, autoentrepreneurs,
artisans ou associations. Il permet de gérer vos clients, prospect,
@@ -80,19 +117,42 @@ cui hai bisogno ed essere facile da usare.
#---- install
%install
%{__rm} -rf $RPM_BUILD_ROOT
%if 0%{?sles_version}
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir} $RPM_BUILD_ROOT
%{__mkdir} $RPM_BUILD_ROOT%{_sysconfdir}
%{__mkdir} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
%else
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
%endif
%{__install} -m 644 build/rpm/conf.php $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/conf.php
%{__install} -m 644 build/rpm/httpd-dolibarr.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/apache.conf
%{__install} -m 644 build/rpm/file_contexts.dolibarr $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/file_contexts.dolibarr
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
%{__install} -m 644 build/rpm/install.forced.php.fedora $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/install.forced.php
%else
%if 0%{?mdkversion}
%{__install} -m 644 build/rpm/install.forced.php.mandriva $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/install.forced.php
%else
%if 0%{?suse_version}
%{__install} -m 644 build/rpm/install.forced.php.opensuse $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/install.forced.php
%else
%{__install} -m 644 build/rpm/install.forced.php.generic $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/install.forced.php
%endif
%endif
%endif
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
%{__install} -m 644 doc/images/dolibarr_48x48.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/applications
#desktop-file-install --delete-original --dir=$RPM_BUILD_ROOT%{_datadir}/applications build/rpm/%{name}.desktop
%{__install} -m 644 build/rpm/dolibarr.desktop $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion} || 0%{?suse_version}
#Commented as it fails with error: /usr/bin/install: cannot stat build/rpm/dolibarr.desktop: No such file or directory
#desktop-file-install --delete-original --dir=$RPM_BUILD_ROOT%{_datadir}/applications build/rpm/%{name}.desktop --vendor=""
%endif
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/%{name}/build/rpm
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/%{name}/build/tgz
@@ -102,19 +162,42 @@ cui hai bisogno ed essere facile da usare.
%{__cp} -pr build/tgz/* $RPM_BUILD_ROOT%{_datadir}/%{name}/build/tgz
%{__cp} -pr htdocs $RPM_BUILD_ROOT%{_datadir}/%{name}
%{__cp} -pr scripts $RPM_BUILD_ROOT%{_datadir}/%{name}
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/adodbtime
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/nusoap
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/fonts
%else
%if 0%{?mdkversion}
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/fonts
%else
%if 0%{?suse_version}
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/fonts
%endif
%endif
%endif
# Lang
echo "%defattr(0644, root, root, 0755)" > %{name}.lang
echo "%dir %{_datadir}/%{name}/htdocs/langs" >> %{name}.lang
for i in $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/langs/*_*
do
lang=$(basename $i)
lang1=`expr substr $lang 1 2`;
lang2=`expr substr $lang 4 2 | tr "[:upper:]" "[:lower:]"`;
echo "%dir %{_datadir}/%{name}/htdocs/langs/${lang}" >> %{name}.lang
if [ "$lang1" = "$lang2" ] ; then
echo "%lang(${lang1}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
else
echo "%lang(${lang}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
fi
done >%{name}.lang
done >>%{name}.lang
%if 0%{?suse_version} || 0%{?sles_version}
# Enable this command to tag desktop file for suse
%suse_update_desktop_file dolibarr Office Finance
# Enable this command to allow suse detection of duplicate files and create hardlinks instead
%fdupes $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
%endif
#---- clean
@@ -127,6 +210,9 @@ done >%{name}.lang
%files -f %{name}.lang
%defattr(0755, root, root, 0755)
%dir %_datadir/dolibarr
%dir %_datadir/dolibarr/scripts
%_datadir/dolibarr/scripts/*
@@ -136,6 +222,8 @@ done >%{name}.lang
%_datadir/pixmaps/dolibarr.png
%_datadir/applications/dolibarr.desktop
%dir %_datadir/dolibarr/build
%dir %_datadir/dolibarr/build/rpm
%_datadir/dolibarr/build/rpm/*
@@ -166,11 +254,14 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/fichinter
%_datadir/dolibarr/htdocs/fourn
%_datadir/dolibarr/htdocs/ftp
%_datadir/dolibarr/htdocs/holiday
%_datadir/dolibarr/htdocs/imports
%_datadir/dolibarr/htdocs/includes
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/product
@@ -186,7 +277,17 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/*.php
%_datadir/dolibarr/htdocs/*.txt
%defattr(0664, -, -)
%dir %{_sysconfdir}/dolibarr
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion}
%defattr(0664, root, apache)
%else
%if 0%{?suse_version}
%defattr(0664, root, www)
%else
%defattr(0664, root, -)
%endif
%endif
%config(noreplace) %{_sysconfdir}/dolibarr/conf.php
%config(noreplace) %{_sysconfdir}/dolibarr/apache.conf
%config(noreplace) %{_sysconfdir}/dolibarr/install.forced.php
@@ -197,8 +298,20 @@ done >%{name}.lang
#---- post (after unzip during install)
%post
echo Run post script of packager dolibarr_generic.spec
# Define vars
export docdir="/var/lib/dolibarr/documents"
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion}
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
export apacheuser='apache';
export apachegroup='apache';
%else
%if 0%{?suse_version}
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
export apacheuser='wwwrun';
export apachegroup='www';
%else
export installconfig="%{_sysconfdir}/dolibarr/install.forced.php"
# Detect OS
@@ -228,6 +341,8 @@ if [ -d %{_sysconfdir}/apache2/conf.d -a `grep ^www-data /etc/passwd | wc -l` -g
export apachegroup='www-data';
fi
echo OS detected: $os
%endif
%endif
# Remove dolibarr install/upgrade lock file if it exists
%{__rm} -f $docdir/install.lock
@@ -236,6 +351,9 @@ echo OS detected: $os
echo Create document directory $docdir
%{__mkdir} -p $docdir
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
%else
# Create install.forced.php into Dolibarr install directory
if [ "x$os" = "xubuntu-debian" ]
then
@@ -250,24 +368,71 @@ then
%{__cat} /usr/share/dolibarr/build/rpm/install.forced.php.generic | sed -e 's/__SUPERUSERLOGIN__/'$superuserlogin'/g' | sed -e 's/__SUPERUSERPASSWORD__/'$superuserpassword'/g' > $installconfig
%{__chmod} -R 660 $installconfig
fi
%endif
# Set correct owner on config files
%{__chown} -R root:$apachegroup /etc/dolibarr/*
# Create config for se $seconfig
# If a conf already exists and its content was already completed by installer
export config=%{_sysconfdir}/dolibarr/conf.php
if [ -s $config ] && grep -q "File generated by" $config
then
# File already exist. We add params not found.
echo Add new params to overwrite path to use shared libraries/fonts
grep -q -c "dolibarr_lib_ADODB_PATH" $config || [ ! -d "/usr/share/php/adodb" ] || echo "<?php \$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; ?>" >> $config
grep -q -c "dolibarr_lib_FPDI_PATH" $config || [ ! -d "/usr/share/php/fpdi" ] || echo "<?php \$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; ?>" >> $config
#grep -q -c "dolibarr_lib_GEOIP_PATH" $config || echo "<?php \$dolibarr_lib_GEOIP_PATH=''; ?>" >> $config
grep -q -c "dolibarr_lib_NUSOAP_PATH" $config || [ ! -d "/usr/share/php/nusoap" ] || echo "<?php \$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; ?>" >> $config
grep -q -c "dolibarr_lib_ODTPHP_PATHTOPCLZIP" $config || [ ! -d "/usr/share/php/libphp-pclzip" ] || echo "<?php \$dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip'; ?>" >> $config
#grep -q -c "dolibarr_lib_PHPEXCEL_PATH" $config || echo "<?php \$dolibarr_lib_PHPEXCEL_PATH=''; ?>" >> $config
#grep -q -c "dolibarr_lib_TCPDF_PATH" $config || echo "<?php \$dolibarr_lib_TCPDF_PATH=''; ?>" >> $config
grep -q -c "dolibarr_js_CKEDITOR" $config || [ ! -d "/usr/share/javascript/ckeditor" ] || echo "<?php \$dolibarr_js_CKEDITOR='/javascript/ckeditor'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY" $config || [ ! -d "/usr/share/javascript/jquery" ] || echo "<?php \$dolibarr_js_JQUERY='/javascript/jquery'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_UI" $config || [ ! -d "/usr/share/javascript/jquery-ui" ] || echo "<?php \$dolibarr_js_JQUERY_UI='/javascript/jquery-ui'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_FLOT" $config || [ ! -d "/usr/share/javascript/flot" ] || echo "<?php \$dolibarr_js_JQUERY_FLOT='/javascript/flot'; ?>" >> $config
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf'; ?>" >> $config
%else
%if 0%{?mdkversion}
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/TTF/dejavu/DejaVuSans-Bold.ttf'; ?>" >> $config
%else
%if 0%{?suse_version}
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype/DejaVuSans-Bold.ttf'; ?>" >> $config
%else
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf'; ?>" >> $config
%endif
%endif
%endif
fi
# Create config for SE Linux
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion} || 0%{?suse_version}
%else
if [ "x$os" = "xfedora-redhat" -a -s /sbin/restorecon ]; then
%endif
%if 0%{?mdkversion} || 0%{?suse_version}
%else
echo Add SE Linux permissions for dolibarr
# semanage add records into /etc/selinux/targeted/contexts/files/file_contexts.local
semanage fcontext -a -t httpd_sys_script_rw_t "/etc/dolibarr(/.*?)"
semanage fcontext -a -t httpd_sys_script_rw_t "/var/lib/dolibarr(/.*?)"
restorecon -R -v /etc/dolibarr
restorecon -R -v /var/lib/dolibarr
%endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion} || 0%{?suse_version}
%else
fi
%endif
# Create a config link dolibarr.conf
if [ ! -L $apachelink ]; then
echo Create dolibarr web server config link $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
apachelinkdir=`dirname $apachelink`
if [ -d $apachelinkdir ]; then
echo Create dolibarr web server config link from %{_sysconfdir}/dolibarr/apache.conf to $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
else
echo Do not create link $apachelink - web server conf dir $apachelinkdir not found. web server package may not be installed
fi
fi
echo Set permission to $apacheuser:$apachegroup on /var/lib/dolibarr
@@ -283,11 +448,22 @@ if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
# Restart mysql
echo Restart mysql
# Restart mysql server
echo Restart mysql server
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion}
/sbin/service mysqld restart
%else
%if 0%{?suse_version}
/sbin/service mysql restart
%else
if [ -f /etc/init.d/mysqld ]; then
/etc/init.d/mysqld restart
fi
if [ -f /etc/init.d/mysql ]; then
/etc/init.d/mysql restart
fi
%endif
%endif
# Show result
echo
@@ -302,51 +478,71 @@ echo
#---- postun (after uninstall)
#---- postun (after upgrade or uninstall)
%postun
# Detect OS
os='unknown';
if [ -d %{_sysconfdir}/httpd/conf.d ]; then
export os='fedora-redhat';
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
fi
if [ -d %{_sysconfdir}/apache2/conf.d -a `grep ^wwwrun /etc/passwd | wc -l` -ge 1 ]; then
export os='opensuse';
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
fi
if [ -d %{_sysconfdir}/httpd/conf.d -a `grep -i "^mageia\|mandriva" /etc/issue | wc -l` -ge 1 ]; then
export os='mageia-mandriva';
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
fi
if [ -d %{_sysconfdir}/apache2/conf.d -a `grep ^www-data /etc/passwd | wc -l` -ge 1 ]; then
export os='ubuntu-debian';
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
fi
# Remove apache link
if [ -L $apachelink ] ;
if [ "x$1" = "x0" ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
fi
# Remove
echo "Removed package"
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
if [ -f %{_sysconfdir}/init.d/httpd ]; then
%{_sysconfdir}/init.d/httpd restart
fi
if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
# Define vars
os='unknown';
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion}
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
%else
%if 0%{?suse_version}
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
%else
if [ -d %{_sysconfdir}/httpd/conf.d ]; then
export os='fedora-redhat';
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
fi
if [ -d %{_sysconfdir}/apache2/conf.d -a `grep ^wwwrun /etc/passwd | wc -l` -ge 1 ]; then
export os='opensuse';
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
fi
if [ -d %{_sysconfdir}/httpd/conf.d -a `grep -i "^mageia\|mandriva" /etc/issue | wc -l` -ge 1 ]; then
export os='mageia-mandriva';
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
fi
if [ -d %{_sysconfdir}/apache2/conf.d -a `grep ^www-data /etc/passwd | wc -l` -ge 1 ]; then
export os='ubuntu-debian';
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
fi
%endif
%endif
# Remove apache link
if [ -L $apachelink ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
fi
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?mdkversion}
/sbin/service httpd restart
%else
if [ -f %{_sysconfdir}/init.d/httpd ]; then
%{_sysconfdir}/init.d/httpd restart
fi
if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
%endif
fi
else
# Upgrade
echo "No remove ation done (this is an upgrade)"
fi
%changelog
* Wed Mar 4 2012 Laurent Destailleur 3.3.0-0.1.a
* Mon Apr 22 2013 Laurent Destailleur 3.3.3-0.3
- Initial version (#723326)

View File

@@ -14,7 +14,7 @@ Summary(es): Software ERP y CRM para pequeñas y medianas empresas, asociaciones
Summary(fr): Logiciel ERP & CRM de gestion de PME/PMI, auto-entrepreneurs ou associations
Summary(it): Programmo gestionale per piccole imprese, fondazioni e liberi professionisti
License: GPLv2+
License: GPL-3.0+
#Packager: Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
Vendor: Dolibarr dev team
@@ -105,17 +105,20 @@ cui hai bisogno ed essere facile da usare.
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/fonts
# Lang
echo "%defattr(0644, root, root, 0755)" > %{name}.lang
echo "%dir %{_datadir}/%{name}/htdocs/langs" >> %{name}.lang
for i in $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/langs/*_*
do
lang=$(basename $i)
lang1=`expr substr $lang 1 2`;
lang2=`expr substr $lang 4 2 | tr "[:upper:]" "[:lower:]"`;
echo "%dir %{_datadir}/%{name}/htdocs/langs/${lang}" >> %{name}.lang
if [ "$lang1" = "$lang2" ] ; then
echo "%lang(${lang1}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
else
echo "%lang(${lang}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
fi
done >%{name}.lang
done >>%{name}.lang
#---- clean
@@ -128,6 +131,9 @@ done >%{name}.lang
%files -f %{name}.lang
%defattr(0755, root, root, 0755)
%dir %_datadir/dolibarr
%dir %_datadir/dolibarr/scripts
%_datadir/dolibarr/scripts/*
@@ -137,6 +143,8 @@ done >%{name}.lang
%_datadir/pixmaps/dolibarr.png
%_datadir/applications/dolibarr.desktop
%dir %_datadir/dolibarr/build
%dir %_datadir/dolibarr/build/rpm
%_datadir/dolibarr/build/rpm/*
@@ -167,11 +175,14 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/fichinter
%_datadir/dolibarr/htdocs/fourn
%_datadir/dolibarr/htdocs/ftp
%_datadir/dolibarr/htdocs/holiday
%_datadir/dolibarr/htdocs/imports
%_datadir/dolibarr/htdocs/includes
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/product
@@ -187,7 +198,9 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/*.php
%_datadir/dolibarr/htdocs/*.txt
%defattr(0664, -, -)
%dir %{_sysconfdir}/dolibarr
%defattr(0664, root, apache)
%config(noreplace) %{_sysconfdir}/dolibarr/conf.php
%config(noreplace) %{_sysconfdir}/dolibarr/apache.conf
%config(noreplace) %{_sysconfdir}/dolibarr/install.forced.php
@@ -198,6 +211,8 @@ done >%{name}.lang
#---- post (after unzip during install)
%post
echo Run post script of packager dolibarr_mandriva.spec
# Define vars
export docdir="/var/lib/dolibarr/documents"
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
@@ -214,10 +229,35 @@ echo Create document directory $docdir
# Set correct owner on config files
%{__chown} -R root:$apachegroup /etc/dolibarr/*
# If a conf already exists and its content was already completed by installer
export config=%{_sysconfdir}/dolibarr/conf.php
if [ -s $config ] && grep -q "File generated by" $config
then
# File already exist. We add params not found.
echo Add new params to overwrite path to use shared libraries/fonts
grep -q -c "dolibarr_lib_ADODB_PATH" $config || [ ! -d "/usr/share/php/adodb" ] || echo "<?php \$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; ?>" >> $config
grep -q -c "dolibarr_lib_FPDI_PATH" $config || [ ! -d "/usr/share/php/fpdi" ] || echo "<?php \$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; ?>" >> $config
#grep -q -c "dolibarr_lib_GEOIP_PATH" $config || echo "<?php \$dolibarr_lib_GEOIP_PATH=''; ?>" >> $config
grep -q -c "dolibarr_lib_NUSOAP_PATH" $config || [ ! -d "/usr/share/php/nusoap" ] || echo "<?php \$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; ?>" >> $config
grep -q -c "dolibarr_lib_ODTPHP_PATHTOPCLZIP" $config || [ ! -d "/usr/share/php/libphp-pclzip" ] || echo "<?php \$dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip'; ?>" >> $config
#grep -q -c "dolibarr_lib_PHPEXCEL_PATH" $config || echo "<?php \$dolibarr_lib_PHPEXCEL_PATH=''; ?>" >> $config
#grep -q -c "dolibarr_lib_TCPDF_PATH" $config || echo "<?php \$dolibarr_lib_TCPDF_PATH=''; ?>" >> $config
grep -q -c "dolibarr_js_CKEDITOR" $config || [ ! -d "/usr/share/javascript/ckeditor" ] || echo "<?php \$dolibarr_js_CKEDITOR='/javascript/ckeditor'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY" $config || [ ! -d "/usr/share/javascript/jquery" ] || echo "<?php \$dolibarr_js_JQUERY='/javascript/jquery'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_UI" $config || [ ! -d "/usr/share/javascript/jquery-ui" ] || echo "<?php \$dolibarr_js_JQUERY_UI='/javascript/jquery-ui'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_FLOT" $config || [ ! -d "/usr/share/javascript/flot" ] || echo "<?php \$dolibarr_js_JQUERY_FLOT='/javascript/flot'; ?>" >> $config
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/TTF/dejavu/DejaVuSans-Bold.ttf'; ?>" >> $config
fi
# Create a config link dolibarr.conf
if [ ! -L $apachelink ]; then
echo Create dolibarr web server config link $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
apachelinkdir=`dirname $apachelink`
if [ -d $apachelinkdir ]; then
echo Create dolibarr web server config link from %{_sysconfdir}/dolibarr/apache.conf to $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
else
echo Do not create link $apachelink - web server conf dir $apachelinkdir not found. web server package may not be installed
fi
fi
echo Set permission to $apacheuser:$apachegroup on /var/lib/dolibarr
@@ -238,6 +278,9 @@ echo Restart mysql
if [ -f /etc/init.d/mysqld ]; then
/etc/init.d/mysqld restart
fi
if [ -f /etc/init.d/mysql ]; then
/etc/init.d/mysql restart
fi
# Show result
echo
@@ -251,35 +294,44 @@ echo "-------------------------------------------------------"
echo
#---- postun (after uninstall)
#---- postun (after upgrade or uninstall)
%postun
# Define vars
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
# Remove apache link
if [ -L $apachelink ] ;
if [ "x$1" = "x0" ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
fi
# Remove
echo "Removed package"
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
if [ -f %{_sysconfdir}/init.d/httpd ]; then
%{_sysconfdir}/init.d/httpd restart
fi
if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
# Define vars
export apachelink="%{_sysconfdir}/httpd/conf.d/dolibarr.conf"
# Remove apache link
if [ -L $apachelink ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
fi
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
if [ -f %{_sysconfdir}/init.d/httpd ]; then
%{_sysconfdir}/init.d/httpd restart
fi
if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
fi
else
# Upgrade
echo "No remove ation done (this is an upgrade)"
fi
%changelog
* Wed Mar 4 2012 Laurent Destailleur 3.3.0-0.1.a
* Mon Apr 22 2013 Laurent Destailleur 3.3.3-0.3
- Initial version (#723326)

View File

@@ -14,7 +14,7 @@ Summary(es): Software ERP y CRM para pequeñas y medianas empresas, asociaciones
Summary(fr): Logiciel ERP & CRM de gestion de PME/PMI, auto-entrepreneurs ou associations
Summary(it): Programmo gestionale per piccole imprese, fondazioni e liberi professionisti
License: GPLv2+
License: GPL-3.0+
#Packager: Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
Vendor: Dolibarr dev team
@@ -25,9 +25,11 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Productivity/Office/Management
Requires: apache2, apache2-mod_php5, php5 >= 5.3.0, php5-gd, php5-ldap, php5-imap, php5-mysql, php5-openssl, fonts-ttf-dejavu
Requires: apache2, apache2-mod_php5, php5 >= 5.3.0, php5-gd, php5-ldap, php5-imap, php5-mysql, php5-openssl, dejavu
Requires: mysql-community-server, mysql-community-server-client
#BuildRequires: update-desktop-files fdupes
%if 0%{?suse_version}
BuildRequires: update-desktop-files fdupes
%endif
# Set yes to build test package, no for release (this disable need of /usr/bin/php not found by OpenSuse)
AutoReqProv: no
@@ -104,23 +106,30 @@ cui hai bisogno ed essere facile da usare.
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/fonts
# Lang
echo "%defattr(0644, root, root, 0755)" > %{name}.lang
echo "%dir %{_datadir}/%{name}/htdocs/langs" >> %{name}.lang
for i in $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/langs/*_*
do
lang=$(basename $i)
lang1=`expr substr $lang 1 2`;
lang2=`expr substr $lang 4 2 | tr "[:upper:]" "[:lower:]"`;
echo "%dir %{_datadir}/%{name}/htdocs/langs/${lang}" >> %{name}.lang
if [ "$lang1" = "$lang2" ] ; then
echo "%lang(${lang1}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
else
echo "%lang(${lang}) %{_datadir}/%{name}/htdocs/langs/${lang}/*.lang"
fi
done >%{name}.lang
done >>%{name}.lang
%if 0%{?suse_version}
# Enable this command to tag desktop file for suse
#%suse_update_desktop_file dolibarr
%suse_update_desktop_file dolibarr
# Enable this command to allow suse detection of duplicate files and create hardlinks instead
#%fdupes $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
%fdupes $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
%endif
#---- clean
@@ -133,6 +142,9 @@ done >%{name}.lang
%files -f %{name}.lang
%defattr(0755, root, root, 0755)
%dir %_datadir/dolibarr
%dir %_datadir/dolibarr/scripts
%_datadir/dolibarr/scripts/*
@@ -142,6 +154,8 @@ done >%{name}.lang
%_datadir/pixmaps/dolibarr.png
%_datadir/applications/dolibarr.desktop
%dir %_datadir/dolibarr/build
%dir %_datadir/dolibarr/build/rpm
%_datadir/dolibarr/build/rpm/*
@@ -172,11 +186,14 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/fichinter
%_datadir/dolibarr/htdocs/fourn
%_datadir/dolibarr/htdocs/ftp
%_datadir/dolibarr/htdocs/holiday
%_datadir/dolibarr/htdocs/imports
%_datadir/dolibarr/htdocs/includes
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/product
@@ -192,7 +209,9 @@ done >%{name}.lang
%_datadir/dolibarr/htdocs/*.php
%_datadir/dolibarr/htdocs/*.txt
%defattr(0664, -, -)
%dir %{_sysconfdir}/dolibarr
%defattr(0664, root, www)
%config(noreplace) %{_sysconfdir}/dolibarr/conf.php
%config(noreplace) %{_sysconfdir}/dolibarr/apache.conf
%config(noreplace) %{_sysconfdir}/dolibarr/install.forced.php
@@ -203,6 +222,8 @@ done >%{name}.lang
#---- post (after unzip during install)
%post
echo Run post script of packager dolibarr_opensuse.spec
# Define vars
export docdir="/var/lib/dolibarr/documents"
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
@@ -219,10 +240,35 @@ echo Create document directory $docdir
# Set correct owner on config files
%{__chown} -R root:$apachegroup /etc/dolibarr/*
# If a conf already exists and its content was already completed by installer
export config=%{_sysconfdir}/dolibarr/conf.php
if [ -s $config ] && grep -q "File generated by" $config
then
# File already exist. We add params not found.
echo Add new params to overwrite path to use shared libraries/fonts
grep -q -c "dolibarr_lib_ADODB_PATH" $config || [ ! -d "/usr/share/php/adodb" ] || echo "<?php \$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; ?>" >> $config
grep -q -c "dolibarr_lib_FPDI_PATH" $config || [ ! -d "/usr/share/php/fpdi" ] || echo "<?php \$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; ?>" >> $config
#grep -q -c "dolibarr_lib_GEOIP_PATH" $config || echo "<?php \$dolibarr_lib_GEOIP_PATH=''; ?>" >> $config
grep -q -c "dolibarr_lib_NUSOAP_PATH" $config || [ ! -d "/usr/share/php/nusoap" ] || echo "<?php \$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; ?>" >> $config
grep -q -c "dolibarr_lib_ODTPHP_PATHTOPCLZIP" $config || [ ! -d "/usr/share/php/libphp-pclzip" ] || echo "<?php \$dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip'; ?>" >> $config
#grep -q -c "dolibarr_lib_PHPEXCEL_PATH" $config || echo "<?php \$dolibarr_lib_PHPEXCEL_PATH=''; ?>" >> $config
#grep -q -c "dolibarr_lib_TCPDF_PATH" $config || echo "<?php \$dolibarr_lib_TCPDF_PATH=''; ?>" >> $config
grep -q -c "dolibarr_js_CKEDITOR" $config || [ ! -d "/usr/share/javascript/ckeditor" ] || echo "<?php \$dolibarr_js_CKEDITOR='/javascript/ckeditor'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY" $config || [ ! -d "/usr/share/javascript/jquery" ] || echo "<?php \$dolibarr_js_JQUERY='/javascript/jquery'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_UI" $config || [ ! -d "/usr/share/javascript/jquery-ui" ] || echo "<?php \$dolibarr_js_JQUERY_UI='/javascript/jquery-ui'; ?>" >> $config
grep -q -c "dolibarr_js_JQUERY_FLOT" $config || [ ! -d "/usr/share/javascript/flot" ] || echo "<?php \$dolibarr_js_JQUERY_FLOT='/javascript/flot'; ?>" >> $config
grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype/DejaVuSans-Bold.ttf'; ?>" >> $config
fi
# Create a config link dolibarr.conf
if [ ! -L $apachelink ]; then
echo Create dolibarr web server config link $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
apachelinkdir=`dirname $apachelink`
if [ -d $apachelinkdir ]; then
echo Create dolibarr web server config link from %{_sysconfdir}/dolibarr/apache.conf to $apachelink
ln -fs %{_sysconfdir}/dolibarr/apache.conf $apachelink
else
echo Do not create link $apachelink - web server conf dir $apachelinkdir not found. web server package may not be installed
fi
fi
echo Set permission to $apacheuser:$apachegroup on /var/lib/dolibarr
@@ -240,9 +286,7 @@ fi
# Restart mysql
echo Restart mysql
if [ -f /etc/init.d/mysqld ]; then
/etc/init.d/mysqld restart
fi
/sbin/service mysql restart
# Show result
echo
@@ -256,35 +300,43 @@ echo "-------------------------------------------------------"
echo
#---- postun (after uninstall)
#---- postun (after upgrade or uninstall)
%postun
# Define vars
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
# Remove apache link
if [ -L $apachelink ] ;
if [ "x$1" = "x0" ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
# Remove
echo "Removed package"
# Define vars
export apachelink="%{_sysconfdir}/apache2/conf.d/dolibarr.conf"
# Remove apache link
if [ -L $apachelink ] ;
then
echo "Delete apache config link for Dolibarr ($apachelink)"
%{__rm} -f $apachelink
status=purge
fi
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
if [ -f %{_sysconfdir}/init.d/httpd ]; then
%{_sysconfdir}/init.d/httpd restart
fi
if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
fi
else
# Upgrade
echo "No remove ation done (this is an upgrade)"
fi
# Restart web servers if required
if [ "x$status" = "xpurge" ] ;
then
# Restart web server
echo Restart web server
if [ -f %{_sysconfdir}/init.d/httpd ]; then
%{_sysconfdir}/init.d/httpd restart
fi
if [ -f %{_sysconfdir}/init.d/apache2 ]; then
%{_sysconfdir}/init.d/apache2 restart
fi
fi
%changelog
* Wed Mar 4 2012 Laurent Destailleur 3.3.0-0.1.a
* Mon Apr 22 2013 Laurent Destailleur 3.3.3-0.3
- Initial version (#723326)

View File

@@ -30,6 +30,6 @@ $force_dolibarr_lib_TCPDF_PATH='';
//$force_dolibarr_js_JQUERY='/javascript/jquery';
//$force_dolibarr_js_JQUERY_UI='/javascript/jquery-ui';
//$force_dolibarr_js_JQUERY_FLOT='/javascript/flot';
$force_dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype';
$force_dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype/DejaVuSans-Bold.ttf';
?>

View File

@@ -75,16 +75,21 @@
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma">
<severity>0</severity>
</rule>
<rule
ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceBeforeEquals">
<severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterEquals">
<severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<severity>0</severity>
</rule>
<!-- Tweaks to metrics -->
<rule ref="Generic.Metrics.CyclomaticComplexity">
<properties>
<property name="complexity" value="40" />
<property name="absoluteComplexity" value="100" />
<property name="complexity" value="80" />
<property name="absoluteComplexity" value="200" />
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel">
@@ -96,14 +101,15 @@
<rule ref="Generic.NamingConventions.ConstructorName" />
<!-- Check if we use PHP4 constructor instead of __construct() -->
<rule ref="Generic.NamingConventions.ConstructorName.OldStyle">
<severity>0</severity>
</rule>
<rule ref="Generic.NamingConventions.ConstructorName.OldStyle" />
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
<rule ref="Generic.PHP.DeprecatedFunctions" />
<rule ref="Generic.PHP.DeprecatedFunctions.Deprecated">
<severity>0</severity>
</rule>
<rule ref="Generic.PHP.DisallowShortOpenTag" />
<rule ref="Generic.PHP.ForbiddenFunctions" />
@@ -116,6 +122,10 @@
<rule ref="Generic.Strings.UnnecessaryStringConcat" />
<rule ref="Generic.Strings.UnnecessaryStringConcat.Found">
<severity>0</severity>
</rule>
<rule ref="Generic.VersionControl.SubversionProperties" />
<!-- Disallow usage of tab -->
@@ -188,17 +198,25 @@
<rule ref="PEAR.Functions.FunctionCallSignature" />
<rule ref="PEAR.Functions.FunctionCallSignature.Indent">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.ValidDefaultValue" />
<rule ref="PEAR.NamingConventions.ValidClassName" />
<rule ref="PEAR.NamingConventions.ValidClassName.Invalid">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName" />
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNameInvalid">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial">
<severity>0</severity>
</rule>
@@ -212,8 +230,8 @@
<rule ref="PEAR.NamingConventions.ValidVariableName" />
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent" />
<!--
<!-- Need to be commented to be disabled
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace">
<severity>0</severity>
</rule>
@@ -221,8 +239,7 @@
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace.Line">
<severity>0</severity>
</rule>
-->
-->
<!-- Already found as a Generic rule -->
<!-- <rule ref="PEAR.WhiteSpace.ScopeIndent" /> -->

View File

@@ -75,16 +75,21 @@
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma">
<severity>0</severity>
</rule>
<rule
ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceBeforeEquals">
<severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterEquals">
<severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<severity>0</severity>
</rule>
<!-- Tweaks to metrics -->
<rule ref="Generic.Metrics.CyclomaticComplexity">
<properties>
<property name="complexity" value="40" />
<property name="absoluteComplexity" value="100" />
<property name="complexity" value="80" />
<property name="absoluteComplexity" value="200" />
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel">
@@ -103,7 +108,10 @@
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
<rule ref="Generic.PHP.DeprecatedFunctions" />
<rule ref="Generic.PHP.DeprecatedFunctions.Deprecated">
<severity>0</severity>
</rule>
<rule ref="Generic.PHP.DisallowShortOpenTag" />
<rule ref="Generic.PHP.ForbiddenFunctions" />
@@ -116,6 +124,10 @@
<rule ref="Generic.Strings.UnnecessaryStringConcat" />
<rule ref="Generic.Strings.UnnecessaryStringConcat.Found">
<severity>0</severity>
</rule>
<rule ref="Generic.VersionControl.SubversionProperties" />
<!-- Disallow usage of tab -->
@@ -188,17 +200,25 @@
<rule ref="PEAR.Functions.FunctionCallSignature" />
<rule ref="PEAR.Functions.FunctionCallSignature.Indent">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.ValidDefaultValue" />
<rule ref="PEAR.NamingConventions.ValidClassName" />
<rule ref="PEAR.NamingConventions.ValidClassName.Invalid">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName" />
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNameInvalid">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial">
<severity>0</severity>
</rule>

View File

@@ -3,7 +3,7 @@
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
@@ -17,10 +17,10 @@
-- ===================================================================
CREATE TABLE llx_osc_categories (
rowid int(11) unsigned NOT NULL auto_increment,
dolicatid int(11) NOT NULL default '0',
osccatid int(11) NOT NULL default '0',
rowid integer unsigned NOT NULL auto_increment,
dolicatid integer NOT NULL default '0',
osccatid integer NOT NULL default '0',
PRIMARY KEY (rowid),
UNIQUE KEY dolicatid (dolicatid),
UNIQUE KEY osccatid (osccatid)
) TYPE=InnoDB COMMENT='Correspondance categorie Dolibarr categorie OSC';
) ENGINE=InnoDB;

View File

@@ -3,7 +3,7 @@
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,

View File

@@ -3,7 +3,7 @@
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
@@ -17,9 +17,9 @@
-- ===================================================================
CREATE TABLE llx_osc_customer (
rowid int(11) NOT NULL default '0',
rowid integer NOT NULL default '0',
datem datetime default NULL,
fk_soc int(11) NOT NULL default '0',
fk_soc integer NOT NULL default '0',
PRIMARY KEY (rowid),
UNIQUE KEY fk_soc (fk_soc)
) TYPE=InnoDB COMMENT='Table transition client OSC - societe Dolibarr';
) ENGINE=InnoDB;

View File

@@ -3,7 +3,7 @@
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
@@ -17,9 +17,9 @@
-- ===================================================================
CREATE TABLE llx_osc_order (
rowid int(11) NOT NULL default '0',
rowid integer NOT NULL default '0',
datem datetime default NULL,
fk_commande int(11) NOT NULL default '0',
fk_commande integer NOT NULL default '0',
PRIMARY KEY (rowid),
UNIQUE KEY fk_commande (fk_commande)
) TYPE=InnoDB COMMENT='Table transition commande OSC - commande Dolibarr';
) ENGINE=InnoDB;

View File

@@ -3,7 +3,7 @@
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
@@ -17,11 +17,11 @@
-- ===================================================================
CREATE TABLE llx_osc_product (
rowid int(11) NOT NULL default '0',
rowid integer NOT NULL default '0',
datem datetime default NULL,
fk_product int(11) NOT NULL default '0',
fk_product integer NOT NULL default '0',
PRIMARY KEY (rowid),
UNIQUE KEY fk_product (fk_product)
) TYPE=InnoDB COMMENT='Table transition produit OSC - produit Dolibarr';
) ENGINE=InnoDB;

View File

@@ -30,7 +30,7 @@ public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=
by
public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=false, $maxh=0, $valign='T', $fitcell=false) {
* Removed all fonts except dejavu* (greek, arab, persan, romanian, turkish), freemono* (russian), stsongstdlight* (chinese), helvetica* (all other) and useless directories (fonts/utils, docs, cache, images)
* Removed all fonts except dejavu* (used by greek, arab, persan, romanian, turkish), freemono* (russian), stsongstdlight* (chinese), helvetica* (all other) and useless directories (fonts/utils, docs, cache, images)
* Replace in tcpdf_config.php
define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');

View File

@@ -4,5 +4,5 @@ README (English)
This directory contains samples of code to use Dolibarr business classes to build
external interfaces that need to read/update data from/into Dolibarr.
You can also have a look at the Dolibarr doxygen doc that describe all files and classes:
You can also have a look at the Dolibarr doxygen doc that describes all files and classes:
http://www.dolibarr.org/html_doxygen/index.html

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -17,9 +17,9 @@
*/
/**
* \file dev/examples/manage_order.php
* \file dev/examples/create_invoice.php
* \brief This file is an example for a command line script
* \author Put author name here
* \author Put author's name here
* \remarks Put here some comments
*/
@@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
// Test if batch mode
if (substr($sapi_type, 0, 3) == 'cgi') {
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
exit;
}

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -17,9 +17,9 @@
*/
/**
* \file dev/examples/manage_order.php
* \file dev/examples/create_order.php
* \brief This file is an example for a command line script
* \author Put author name here
* \author Put author's name here
* \remarks Put here some comments
*/
@@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
// Test if batch mode
if (substr($sapi_type, 0, 3) == 'cgi') {
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
exit;
}

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
/**
* \file dev/examples/create_product.php
* \brief This file is an example for a command line script
* \author Put author name here
* \author Put author's name here
* \remarks Put here some comments
*/
@@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
// Test if batch mode
if (substr($sapi_type, 0, 3) == 'cgi') {
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
exit;
}
@@ -64,7 +64,7 @@ require_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
// Create instance of object
$myproduct=new Product($db);
// Définition des propriétés de l'instance product
// Definition of product instance properties
$myproduct->ref = '1234';
$myproduct->libelle = 'libelle';
$myproduct->price = '10';

110
dev/examples/create_user.php Executable file
View File

@@ -0,0 +1,110 @@
#!/usr/bin/php
<?php
/* Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* \file dev/examples/create_user.php
* \brief This file is an example for a command line script
* \author Put author's name here
* \remarks Put here some comments
*/
$sapi_type = php_sapi_name();
$script_file = basename(__FILE__);
$path=dirname(__FILE__).'/';
// Test if batch mode
if (substr($sapi_type, 0, 3) == 'cgi') {
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
exit;
}
// Global variables
$version='1.7';
$error=0;
// -------------------- START OF YOUR CODE HERE --------------------
// Include Dolibarr environment
require_once($path."../../htdocs/master.inc.php");
// After this $db, $mysoc, $langs and $conf->entity are defined. Opened handler to database will be closed at end of file.
//$langs->setDefaultLang('en_US'); // To change default language of $langs
$langs->load("main"); // To load language file for default language
@set_time_limit(0);
// Load user and its permissions
$result=$user->fetch('','admin'); // Load user for login 'admin'. Comment line to run as anonymous user.
if (! $result > 0) { dol_print_error('',$user->error); exit; }
$user->getrights();
print "***** ".$script_file." (".$version.") *****\n";
// Start of transaction
$db->begin();
require_once(DOL_DOCUMENT_ROOT."/user/class/user.class.php");
// Create invoice object
$obj = new User($db);
//$obj->initAsSpecimen();
$obj->login = 'ABCDEF';
$obj->nom = 'ABCDEF';
// Create invoice
$idobject=$obj->create($user);
if ($idobject > 0)
{
// Change status to validated
$result=$obj->setStatut(1);
if ($result > 0) print "OK Object created with id ".$idobject."\n";
else
{
$error++;
dol_print_error($db,$obj->error);
}
}
else if ($obj->error == 'ErrorLoginAlreadyExists')
{
print "User with login ".$obj->login." already exists\n";
}
else
{
$error++;
dol_print_error($db,$obj->error);
}
// -------------------- END OF YOUR CODE --------------------
if (! $error)
{
$db->commit();
print '--- end ok'."\n";
}
else
{
print '--- end error code='.$error."\n";
$db->rollback();
}
$db->close();
return $error;
?>

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -17,9 +17,9 @@
*/
/**
* \file dev/examples/manage_order.php
* \file dev/examples/get_contracts.php
* \brief This file is an example for a command line script
* \author Put author name here
* \author Put author's name here
* \remarks Put here some comments
*/
@@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
// Test if batch mode
if (substr($sapi_type, 0, 3) == 'cgi') {
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
exit;
}

View File

@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -34,12 +34,12 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
// Recupere root dolibarr
$path=preg_replace('/generate-commande.php/i','',$_SERVER["PHP_SELF"]);
require ($path."../../htdocs/master.inc.php");
include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
include_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
include_once(DOL_DOCUMENT_ROOT."/compta/paiement/class/paiement.class.php");
include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
include_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
/*

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,

View File

@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -34,12 +34,12 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
// Recupere root dolibarr
$path=preg_replace('/generate-produit.php/i','',$_SERVER["PHP_SELF"]);
require ($path."../../htdocs/master.inc.php");
include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
include_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
include_once(DOL_DOCUMENT_ROOT."/compta/paiement/class/paiement.class.php");
include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
include_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
/*

View File

@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,

View File

@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -34,12 +34,12 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
// Recupere root dolibarr
$path=preg_replace('/generate-societe.php/i','',$_SERVER["PHP_SELF"]);
require ($path."../../htdocs/master.inc.php");
include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
include_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
include_once(DOL_DOCUMENT_ROOT."/compta/paiement/class/paiement.class.php");
include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
include_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
include_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
include_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
$villes = array("Auray","Baden","Vannes","Pirouville","Haguenau","Souffelweiersheim","Illkirch-Graffenstaden","Lauterbourg","Picauville","Sainte-Mère Eglise","Le Bono");
$prenoms = array("Joe","Marc","Steve","Laurent","Nico","Isabelle","Dorothee","Saby","Brigitte","Karine","Jose-Anne","Celine","Virginie");

262
dev/initdata/initdemo.sh Normal file → Executable file
View File

@@ -1,17 +1,19 @@
#!/bin/bash
#!/bin/sh
#------------------------------------------------------
# Script to purge and init a database with demo values.
# Note: "dialog" tool need to be available.
# Note: "dialog" tool need to be available if no parameter provided.
#
# Regis Houssin - regis@dolibarr.fr
# Laurent Destailleur - eldy@users.sourceforge.net
#------------------------------------------------------
# WARNING: This script erase all data of database
# with data into dump file
#
# Regis Houssin - regis.houssin@capnetworks.com
# Laurent Destailleur - eldy@users.sourceforge.net
#------------------------------------------------------
# Usage: initdemo.sh
# usage: initdemo.sh mysqldump_dolibarr_x.x.x.sql database port login pass
#------------------------------------------------------
export dumpfile="mysqldump_dolibarr_3.1.0.sql"
export mydir=`echo "$0" | sed -e 's/initdemo.sh//'`;
if [ "x$mydir" = "x" ]
then
@@ -27,122 +29,140 @@ then
exit
fi
# ----------------------------- input file
DIALOG=${DIALOG=dialog}
DIALOG="$DIALOG --ascii-lines"
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Input dump file :" 16 55 $dumpfile 2> $fichtemp
valret=$?
case $valret in
0)
dumpfile=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ----------------------------- database name
DIALOG=${DIALOG=dialog}
DIALOG="$DIALOG --ascii-lines"
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Mysql database name :" 16 55 dolibarrdemo 2> $fichtemp
valret=$?
case $valret in
0)
base=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ----------------------------- command line params
dumpfile=$1;
base=$2;
port=$3;
admin=$4;
passwd=$5;
# ---------------------------- database port
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Mysql port (ex: 3306):" 16 55 3306 2> $fichtemp
valret=$?
# ----------------------------- if no params on command line
if [ "x$passwd" = "x" ]
then
export dumpfile=`ls $mydir/mysqldump_dolibarr_*.sql | sort | tail -n 1`
export dumpfile=`basename $dumpfile`
case $valret in
0)
port=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ----------------------------- input file
DIALOG=${DIALOG=dialog}
DIALOG="$DIALOG --ascii-lines"
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Input dump file :" 16 55 $dumpfile 2> $fichtemp
valret=$?
case $valret in
0)
dumpfile=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ----------------------------- database name
DIALOG=${DIALOG=dialog}
DIALOG="$DIALOG --ascii-lines"
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Mysql database name :" 16 55 dolibarrdemo 2> $fichtemp
valret=$?
case $valret in
0)
base=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- database port
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Mysql port (ex: 3306):" 16 55 3306 2> $fichtemp
valret=$?
case $valret in
0)
port=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- compte admin mysql
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Mysql root login (ex: root):" 16 55 root 2> $fichtemp
valret=$?
case $valret in
0)
admin=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- mot de passe admin mysql
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Password for Mysql root login :" 16 55 2> $fichtemp
valret=$?
case $valret in
0)
passwd=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- chemin d'acces du repertoire documents
#DIALOG=${DIALOG=dialog}
#fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
#trap "rm -f $fichtemp" 0 1 2 5 15
#$DIALOG --title "Init Dolibarr with demo values" --clear \
# --inputbox "Full path to documents directory (ex: /var/www/dolibarr/documents)- no / at end :" 16 55 2> $fichtemp
#valret=$?
#case $valret in
# 0)
#docs=`cat $fichtemp`;;
# 1)
#exit;;
# 255)
#exit;;
#esac
# ---------------------------- confirmation
DIALOG=${DIALOG=dialog}
$DIALOG --title "Init Dolibarr with demo values" --clear \
--yesno "Do you confirm ? \n Dump file : '$dumpfile' \n Dump dir : '$mydir' \n Mysql database : '$base' \n Mysql port : '$port' \n Mysql login: '$admin' \n Mysql password : '$passwd'" 15 55
case $? in
0) echo "Ok, start process...";;
1) exit;;
255) exit;;
esac
# ---------------------------- compte admin mysql
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Mysql root login (ex: root):" 16 55 root 2> $fichtemp
fi
valret=$?
case $valret in
0)
admin=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- mot de passe admin mysql
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Init Dolibarr with demo values" --clear \
--inputbox "Password for Mysql root login :" 16 55 2> $fichtemp
valret=$?
case $valret in
0)
passwd=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- chemin d'acces du repertoire documents
#DIALOG=${DIALOG=dialog}
#fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
#trap "rm -f $fichtemp" 0 1 2 5 15
#$DIALOG --title "Init Dolibarr with demo values" --clear \
# --inputbox "Full path to documents directory (ex: /var/www/dolibarr/documents)- no / at end :" 16 55 2> $fichtemp
#valret=$?
#case $valret in
# 0)
#docs=`cat $fichtemp`;;
# 1)
#exit;;
# 255)
#exit;;
#esac
# ---------------------------- confirmation
DIALOG=${DIALOG=dialog}
$DIALOG --title "Init Dolibarr with demo values" --clear \
--yesno "Do you confirm ? \n Dump file : '$dumpfile' \n Dump dir : '$mydir' \n Mysql database : '$base' \n Mysql port : '$port' \n Mysql login: '$admin' \n Mysql password : '$passwd'" 15 55
case $? in
0) echo "Ok, start process...";;
1) exit;;
255) exit;;
esac
# ---------------------------- run sql file
if [ "x$passwd" != "x" ]
@@ -151,8 +171,14 @@ then
fi
#echo "mysql -P$port -u$admin $passwd $base < $mydir/$dumpfile"
#mysql -P$port -u$admin $passwd $base < $mydir/$dumpfile
echo "mysql -P$port $base < $mydir/$dumpfile"
echo "mysql -P$port -u$admin -p***** $base < $mydir/$dumpfile"
mysql -P$port -u$admin $passwd $base < $mydir/$dumpfile
export res=$?
echo "Dolibarr data demo has been loaded."
if [ "x$res" = "x0" ]
then
echo "Success, file successfully loaded."
else
echo "Error, load failed."
fi
echo

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

24
dev/initdata/removedemo.sh Normal file → Executable file
View File

@@ -3,13 +3,29 @@
# Script to remove setup of a Dolibarr installation.
# Note: "dialog" tool need to be available.
#
# Regis Houssin - regis@dolibarr.fr
# Regis Houssin - regis.houssin@capnetworks.com
# Laurent Destailleur - eldy@users.sourceforge.net
#------------------------------------------------------
# WARNING: This script erase all data of database
# WARNING: This script erase setup of instance,
# but not the database
#------------------------------------------------------
export mydir=`echo "$_" | sed -e 's/removedemo.sh//'`;
export mydir=`echo "$0" | sed -e 's/removedemo.sh//'`;
if [ "x$mydir" = "x" ]
then
export mydir="./"
fi
export id=`id -u`;
# ----------------------------- check if root
if [ "x$id" != "x0" -a "x$id" != "x1001" ]
then
echo "Script must be ran as root"
exit
fi
DIALOG=${DIALOG=dialog}
DIALOG="$DIALOG --ascii-lines"
@@ -34,5 +50,5 @@ rm $mydir../../htdocs/conf/conf.php 2>/dev/null
echo "Remove file $mydir../../install.lock"
rm $mydir../../install.lock 2>/dev/null
echo "Dolibarr demo has been removed (need to be installed again)."
echo "Dolibarr setup has been removed (need to be installed again. database not dropped)."
echo

205
dev/initdata/savedemo.sh Executable file
View File

@@ -0,0 +1,205 @@
#!/bin/sh
#------------------------------------------------------
# Script to extrac a database with demo values.
# Note: "dialog" tool need to be available if no parameter provided.
#
# Regis Houssin - regis.houssin@capnetworks.com
# Laurent Destailleur - eldy@users.sourceforge.net
#------------------------------------------------------
# Usage: savedemo.sh
# usage: savedemo.sh mysqldump_dolibarr_x.x.x.sql database port login pass
#------------------------------------------------------
export mydir=`echo "$0" | sed -e 's/savedemo.sh//'`;
if [ "x$mydir" = "x" ]
then
export mydir="."
fi
export id=`id -u`;
# ----------------------------- check if root
if [ "x$id" != "x0" -a "x$id" != "x1001" ]
then
echo "Script must be ran as root"
exit
fi
# ----------------------------- command line params
dumpfile=$1;
base=$2;
port=$3;
admin=$4;
passwd=$5;
# ----------------------------- if no params on command line
if [ "x$passwd" = "x" ]
then
export dumpfile=`ls $mydir/mysqldump_dolibarr_*.sql | sort | tail -n 1`
export dumpfile=`basename $dumpfile`
# ----------------------------- input file
DIALOG=${DIALOG=dialog}
DIALOG="$DIALOG --ascii-lines"
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Save Dolibarr with demo values" --clear \
--inputbox "Output dump file :" 16 55 $dumpfile 2> $fichtemp
valret=$?
case $valret in
0)
dumpfile=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ----------------------------- database name
DIALOG=${DIALOG=dialog}
DIALOG="$DIALOG --ascii-lines"
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Save Dolibarr with demo values" --clear \
--inputbox "Mysql database name :" 16 55 dolibarrdemo 2> $fichtemp
valret=$?
case $valret in
0)
base=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- database port
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Save Dolibarr with demo values" --clear \
--inputbox "Mysql port (ex: 3306):" 16 55 3306 2> $fichtemp
valret=$?
case $valret in
0)
port=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- compte admin mysql
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Save Dolibarr with demo values" --clear \
--inputbox "Mysql root login (ex: root):" 16 55 root 2> $fichtemp
valret=$?
case $valret in
0)
admin=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- mot de passe admin mysql
DIALOG=${DIALOG=dialog}
fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
trap "rm -f $fichtemp" 0 1 2 5 15
$DIALOG --title "Save Dolibarr with demo values" --clear \
--inputbox "Password for Mysql root login :" 16 55 2> $fichtemp
valret=$?
case $valret in
0)
passwd=`cat $fichtemp`;;
1)
exit;;
255)
exit;;
esac
# ---------------------------- chemin d'acces du repertoire documents
#DIALOG=${DIALOG=dialog}
#fichtemp=`tempfile 2>/dev/null` || fichtemp=/tmp/test$$
#trap "rm -f $fichtemp" 0 1 2 5 15
#$DIALOG --title "Save Dolibarr with demo values" --clear \
# --inputbox "Full path to documents directory (ex: /var/www/dolibarr/documents)- no / at end :" 16 55 2> $fichtemp
#valret=$?
#case $valret in
# 0)
#docs=`cat $fichtemp`;;
# 1)
#exit;;
# 255)
#exit;;
#esac
# ---------------------------- confirmation
DIALOG=${DIALOG=dialog}
$DIALOG --title "Save Dolibarr with demo values" --clear \
--yesno "Do you confirm ? \n Dump file : '$dumpfile' \n Dump dir : '$mydir' \n Mysql database : '$base' \n Mysql port : '$port' \n Mysql login: '$admin' \n Mysql password : '$passwd'" 15 55
case $? in
0) echo "Ok, start process...";;
1) exit;;
255) exit;;
esac
fi
# ---------------------------- run sql file
if [ "x$passwd" != "x" ]
then
export passwd="-p$passwd"
fi
export list="
--ignore-table=$base.llx_abonne
--ignore-table=$base.llx_abonne_extrafields
--ignore-table=$base.llx_abonne_type
--ignore-table=$base.llx_abonnement
--ignore-table=$base.llx_bt_namemap
--ignore-table=$base.llx_bt_speedlimit
--ignore-table=$base.llx_bt_summary
--ignore-table=$base.llx_bt_timestamps
--ignore-table=$base.llx_bt_webseedfiles
--ignore-table=$base.llx_dolicloud_customers
--ignore-table=$base.llx_c_dolicloud_plans
--ignore-table=$base.llx_cabinetmed_c_banques
--ignore-table=$base.llx_cabinetmed_c_ccam
--ignore-table=$base.llx_cabinetmed_c_examconclusion
--ignore-table=$base.llx_cabinetmed_cons
--ignore-table=$base.llx_cabinetmed_diaglec
--ignore-table=$base.llx_cabinetmed_examaut
--ignore-table=$base.llx_cabinetmed_exambio
--ignore-table=$base.llx_cabinetmed_examenprescrit
--ignore-table=$base.llx_cabinetmed_motifcons
--ignore-table=$base.llx_cabinetmed_patient
--ignore-table=$base.llx_publi_c_contact_list
--ignore-table=$base.llx_publi_c_dnd_list
--ignore-table=$base.llx_publi_c_method_list
"
echo "mysqldump -P$port -u$admin -p***** $list $base > $mydir/$dumpfile"
mysqldump -P$port -u$admin $passwd $list $base > $mydir/$dumpfile
export res=$?
if [ "x$res" = "x0" ]
then
echo "Success, file successfully loaded."
else
echo "Error, load failed."
fi
echo

View File

@@ -0,0 +1 @@
http://bitboost.com/ref/international-address-formats.html#Formats

View File

@@ -0,0 +1 @@
http://www.taxrates.cc/index.html

View File

@@ -2,4 +2,7 @@
http://www.gnu.org/licenses/quick-guide-gplv3.fr.html
* FAQ on GPL licence
http://www.fsf.org/licensing/licenses/gpl-faq.html
http://www.fsf.org/licensing/licenses/gpl-faq.html
* Questions/Answers on Fork for using Dolibarr as a SaaS
http://stackoverflow.com/questions/539291/rebranding-a-gpld-app-as-saas

View File

@@ -9,7 +9,7 @@ skeleton_*.php to build its generated code.
modMyModule.class.php:
Is a sample of module descriptor you can use if you want to build a new module/plugin for
Is a sample of module descriptor that you can use if you want to build a new module/plugin for
Dolibarr.
@@ -20,11 +20,7 @@ skeleton_page.php:
Is a sample you can use as an example if you need to build an HTML page to include in Dolibarr GUI.
skeleton_class.class.php:
Is a sample you can use as an example if you need to build a class file to access a new table
required by a Dolibarr development.
However it is better to run the script build_class_from_table.php that accept a table name as a
parameter and will used table description in database and the skeleton_class.class.php file to
generate full code for your class file.
After running this script, the class to access your table (insert a record, update, delete and select)
is directly finished and can be used by your business code. No more coding for accesser on table
is needed with this script as the file is completely generated once.
Is a sample you can use as an example if you need to build a class file to access a new table required by a Dolibarr development.
However it is better to run the build_class_from_table.php script that accepts a table name as a parameter and will uses the description table within database and the skeleton_class.class.php file to generate full code for your class file.
After running this script, the class to access your table (insert a record, update, delete and select) is directly finished and can be used by your module's code.
No more coding is needed to get access to table with this script because the file is completely generated once.

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -58,7 +58,7 @@ if (! isset($argv[1]))
if ($db->type != 'mysql' && $db->type != 'mysqli')
{
print "Error: This script works with mysql driver only\n";
print "Error: This script works with mysql or mysqli driver only\n";
exit;
}
@@ -67,15 +67,10 @@ print 'Tablename='.$argv[1]."\n";
print "Current dir is ".getcwd()."\n";
//--------------------------------
// Build skeleton_class.class.php
//--------------------------------
$table=$argv[1];
// Define array with list of properties
$property=array();
$table=$argv[1];
$foundprimary=0;
$resql=$db->DDLDescTable($table);
if ($resql)
{
@@ -121,9 +116,32 @@ if ($resql)
else
{
print "Error: Failed to get description for table '".$table."'.\n";
return false;
}
//var_dump($property);
// Define substitute select parameters
$varpropselect="\n";
$cleanparam='';
$i=0;
foreach($property as $key => $prop)
{
$i++;
if ($prop['field'] != 'rowid')
{
$varpropselect.="\t\t\$sql.= \" ";
$varpropselect.="t.".$prop['field'];
if ($i < count($property)) $varpropselect.=",";
$varpropselect.="\";";
$varpropselect.="\n";
}
}
//--------------------------------
// Build skeleton_class.class.php
//--------------------------------
// Define working variables
$table=strtolower($table);
@@ -296,22 +314,7 @@ $targetcontent=preg_replace('/\$sql.= " field1=".\(isset\(\$this->field1\)\?"\'"
$targetcontent=preg_replace('/\$sql.= " field2=".\(isset\(\$this->field2\)\?"\'".\$this->db->escape\(\$this->field2\)."\'":"null"\)."";/', '', $targetcontent);
// Substitute select parameters
$varprop="\n";
$cleanparam='';
$i=0;
foreach($property as $key => $prop)
{
$i++;
if ($prop['field'] != 'rowid')
{
$varprop.="\t\t\$sql.= \" ";
$varprop.="t.".$prop['field'];
if ($i < count($property)) $varprop.=",";
$varprop.="\";";
$varprop.="\n";
}
}
$targetcontent=preg_replace('/\$sql\.= " t\.field1,";/', $varprop, $targetcontent);
$targetcontent=preg_replace('/\$sql\.= " t\.field1,";/', $varpropselect, $targetcontent);
$targetcontent=preg_replace('/\$sql\.= " t\.field2";/', '', $targetcontent);
// Substitute select set parameters
@@ -405,6 +408,54 @@ if ($fp)
}
else $error++;
//--------------------------------
// Build skeleton_page.php
//--------------------------------
// Read skeleton_page.php file
$skeletonfile=$path.'skeleton_page.php';
$sourcecontent=file_get_contents($skeletonfile);
if (! $sourcecontent)
{
print "\n";
print "Error: Failed to read skeleton sample '".$skeletonfile."'\n";
print "Try to run script from skeletons directory.\n";
exit;
}
// Define output variables
$outfile='out.'.$classmin.'_page.php';
$targetcontent=$sourcecontent;
// Substitute class name
$targetcontent=preg_replace('/skeleton_class\.class\.php/', $classmin.'.class.php', $targetcontent);
$targetcontent=preg_replace('/skeleton_script\.php/', $classmin.'_script.php', $targetcontent);
$targetcontent=preg_replace('/\$element=\'skeleton\'/', '\$element=\''.$classmin.'\'', $targetcontent);
$targetcontent=preg_replace('/\$table_element=\'skeleton\'/', '\$table_element=\''.$classmin.'\'', $targetcontent);
$targetcontent=preg_replace('/Skeleton_Class/', $classname, $targetcontent);
$targetcontent=preg_replace('/skeleton/', $classname, $targetcontent);
// Substitute comments
$targetcontent=preg_replace('/This file is an example to create a new class file/', 'Put here description of this class', $targetcontent);
$targetcontent=preg_replace('/\s*\/\/\.\.\./', '', $targetcontent);
$targetcontent=preg_replace('/Put here some comments/','Initialy built by build_class_from_table on '.strftime('%Y-%m-%d %H:%M',mktime()), $targetcontent);
// Substitute table name
$targetcontent=preg_replace('/MAIN_DB_PREFIX."mytable/', 'MAIN_DB_PREFIX."'.$tablenoprefix, $targetcontent);
// Build file
$fp=fopen($outfile,"w");
if ($fp)
{
fputs($fp, $targetcontent);
fclose($fp);
print "File '".$outfile."' has been built in current directory.\n";
}
else $error++;
// -------------------- END OF BUILD_CLASS_FROM_TABLE SCRIPT --------------------
print "You can now rename generated files by removing the 'out.' prefix in their name and store them in a directory of your choice.\n";

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -28,7 +28,7 @@ $path=dirname(__FILE__).'/';
// Test if batch mode
if (substr($sapi_type, 0, 3) == 'cgi') {
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
exit;
}
@@ -142,6 +142,27 @@ while($i<count($properties))
$targetcontent=preg_replace('/\'prop1\'=>\$'.$classmin.'->prop1,/', $varprop, $targetcontent);
$targetcontent=preg_replace('/\'prop2\'=>\$'.$classmin.'->prop2,/', '', $targetcontent);
// Substitute get method parameters
$varprop="\n\t\t";
$cleanparam='';
$i=0;
while($i<count($properties))
{
$varprop.='$newobject->'.$properties[$i].'=$'.$classmin.'->'.$properties[$i].';';
$i++;
if ($i == count($properties))
$varprop.="\n";
else
$varprop.="\n\t\t";
}
$targetcontent=preg_replace('/\$newobject->prop1=\$'.$classmin.'->prop1;/', $varprop, $targetcontent);
$targetcontent=preg_replace('/\$newobject->prop2=\$'.$classmin.'->prop2;/', '', $targetcontent);
// Build file
$fp=fopen($outfile,"w");
if ($fp)

View File

@@ -1,11 +1,11 @@
<?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -25,7 +25,7 @@
* \ingroup mymodule
* \brief Description and activation file for module MyModule
*/
include_once(DOL_DOCUMENT_ROOT ."/core/modules/DolibarrModules.class.php");
include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
/**
@@ -38,7 +38,7 @@ class modMyModule extends DolibarrModules
*
* @param DoliDB $db Database handler
*/
function modMyModule($db)
function __construct($db)
{
global $langs,$conf;
@@ -73,15 +73,19 @@ class modMyModule extends DolibarrModules
// for specific path of parts (eg: /mymodule/core/modules/barcode)
// for specific css file (eg: /mymodule/css/mymodule.css.php)
//$this->module_parts = array(
// 'triggers' => 0, // Set this to 1 if module has its own trigger directory
// 'login' => 0, // Set this to 1 if module has its own login method directory
// 'substitutions' => 0, // Set this to 1 if module has its own substitution function file
// 'menus' => 0, // Set this to 1 if module has its own menus handler directory
// 'barcode' => 0, // Set this to 1 if module has its own barcode directory
// 'models' => 0, // Set this to 1 if module has its own models directory
// 'css' => '/mymodule/css/mymodule.css.php', // Set this to relative path of css if module has its own css file
// 'hooks' => array('hookcontext1','hookcontext2') // Set here all hooks context managed by module
// 'workflow' => array('order' => array('WORKFLOW_ORDER_AUTOCREATE_INVOICE')) // Set here all workflow context managed by module
// 'triggers' => 0, // Set this to 1 if module has its own trigger directory (core/triggers)
// 'login' => 0, // Set this to 1 if module has its own login method directory (core/login)
// 'substitutions' => 0, // Set this to 1 if module has its own substitution function file (core/substitutions)
// 'menus' => 0, // Set this to 1 if module has its own menus handler directory (core/menus)
// 'theme' => 0, // Set this to 1 if module has its own theme directory (core/theme)
// 'tpl' => 0, // Set this to 1 if module overwrite template dir (core/tpl)
// 'barcode' => 0, // Set this to 1 if module has its own barcode directory (core/modules/barcode)
// 'models' => 0, // Set this to 1 if module has its own models directory (core/modules/xxx)
// 'css' => array('/mymodule/css/mymodule.css.php'), // Set this to relative path of css file if module has its own css file
// 'js' => array('/mymodule/js/mymodule.js'), // Set this to relative path of js file if module must load a js on all pages
// 'hooks' => array('hookcontext1','hookcontext2') // Set here all hooks context managed by module
// 'dir' => array('output' => 'othermodulename'), // To force the default directories names
// 'workflow' => array('WORKFLOW_MODULE1_YOURACTIONTYPE_MODULE2'=>array('enabled'=>'! empty($conf->module1->enabled) && ! empty($conf->module2->enabled)', 'picto'=>'yourpicto@mymodule')) // Set here all workflow context managed by module
// );
$this->module_parts = array();
@@ -97,7 +101,7 @@ class modMyModule extends DolibarrModules
$this->requiredby = array(); // List of modules id to disable if this one is disabled
$this->phpmin = array(5,0); // Minimum version of PHP required by module
$this->need_dolibarr_version = array(3,0); // Minimum version of Dolibarr required by module
$this->langfiles = array("langfiles@mymodule");
$this->langfiles = array("mylangfile@mymodule");
// Constants
// List of particular constants to add when module is enabled (key, 'chaine', value, desc, visible, 'current' or 'allentities', deleteonunactive)
@@ -107,9 +111,9 @@ class modMyModule extends DolibarrModules
$this->const = array();
// Array to add new pages in new tabs
// Example: $this->tabs = array('objecttype:+tabname1:Title1:langfile@mymodule:$user->rights->mymodule->read:/mymodule/mynewtab1.php?id=__ID__', // To add a new tab identified by code tabname1
// 'objecttype:+tabname2:Title2:langfile@mymodule:$user->rights->othermodule->read:/mymodule/mynewtab2.php?id=__ID__', // To add another new tab identified by code tabname2
// 'objecttype:-tabname'); // To remove an existing tab identified by code tabname
// Example: $this->tabs = array('objecttype:+tabname1:Title1:mylangfile@mymodule:$user->rights->mymodule->read:/mymodule/mynewtab1.php?id=__ID__', // To add a new tab identified by code tabname1
// 'objecttype:+tabname2:Title2:mylangfile@mymodule:$user->rights->othermodule->read:/mymodule/mynewtab2.php?id=__ID__', // To add another new tab identified by code tabname2
// 'objecttype:-tabname':NU:conditiontoremove); // To remove an existing tab identified by code tabname
// where objecttype can be
// 'thirdparty' to add a tab in third party view
// 'intervention' to add a tab in intervention view
@@ -134,7 +138,7 @@ class modMyModule extends DolibarrModules
/* Example:
if (! isset($conf->mymodule->enabled)) $conf->mymodule->enabled=0; // This is to avoid warnings
$this->dictionnaries=array(
'langs'=>'mymodule@mymodule',
'langs'=>'mylangfile@mymodule',
'tabname'=>array(MAIN_DB_PREFIX."table1",MAIN_DB_PREFIX."table2",MAIN_DB_PREFIX."table3"), // List of tables we want to see into dictonnary editor
'tablib'=>array("Table1","Table2","Table3"), // Label of tables
'tabsql'=>array('SELECT f.rowid as rowid, f.code, f.label, f.active FROM '.MAIN_DB_PREFIX.'table1 as f','SELECT f.rowid as rowid, f.code, f.label, f.active FROM '.MAIN_DB_PREFIX.'table2 as f','SELECT f.rowid as rowid, f.code, f.label, f.active FROM '.MAIN_DB_PREFIX.'table3 as f'), // Request to select fields
@@ -174,7 +178,7 @@ class modMyModule extends DolibarrModules
// Main menu entries
$this->menus = array(); // List of menus to add
$this->menu = array(); // List of menus to add
$r=0;
// Add here entries to declare new menus
@@ -186,20 +190,7 @@ class modMyModule extends DolibarrModules
// 'mainmenu'=>'mymodule',
// 'leftmenu'=>'mymodule',
// 'url'=>'/mymodule/pagetop.php',
// 'langs'=>'mylangfile', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
// 'position'=>100,
// 'enabled'=>'$conf->mymodule->enabled', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled.
// 'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules
// 'target'=>'',
// 'user'=>2); // 0=Menu for internal users, 1=external users, 2=both
// $r++;
// $this->menu[$r]=array( 'fk_menu'=>'r=0', // Use r=value where r is index key used for the parent menu entry (higher parent must be a top menu entry)
// 'type'=>'left', // This is a Left menu entry
// 'titre'=>'MyModule left menu',
// 'mainmenu'=>'mymodule',
// 'leftmenu'=>'mymodule',
// 'url'=>'/mymodule/pagelevel1.php',
// 'langs'=>'mylangfile', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
// 'langs'=>'mylangfile@mymodule', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
// 'position'=>100,
// 'enabled'=>'$conf->mymodule->enabled', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled.
// 'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules
@@ -208,13 +199,13 @@ class modMyModule extends DolibarrModules
// $r++;
//
// Example to declare a Left Menu entry into an existing Top menu entry:
// $this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=mainmenucode', // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy'
// $this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=xxx', // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
// 'type'=>'left', // This is a Left menu entry
// 'titre'=>'MyModule left menu',
// 'mainmenu'=>'mainmenucode',
// 'mainmenu'=>'xxx',
// 'leftmenu'=>'mymodule',
// 'url'=>'/mymodule/pagelevel2.php',
// 'langs'=>'mylangfile', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
// 'langs'=>'mylangfile@mymodule', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
// 'position'=>100,
// 'enabled'=>'$conf->mymodule->enabled', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled. Use '$leftmenu==\'system\'' to show if leftmenu system is selected.
// 'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules
@@ -237,6 +228,7 @@ class modMyModule extends DolibarrModules
// $this->export_sql_end[$r] =' FROM ('.MAIN_DB_PREFIX.'facture as f, '.MAIN_DB_PREFIX.'facturedet as fd, '.MAIN_DB_PREFIX.'societe as s)';
// $this->export_sql_end[$r] .=' LEFT JOIN '.MAIN_DB_PREFIX.'product as p on (fd.fk_product = p.rowid)';
// $this->export_sql_end[$r] .=' WHERE f.fk_soc = s.rowid AND f.rowid = fd.fk_facture';
// $this->export_sql_order[$r] .=' ORDER BY s.nom';
// $r++;
}

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -61,7 +61,7 @@ class Skeleton_Class // extends CommonObject
/**
* Create object into database
*
* @param User $user User that create
* @param User $user User that creates
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, Id of created object if OK
*/
@@ -102,10 +102,10 @@ class Skeleton_Class // extends CommonObject
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action call a trigger.
// want this action calls a trigger.
//// Call triggers
//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
//include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
//$interface=new Interfaces($this->db);
//$result=$interface->run_triggers('MYOBJECT_CREATE',$this,$user,$langs,$conf);
//if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -133,7 +133,7 @@ class Skeleton_Class // extends CommonObject
/**
* Load object in memory from database
* Load object in memory from the database
*
* @param int $id Id object
* @return int <0 if KO, >0 if OK
@@ -178,7 +178,7 @@ class Skeleton_Class // extends CommonObject
/**
* Update object into database
*
* @param User $user User that modify
* @param User $user User that modifies
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
@@ -193,7 +193,7 @@ class Skeleton_Class // extends CommonObject
//...
// Check parameters
// Put here code to add control on parameters values
// Put here code to add a control on parameters values
// Update request
$sql = "UPDATE ".MAIN_DB_PREFIX."mytable SET";
@@ -213,10 +213,10 @@ class Skeleton_Class // extends CommonObject
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action call a trigger.
// want this action calls a trigger.
//// Call triggers
//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
//include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
//$interface=new Interfaces($this->db);
//$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
//if ($result < 0) { $error++; $this->errors=$interface->errors; }
@@ -246,7 +246,7 @@ class Skeleton_Class // extends CommonObject
/**
* Delete object in database
*
* @param User $user User that delete
* @param User $user User that deletes
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
@@ -262,10 +262,10 @@ class Skeleton_Class // extends CommonObject
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action call a trigger.
// want this action calls a trigger.
//// Call triggers
//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
//include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
//$interface=new Interfaces($this->db);
//$result=$interface->run_triggers('MYOBJECT_DELETE',$this,$user,$langs,$conf);
//if ($result < 0) { $error++; $this->errors=$interface->errors; }

View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -36,15 +36,15 @@
// Change this following line to use the correct relative path (../, ../../, etc)
$res=0;
if (! $res && file_exists("../main.inc.php")) $res=@include("../main.inc.php");
if (! $res && file_exists("../../main.inc.php")) $res=@include("../../main.inc.php");
if (! $res && file_exists("../../../main.inc.php")) $res=@include("../../../main.inc.php");
if (! $res && file_exists("../../../dolibarr/htdocs/main.inc.php")) $res=@include("../../../dolibarr/htdocs/main.inc.php"); // Used on dev env only
if (! $res && file_exists("../../../../dolibarr/htdocs/main.inc.php")) $res=@include("../../../../dolibarr/htdocs/main.inc.php"); // Used on dev env only
if (! $res && file_exists("../../../../../dolibarr/htdocs/main.inc.php")) $res=@include("../../../../../dolibarr/htdocs/main.inc.php"); // Used on dev env only
if (! $res && file_exists("../main.inc.php")) $res=@include '../main.inc.php';
if (! $res && file_exists("../../main.inc.php")) $res=@include '../../main.inc.php';
if (! $res && file_exists("../../../main.inc.php")) $res=@include '../../../main.inc.php';
if (! $res && file_exists("../../../dolibarr/htdocs/main.inc.php")) $res=@include '../../../dolibarr/htdocs/main.inc.php'; // Used on dev env only
if (! $res && file_exists("../../../../dolibarr/htdocs/main.inc.php")) $res=@include '../../../../dolibarr/htdocs/main.inc.php'; // Used on dev env only
if (! $res && file_exists("../../../../../dolibarr/htdocs/main.inc.php")) $res=@include '../../../../../dolibarr/htdocs/main.inc.php'; // Used on dev env only
if (! $res) die("Include of main fails");
// Change this following line to use the correct relative path from htdocs (do not remove DOL_DOCUMENT_ROOT)
require_once(DOL_DOCUMENT_ROOT."/skeleton/skeleton_class.class.php");
// Change this following line to use the correct relative path from htdocs
dol_include_once('/module/class/skeleton_class.class.php');
// Load traductions files requiredby by page
$langs->load("companies");
@@ -118,11 +118,57 @@ jQuery(document).ready(function() {
</script>';
// Example 2 : Adding jquery code
// Example 2 : Adding links to objects
$somethingshown=$myobject->showLinkedObjectBlock();
// Example 3 : List of data
if ($action == 'list')
{
$sql = "SELECT";
$sql.= " t.field1,";
$sql.= " t.field2";
$sql.= " FROM ".MAIN_DB_PREFIX."skeleton as t";
$sql.= " WHERE field3 = 'xxx'";
$sql.= " ORDER BY field1 ASC";
print '<tr class="liste_titre">';
print_liste_field_titre($langs->trans('field1'),$_SERVER['PHP_SELF'],'t.field1','',$param,'',$sortfield,$sortorder);
print_liste_field_titre($langs->trans('field2'),$_SERVER['PHP_SELF'],'t.field2','',$param,'',$sortfield,$sortorder);
print '</tr>';
dol_syslog($script_file." sql=".$sql, LOG_DEBUG);
$resql=$db->query($sql);
if ($resql)
{
$num = $db->num_rows($resql);
$i = 0;
if ($num)
{
while ($i < $num)
{
$obj = $db->fetch_object($resql);
if ($obj)
{
// You can use here results
print '<tr><td>';
print $obj->field1;
print $obj->field2;
print '</td></tr>';
}
$i++;
}
}
}
else
{
$error++;
dol_print_error($db);
}
}
// End of page
llxFooter();
$db->close();

View File

@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -112,7 +112,7 @@ else print "Object with id ".$myobject->id." deleted\n";
// An example of a direct SQL read without using the fetch method
/*
$sql = "SELECT field1, field2";
$sql.= " FROM ".MAIN_DB_PREFIX."c_pays";
$sql.= " FROM ".MAIN_DB_PREFIX."skeleton";
$sql.= " WHERE field3 = 'xxx'";
$sql.= " ORDER BY field1 ASC";

View File

@@ -3,7 +3,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -118,11 +118,25 @@ $server->register(
'WS to get skeleton'
);
// Register WSDL
$server->register(
'createSkeleton',
// Entry values
array('authentication'=>'tns:authentication','skeleton'=>'tns:skeleton'),
// Exit values
array('result'=>'tns:result','id'=>'xsd:string'),
$ns,
$ns.'#createSkeleton',
$styledoc,
$styleuse,
'WS to create a skeleton'
);
/**
* Get produt or service
* Get Skeleton
*
* @param array $authentication Array of authentication information
* @param int $id Id of object
@@ -192,6 +206,67 @@ function getSkeleton($authentication,$id,$ref='',$ref_ext='')
}
/**
* Create Skeleton
*
* @param array $authentication Array of authentication information
* @param Skeleton $skeleton $skeleton
* @return array Array result
*/
function createSkeleton($authentication,$skeleton)
{
global $db,$conf,$langs;
$now=dol_now();
dol_syslog("Function: createSkeleton login=".$authentication['login']);
if ($authentication['entity']) $conf->entity=$authentication['entity'];
// Init and check authentication
$objectresp=array();
$errorcode='';$errorlabel='';
$error=0;
$fuser=check_authentication($authentication,$error,$errorcode,$errorlabel);
// Check parameters
if (! $error)
{
$newobject=new Skeleton($db);
$newobject->prop1=$skeleton->prop1;
$newobject->prop2=$skeleton->prop2;
//...
$db->begin();
$result=$newobject->create($fuser);
if ($result <= 0)
{
$error++;
}
if (! $error)
{
$db->commit();
$objectresp=array('result'=>array('result_code'=>'OK', 'result_label'=>''),'id'=>$newobject->id,'ref'=>$newobject->ref);
}
else
{
$db->rollback();
$error++;
$errorcode='KO';
$errorlabel=$newobject->error;
}
}
if ($error)
{
$objectresp = array('result'=>array('result_code' => $errorcode, 'result_label' => $errorlabel));
}
return $objectresp;
}
// Return the results.
$server->service($HTTP_RAW_POST_DATA);

View File

@@ -3,7 +3,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@@ -151,7 +151,7 @@ class autoTranslator
{
$this->_time_end = date('Y-m-d H:i:s');
if (count($this->_translatedFiles[$file])>0)
if (isset($this->_translatedFiles[$file]) && count($this->_translatedFiles[$file])>0)
{
$fp = fopen($destPath, 'a');
fwrite($fp, "\r\n");
@@ -250,7 +250,7 @@ class autoTranslator
private function getLineValue($line)
{
$arraykey = explode('=',$line,2);
return trim($arraykey[1]);
return trim(isset($arraykey[1])?$arraykey[1]:'');
}
/**
@@ -275,17 +275,17 @@ class autoTranslator
* Return translation of a value
*
* @param array $src_texts Array with one value
* @param string $src_lang Language code source
* @param string $dest_lang Language code target
* @param string $src_lang Language code source (us, fr, it, ...)
* @param string $dest_lang Language code target (es, de, ...)
* @return string Value translated
*/
private function translateTexts($src_texts, $src_lang, $dest_lang)
{
// We want to be sure that src_lang and dest_lang are using 2 chars only
$tmp=explode('_',$src_lang);
if ($tmp[0] == $tmp[1]) $src_lang=$tmp[0];
if (! empty($tmp[1]) && $tmp[0] == $tmp[1]) $src_lang=$tmp[0];
$tmp=explode('_',$dest_lang);
if ($tmp[0] == $tmp[1]) $dest_lang=$tmp[0];
if (! empty($tmp[1]) && $tmp[0] == $tmp[1]) $dest_lang=$tmp[0];
//setting language pair
$lang_pair = $src_lang.'|'.$dest_lang;

2
dev/translation/autotranslator.php Normal file → Executable file
View File

@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 755 B

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Some files were not shown because too many files have changed in this diff Show More