daraelmin
972b325a51
Clean code
2021-04-28 08:14:18 +02:00
daraelmin
65a83036ed
Clean code use const adh statut instead of integer
2021-04-28 07:45:36 +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
Laurent Destailleur
0037da1a56
FIX selection of project for reception must use
...
PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS
2021-04-27 23:29:53 +02:00
daraelmin
50a5dd7ff3
Use adh const
2021-04-27 23:28:49 +02:00
daraelmin
e7f1170736
Use adherent status const
2021-04-27 23:22:29 +02: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
1e7a778ecc
Debug v14
2021-04-27 22:28:28 +02:00
Laurent Destailleur
9524f5e0a5
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2021-04-27 22:14:33 +02:00
Laurent Destailleur
cb72a010cd
FIX notifications for expense report has disappeared.
2021-04-27 22:14:19 +02:00
daraelmin
c1d07a457b
Mispelling
2021-04-27 22:00:21 +02:00
daraelmin
e365337440
Use status constant instead of integer
2021-04-27 21:43:13 +02:00
Laurent Destailleur
0d30bc5dc3
Merge pull request #17366 from daraelmin/daraelmin-patch-laterenew
...
Fix #17318 false renew date
2021-04-27 21:26:56 +02:00
Laurent Destailleur
3d3e8786af
Update adherent.class.php
2021-04-27 21:24:59 +02:00
stickler-ci
d0d034672d
Fixing style errors.
2021-04-27 19:10:01 +00:00
daraelmin
082423efa0
libstatut
2021-04-27 21:09:37 +02:00
daraelmin
7f3810e703
update $field also
2021-04-27 20:53:14 +02:00
Damien BENOIT
d8ec9de58b
Update delais.php
2021-04-27 20:53:05 +02:00
daraelmin
d3c7ab402d
Fix wrong set of constant
2021-04-27 20:45:04 +02:00
daraelmin
5b74676e54
fix infinite loop
2021-04-27 20:14:03 +02:00
Laurent Destailleur
e6d2bad6e0
Update paymentok.php
2021-04-27 19:46:26 +02:00
Laurent Destailleur
035828ba51
Add missing constants
2021-04-27 19:45:56 +02:00
Laurent Destailleur
3f7f166fb6
Make option label easier to understand.
2021-04-27 19:33:11 +02:00
Laurent Destailleur
0a871546ee
Merge pull request #17379 from atm-adrien/FIX_add_function_price2num_to_productAlertStock_box_12.0
...
FIX : Add function price2num for rounding values in productAlertStock…
2021-04-27 18:45:26 +02:00
Laurent Destailleur
be541a2f82
Merge pull request #17400 from OPEN-DSI/fix_00007
...
FIX Supplier invoices (deposit, multicurrency in lines)
2021-04-27 18:43:41 +02:00
Laurent Destailleur
f6ed63c37d
Merge pull request #17409 from fr69400/develop
...
Update supplier_proposal.class.php
2021-04-27 18:39:37 +02:00
fr69400
c7c1756703
Update supplier_proposal.class.php
2021-04-27 18:22:31 +02:00
kamel
4b490d434c
Corrections
2021-04-27 18:08:05 +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
Laurent Destailleur
b1d8ca0701
Fix phpcs
2021-04-27 17:45:13 +02:00
Laurent Destailleur
7db74c81be
Merge pull request #17410 from Hystepik/develop#3
...
Fix : Bug facture.class.php
2021-04-27 17:30:39 +02:00
Laurent Destailleur
11437a8077
css
2021-04-27 17:28:28 +02:00
lmarcouiller
97633e34f2
Fix : Bug facture.class.php
2021-04-27 16:47:27 +02:00
lmarcouiller
a499f8f1f8
Merge branch 'develop' of github.com:Dolibarr/dolibarr into develo#2
2021-04-27 16:26:06 +02:00
lmarcouiller
a2b2a35d5b
Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop#1
2021-04-27 16:23:55 +02:00
stickler-ci
3d38301be9
Fixing style errors.
2021-04-27 14:06:10 +00:00
lmarcouiller
52bf0f0359
Close #17271 : Replament of 2 graph in compta/index.php
2021-04-27 16:02:46 +02:00
fr69400
52f3c95429
Update supplier_proposal.class.php
2021-04-27 15:59:13 +02:00
altairis-noe
9fc67275fd
llx_c_productbatch_status to migration and translatable strings
2021-04-27 15:55:51 +02:00
kamel
80be0c32e4
Corrections
2021-04-27 14:13:59 +02:00
Dorian Vabre
7405725198
added security check at beginning of /project/index page (according to the security I added in the previous commits)
2021-04-27 14:11:46 +02:00
Dorian Vabre
79dce3ad05
typo in comment
2021-04-27 14:06:40 +02:00
Dorian Vabre
fab12bc5e5
removed the indicated id of conf when on the subscription page for security (now showing label instead)
2021-04-27 14:04:08 +02:00
Dorian Vabre
a508cdbf59
every dol_encode for securekey replaced with dol_hash (dol_encode kept for encoding ids
2021-04-27 14:01:44 +02:00
kamel
3a673c9210
Merge branch 'develop' of github.com:Dolibarr/dolibarr into fix_00007
2021-04-27 12:29:10 +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