Commit Graph
43 Commits
Author SHA1 Message Date
Cédric Krier f783dd6917 Show quantities by warehouse for many products
and add relate from assigned shipment to products quantities by warehouse

issue10074
review316831002
2021-02-27 17:15:00 +01:00
Cédric Krier f0ded2f87e Use dedicated model for products and lots by locations
issue9874
review314911002
2020-12-23 21:55:13 +01:00
Cédric Krier cd8fd31d0b Add moves for product quantities by warehouse
We add a new model based on stock move that compute the cumulative quantity for
each incoming or outgoing move.
The product quantities by warehouse is refined to only get row at the date the
quantity actually change.
We also add company and access rules for both models.
On back-end without window function, the cumulative quantity is the initial
quantity of the day.

issue9389
review297881002
2020-07-04 23:46:35 +02:00
Cédric Krier 97490c0018 Manage explicitly stock_skip_warehouse context
The windows that display product quantities should explicitly manage the
stock_skip_warehouse context to ensure static result.

issue9041
review253051002
2020-02-15 01:40:11 +01:00
Cédric Krier d7c5c6b75a Store product cost price revision
The "Modify Cost Price" wizard create a revision record for each template or
product. The cost price re-computation methods apply those revisions at the
beginning of their date.
The stock accounting move is created and posted when the cost price is modified
by the re-computation.

issue8930
review260751002
2020-01-26 21:10:40 +01:00
Cédric Krier f204b7bd0b Update cost of moves when recomputing product cost
issue8795
issue7271
review260381003
2020-01-26 15:29:23 +01:00
Cédric Krier d07cd6654c Add form view to Locations Tree Quantity
sao prevents to open tree with more children than its limit and it switches to
the form view. So to allow the user to see the data, we must add a form view.

issue8844
review274341002
2019-12-07 16:08:54 +01:00
Cédric Krier 20250ecb65 Show locations with any of quantity or forecast different of zero
issue8679
review282191002
2019-10-01 22:52:18 +02:00
Cédric Krier 802c014e1e Open product quantities by warehouse to show moves
We add also a custom rec_name for stock.product_quantities_warehouse to use as
action name.

issue8350
review253511002
2019-06-16 19:11:48 +02:00
Cédric Krier 1e617e284b Improve location browsing
- Add childs field on the form view
- Duplicate "Locations Quantity" into tree and list
- Allow to search on quantity and forecast_quantity on location

issue7151
review43141002
2018-03-09 19:17:58 +01:00
Cédric Krier 55082d76a6 Allow to group per product columns to compute quantity
This is needed to add the quantity relates on the template form.

issue7068
review40031002
2018-02-11 14:38:33 +01:00
Sergi Almacellas Abellana 4a4005cace Use eval to define view priority
issue6921
review44451002
2017-12-01 10:27:53 +01:00
Sergi Almacellas Abellana 7851e5aed6 Use context model in quantities computation actions
issue5541
review20181002
2016-06-15 10:45:54 +02:00
Sergi Almacellas Abellana 70610a0ec5 Remove window_name usage
issue5611
review25391002
2016-06-08 10:34:31 +02:00
Cédric Krier b677e166ca Allow to re-compute cost price
and to change unit price of move done

issue4729
review12131002
2015-06-15 00:58:00 +02:00
Cédric Krier 8620922243 Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:42:16 +01:00
Cédric Krier 4f833ee812 Migration to python-sql
review1001002
2013-09-06 22:34:48 +02:00
Cédric Krier 3feb162b87 Use separate XML files for views 2013-03-13 13:25:00 +01:00
Cédric Krier 5c89c26823 Add Product Quantities By Warehouse
review423001
2012-07-25 20:36:58 +02:00
Cédric Krier 9fe60068ee Add date on "Products by Locations" like for "Product by Locations"
review373003
2012-05-30 11:14:19 +02:00
Nicolas Évrard 5f2b135b09 Add cost value to location / product contextualized views
review246002
2012-03-04 16:09:08 +01:00
Cédric Krier 82458c020e New wizard design 2012-01-02 18:07:56 +01:00
Cédric Krier a427acce04 New search widget
review95006
2011-10-03 09:49:28 +02:00
Cédric Krier c9fe155c40 Remove default read access
issue2067
review109003
2011-09-30 17:11:16 +02:00
Cédric Krier 9b01f404eb Update Reference fields from 0 to -1 2011-09-21 12:30:07 +02:00
Cédric Krier c20f2d3343 Merge tree and list views 2011-04-03 15:08:58 +02:00
Bertrand Chenal 29229ebb47 Improve product list opened from a location for issue939:
- Don't show product if quantity is zero
- Add Type on the search form
2009-04-08 11:35:37 +02:00
Cédric Krier 15a85f8c73 Remove unused src_model 2009-03-18 19:23:53 +01:00
Cédric Krier d106970ecc Add priority to tree view of stock.location for product stock for issue755 2009-01-21 01:49:18 +01:00
Cédric Krier d13322d320 Fix model name for product_stock_date_init_view_form 2008-11-16 14:33:11 +01:00
Cédric Krier 01392a9101 Increase priority to product_view_tree_qty 2008-11-13 11:25:43 +01:00
Cédric Krier 4c50f1ff83 Add model on wizards and fix id guideline 2008-10-08 18:18:05 +02:00
Bertrand Chenal e6c6b15a1d Improved stock computation behaviour 2008-07-11 23:20:17 +02:00
Cédric Krier 5249cc7143 Fix COPYRIGHT 2008-06-23 21:01:22 +02:00
Bertrand Chenal 7e35b52a43 Remove stock prefixes in xml ids 2008-06-10 18:28:31 +02:00
Bertrand Chenal a7570c1ec8 Use separate views for wizards 2008-06-10 18:14:51 +02:00
Cédric Krier ecede0b8ea Remove stock prefix in module stock 2008-06-10 17:23:05 +02:00
Bertrand Chenal eb9ce5150f Added forecasted quantities for stocks. 2008-06-05 01:00:26 +02:00
Cédric Krier a868581e33 Improve product stock view
Update the window name with the product name and the default uom
2008-05-20 17:38:43 +02:00
Bertrand Chenal 7be6716969 Adding relate button from product to locations which shows quantities. 2008-05-14 01:11:23 +02:00
Cédric Krier 1468149cd7 Improve quantity on product
- Don't compute quantity for all products
- Pass context when calling function
- Use setdefault instead of searching key
- Remove form view for quantity and use the view from product modules (more
  flexible for futher inherits)
- Fix some quidelines
2008-05-09 12:52:17 +02:00
Bertrand Chenal 01afedb359 merge 2008-04-24 16:12:07 +02:00
Bertrand Chenal ba35f54ae9 Adding quantity field on product.
With search function, action on locations and helper functions moved
from location object to product object.
2008-04-24 16:01:26 +02:00