Laurent Destailleur
091966902e
Fix: for special_code=3
2012-10-12 22:18:31 +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
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
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
1347ecf14e
Qual: Removed warnings
2012-09-19 12:49:58 +02:00
simnandez
b7837f9280
Fix: Localtaxes type only missing in propal update line
2012-09-18 18:18:30 +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
Regis Houssin
43c0a03758
Fix: strict mode tornado
2012-09-15 11:21:22 +02:00
Regis Houssin
be13602c71
Fix: use getDocumentsLink method
2012-09-15 09:02:20 +02:00
simnandez
4ac2ee83f2
Localtaxes also in skip_update_total comprobation
2012-09-12 19:07:23 +02:00
Christophe Battarel
c1859d361a
modify margin management for global discount + correct bug (wrong constant name)
2012-08-28 10:13:58 +02:00
Regis Houssin
995c7f13d3
New: [ task #498 ] part3
2012-08-23 13:45:51 +02:00
Regis Houssin
f4d75e87d3
Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git
...
into task498_objectline
Conflicts:
htdocs/core/class/commonobject.class.php
2012-08-23 07:53:48 +02:00
Regis Houssin
c8e1aca7d8
New: [ task #498 ] part2
2012-08-23 07:50:20 +02:00
Marcos García
9b3c89ac47
Removed parenthesis from all include and include_once and replaced with single quotes
2012-08-23 02:40:41 +02:00
Marcos García
706d79986c
Removed parenthesis from all require_once and replaced with single quotes
2012-08-22 23:11:24 +02:00
Laurent Destailleur
068c536741
Fix: Delete all files (PROV* when validating.
2012-08-07 14:24:54 +02:00
Laurent Destailleur
76cdb809cc
Fix: syntax error
2012-08-05 21:30:40 +02:00
Regis Houssin
2e73cd7ddf
Fix: missing fields and compatibility with milestone
2012-08-01 17:38:10 +02:00
Regis Houssin
e44fd4885d
Fix: change the last $DB to $db
2012-07-30 18:43:49 +02:00
Marcos García
5a73c32f46
Migrated ClassName to __construct() function
...
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Laurent Destailleur
d6a5b224fb
Revert bad practice: setEvent use SESSION. Such usage is limited to HTML
...
page context and can be used inside any pages.
However usage of _SESSION must never be used inside a library (except
for function dedicated to HTML page context), and never inside
object classes (we must use $this->errors, $this->mesgs or
$this->warnings instead).
2012-07-29 14:15:29 +02:00
Regis Houssin
eee5653c54
Fix: try to use the new message system
2012-07-29 12:54:19 +02:00
Regis Houssin
1dd14d35f7
Fix: add null value in class method
2012-07-28 18:32:54 +02:00
Laurent Destailleur
ea93e62e91
Fix: Checkstyle
2012-07-23 10:46:09 +02:00
Marcos García
e6a192ba87
Renamed fk_demand_reason to fk_input_reason
2012-07-22 16:53:02 +02:00
Regis Houssin
fafd79a0f8
Fix: uniformize code (in progress)
2012-07-20 09:57:50 +02:00
Christophe Battarel
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
Laurent Destailleur
73b17dc4c5
New: Make things more clear.
2012-07-17 15:28:34 +02:00
Regis Houssin
e1b0d183e4
Fix: add commonorder and commoninvoice classes
2012-07-11 18:13:41 +02:00
Regis Houssin
d1e80afe62
Fix: move "classify billed propal with order" in workflow manager
2012-07-08 13:19:13 +02:00
Regis Houssin
69ebda8ddb
Fix: regression corrected
2012-07-08 12:18:29 +02:00
Regis Houssin
3bfd9182e0
Fix: uniformize code
2012-07-06 13:43:59 +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
Regis Houssin
513e3b8ae7
Fix: remove deprecated code can cause warning
2012-06-08 18:18:59 +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
a3216ee0c6
Fix: Checkstyle
2012-05-09 02:39:30 +02:00
Laurent Destailleur
05c015836a
Fix: filter on status
2012-05-03 22:58:12 +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
Regis Houssin
e49df57667
Fix: compatibility with php 5.4 and E_STRICT mode
2012-04-14 15:04:46 +02:00
Regis Houssin
ffc6812241
Fix: avoid php strict mode warning
2012-03-23 18:19:50 +01:00
Laurent Destailleur
4690944216
checkstyle
2012-03-20 12:46:57 +01:00
Regis Houssin
4ecc64504d
Fix: use the original json functions
2012-03-18 19:59:38 +01:00
Laurent Destailleur
ed41e03589
Qual: Fix a ton of CheckStyle errors
2012-03-18 19:23:01 +01:00
Regis Houssin
391ce8490f
New: add "extraparams" field for stock extra parameters with json
2012-03-16 14:32:37 +01:00
Regis Houssin
dae20441d0
Fix: add template for view/edit notes in object card and add possibility
...
to show/hide this bloc
2012-03-16 09:39:32 +01:00
Regis Houssin
e86fed02fc
Fix: missing linked objects
2012-03-15 07:23:49 +01:00
Regis Houssin
5fbd8e4cee
Fix: move method in common class
2012-03-14 11:11:46 +01:00
Regis Houssin
4d1416d0e6
Fix: remove unused and deprecated method
2012-03-13 20:15:13 +01:00
Regis Houssin
f8bf7ade83
Fix: move method in common class
2012-03-13 20:01:10 +01:00
Regis Houssin
150f3ecfe3
Fix: move method in common class
2012-03-13 19:24:11 +01:00
Regis Houssin
5e402f667e
Fix: php unit test warning
2012-03-04 10:13:52 +01:00
Regis Houssin
9301def08d
Fix: rename method
2012-03-02 15:03:14 +01:00
Regis Houssin
ea83e474dc
New: add possibility to linked other objects from external modules
2012-02-22 01:19:05 +08:00
Regis Houssin
c3e245d24e
Fix: start triggers before delete objects
2012-02-15 15:16:33 +01:00
Regis Houssin
6f3f1204fe
Fix: delete linked object in propal delete function and uniformize code
2012-02-13 18:27:42 +01:00
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
6a43a517f1
Fix: add deleteObjectLinked function
2012-02-07 16:47:46 +01:00
Laurent Destailleur
6cb0685b6f
Qual: Uniformize hook names. All hooks to add information on
...
create/update/view cards are called fomrObjectOptions instead of
sometine formObjectOptions, sometimes showInputFields, sometimes
showOutputFields.
2012-02-06 17:18:19 +01:00
Juanjo Menent
83bef28418
Qual: Uniformize code
2011-12-16 12:47:23 +01:00
Regis Houssin
a5fc434770
Fix: remove unused parameters
...
Fix: use dol_clone instead fetch
2011-12-12 14:04:03 +01:00
Laurent Destailleur
ebea7f6c97
Fix: fix not initialized variables
2011-12-05 18:36:54 +01:00
Laurent Destailleur
1770a46519
Qual: Removed tons of warning
2011-11-22 14:00:03 +01:00
Laurent Destailleur
49d1bcf256
Fix: duplicate assignement
2011-11-22 00:36:20 +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
253084feb3
New: Can choose warehouse for invoice validation
2011-11-09 14:31:43 +01:00
Laurent Destailleur
3d0c324f5f
Fix: Message for stock movement was wrong or missing
2011-11-08 00:03:19 +01:00
Laurent Destailleur
8d1284ed42
Choose warehouse for order validation
2011-11-07 15:04:02 +01:00
Laurent Destailleur
fd9e0d8643
Qual: Removed code that must be stored into external modules
2011-11-05 12:34:54 +01:00
Laurent Destailleur
c16c09a451
Qual: Mutualize code to delete previews
2011-11-04 00:27:30 +01:00
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
Laurent Destailleur
0bc80e9bec
Qual: Doxygen
...
Qual: Uniformize some code
2011-10-14 18:51:20 +02:00
Regis Houssin
24c9a7d26d
Fix: reorder line after update line with fk_parent_line
2011-10-06 00:11:53 +08:00
Laurent Destailleur
be6286c4b8
Qual: More POO.
...
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Regis Houssin
551e1f81bf
Fix: Space after closing parenthesis of function call prohibited
2011-09-20 13:32:16 +00:00
Regis Houssin
ac2d7aab7c
Fix: Space found before comma
2011-09-20 09:59:08 +00:00
Regis Houssin
2c1b3722f2
Fix: replace sizeof() by count()
2011-09-17 19:49:50 +00:00
Laurent Destailleur
fd2b3099cf
Fix: Function delete_preview is stored into correct library
2011-09-17 00:04:44 +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
a8fcd4790a
Doxygen
2011-09-05 11:09:33 +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
Regis Houssin
932b8f90e1
Fix: works on repair broken features
2011-08-12 05:41:01 +00:00
Regis Houssin
227ef6364f
Fix: works on repair broken features
2011-08-11 07:41:41 +00:00
Laurent Destailleur
acea604e54
Change signature of all call executHooks.
...
Now they accept all the following signature:
executeHooks('method',$parameters,$object,$action)
2011-08-10 22:47:33 +00:00
Regis Houssin
66d5d6905f
Fix: works on repair broken features
2011-08-10 19:55:21 +00:00
Laurent Destailleur
645dab23a0
Fix: Use short instead of long labels
2011-08-08 01:10:07 +00:00
Laurent Destailleur
e2c007305c
Fix: Avoid errors into rpm packages
2011-07-31 22:21:57 +00:00
Laurent Destailleur
8df2cb2bf8
Fix: Uniformise code
2011-07-12 07:17:11 +00:00
Regis Houssin
54effb5b27
Fix: add more triggers
2011-07-04 10:35:48 +00:00
Laurent Destailleur
0a7b70cf73
doxygen
2011-07-04 09:36:29 +00:00
Regis Houssin
f344dbdefe
Fix: Name of hook must also be unique for each tab
2011-06-30 13:27:20 +00:00
Regis Houssin
a9bd88ccf7
Fix: missing statut after validation
2011-06-17 13:39:38 +00:00
Regis Houssin
e540dd5aef
Fix: uniformize code
...
Fix: variable conflict
2011-06-15 19:53:37 +00:00
Laurent Destailleur
993428e093
Work on workflow module.
2011-06-06 19:15:44 +00:00
Laurent Destailleur
a365a139ea
Uniformize view of graphics
2011-06-06 17:04:10 +00:00
Regis Houssin
8e25cb1ae5
Fix: possibility to have more hooks in the same page
...
New: add left search block hook and extra left block hook
2011-05-31 14:04:45 +00:00
Regis Houssin
8d46f44e1f
Fix: uniformize code
2011-05-26 12:19:21 +00:00
Regis Houssin
56ac9ac8b7
Fix: uniformize code
2011-05-26 10:07:14 +00:00
Regis Houssin
8d8fd9ba91
Works on paypal module
...
Fix: add multi status
2011-05-25 12:33:59 +00:00
Regis Houssin
59aad44353
Fix: uniformize code
2011-05-25 09:19:46 +00:00
Regis Houssin
bfaff8fe8f
Fix: uniformize code
2011-05-25 09:19:03 +00:00
Regis Houssin
60ff4318d8
Works on paypal module
...
Fix: replace ref_ext by ref_int
2011-05-25 05:16:52 +00:00
Regis Houssin
e77298321a
Works on paypal module
...
Fix: replace ref_ext by ref_int
2011-05-24 09:50:51 +00:00
Laurent Destailleur
edd91b7d26
Qual: Clean stock increase/decrease code
2011-05-23 23:46:39 +00:00
Regis Houssin
4ed929d218
Works on paypal module
...
Fix: db begin problem
Fix: ref_ext record problem
2011-05-22 19:42:55 +00:00
Regis Houssin
6d56cc196b
Works on paypal module
...
Fix: better error management
2011-05-22 18:12:42 +00:00
Laurent Destailleur
c6df144818
New: Add more graph and fix some statistics.
2011-05-22 00:42:37 +00:00
Regis Houssin
cc1646f3fd
Works on paypal module
2011-05-21 08:33:36 +00:00
Regis Houssin
e0fe945afd
Works on paypal module
...
Fix: uniformize code
2011-05-21 07:12:21 +00:00
Laurent Destailleur
e91e2a3f5b
Fix: Reopen customer order is done to status 1
2011-05-20 17:30:03 +00:00
Laurent Destailleur
f791d145d6
Better picto for order "to bill"
2011-05-20 17:18:36 +00:00
Regis Houssin
f63850c5e9
Fix: remove watermark after validation
2011-05-11 15:01:09 +00:00
Laurent Destailleur
ff6182f62f
Fix a lot of bug in "source" field:
...
- missing creation table
- autoselect when creating order from proposal
- do not show proposal as origin when creating proposal
- use code instead of id
- use label in english
Also renamed table demand_reason into input_reason to match other table input_method.
2011-05-07 11:36:47 +00:00
Regis Houssin
e3cf646a7d
Fix: remove unused old files
2011-05-06 13:35:15 +00:00
Laurent Destailleur
a670d449be
Use an english code
2011-05-04 20:11:33 +00:00
tiaris
bf51e34382
Add trigger on order validate and cancel
2011-05-04 13:36:38 +00:00
Regis Houssin
bc3312aa3d
Fix: problem if not defined
2011-04-26 21:45:25 +00:00
Philippe Grand
09786cabeb
To get source of command on command file
2011-04-26 20:59:45 +00:00
Regis Houssin
da0b70c145
Works on possibility to change customer when cloning (enable in propal)
...
New: can send extra input in ajax dialog
2011-04-25 10:10:34 +00:00
Regis Houssin
94d64bd9e8
Works on possibility to change customer when cloning (enable in customer orders)
...
New: can send extra input in ajax dialog
2011-04-25 08:25:14 +00:00
Regis Houssin
2b5d169575
Works on possibility to change customer when cloning (not stable, disabled)
...
New: can send extra input in ajax dialog
2011-04-24 20:24:50 +00:00
Regis Houssin
a39c95e3b4
Fix: error sql
...
Fix: don't delete order if shipping exist
Fix: uniformize code
2011-04-22 17:31:28 +00:00
Laurent Destailleur
65ee384aea
Fix: Update request
2011-04-19 22:16:15 +00:00
Laurent Destailleur
55eb37ac4c
Fix: Update request
2011-04-19 22:12:31 +00:00
Philippe Grand
fbe01b90e2
missing function
2011-04-14 10:32:56 +00:00
Philippe Grand
b48d17ba4a
Add availability function to commande file
2011-04-14 09:42:10 +00:00
Regis Houssin
7b73576731
Fix: possibility to skip update total of special lines with no qty and unit price
2011-04-13 15:39:03 +00:00
Regis Houssin
1c89213caf
Fix: reorder the lines correctly
2011-04-11 09:00:13 +00:00
Regis Houssin
d567827f3e
Fix: problem for view normal product/service
2011-04-11 07:56:58 +00:00
Regis Houssin
fba4111f44
Fix: do not update price with special product 9
2011-04-10 18:44:58 +00:00
Regis Houssin
ee5c282ccd
Fix: problem with $line->update_total if no $total_localtax
2011-04-10 10:37:05 +00:00
Regis Houssin
a2902877ce
Fix: uniformize code
2011-04-10 09:57:54 +00:00
Regis Houssin
75bf04ec71
Fix: use FactureLigne class for delete line
2011-04-10 09:47:12 +00:00
Regis Houssin
da05338224
Fix: reorder correctly if fk_parent_line
...
Fix: uniformize code
2011-04-10 09:22:47 +00:00
Regis Houssin
78a0078906
Fix: not update total with special line (for the moment)
2011-04-10 09:09:14 +00:00
Regis Houssin
ecd673399f
Fix: correct reorder line with fk_parent_line
...
Fix: problem with create order from proposals with fk_parent_line
2011-04-09 15:59:45 +00:00
Regis Houssin
4351580f79
Works on hook module
2011-04-09 11:29:38 +00:00
Laurent Destailleur
bdf3b91075
Fix: clean parameter
2011-03-16 11:38:54 +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
05c4533b5b
Doxygen
2011-03-08 10:09:15 +00:00
Laurent Destailleur
86d8385d95
New: Can create manually order from proposal
2011-03-02 11:06:38 +00:00
Laurent Destailleur
56a5e4f9c1
Workflow is empty by default but can be modified with module workflow
2011-03-01 09:22:58 +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