Commit Graph

986 Commits

Author SHA1 Message Date
Regis Houssin
3c794967c3 Fix: multiple avoid warning with php strict mode 2012-03-23 17:18:33 +01:00
Regis Houssin
be7da6f52c Fix: avoid warning in php strict mode 2012-03-23 16:44:45 +01:00
Regis Houssin
1bcbe02562 Fix: wrong original values 2012-03-23 09:15:14 +01:00
Regis Houssin
de16037b93 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-03-23 09:03:58 +01:00
Regis Houssin
77623a9c1b Fix: compatibility with ckeditor 2012-03-23 09:03:36 +01:00
Laurent Destailleur
6b2c141083 Uniformize page name. 2012-03-23 00:08:34 +01:00
Regis Houssin
5d2da2c884 Fix: uniformize code 2012-03-22 08:33:44 +01:00
Laurent Destailleur
b098838b6f Fix: Bad error management when enabling/disabling modules 2012-03-21 13:50:59 +01:00
Regis Houssin
52a8216e3e Fix: avoid php E_STRICT errors and compatibility with php 5.4 2012-03-21 02:12:44 +01:00
Laurent Destailleur
97f0095251 PDF are better with all PDF sizes 2012-03-20 09:22:41 +01:00
Laurent Destailleur
e7d07c0a91 New: add supplier ref on supplier invoice. 2012-03-19 22:26:24 +01:00
Laurent Destailleur
3383d314c9 Doxygen 2012-03-19 17:18:11 +01:00
Laurent Destailleur
d6588a53a1 Fix: Missing global 2012-03-19 11:22:59 +01:00
Regis Houssin
4ecc64504d Fix: use the original json functions 2012-03-18 19:59:38 +01:00
Laurent Destailleur
23d523158a Doxygen 2012-03-18 12:51:13 +01:00
Laurent Destailleur
96e9e088e3 Doxygen 2012-03-18 02:22:54 +01:00
Laurent Destailleur
dc86095c06 Doxygen 2012-03-18 02:19:27 +01:00
Laurent Destailleur
d59848e18e New: Enhance box management 2012-03-17 21:32:10 +01:00
Laurent Destailleur
da94f76364 New: When a module with boxes is activated, box is also activated by
default for everybody, except for users that had personlized their box
view.
2012-03-17 14:29:48 +01:00
Laurent Destailleur
d8becd3cdb Doxygen 2012-03-17 01:13:10 +01:00
Laurent Destailleur
02cdd86066 Doxygen 2012-03-17 00:47:01 +01:00
Laurent Destailleur
3f11e51fbb Doxygen 2012-03-17 00:22:48 +01:00
Laurent Destailleur
46d08a9d3b Doxygen 2012-03-16 09:35:59 +01:00
Laurent Destailleur
6e864bc992 Doxygen 2012-03-16 09:34:19 +01:00
Laurent Destailleur
d76802630a Doxygen 2012-03-15 09:26:14 +01:00
Laurent Destailleur
9e5cffc62b Doxygen 2012-03-14 11:49:11 +01:00
Laurent Destailleur
66bad9ea04 Doxygen 2012-03-13 09:38:00 +01:00
Laurent Destailleur
e4b697fa75 New: Show delivery date into proposal template azur. 2012-03-04 22:18:15 +01:00
Laurent Destailleur
055689e2dc New: Import use generated codes if not provided into input file. 2012-03-04 13:00:53 +01:00
Laurent Destailleur
dd92cea7ed Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-03-03 20:57:00 +01:00
Laurent Destailleur
130bca84d6 Fix: fk_stcomm is no more required. 2012-03-03 20:56:39 +01:00
Regis Houssin
bbbca891f8 Fix: missing entity 2012-03-03 20:19:21 +01:00
Laurent Destailleur
80b75fa67d Fix: boxes must not be removed after update 2012-03-03 17:37:45 +01:00
Laurent Destailleur
2772d1dfa2 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-03-03 16:34:13 +01:00
Laurent Destailleur
fb6aad19e5 New: Import wizard can import personalized fields 2012-03-03 16:33:38 +01:00
Regis Houssin
5139c0a69e Fix: time is not necessary 2012-03-03 11:38:45 +01:00
Regis Houssin
b74e24ab46 Fix: increase size 2012-03-03 09:06:26 +01:00
Regis Houssin
047edc69f9 Fix: unit test warning 2012-03-03 07:45:25 +01:00
Laurent Destailleur
cb3104220e Fix: Instantiate if not already done 2012-03-02 19:36:43 +01:00
Regis Houssin
034b0fc4d4 New: add dol_json_encode and dol_json_decode instead
serialize/unserialize
2012-03-02 17:48:05 +01:00
Regis Houssin
30c7bf811b Fix: add pdf_writeLinkedObjects method 2012-03-02 15:03:46 +01:00
Regis Houssin
9301def08d Fix: rename method 2012-03-02 15:03:14 +01:00
Regis Houssin
61e90e0d9d Fix: add $hookmanager parameter 2012-03-02 10:26:03 +01:00
Regis Houssin
71e5e27e7e Fix: instantiate $hookmanager if not exist 2012-03-02 10:16:50 +01:00
Regis Houssin
64b8486494 New: add method for show linked objects in pdf 2012-03-02 08:11:40 +01:00
FHenry
0cf4619682 Emailing campaign- unsubcribe and use of md5 tag 2012-03-01 14:51:07 +01:00
Laurent Destailleur
9174182a27 Fix: Removed warning 2012-03-01 09:24:45 +01:00
Regis Houssin
6aa7e90834 Fix: merge problem 2012-03-01 08:03:27 +01:00
Regis Houssin
f3cb926c3c Fix: use generic array for all parts 2012-03-01 13:58:33 +08:00
Laurent Destailleur
7c4e908639 models_modules isn't enough so we use same facture_invoice,
commande_invoice, propale_invoice. This means module descriptor file
should contains
module_parts('facture'=>1) if we want to add doc template for invoice
into module/core/modules/facture/doc
2012-03-01 02:06:08 +01:00
Laurent Destailleur
51fb1b2385 Fix: Code was sharing loop for custom dir and loop for subdir modules.
The loop to manage customdir must be managed by the dol_buildpath so
only loop on / + module dir must be done.
2012-02-29 20:07:17 +01:00
Regis Houssin
79c0369d66 Fix: possibility to use models of external modules 2012-03-01 01:24:00 +08:00
Laurent Destailleur
1c4ca9b335 New: Add hidden option MAIN_ADD_PDF_BACKGROUND to add a PDF as
background of invoice/order generated PDF.
2012-02-27 22:57:19 +01:00
Laurent Destailleur
563acb5968 For backward compatibility 2012-02-27 10:18:34 +01:00
Regis Houssin
476168410e Fix: declaration of property 2012-02-27 09:09:34 +01:00
Regis Houssin
03e68b3d77 Fix: avoid warning 2012-02-27 09:04:41 +01:00
Laurent Destailleur
16ad5452b6 Fix: When company name is too long, wrapping overwrite address. 2012-02-26 14:27:19 +01:00
Laurent Destailleur
45f2f7b449 Fix: Second field is required 2012-02-25 16:14:59 +01:00
Regis Houssin
e2cea80f69 Fix: problem with this pdf 2012-02-24 17:25:53 +01:00
Regis Houssin
8e023bb384 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-24 16:32:29 +01:00
Regis Houssin
13f2fe84f9 Fix: missing object $db and missing variables declaration 2012-02-24 16:31:51 +01:00
Laurent Destailleur
cc6a2c8d84 Fix: Compatibility of new module setup with old setup 2012-02-24 11:06:05 +01:00
Regis Houssin
1b236c5c56 Fix: possibility to add more parameters (eg: entity=0) 2012-02-24 15:53:38 +08:00
Regis Houssin
a68ac56e5b Fix: remove obsolete code 2012-02-23 22:01:55 +01:00
Regis Houssin
673fbc457d Fix: add debug mode and change with new module parts management 2012-02-23 20:42:25 +01:00
Regis Houssin
e536bef00e Fix: serialize array parameters (hooks) 2012-02-23 19:51:56 +01:00
Regis Houssin
46ad02cbc8 New: add generic function for module parts 2012-02-23 15:42:03 +01:00
Laurent Destailleur
2647cb72ac New: Now all features can be provided by a module with all files inside
the directory of module.
2012-02-22 16:18:03 +01:00
simnandez
282a50512f Fix: Use transnoentities into description 2012-02-22 09:44:46 +01:00
Regis Houssin
8b107b65e8 Fix: compatibility with multi-company shared 2012-02-21 18:09:21 +08:00
Laurent Destailleur
b8a61e73a0 New: Add product_label into substitution tags for ODT. 2012-02-20 23:58:36 +01:00
Laurent Destailleur
8d6655061e Qual: Full description of lines for ODT generation share same
function.
2012-02-19 21:08:17 +01:00
Laurent Destailleur
c4b845d60a Qual: Removed deprecated function name. 2012-02-19 18:34:22 +01:00
Laurent Destailleur
e903719c36 Qual: Uniformize code
Perf: Very small per enhancement
2012-02-19 17:12:17 +01:00
Laurent Destailleur
d87e0eaae0 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-19 15:21:04 +01:00
Laurent Destailleur
75312655f1 Qual: More robust error code management when a box is renamed. 2012-02-19 13:12:11 +01:00
Regis Houssin
2cd9bcea90 Fix: restore broken encryption 2012-02-19 09:59:13 +01:00
Laurent Destailleur
a500033b10 New: Add postgresql function to resynchronize sequences 2012-02-19 03:21:10 +01:00
Laurent Destailleur
0a17345415 Doxygen 2012-02-16 18:39:22 +01:00
Regis Houssin
cd3452d71d Fix: multicompany sharings and uniformize code 2012-02-11 10:18:09 +01:00
Regis Houssin
645d72c4a6 Fix: some bugs for multicompany sharings 2012-02-11 08:03:26 +01:00
Laurent Destailleur
aea54edfa2 Qual: Uniformize code 2012-02-08 13:43:49 +01:00
Laurent Destailleur
842fb07d08 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-08 00:22:58 +01:00
Laurent Destailleur
104a4532b9 Fix: miscellaneous not initialized vars 2012-02-07 18:48:50 +01:00
Laurent Destailleur
d686c52b63 Fix: usage of custom dir for supplier invoices 2012-02-07 18:21:22 +01:00
Laurent Destailleur
55f6cdd495 Qual: Removed warnings 2012-02-07 10:25:58 +01:00
Laurent Destailleur
2093b3f0be New: Allow to use ODT templates for prososal like it's done for invoices 2012-02-05 19:37:52 +01:00
Regis Houssin
3302a86f0c Fix: add entity field in llx_paiement 2012-02-01 18:29:06 +01:00
Regis Houssin
7096bc8d7f Update htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php 2012-02-01 15:11:05 +01:00
Regis Houssin
ec3f5d121c Merge pull request #102 from simnandez/develop
[ task #176 ] Allow to use ODT templates. Works with Orders
2012-02-01 06:09:21 -08:00
Laurent Destailleur
0a78b3f970 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-01 14:22:35 +01:00
Laurent Destailleur
f1cd91dac5 Fix: Permission on donation module 2012-02-01 14:20:22 +01:00
Regis Houssin
c6e4206907 Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-01 11:33:11 +01:00
Regis Houssin
4431510ce4 Fix: use entity field of object 2012-02-01 11:32:55 +01:00
simnandez
53cdb31624 [ task #176 ] Allow to use ODT templates. Works with Orders 2012-01-30 18:18:40 +01:00
Laurent Destailleur
d7f7ec2372 Fix: Position of address 2012-01-29 21:46:55 +01:00
Simnandez
1f0c04a8a9 [ task #176 ] Allow to use ODT templates. Works with Orders 2012-01-27 22:35:23 +01:00
simnandez
15d1526393 [ task #176 ] Allow to use ODT templates. Works with Orders 2012-01-27 17:41:47 +01:00
Laurent Destailleur
d596920898 Doxygen 2012-01-23 18:43:30 +01:00
Regis Houssin
a29565f628 Fix: uniformize code 2012-01-23 16:38:57 +01:00
Regis Houssin
190cc7b13c Fix: uniformize structure 2012-01-23 14:43:31 +01:00
Laurent Destailleur
d8f96328f8 Move properties 2012-01-22 02:28:49 +01:00
Laurent Destailleur
70a67bc3f1 Qual: Move a not frequently used function out of functions.lib.php
Enhance PHPUnit tests
2012-01-21 14:10:22 +01:00
Laurent Destailleur
77bd02e573 Fix: user is not defined during definition but during runtime, so by
import process.
2012-01-20 18:41:44 +01:00
Regis Houssin
156501820c Fix: no $user object in update mode 2012-01-20 17:32:54 +08:00
Regis Houssin
66e9ea244d Fix: Trying to get property of non-object 2012-01-20 17:32:53 +08:00
Laurent Destailleur
7fd27da616 Fix: Wrong count of nb of lines 2012-01-20 10:09:19 +01:00
Laurent Destailleur
a8ca1c721c Uniformize way of working of trip and expenses (added "validate" step
after "draft").
2012-01-18 01:05:26 +01:00
Laurent Destailleur
9af78f97a8 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-01-18 00:39:39 +01:00
Laurent Destailleur
536b431452 Fix: SUPPLIER_INVOICE_FREE_TEXT 2012-01-18 00:38:53 +01:00
Laurent Destailleur
9215394965 New: Import wizard can import contacts.
New: A module can add import description for import wizard, even for
tables with foreign keys.
2012-01-18 00:16:02 +01:00
Spangaro Alexandre
28550dca89 Add function block/unblock for a trip credit note
Signed-off-by: Spangaro Alexandre <alexandre.spangaro@gmail.com>
2012-01-17 15:11:04 +08:00
Regis Houssin
64e0a4434d Fix: use fk_mainmenu if defined 2012-01-16 19:11:45 +08:00
Regis Houssin
8adac462fa Fix: share customer code with a referent entity 2012-01-12 18:51:40 +08:00
Laurent Destailleur
f8b2a2c774 New: Move mailman and spip feature into a specific module 2012-01-11 18:43:38 +01:00
Laurent Destailleur
9209c7c6bc Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-01-11 02:05:50 +01:00
Laurent Destailleur
86825e4c9b New: Show payments terms and conditions onto muscadet template. 2012-01-10 21:12:01 +01:00
Regis Houssin
cb286a2449 New: add shareds thirparties between entities 2012-01-11 00:19:57 +08:00
Laurent Destailleur
b2cd7018db Doxygen 2012-01-10 10:53:04 +01:00
Laurent Destailleur
f86ae93526 Qual: Removed checkstyle warnings 2012-01-10 10:23:57 +01:00
Laurent Destailleur
c6a96fec73 Qual: Uniformize lib filename 2012-01-08 01:59:33 +01:00
Regis Houssin
b9d9f3b5b1 Fix: bad path in error message 2012-01-06 10:19:07 +01:00
Laurent Destailleur
c598fb34c0 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-01-05 13:10:14 +01:00
Laurent Destailleur
7a00c793c6 Fix: SQL syntax error 2012-01-05 12:59:24 +01:00
Regis Houssin
37c7d2b102 Merge pull request #84 from simnandez/develop
[ task #176 ] Allow to use ODT templates for prososal like it's done for invoices. Working
2012-01-04 23:51:10 -08:00
Regis Houssin
187c54ae7f [task #176] Allow to use ODT templates for prososal like it's done 2012-01-05 08:49:48 +01:00
Laurent Destailleur
3f8d2cbef8 Qual: Remove checkstyle warnings 2012-01-04 21:23:50 +01:00
Laurent Destailleur
90b7cd1aae [ task #176 ] Allow to use ODT templates for prososal like it's done for
invoices. Move pdf and odt to doc dir
2012-01-04 02:04:55 +01:00
simnandez
283bb8e766 [ task #176 ] Allow to use ODT templates for prososal like it's done
for invoices. Working
2012-01-03 17:01:18 +01:00
simnandez
7d9b5a7545 [ task #176 ] Allow to use ODT templates for prososal like it's done
for invoices. Move pdf and odt to doc dir
2012-01-03 16:42:20 +01:00
simnandez
2a61569d9a [ task #176 ] Allow to use ODT templates for prososal like it's done for
invoices. Firsts works
2012-01-02 18:23:41 +01:00
Laurent Destailleur
2d2ba75ad2 New: When invoice was generated from order, order date is visible on
PDF, after order ref.
2011-12-31 14:56:45 +01:00
Laurent Destailleur
92c27b1732 New: Can add a left menu (first level) into an existing top menu. 2011-12-31 01:33:12 +01:00
Laurent Destailleur
4ea77e6d55 Prepare code to allow left menu add by modules 2011-12-30 23:07:27 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
0f14bb64e7 New: Can set country id for import of third party 2011-12-22 00:19:30 +01:00
Laurent Destailleur
721c9a6f5b Fix: [ bug #253 ] Non UTF-8 characters in CSV exports 2011-12-21 16:10:11 +01:00
Laurent Destailleur
95a292f41b Fix: Update licence files 2011-12-17 21:58:44 +01:00
Laurent Destailleur
3c611d284a Qual: Removed deprecated code/comments 2011-12-17 18:35:12 +01:00
Laurent Destailleur
3687dc8be9 Fix: Mime detection 2011-12-17 01:16:33 +01:00
Laurent Destailleur
1b998d5443 Fix: Removed a bug with pgsql 2011-12-12 00:07:28 +01:00
Laurent Destailleur
147ddd6551 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2011-12-08 20:20:59 +01:00
Laurent Destailleur
604127acd3 Doxygen 2011-12-08 20:18:00 +01:00
Regis Houssin
420acb3491 Fix: bad path 2011-12-08 09:28:19 +01:00
Regis Houssin
4e8b0a2eb5 Merge pull request #63 from grandoc/develop
Develop
2011-12-07 10:35:54 -08:00
Grand Philippe
2920d5d840 uniformize code 2011-12-07 16:20:29 +01:00
Laurent Destailleur
1f37dc906f Qual: Uniformize name of barcode into "barcode". 2011-12-07 11:59:41 +01:00
Laurent Destailleur
b52fc32853 Fix: fix not initialized variables 2011-12-05 19:41:38 +01:00
Laurent Destailleur
ffaf4e5465 Fix: fix not initialized variables 2011-12-05 19:03:36 +01:00
Laurent Destailleur
ebea7f6c97 Fix: fix not initialized variables 2011-12-05 18:36:54 +01:00
Regis Houssin
26646a98d8 Fix: missing translate parameter 2011-12-04 10:57:22 +01:00
Laurent Destailleur
56a0e26465 Fix: Removed tons of warnings 2011-12-01 17:09:01 +01:00
Laurent Destailleur
9f889b0439 Qual: Uniformize code for document generation of shipments.
Prepare usage of odt templates.
2011-11-30 12:28:01 +01:00
Laurent Destailleur
a47a16f281 Fix: Select target on supplier category 2011-11-30 11:55:33 +01:00
Laurent Destailleur
04dcc86f1a Fix: barcode generation using genbarcode is ok. 2011-11-28 23:07:19 +01:00
Laurent Destailleur
9d1a008768 Qual: Clean code for barcode 2011-11-27 22:55:49 +01:00
Laurent Destailleur
0e4d70d664 Qual: Clean barcode module. First step to remove php-barcode. 2011-11-27 15:33:18 +01:00
Laurent Destailleur
8614ef5bef doxygen 2011-11-26 12:36:36 +01:00
Laurent Destailleur
e170c477a3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2011-11-25 02:04:31 +01:00
Laurent Destailleur
781b41737f Fix: filter by categ 2011-11-25 02:03:02 +01:00
Regis Houssin
919523f2e2 Change default prefix if needed 2011-11-24 08:23:16 +01:00
Regis Houssin
86a48c8962 Fix: change the last database prefix 2011-11-23 21:43:25 +01:00
Laurent Destailleur
71e0f825b2 New: Add box for expired services 2011-11-23 18:10:10 +01:00
Laurent Destailleur
839781dfbe Qual: Removed a TODO by renaming all ->monnaie into ->currency 2011-11-23 14:55:36 +01:00
Laurent Destailleur
1770a46519 Qual: Removed tons of warning 2011-11-22 14:00:03 +01:00
Regis Houssin
7a34f4d5e4 Fix: remove duplicate field 2011-11-19 09:45:01 +01:00
Laurent Destailleur
b81938fe95 Uniformize code and doxygen 2011-11-13 11:45:25 +01:00
Laurent Destailleur
9ec3500b1f New: Add option INVOICE_POSITIVE_CREDIT_NOTE 2011-11-11 00:36:01 +01:00
Regis Houssin
f0c327c070 Fix: uniform code
replace all $html by $form with exceptions "$htmlname, $htmltooltip"
2011-11-08 17:22:31 +08:00
Laurent Destailleur
8193e8a54e Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2011-11-06 15:45:03 +01:00
Laurent Destailleur
8d46ae1d35 Qual: Better error managment on numbering setup 2011-11-06 15:12:18 +01:00
Regis Houssin
75ed344520 Fix: invalid EOL char 2011-11-06 09:51:55 +01:00
Laurent Destailleur
2240f5db44 Fix: Localisation of prices 2011-11-06 00:40:42 +01:00
Laurent Destailleur
40da2e23d2 Qual: Reduce sub-options of module fckeditor. This make code cleaner
and all this duplicated options were useless.
2011-11-05 23:18:49 +01:00
Laurent Destailleur
c16c09a451 Qual: Mutualize code to delete previews 2011-11-04 00:27:30 +01:00
Regis Houssin
7bb76a8cb2 Fix: translation 2011-11-01 15:18:33 +01:00
Laurent Destailleur
de842ef1e1 Doxygen
Fix: Bad vars
2011-10-29 18:15:54 +02:00
Laurent Destailleur
d183265702 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2011-10-29 17:47:30 +02:00
Regis Houssin
dea1210c2d Fix: edit in place datepicker more stable 2011-10-28 19:31:42 +02:00
Laurent Destailleur
b6b48d61bf New: Cheques into cheques receipts are ordered by operation date. 2011-10-28 00:47:28 +02:00
Laurent Destailleur
e780eadeed Fix: Substitution of free text 2011-10-27 10:07:58 +02:00
Laurent Destailleur
3025359899 Fix: Substitution missing 2011-10-27 02:44:05 +02:00
Laurent Destailleur
daf19d0d07 Fix: Some fix for barcode generation 2011-10-26 12:58:10 +02:00
Laurent Destailleur
408ec1bc29 Fix: Moved file that seems to belongs to external module 2011-10-26 12:26:04 +02:00
Regis Houssin
fafde60d2c Fix: add empty index files 2011-10-24 15:27:10 +02:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00