Juanjo Menent
eeef78760a
fix: Bad position of the printFieldListWhere hook
2021-06-17 10:29:43 +02:00
Laurent Destailleur
ac1e6c9966
FIX sql error on strict mysql
2021-06-16 20:17:21 +02:00
Frédéric FRANCE
fca75a5842
fix php warning
2021-06-16 11:54:33 +02:00
Laurent Destailleur
87a19af86d
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/actions_massactions.inc.php
htdocs/core/tpl/contacts.tpl.php
2021-06-15 22:17:53 +02:00
Laurent Destailleur
2a3b330e1e
Fix newToken()
2021-06-15 22:10:59 +02:00
Scrutinizer Auto-Fixer
55c9f37ffa
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-06-14 13:37:02 +00:00
Laurent Destailleur
5cc86d2319
Fix #yogosha6370
2021-06-14 13:51:09 +02:00
Laurent Destailleur
046215f64a
Fix PHP8
2021-06-14 02:08:28 +02:00
Laurent Destailleur
34cebe6aa3
Look and feel v14
2021-06-14 01:11:39 +02:00
Laurent Destailleur
0cbcba7bc4
Merge pull request #17916 from frederic34/patch-16
...
fix warnings
2021-06-13 16:21:44 +02:00
Laurent Destailleur
1c7f141f06
Merge pull request #17901 from frederic34/patch-8
...
fix warning
2021-06-13 16:16:06 +02:00
Laurent Destailleur
026d919a03
Merge pull request #17900 from frederic34/patch-7
...
fix warnings
2021-06-13 16:15:58 +02:00
Frédéric FRANCE
20f6a34249
Update list.php
2021-06-13 16:12:46 +02:00
Laurent Destailleur
abfc87c1de
Fix separator extrafields must not appear as selected fields
2021-06-13 13:32:41 +02:00
Frédéric FRANCE
e9913fa9d0
Merge remote-tracking branch 'upstream/develop' into patch-8
2021-06-13 08:53:44 +02:00
Laurent Destailleur
8b9af8f5ab
Responsive
2021-06-13 01:27:04 +02:00
Frédéric FRANCE
3ca8de8fab
fix warning
2021-06-12 07:20:41 +02:00
Frédéric FRANCE
56afefd6ad
fix warnings
2021-06-12 07:12:45 +02:00
Laurent Destailleur
1933072712
Merge pull request #17893 from atm-john/develop_fix_missing_hooks_for_stock_mvm
...
New : Missing hook for stock movements list
2021-06-11 19:58:21 +02:00
Laurent Destailleur
d3815cbb93
css
2021-06-11 19:42:36 +02:00
Laurent Destailleur
c4d0086b8a
Fix hook context names
2021-06-11 19:24:26 +02:00
Laurent Destailleur
663cf28eba
Fix lost code during previous merge
2021-06-11 19:05:33 +02:00
Laurent Destailleur
756786f717
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture/card.php
htdocs/compta/facture/list.php
htdocs/core/class/discount.class.php
htdocs/core/lib/functions.lib.php
htdocs/core/lib/pdf.lib.php
htdocs/core/modules/modFournisseur.class.php
htdocs/fourn/facture/card.php
htdocs/holiday/list.php
htdocs/paybox/admin/paybox.php
htdocs/paypal/admin/paypal.php
htdocs/product/price.php
htdocs/projet/activity/perday.php
htdocs/projet/activity/permonth.php
htdocs/projet/activity/perweek.php
htdocs/stripe/admin/stripe.php
2021-06-11 19:05:05 +02:00
Laurent Destailleur
4fd9d36eb9
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/product/price.php
2021-06-11 18:46:51 +02:00
Laurent Destailleur
4e66e134bd
Update price.php
2021-06-11 18:21:00 +02:00
Laurent Destailleur
bdded2af17
Update movement_list.php
2021-06-11 18:09:17 +02:00
John BOTELLA
99cada2d43
Fix missing hooks
2021-06-11 14:42:51 +02:00
Laurent Destailleur
77efbda148
Fix responsive
2021-06-10 20:04:21 +02:00
Laurent Destailleur
16f1210e8a
Fix phpcs
2021-06-09 17:51:22 +02:00
Laurent Destailleur
fb46ece906
Fix yogosha 6347
2021-06-09 15:36:47 +02:00
Laurent Destailleur
fa4786a3f6
Fix permission
2021-06-08 16:19:21 +02:00
Laurent Destailleur
7e95c5ec20
Clean code
2021-06-08 11:40:50 +02:00
atm-greg
37433ffee7
verify vat change to update multiprice
2021-06-08 11:39:04 +02:00
Laurent Destailleur
1e657b8621
Fix value of showoncombobox
2021-06-05 15:14:10 +02:00
Laurent Destailleur
3fb0dabae3
Merge pull request #17745 from FHenry/fix_dev_inventory_rollbac
...
fix: bad syntax "rollbac" instead of "rollback"
2021-06-04 12:43:09 +02:00
Laurent Destailleur
3dd53f58f9
Merge pull request #17759 from Hystepik/develop#1
...
Fix inventory/inventory.php
2021-06-04 12:28:55 +02:00
Laurent Destailleur
e26f0f155f
Update inventory.php
2021-06-04 12:00:54 +02:00
Laurent Destailleur
1136e7dec5
Update inventory.php
2021-06-04 11:57:59 +02:00
Laurent Destailleur
c3ed30345e
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2021-06-04 11:45:24 +02:00
Laurent Destailleur
2586fcd1a3
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/commande/class/commandestats.class.php
htdocs/core/actions_massactions.inc.php
htdocs/core/modules/propale/doc/pdf_cyan.modules.php
htdocs/holiday/month_report.php
htdocs/product/class/product.class.php
htdocs/product/stock/class/mouvementstock.class.php
htdocs/societe/list.php
2021-06-04 11:20:38 +02:00
Laurent Destailleur
7608f0b383
Merge pull request #17778 from tuxgasy/fix_check_stock_with_batch
...
Fix: Do a strict comparison when check if stock is enough
2021-06-04 10:34:29 +02:00
Laurent Destailleur
174c6f8a45
Update mouvementstock.class.php
2021-06-04 10:33:13 +02:00
ATM john
38423ba260
Fix wrong hook context
2021-06-02 16:31:31 +02:00
ATM john
f13388122c
Add fetch stock order
2021-06-01 21:43:05 +02:00
TuxGasy
e1de510c38
Do a strict comparison when check if stock is enough
2021-05-31 11:06:52 +02:00
Florian HENRY
f33869bf1c
fix: uploaddir for productlot
2021-05-28 18:08:01 +02:00
Laurent Destailleur
81a94f5642
FIX option MAIN_GENERATE_SUPPLIER_PROPOSAL_WITH_PICTURE
2021-05-28 18:04:45 +02:00
lmarcouiller
e87d175041
Fix inventory/inventory.php
2021-05-28 09:57:21 +02:00
Florian HENRY
14fdd4d0c6
fix rollback to rollbac
2021-05-27 16:43:49 +02:00
Laurent Destailleur
38ef028310
Clean code. Fix check for lot that must be unique.
2021-05-26 12:44:15 +02:00
Laurent Destailleur
156279d6a1
Fix nojs
2021-05-26 00:34:52 +02:00
Laurent Destailleur
80c5aa7271
Merge pull request #17722 from frederic34/patch-10
...
Update api_stockmovements.class.php
2021-05-26 00:31:28 +02:00
Frédéric FRANCE
429ebe6662
Update api_stockmovements.class.php
2021-05-25 23:49:49 +02:00
Laurent Destailleur
94c8246f68
Debug v14
2021-05-25 23:30:06 +02:00
Laurent Destailleur
f9d6438bae
Debug v14
2021-05-25 23:26:03 +02:00
Laurent Destailleur
f252748dbf
Merge pull request #17343 from atm-gauthier/develop_new_collapse_batch_detail
...
NEW : collapse batch detail
2021-05-25 23:04:50 +02:00
Laurent Destailleur
9aee8a2a0b
FIX #17406
2021-05-25 21:53:44 +02:00
Laurent Destailleur
11fa523070
FIX CWE-269
2021-05-21 15:54:11 +02:00
Laurent Destailleur
625aab34d6
Fix phpcs
2021-05-20 15:30:33 +02:00
Laurent Destailleur
45bc686f7f
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/comm/propal/list.php
htdocs/commande/list.php
htdocs/compta/facture/list.php
htdocs/product/price.php
2021-05-20 15:05:30 +02:00
Laurent Destailleur
b71eb6b75e
Merge pull request #17668 from atm-john/13.0_fix_dirt
...
FIX : Remove forgotten echo
2021-05-20 14:14:25 +02:00
Laurent Destailleur
c80c261db5
Merge pull request #17684 from FHenry/dev_fix_inventorylink_into_stockmvt
...
add inventory link into mvt stock list
2021-05-20 13:52:54 +02:00
Laurent Destailleur
1ada0ddcb1
Merge pull request #17682 from frederic34/patch-5
...
complete tooltip product
2021-05-20 13:52:25 +02:00
Florian HENRY
1e6f3d0624
add inventory link into mvt stock list
2021-05-20 12:30:02 +02:00
Laurent Destailleur
dc3b5846fb
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-05-20 09:24:09 +02:00
Laurent Destailleur
7390f4653a
Merge pull request #17674 from frederic34/phpcs_enable
...
fix phpcs was disabled
2021-05-20 09:18:00 +02:00
Frédéric FRANCE
c8b1eb180a
doxygen
2021-05-20 08:50:15 +02:00
Frédéric FRANCE
0d8c75268e
Update card.php
2021-05-19 23:32:14 +02:00
Frédéric FRANCE
b214fcb5e0
complete tooltip product
2021-05-19 23:29:35 +02:00
Frédéric FRANCE
83521311dc
fix phpcs was disabled
2021-05-19 15:48:08 +02:00
Laurent Destailleur
a8d36a3a55
Debug v14
2021-05-19 13:56:13 +02:00
ATM john
3bf71d456d
fix doc
2021-05-19 12:01:47 +02:00
ATM john
1512abf96a
Remove hpcs:disable
2021-05-19 12:00:27 +02:00
ATM john
9219dcfecb
Fix price log spam
2021-05-19 11:52:34 +02:00
ATM john
5fd02992c0
Remove forgotten echo
2021-05-19 10:26:04 +02:00
Laurent Destailleur
5babd107a0
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/product/stock/replenish.php
2021-05-18 12:43:52 +02:00
Laurent Destailleur
6d34c34cb5
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/product/stock/replenish.php
2021-05-18 12:11:33 +02:00
Laurent Destailleur
6b12dd4143
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
2021-05-18 12:02:52 +02:00
Laurent Destailleur
6170b28c3b
FIx #17651
2021-05-18 11:58:49 +02:00
Laurent Destailleur
2771d50ffe
code comment
2021-05-18 11:55:56 +02:00
Laurent Destailleur
b6dbe45242
Fix permissions on page to move position of file
2021-05-18 01:58:54 +02:00
Laurent Destailleur
cc1f98329d
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/admin/dict.php
htdocs/product/stock/replenish.php
htdocs/ticket/card.php
htdocs/user/class/api_users.class.php
2021-05-17 19:50:10 +02:00
Laurent Destailleur
b2ba1f5540
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/admin/dict.php
htdocs/product/stock/replenish.php
2021-05-17 10:47:00 +02:00
Laurent Destailleur
985301939d
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
2021-05-17 10:31:25 +02:00
Maxime Kohlhaas
acadef72c1
Fix use supplier relative discount in replenish order creation
2021-05-14 18:01:22 +02:00
Francis Appels
009588e04d
fix implode on string for formproduct loadwarehouse
2021-05-14 11:02:55 +02:00
Laurent Destailleur
a9ddf2a5ad
Fix phpcs
2021-05-13 19:07:47 +02:00
Laurent Destailleur
488f242e25
css
2021-05-12 22:42:10 +02:00
Laurent Destailleur
5e0f2f9781
Debug v14. Fix regression.
2021-05-12 22:35:21 +02:00
Laurent Destailleur
ce8c606132
Clean APIs
2021-05-12 11:04:22 +02:00
Laurent Destailleur
cfded75d11
Debug v14
2021-05-12 09:27:04 +02:00
Laurent Destailleur
f334f2a255
Fix inventory
2021-05-12 09:22:49 +02:00
Laurent Destailleur
b8254186ce
Clean code
2021-05-12 09:07:36 +02:00
Laurent Destailleur
fac32ee913
Better performance
2021-05-12 08:54:36 +02:00
Laurent Destailleur
3ea6cd1c66
Fix missing columns
2021-05-12 08:53:29 +02:00
Laurent Destailleur
3b0f79c3e2
Clean code
2021-05-11 21:46:19 +02:00
Laurent Destailleur
670b604d24
Clean code
2021-05-11 21:45:37 +02:00
Laurent Destailleur
e2ccacd4a9
Merge pull request #17512 from altairisfr/productcard_traceability_fields
...
Stock product card traceability fields
2021-05-11 21:40:50 +02:00
Gauthier PC portable 024
f9afe7e81a
Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop_new_collapse_batch_detail
2021-05-10 09:17:15 +02:00
antonin_tdj
35c8bb6b29
fix bug PMP per entity
...
wrong alias in SQL query
2021-05-07 18:28:30 +02:00
altairis-noe
61f8a03df6
commisionning_date out, we said
2021-05-07 15:41:48 +02:00
altairis-noe
6d92eb2e84
little correction
2021-05-07 15:38:46 +02:00
altairis-noe
8e61fc44fa
traceability must be a choice and we’ll see later about commisioning date
2021-05-07 15:34:11 +02:00
Noé Cendrier
b608038370
Merge branch 'develop' into productcard_traceability_fields
2021-05-06 17:41:11 +02:00
Noé Cendrier
5e57a7173d
Merge branch 'develop' into productcard_traceability_fields
2021-05-06 15:21:48 +02:00
altairis-noe
2bdea3732d
days in lifetime trans
2021-05-06 14:52:48 +02:00
altairis-noe
7c53e2bb18
too much td
2021-05-06 11:16:22 +02:00
altairis-noe
cce132b8da
one more space
2021-05-06 10:04:54 +02:00
altairis-noe
435cbcd16c
spaces after !
2021-05-06 10:01:53 +02:00
altairis-noe
8a108ae5e8
qcstatus out of formproduct and corrections in syntax
2021-05-06 09:59:33 +02:00
altairis-noe
5be2bdd123
qcstatus is not for this branch
2021-05-05 18:01:47 +02:00
altairis-noe
b1a4031bde
no qcstatus in productlot class
2021-05-05 17:47:01 +02:00
altairis-noe
94e485aa06
qc_frequency in days and qcstatus elsewhere
2021-05-05 16:56:25 +02:00
stickler-ci
60fc9f5ecd
Fixing style errors.
2021-05-04 07:52:53 +00:00
kastoras
ee4288fae3
NEW Add pagination at Get Products response
...
At REST API generate pagination data when getting products list using $pagination_data parameter
2021-05-04 10:48:31 +03:00
Laurent Destailleur
d6617f82ca
Merge branch 'develop' into develop
2021-05-04 00:23:28 +02:00
Laurent Destailleur
08806a6d9a
Merge pull request #17403 from kastoras/product_variants_api_add_stock_to_response
...
New/NEW Product Variants API, add variant stock to response
2021-05-03 19:39:50 +02:00
Laurent Destailleur
1c95e2b7c7
FIX #17453
2021-05-03 14:58:29 +02:00
kastoras
127654e792
New/NEW Product Variants API, add variant stock to response
...
Remove dependency inserded by mistake
2021-05-01 22:32:08 +03:00
Laurent Destailleur
7a986b3e50
Fix colors
2021-05-01 17:44:28 +02:00
Laurent Destailleur
c848a1ce03
css
2021-05-01 16:55:49 +02:00
Laurent Destailleur
ef734aeb58
Debug module inventory
2021-05-01 16:33:05 +02:00
Laurent Destailleur
e99355a0c2
Clean html
2021-04-30 15:22:17 +02:00
altairis-noe
c10b165d33
qc_status change in stock correct -> display select
2021-04-30 14:36:25 +02:00
altairis-noe
fd42979def
qc_status change in stock transfer -> display select
2021-04-30 11:12:33 +02:00
altairis-noe
1224327f91
qcstatus everywhere
2021-04-29 17:50:11 +02:00
Laurent Destailleur
655056ed31
Debug v14
2021-04-29 12:10:55 +02:00
Laurent Destailleur
de8e291c7e
Debug v14
2021-04-29 10:01:10 +02:00
stickler-ci
58b4074e57
Fixing style errors.
2021-04-28 21:10:06 +00:00
kastoras
eca04b675b
Merge remote-tracking branch 'origin/product_variants_api_add_stock_to_response' into product_variants_api_add_stock_to_response
2021-04-29 00:10:35 +03:00
kastoras
24dec80c7e
New/NEW Product Variants API, add variant stock to response by parameter
...
If $includestock parameter is set to 1, the response will contain variant stock data
2021-04-29 00:06:47 +03:00
kastoras
e5cd6f97f9
New/NEW Product Variants API, add variant stock to response
...
When acessing product variants via GET API /products/{id}/variants, Include stock_warehouse data to the response
2021-04-28 23:19:24 +03:00
altairis-noe
82ae633617
lifetime and qc_frequency now treated in add and update
2021-04-28 17:08:17 +02:00
Laurent Destailleur
75a8dc28ea
Merge pull request #17261 from aspangaro/14a39
...
Maxi debug of societe/product per entity
2021-04-28 17:06:45 +02:00
altairis-noe
d6b936dd6e
add lifetime and qc_frequency in product card
2021-04-28 16:36:15 +02:00
Laurent Destailleur
3ecf2015b3
Merge pull request #17393 from kastoras/product_api_get_only_products_not_variants
...
Close/CLOSE #17390 Products API, GET /products without variants
2021-04-28 16:14:01 +02:00
Laurent Destailleur
b56b9aa707
Merge branch 'develop' into develop
2021-04-28 16:05:07 +02:00
Laurent Destailleur
e810118a99
Merge pull request #17408 from ibuiv/patch-7
...
Fix Bug replenish + Auto Filter
2021-04-28 15:45:57 +02:00
Laurent Destailleur
0b0d1ee832
Merge pull request #17413 from kastoras/product_api_get_product_stock
...
Close/CLOSE #13739 Product API route added to get product stock
2021-04-28 15:31:33 +02:00
antonin_tdj
dfb4a1c30a
lint (code) Apply remarks and upgrade codee
...
- Sets List of all Visible Warehouses at the beginning with getEntity method (removed the call to global $mc)
- Better check for warehouse auto select (`$count == 1 && (empty($fk_entrepot) || $fk_entrepot <= 0) && ...`)
- Better SQL applying eldy's remarks
2021-04-28 13:37:05 +02:00
stickler-ci
925c324872
Fixing style errors.
2021-04-27 21:38:03 +00:00
kastoras
2e108e1e2f
Close/CLOSE #13739 Product API route added to get product stock
...
Using GET /products/{id}/stock user can get product stock from all warehouses. Using warehouse id will get stock of warehouse given.
2021-04-28 00:32:37 +03:00
kastoras
f3504e8c54
Close/CLOSE #17390 Products API, GET /products variants filter
...
Added new parameter for variants filter. Using this filter you can get products without variants only, parrent products only, child products only.
2021-04-27 23:47:00 +03:00
Laurent Destailleur
e01c5313a7
Debug v14
2021-04-27 22:36:25 +02:00
Laurent Destailleur
f5d18a0023
Update replenish.php
2021-04-27 18:00:45 +02:00
Laurent Destailleur
328e70c309
Update replenish.php
2021-04-27 17:52:57 +02:00
altairis-noe
99df144e04
edit traceability fields in productlot card
2021-04-27 15:28:39 +02:00
stickler-ci
109124fdac
Fixing style errors.
2021-04-27 10:16:59 +00:00
antonin_tdj
6fd1726093
Fix Bug replenish + Auto Filter
...
# Fix Replenish Calculation Bug + Auto Filter
## Environment
* Version: 13
* URL(s): product/stock/replenish.php
## Configuration
MultiCompany needed with Stock Sharing ON, 2 entities and 1 warehouse per entity
**Entity A**
* Options: don't share stocks with other entities
* Warehouse : only 1 (WAR_A)
* Stock : 1 product (PROD) Qty : 4
**Entity B :**
* Options: don't share stocks with other entities
* Warehouse : only 1 (WAR_B)
* Stock : 1 product --the same-- (PROD) Qty : 17
**Product :**
* Desired Stock : 20
* Alert : 10
**WAR_A :**
* For the product
* Desired Stock : 16
* Alert : 6
## Fixed behavior :
* Entity A -> Replenish
* If WAR_A selected should show the product and fill with 12 the qty to order. Physical Stock (All) and Physical Stock (this
warehouse) should be 4.
* If no Warehouse selected show the product and fill with 12 (because only one warehouse seen by this entity) the qty to order. Physical Stock (All) should be 4.
## Actual behavior :
* Entity A -> Replenish
* The product isn't showed.
* If I intentionally incrementes the Desired Stock value. The product will be shown with the good filter (Warehouse if desired stock has been incremented on the combination ProductDesired <-> Warehouse). The qty for the order are correct and the physical stock shown is correct.
## Conclusion :
* 1 bug and 1 improvment
**BUG** : The value of the stock taken to whether or not show the product line is wrong. It is considering the stock in warehouses not shared with the entity.
**IMPROVMENT** : If only one Warehouse, take automatically the desired and alert values for this warehouse and not the general ones.
2021-04-27 12:14:36 +02:00
Antonin MARCHAL
5d1d6eee95
add(pmp) on Warehouse List
2021-04-27 10:51:15 +02:00