florian HENRY
3da645ab3b
fix trigger position into explication class
2018-03-10 23:40:56 +01:00
Laurent Destailleur
a086bd0137
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/actions_linkedfiles.inc.php
htdocs/core/class/utils.class.php
2018-03-06 09:20:45 +01:00
Laurent Destailleur
81e193b725
Update expedition.class.php
2018-03-05 20:46:54 +01:00
fappels
1a7c09b7d5
Fix 0 is also a valid Qty
...
Fix error handling
2018-03-04 12:35:32 +01:00
Laurent Destailleur
c4130730cb
Clean code around fetch_optionals()
2018-02-20 19:38:18 +01:00
Laurent Destailleur
8493d9f62e
FIX #8163
2018-02-15 15:27:06 +01:00
Laurent Destailleur
aad0da2513
Fix maxi debug of APIs (clean output fields)
2017-12-21 16:50:18 +01:00
Laurent Destailleur
e8327fd9a1
Fix the eatby/sellby date was not visible.
2017-12-02 10:43:01 +01:00
Laurent Destailleur
64d29709d5
FIX #7881 error not reported/blocking when subprodut need lot
2017-12-01 18:12:29 +01:00
Laurent Destailleur
e3671da37f
Fix edit shipment line when line is a not predefined product
2017-12-01 14:33:06 +01:00
Laurent Destailleur
c85acbfc11
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/comm/propal/class/propal.class.php
htdocs/compta/facture/fiche-rec.php
htdocs/core/class/commonobject.class.php
htdocs/core/modules/import/import_xlsx.modules.php
htdocs/install/repair.php
2017-11-14 19:47:33 +01:00
Laurent Destailleur
b5196b7164
FIX A lot of several fix on local taxes and NPR tax
2017-11-13 14:24:40 +01:00
Laurent Destailleur
feb04b4a22
Merge branch 'develop' into 7.0_new_shipment_update
2017-11-02 15:43:31 +01:00
Laurent Destailleur
1b28c45e2c
PERF Links in getNomUrl use only one tag a instead of 2.
2017-11-02 15:19:14 +01:00
Laurent Destailleur
cfacfab6cf
NEW Show badge with nbr of shipment on shimpen tab of order
...
NEW Add button cancel on shipment creation
2017-11-02 12:38:36 +01:00
fappels
28604b4d82
New add delete lot
...
Add empty lot row for adding new lot
When lot qty 0, lot will be deleted from line.
2017-11-02 11:44:36 +01:00
fappels
3e58f7c609
Fix create line extra fields
2017-10-31 17:20:29 +01:00
fappels
3f5112ff48
Merge remote-tracking branch 'refs/remotes/Dolibarr/develop' into 7.0_new_shipment_update
2017-10-31 16:49:54 +01:00
fappels
08f931b73c
Only show show lot from same src warehouse.
...
When shipping from multiple warehouse, only allow lot from same src
warehouse. (expeditiondet_batch is on to many from expeditiondet).
2017-10-30 12:39:06 +01:00
Laurent Destailleur
202712be94
Work on module builder
2017-10-25 22:02:07 +02:00
fappels
6bf57962dc
Fix travis
2017-10-24 15:48:22 +02:00
fappels
7f7e621ea9
Merge remote-tracking branch 'refs/remotes/Dolibarr/develop' into 7.0_new_shipment_update
2017-10-24 10:53:34 +02:00
fappels
6571083a78
Add line id to detail_entrepot object
...
Add line id to detail_entrepot object.
Add expedition batch id to update batch in line update
2017-10-23 22:16:00 +02:00
Laurent Destailleur
728e36f70f
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/api/index.php
htdocs/comm/propal/class/api_proposals.class.php
htdocs/comm/propal/class/propal.class.php
htdocs/compta/facture/class/api_invoices.class.php
htdocs/core/actions_massactions.inc.php
htdocs/core/actions_sendmails.inc.php
2017-10-22 01:43:33 +02:00
fappels
2ea687a60b
Add Line triggers, Improve line error handling, ...
...
Add triggers,
Improve line error handling,
use line->insert in create_line
2017-10-18 17:01:17 +02:00
Juanjo Menent
df53870c01
FIX: Bad localtax apply
2017-10-18 12:13:32 +02:00
Juanjo Menent
4382642099
FIX: Bad localtax apply
2017-10-18 12:10:00 +02:00
fappels
907ae36cdf
Add insert, update and delete methods to line class
...
Cleanup properties
Add insert, line and delete methods
2017-10-15 17:58:22 +02:00
TuxGasy
6455e6d472
Use billed field from database on fetch shipping
2017-10-12 21:19:24 +02:00
Scrutinizer Auto-Fixer
328d39bc71
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-10-07 11:09:31 +00:00
Laurent Destailleur
801a5180d6
Fix scrutinizer bug reports
2017-10-06 01:16:19 +02:00
Laurent Destailleur
a501a20487
NEW Search filters in lists are restored when using "back to list"
2017-10-03 16:00:52 +02:00
Laurent Destailleur
5e34b121dd
Add more robust php unit to detect not escaped sql. Fix not escaped sql
2017-09-15 15:41:07 +02:00
TuxGasy
5b154946a8
fix missing error on stock mouvment with batch
2017-07-04 21:48:38 +02:00
TuxGasy
9f50882d6d
fix incorrect indent
2017-07-04 21:45:38 +02:00
TuxGasy
c8d039508f
Fix missing error message
2017-07-03 14:01:11 +02:00
Laurent Destailleur
50bf1bb21f
Fix error in count of qty in other shipments
2017-06-27 16:41:57 +02:00
Laurent Destailleur
693b2fe3b4
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture.php
htdocs/core/ajax/ajaxdirpreview.php
htdocs/core/class/conf.class.php
htdocs/core/class/html.formfile.class.php
htdocs/core/lib/functions.lib.php
htdocs/core/tpl/objectline_create.tpl.php
2017-06-23 11:20:29 +02:00
Laurent Destailleur
45004493e0
Fix multicurrency and vat_src_code not propaged on invoice from
...
shipment.
2017-06-23 11:12:17 +02:00
atm-ph
6b4e22ec3c
Fix 6910 if conf PROJECT_USE_SEARCH_TO_SELECT is used we got BadFirstParameterForGETPOST
2017-06-10 16:07:56 +02:00
Regis Houssin
5c5663c5ae
New: getEntity function use true $shared value by default
2017-05-30 18:50:54 +02:00
absnc
7b784a1dcb
Enable shipments for project overview tab
2017-05-19 17:50:10 +11:00
Laurent Destailleur
fa290c34fa
Fix against SQL injection. Add phpunit to detect missing escapement.
2017-05-12 16:55:11 +02:00
Marcos García de La Fuente
e0cbcadd98
In case Model for document generation is not defined, the criteria to select the model is now:
...
1. Model for the object
2. Custom default module
3. Hardcoded default module
2017-01-16 21:16:05 +01:00
fappels
0aacb7ce17
Filter stock on warehouse status for shipping
...
Do not show stock of closed and internal warehouse.
2016-12-05 18:14:03 +01:00
Laurent Destailleur
ecbe719f23
FIX Several problems into shipment management with lot enabled
2016-11-14 13:40:41 +01:00
Laurent Destailleur
019125f258
Uniformize code
2016-11-02 10:29:14 +01:00
Laurent Destailleur
a3607fff77
Fix customer ref of shipment
2016-10-30 16:34:46 +01:00
Laurent Destailleur
7d182c286c
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/install/step1.php
htdocs/projet/tasks/time.php
2016-10-26 10:40:03 +02:00
Sergio Sanchis
81a31e8390
Fix: Need declare $user for call trigger
2016-10-18 10:52:07 +02:00
Laurent Destailleur
b412baa880
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
2016-09-29 10:49:47 +02:00
fappels
3d58b0aef6
Fix livraison eatby and sellby parameters are dates
2016-09-28 00:22:29 +02:00
aspangaro
922495d72d
Correct travis & typo "Execuete"
2016-09-24 07:18:38 +02:00
Laurent Destailleur
4f842fd2cb
Uniformize look and feel
2016-09-19 13:57:50 +02:00
Laurent Destailleur
9ff1809f85
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/contrat/list.php
htdocs/expedition/class/expedition.class.php
htdocs/fourn/card.php
htdocs/product/stock/class/productlot.class.php
htdocs/theme/eldy/style.css.php
2016-09-12 02:05:38 +02:00
fappels
7c772b7608
Fix insert expeditiondet_batch with extrafield
...
Line id of extraflied was used iso expeditiondet
2016-09-07 14:07:29 +02:00
florian HENRY
d6be1cebcb
work on going
2016-09-07 12:41:32 +02:00
Laurent Destailleur
5713d293e3
Merge remote-tracking branch 'origin/3.9' into develop
...
Conflicts:
htdocs/core/lib/pdf.lib.php
htdocs/core/modules/facture/doc/pdf_crabe.modules.php
2016-07-01 03:22:16 +02:00
Alexis Algoud
02169478d0
FIX #4964 buyprice in customer from shipping
...
buyprice wasn't load in expedition::fetch_lines
2016-06-30 15:30:07 +02:00
Laurent Destailleur
b529a53501
Fix var not initialized
2016-06-28 02:36:40 +02:00
Laurent Destailleur
1368e6d462
Fix: error message was not enough to understand
...
Conflicts:
htdocs/langs/en_US/errors.lang
2016-06-24 21:32:38 +02:00
Laurent Destailleur
f97b67db6b
Fix: error message was not enough to understand
2016-06-24 17:04:59 +02:00
Laurent Destailleur
7f4e163a52
Fix scrutinizer reports
2016-06-20 02:37:02 +02:00
Laurent Destailleur
a29b6440e3
Fix order is closed if all shipments are closed.
2016-06-09 22:40:21 +02:00
Laurent Destailleur
5106f40a56
Merge branch 'develop_NEW_decrease_stock_expedition_classify' of
...
https://github.com/atm-alexis/dolibarr into
atm-alexis-develop_NEW_decrease_stock_expedition_classify
Conflicts:
htdocs/expedition/class/expedition.class.php
2016-06-02 11:23:49 +02:00
Laurent Destailleur
4c93340de1
Merge pull request #5232 from atm-florian/develop
...
Add trigger into expedition class
2016-05-29 13:15:35 +02:00
Laurent Destailleur
ef1e4d05ec
Doc comment
2016-05-27 17:01:23 +02:00
Laurent Destailleur
9511187f6e
FIX Change to status "Shipment in progress" for orders is done whane
...
validating and not creating a shipment.
2016-05-27 16:49:55 +02:00
florian HENRY
4e707af0fd
Add demo information and transsaction management
2016-05-23 09:16:47 +02:00
florian HENRY
acdf781202
change tirrger name to harmonised
2016-05-20 20:12:23 +02:00
florian HENRY
32a0f4c530
Add trigger into expedition class
2016-05-20 20:03:29 +02:00
Laurent Destailleur
95ea20eb44
Clean code for stock movement when lot are used. We should not get
...
duplicate records into llx_product_batch
2016-05-17 01:10:11 +02:00
Alexis Algoud
8d0e5479a0
Rename var
2016-05-14 19:22:27 +02:00
Alexis Algoud
e74e70287f
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop_NEW_decrease_stock_expedition_classify
...
Conflicts:
htdocs/expedition/class/expedition.class.php
htdocs/product/stock/replenish.php
2016-05-14 19:14:39 +02:00
Juanjo Menent
5f28070417
Fix Remove unused variables
2016-05-06 22:43:50 +02:00
Laurent Destailleur
0cde6ad98f
Merge remote-tracking branch 'origin/3.9' into develop
...
Conflicts:
htdocs/filefunc.inc.php
2016-04-29 20:43:42 +02:00
Laurent Destailleur
3d9456b202
Merge remote-tracking branch 'origin/3.8' into 3.9
...
Conflicts:
htdocs/expedition/class/expedition.class.php
htdocs/fourn/facture/list.php
2016-04-29 20:42:35 +02:00
Laurent Destailleur
53386e22ea
Merge remote-tracking branch 'origin/3.7' into 3.8
...
Conflicts:
htdocs/commande/class/commande.class.php
htdocs/expedition/class/expedition.class.php
htdocs/index.php
2016-04-29 20:39:17 +02:00
Laurent Destailleur
56b57b0bc9
Code comment
2016-04-26 13:37:09 +02:00
Laurent Destailleur
66ea799eb7
Uniformize code and add more comment to understand workflow
2016-04-26 13:27:32 +02:00
Alexis Algoud
91bea8b9fe
fix inclusion
2016-04-25 18:54:28 +02:00
Alexis Algoud
b46c14812c
Merge branch 'NEW_decrease_stock_expedition_classify' of github.com:atm-alexis/dolibarr into develop
2016-04-25 18:37:47 +02:00
Alexis Algoud
b472a244db
NEW decrease stock on expedition closing/classifying
2016-04-25 18:33:39 +02:00
Laurent Destailleur
281b06a2d3
NEW Introduce option MAIN_WEIGHT_DEFAULT_UNIT and
...
MAIN_VOLUME_DEFAULT_UNIT to force output unit for weight and volume.
2016-04-01 18:44:23 +02:00
Laurent Destailleur
d14f3d7e2b
FIX When deleting last shipment, status "shipment in progress" of order
...
must move back to status "validated".
2016-04-01 16:59:08 +02:00
Laurent Destailleur
b3c3d3aac5
NEW Add total weight and volume on PDF
...
NEW Can hide column qty ordered.
2016-02-25 14:18:32 +01:00
Laurent Destailleur
a95240e33d
FIX Some troubles into weight and volume calculation when unit differs.
...
NEW Introduce a function showDimensionInBestUnit
2016-02-25 13:46:38 +01:00
Laurent Destailleur
513b46e1d4
NEW Can reopen an closed shipment
2016-02-24 13:19:25 +01:00
Laurent Destailleur
d3960b0809
Merge remote-tracking branch 'origin/3.9' into develop
...
Conflicts:
htdocs/comm/propal/class/propal.class.php
htdocs/core/lib/member.lib.php
htdocs/expedition/card.php
2016-02-20 04:25:39 +01:00
Laurent Destailleur
7def330f54
Fix missing error message and input lost in shipment create page
2016-02-20 03:58:52 +01:00
Laurent Destailleur
7aaae143fc
Merge remote-tracking branch 'origin/3.9' into develop
...
Conflicts:
htdocs/core/menus/standard/eldy.lib.php
htdocs/expedition/card.php
2016-02-15 02:01:58 +01:00
Laurent Destailleur
3bcc7b0f8f
Merge remote-tracking branch 'origin/3.8' into 3.9
...
Conflicts:
htdocs/comm/remise.php
htdocs/expedition/card.php
htdocs/expedition/class/expedition.class.php
htdocs/filefunc.inc.php
htdocs/societe/price.php
2016-02-15 01:37:23 +01:00
Laurent Destailleur
2fd01d71cf
Fix #4548 Check on stock enough must be done according to warehouse
2016-02-14 22:20:42 +01:00
fmarcet
6260c1ae9e
FIX: Check stock of batch on shippment
2016-02-03 11:33:13 +01:00
fmarcet
d6cda60ed1
FIX: Check stock of product by warehouse if $entrepot_id defined on shippings
2016-02-01 13:40:02 +01:00
Laurent Destailleur
d2f5f5c01f
Merge pull request #4266 from fappels/develop_multi_warehouse
...
Add shipping and dispatching from/to multiple warehouses
2016-01-22 02:26:25 +01:00
Laurent Destailleur
71b264dd86
FIX Bug: Delivery order and date are not displayed #4372
...
Link between shipment and delivery receipt was lost.
Status for receipt must not use same label than shipments.
2016-01-13 20:41:32 +01:00
fappels
51b08f579b
Merge remote-tracking branch 'refs/remotes/Dolibarr/develop' into develop_multi_warehouse
...
Fix Conflicts:
2016-01-12 13:56:00 +01:00
Laurent Destailleur
6f474c403c
Merge remote-tracking branch 'origin/3.8' into develop
...
Conflicts:
htdocs/commande/class/commande.class.php
htdocs/filefunc.inc.php
htdocs/product/list.php
htdocs/societe/notify/card.php
htdocs/societe/price.php
2015-12-27 19:15:20 +01:00
Marcos García de La Fuente
d30c64413d
FIX #4055 SQL error when trying to access a non-existing expedition
2015-12-24 14:27:12 +01:00