Commit Graph

1807 Commits

Author SHA1 Message Date
Laurent Destailleur
d6a5b224fb Revert bad practice: setEvent use SESSION. Such usage is limited to HTML
page context and can be used inside any pages.
However usage of _SESSION must never be used inside a library (except
for function dedicated to HTML page context), and never inside
object classes (we must use $this->errors, $this->mesgs or
$this->warnings instead).
2012-07-29 14:15:29 +02:00
Regis Houssin
eee5653c54 Fix: try to use the new message system 2012-07-29 12:54:19 +02:00
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
Marcos García
568db22649 Renamed fk_methode_commande to fk_input_method 2012-07-22 16:58:37 +02:00
Christophe Battarel
34132de71d add charges to supplier prices 2012-07-19 15:36:25 +02:00
Regis Houssin
e1b0d183e4 Fix: add commonorder and commoninvoice classes 2012-07-11 18:13:41 +02:00
Regis Houssin
66b2f630ac Fix: big avoid strict mode errors 2012-07-09 12:31:21 +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
6f1651309e Fix: global converting lines delimiter 2012-07-02 19:30:37 +02:00
Regis Houssin
bf379fc242 Fix: uniformize code 2012-06-11 21:45:59 +02:00
Laurent Destailleur
dc09960143 New: Add bank account on payment list of invoice card. 2012-05-08 15:43:58 +02:00
Regis Houssin
73487a6aec Fix: replace mktime() by dol_now() 2012-04-30 15:01:25 +02:00
Laurent Destailleur
b9133410c2 Qual: Uniformize code. 2012-04-28 18:49:01 +02:00
Laurent Destailleur
716b605d27 Fix: bad case of construct key word 2012-04-20 09:48:00 +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
9114fec4ed Doxygen 2012-04-16 12:01:32 +02:00
Grand Philippe
30c5160007 update approve function 2012-04-16 09:50:02 +02:00
Laurent Destailleur
f9e2fe0440 Fix: date must be quoted 2012-04-15 19:22:43 +02:00
Laurent Destailleur
9a70541084 Fix: Missing migration field
Fix: Date must be quoted
2012-04-15 18:41:38 +02:00
Grand Philippe
d79c8a3fa1 change from cloture to approve and complete function approve 2012-04-15 16:49:49 +02:00
Laurent Destailleur
c4c2b4ee7f Fix: PHP 5.4 2012-04-14 20:21:06 +02:00
Regis Houssin
e49df57667 Fix: compatibility with php 5.4 and E_STRICT mode 2012-04-14 15:04:46 +02:00
Regis Houssin
ad5770ac21 Fix: not set delivery date during create 2012-04-13 19:13:48 +02:00
Regis Houssin
578e13cfc6 Fix: missing date fields 2012-04-12 10:52:53 +02:00
Regis Houssin
4077ed9817 Fix: missing fields fk_user_valid and fk_user_cloture 2012-04-12 10:03:55 +02:00
Laurent Destailleur
0cb1e4fe7c New: Add supplier ref on supplier orders 2012-04-11 14:37:36 +02: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
Laurent Destailleur
78ae7dc075 Checkstyle 2012-03-27 09:59:28 +02:00
Regis Houssin
ffc6812241 Fix: avoid php strict mode warning 2012-03-23 18:19:50 +01:00
Regis Houssin
4ecc64504d Fix: use the original json functions 2012-03-18 19:59:38 +01:00
Regis Houssin
d752e25946 New: add new notes system in contract and order/invoice supplier module 2012-03-18 11:13:01 +01:00
Laurent Destailleur
a7a55645d8 Fix: Some fix when using fckeditor with notes.
Qual: Uniformize code to use new system for notes.
Qual: Removed duplicate updatenote method into commandefournisseur
class.
2012-03-18 00:59:24 +01:00
Regis Houssin
e8ec5f5ad7 New: add vat rate in supplier price
New: add events system in jquery combobox
2012-03-15 16:52:18 +01:00
Regis Houssin
4d1416d0e6 Fix: remove unused and deprecated method 2012-03-13 20:15:13 +01:00
Regis Houssin
f8bf7ade83 Fix: move method in common class 2012-03-13 20:01:10 +01:00
Regis Houssin
150f3ecfe3 Fix: move method in common class 2012-03-13 19:24:11 +01:00
Laurent Destailleur
b5fc41fadc Fix: Removed a lot of checkstyle warnings 2012-03-11 22:08:46 +01:00
Regis Houssin
e5c0a99584 Fix: for multi-company
Conflicts:

	htdocs/comm/propal/class/propal.class.php
	htdocs/core/class/html.form.class.php
2012-02-21 10:26:38 +01:00
Laurent Destailleur
b8a61e73a0 New: Add product_label into substitution tags for ODT. 2012-02-20 23:58:36 +01:00
Regis Houssin
cd3452d71d Fix: multicompany sharings and uniformize code 2012-02-11 10:18:09 +01:00
Laurent Destailleur
186258410e New: Add option to clean orphelins files into repair page 2012-02-08 16:41:06 +01:00
Regis Houssin
4431510ce4 Fix: use entity field of object 2012-02-01 11:32:55 +01:00
Laurent Destailleur
08e33f20dc Qual: Uniformize code
Doxygen
2012-01-19 09:53:27 +01:00
Laurent Destailleur
00aa90606c Qual: Removed a FIXME 2011-12-30 14:45:07 +01:00
simnandez
136fba88ad Qual: Uniformize code 2011-12-19 17:12:29 +01:00
Laurent Destailleur
ba12c25eec Fix: Replacement of adodb is ok now.
Fix: Search criteria lost
2011-12-13 00:23:48 +01:00
Laurent Destailleur
b52fc32853 Fix: fix not initialized variables 2011-12-05 19:41:38 +01:00
Laurent Destailleur
3629057a40 Fix: remise_percent was lost for supplier invoice creation from order. 2011-11-23 20:26:18 +01:00
Laurent Destailleur
12963265d7 Add confirm message when going back to draft 2011-11-14 16:23:59 +01:00
Laurent Destailleur
7384096d56 Enhance doc for stock movement 2011-11-14 15:46:44 +01:00
Laurent Destailleur
10961fb2c9 New: Can choose warehouse for stock change on supplier approbation or
supplier invoice validation
2011-11-09 22:10:58 +01:00
Laurent Destailleur
3d0c324f5f Fix: Message for stock movement was wrong or missing 2011-11-08 00:03:19 +01:00
Regis Houssin
1b1bb551d9 Fix: Perl-style comments are not allowed. Use "// Comment." or "/*
comment */" instead.
2011-11-06 10:11:23 +01:00
Laurent Destailleur
fd9e0d8643 Qual: Removed code that must be stored into external modules 2011-11-05 12:34:54 +01:00
Laurent Destailleur
ad3f13881b Uniformize constructor
Removed deprecated functions
2011-10-27 02:10:23 +02:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
eldy
822d4508eb Qual: Removed PHPCodesniffer warnings 2011-10-05 13:13:36 +02:00
eldy
b295a866a5 Fix: Fix a serious database default. Table llx_product_fournisseur was
linked with llx_product_fournisseur_price with a link 1-1 so was
useless. I removed it. This reduce a lot of sophisticated code and will
make import of prices easier. This also increase speed.
2011-10-05 12:51:55 +02:00
eldy
47bb2171e0 Fix: Fix a serious database default. Table llx_product_fournisseur was
linked with llx_product_fournisseur_price with a link 1-1 so was
useless. I removed it. This reduce a lot of sophisticated code and will
make import of prices easier. This also increase speed.
2011-10-04 01:26:07 +02:00
eldy
fe30491a45 Qual: Mutualize a lot of code between supplier and customer payments 2011-10-01 23:24:39 +02:00
eldy
79546fa072 Qual: Uniformize look of supplier invoice with customer invoice 2011-10-01 21:55:40 +02:00
Laurent Destailleur
08bfeab824 Doxygen 2011-09-24 21:51:52 +00:00
Laurent Destailleur
be6286c4b8 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Regis Houssin
9b69ef27ba Fix: sql error 2011-09-20 16:56:53 +00:00
Regis Houssin
551e1f81bf Fix: Space after closing parenthesis of function call prohibited 2011-09-20 13:32:16 +00:00
Regis Houssin
6c4acefd93 Fix: Space before opening parenthesis of function call prohibited 2011-09-20 12:56:06 +00:00
Regis Houssin
b6a2f13673 Fix: avoid jenkins warning
Fix: SpaceAfterOpenBracket, SpaceAfterCloseBracket, SpaceBeforeCloseBracket, SpaceBeforeOpenBracket
2011-09-20 09:40:27 +00:00
Regis Houssin
2c1b3722f2 Fix: replace sizeof() by count() 2011-09-17 19:49:50 +00:00
Laurent Destailleur
411b3415eb Doxygen 2011-09-12 17:08:02 +00:00
Laurent Destailleur
b75d19c264 Qual: Uniformize constructors 2011-09-11 18:35:38 +00:00
Laurent Destailleur
1aaf65c257 PDF works with us letter format 2011-08-31 14:42:47 +00:00
Regis Houssin
2ecc03104c Fix: remove obsolete tags (in progress) 2011-08-27 15:14:31 +00:00
Laurent Destailleur
450f9e2617 Perf: Reduce seriously nb of requests 2011-08-21 10:12:18 +00:00
Laurent Destailleur
84f7eb9da6 New: task #11243: Add best supplier price 2011-08-21 00:26:31 +00:00
Laurent Destailleur
fe27643152 New: task #11243: Add best supplier price 2011-08-20 23:56:03 +00:00
Juanjo Menent
0fbe5fd9e1 Doxygen 2011-08-18 08:01:07 +00:00
Juanjo Menent
fe3dfbaebc Price Fournisseurs: Add ordering fields. Add option FOURN_PRODUCT_AVAILABILITY 2011-08-17 15:22:39 +00:00
Laurent Destailleur
be771c9d44 Fix: Avoid errors into rpm packages 2011-07-31 23:45:11 +00:00
Laurent Destailleur
0a7b70cf73 doxygen 2011-07-04 09:36:29 +00:00
Regis Houssin
976c74ac87 Fix: uniformize code 2011-06-10 14:28:23 +00:00
Laurent Destailleur
8fe14361c3 Qual: Shorter legend 2011-06-07 00:08:06 +00:00
Laurent Destailleur
edd91b7d26 Qual: Clean stock increase/decrease code 2011-05-23 23:46:39 +00:00
Laurent Destailleur
53966de3ab Doxygen 2011-05-22 20:42:48 +00:00
Regis Houssin
f13de30e63 Fix: uniformize code 2011-05-20 15:19:51 +00:00
Laurent Destailleur
5440ad97c6 New: Add default label into stock movement label 2011-05-18 17:18:42 +00:00
Laurent Destailleur
66acd4ea8a New: Add option to close invoice if paiement is complete. 2011-05-11 13:19:30 +00:00
Regis Houssin
7416eeea9b Fix: problem with create 2011-05-09 07:42:16 +00:00
Philippe Grand
e3585e3e01 small change 2011-05-08 15:59:23 +00:00
Philippe Grand
e6e7d54431 uniformize code and add feature 2011-05-08 15:00:18 +00:00
Philippe Grand
ff7efa05fe prepair Mode of payment within supplier order 2011-05-05 22:06:03 +00:00
Philippe Grand
56feb1c32f include payment term within supplier order 2011-05-04 21:20:51 +00:00
Laurent Destailleur
5d1e7c2d85 Some fixes for web services 2011-05-04 15:19:38 +00:00
Regis Houssin
a50aa00eaa Fix: bad table name 2011-04-24 13:20:55 +00:00
Regis Houssin
0c610e7ad2 Fix: bad table name 2011-04-24 13:20:55 +00:00
Laurent Destailleur
becd77a04a Renamed table llx_c_commande_fournisseur_methode into an english and more generic name: llx_c_input_method 2011-04-21 18:23:05 +00:00
Laurent Destailleur
a61cbddc3f Qual: Removed dead code 2011-03-12 00:03:26 +00:00
Laurent Destailleur
e9f4879245 Qual: Prepare move of function dol_delete_file into file.lib.php 2011-03-09 15:34:57 +00:00
Laurent Destailleur
054f0cabd7 Work on Web service for supplier invoice 2011-03-09 01:41:55 +00:00
Laurent Destailleur
63af6f017c Doxygen 2011-03-08 11:22:08 +00:00
Laurent Destailleur
8d3b0d4470 Doxygen 2011-03-08 11:21:39 +00:00
Laurent Destailleur
12d7a9686e Fix: Due date was wrong when cloning 2011-03-05 00:37:46 +00:00
Regis Houssin
3b4ea76538 Fix: compatibility with pgsql, replace all addslashes by $this->db->escape in class 2011-02-24 18:11:12 +00:00
Juanjo Menent
a97641eb1e Local Taxes: add funcionality for suppliers 2011-02-09 15:57:37 +00:00
Juanjo Menent
cd7f6ff6eb Local Taxes: add funcionality for suppliers 2011-02-09 13:07:34 +00:00
Juanjo Menent
e3317a7128 Local Taxes: add funcionality for suppliers 2011-02-08 22:45:30 +00:00
Laurent Destailleur
b3280a9b96 New: Can edit label of invoice
Qual: Fetch method is complete (used skeleton generator).
2011-02-06 00:19:36 +00:00
Laurent Destailleur
6961a82dbf Fix: We try to create bank link record twice
Fix: Bad url
2011-01-15 14:01:59 +00:00
Laurent Destailleur
fcc9d4094c Fix: Some fix in PDF position 2010-12-31 10:29:44 +00:00
Laurent Destailleur
1f8ce55a43 Fix: Payment amount was lost or with wrong sign 2010-12-27 18:46:45 +00:00
Regis Houssin
502bb75d2c Fix: uniformize code 2010-12-15 07:12:28 +00:00
Laurent Destailleur
2498426867 Fix: Restore stable version for 3.0 2010-12-14 23:27:17 +00:00
Regis Houssin
9d46536909 Fix: uniformize code 2010-12-14 15:04:56 +00:00
Laurent Destailleur
86ffc32195 Qual: Uniformize a lot of code (supplier_invoice => invoice_supplier, same for order)
New: Add link between supplier invoices and supplier orders.
2010-12-13 13:16:02 +00:00
Laurent Destailleur
6e75a3d203 Restore work lost by savannah backup 2010-12-01 21:16:28 +00:00
Laurent Destailleur
8bc3bae49e New: Add suppliers orders to process in dashboard 2010-11-13 17:37:22 +00:00
Laurent Destailleur
4e83c0a7ea Fix: Update of supplier invoice line 2010-10-30 10:51:56 +00:00
Juanjo Menent
e976645b08 Qual: Uniformize code (ligne -> line) 2010-10-28 08:43:53 +00:00
Juanjo Menent
9383b1a560 Task #8618: Improve module canelle (not finished). Add array line in class facture fournisseur for lib pdf compatibility. 2010-10-26 18:49:35 +00:00
Laurent Destailleur
af4fabc531 Task #8618 2010-10-19 08:01:25 +00:00
Laurent Destailleur
3fdc5f1957 New: Add protection to avoid to valid supplier invoice with a ref supplier with value "Copy of ..." 2010-10-18 18:40:17 +00:00
Laurent Destailleur
1e33e41a32 Add more phpunit tests 2010-10-13 15:33:51 +00:00
Laurent Destailleur
0e663354f0 Fix: Preview was broken after renaming lignes into lines 2010-10-02 11:47:15 +00:00
Juanjo Menent
d793f8d250 task #8618: reverse improved supplier directory structure 2010-09-29 13:59:17 +00:00
Juanjo Menent
fc48d1888f task #8618: improved supplier directory structure 2010-09-28 16:24:25 +00:00
Laurent Destailleur
fdf14d0499 Qual: Mutualize and uniformize code 2010-09-19 13:31:54 +00:00
Regis Houssin
156a1e6b29 Qual: uniformize code 2010-09-10 14:35:07 +00:00
Regis Houssin
9664f0af5f Qual: big uniformize code 2010-09-09 14:06:15 +00:00
Laurent Destailleur
743b42d961 Fix: Bad field 2010-09-04 22:44:32 +00:00
Laurent Destailleur
a881307f01 Fix: bug #30629 : Ajout de prix fournisseur avec quantité fractionné donne erreur 2010-08-28 23:54:46 +00:00
Laurent Destailleur
81c2b485c8 New: Can add a comment on stock dispatching to be saved into the stock movement. 2010-08-26 15:46:39 +00:00
Laurent Destailleur
76a7e8f424 Add more units 2010-08-26 14:49:40 +00:00
Juanjo Menent
bab4a6198a Task #9643: Works in Suppliers 2010-08-16 13:13:15 +00:00
Laurent Destailleur
98a4430d5f Better postgresql compatibility 2010-08-14 02:44:07 +00:00
Laurent Destailleur
5affcd3b3f Qual: Renamed french field "envente" into "tosell". 2010-08-11 18:35:31 +00:00
Laurent Destailleur
5b8237ecf2 Fix: default vat 2010-08-10 01:19:22 +00:00
Laurent Destailleur
186622e235 Fix: Database compatibility 2010-08-09 16:07:24 +00:00
Laurent Destailleur
2db5b658f1 Fix: Some errors in vat management with multiprice 2010-07-22 21:16:29 +00:00
Laurent Destailleur
3f1275e190 Fix: doxygen 2010-07-21 23:45:08 +00:00
Laurent Destailleur
fc2213a8f1 Doxygen 2010-07-21 12:35:56 +00:00
Laurent Destailleur
87ce3073d5 Doxygen 2010-07-21 11:57:52 +00:00
Laurent Destailleur
321840ee67 Fix: A lot of fix in permissions 2010-07-15 20:48:40 +00:00
Laurent Destailleur
265a7b675b Reorganize class files. 2010-06-05 15:45:53 +00:00
Laurent Destailleur
1083d5ca8b Serious debug of supplier order process 2010-05-28 21:52:51 +00:00
Laurent Destailleur
38d91e99dd New: Add a new mode for automatic stock increase: Can be increased on supplier order dispatching of products. 2010-05-28 20:41:41 +00:00
Laurent Destailleur
1a90eefb86 Fix: Head array hidden if nothing 2010-05-20 22:23:58 +00:00
Regis Houssin
dc77231df7 Fix: change proformat to proforma 2010-05-17 15:41:17 +00:00
Laurent Destailleur
83aebbb2ce Fix: Removed a duplicate permission 2010-05-12 12:41:38 +00:00
Laurent Destailleur
a0d677cd3d Fix: No error whan vat is not defined. 2010-05-12 00:12:49 +00:00
Laurent Destailleur
b7570ff18a Fix: Better error management 2010-05-04 18:03:45 +00:00
Laurent Destailleur
664811cfed Add more filter on list of invoices and payments 2010-05-01 15:33:00 +00:00
Philippe Grand
16a8ab7d59 according to new tree directory 2010-04-29 14:54:12 +00:00
Philippe Grand
391c595dda according to new tree directory 2010-04-29 08:50:46 +00:00
Philippe Grand
b65ddfabe8 according to new tree directory 2010-04-28 21:29:12 +00:00
Laurent Destailleur
4c73cb64c8 Move/Rename numbering module files for invoices to normalize code. 2010-04-28 13:49:13 +00:00
Philippe Grand
3f4bee1f18 according to new tree directory 2010-04-28 12:53:28 +00:00