Cédric Krier
b8a8b9ebf0
Add test on context of company multivalue target fields
...
issue10067
review333851026
2021-03-05 15:49:20 +01:00
Cédric Krier
acfcbff597
Add margin reporting
...
issue9665
review292371002
2021-01-17 00:57:09 +01:00
Cédric Krier
649968db2a
Add generic test for check erase party
...
issue9895
review324571002
2020-12-05 11:53:49 +01:00
Sergi Almacellas Abellana
7eca5377da
Add cron task to reschedule past shipments
...
issue9264
review325191002
2020-10-12 19:20:33 +02:00
Sergi Almacellas Abellana
90f34e0f37
Prevent doing moves in the future
...
issue9355
review327351002
2020-10-04 23:57:37 +02:00
Cédric Krier
61f8d6629b
Use query clause when searching quantity for 1 location
...
We can use the compute quantities query if the request is for a single location
because all the locations are children and so we can do a SUM.
issue9594
review323991002
2020-09-27 18:20:34 +02:00
Cédric Krier
0915d89979
Add test on assign_try with unsaved move
...
We allow to pass unsaved move as parameters for the assignation search while
keeping the original values on the possible remaining moves.
issue9431
review300001002
2020-07-13 21:07:27 +02:00
Cédric Krier
615e7d3507
Ensure quantity field is always for today with future dates
...
An empty stock_date_end is converted into max date in compute_quantities_query
and forecast context should be explicitly disable.
issue9044
review282931002
2020-02-15 01:41:47 +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
6764b81c88
Add test scenario for Product Quantities by Warehouse
...
issue8355
review261481002
2019-05-22 18:32:01 +02:00
Cédric Krier
3982b963c5
Raise NotImplementedError when setting Function field without setter
...
issue7985
review265101002
2019-03-27 00:28:57 +01:00
Cédric Krier
c59c13a590
Prefer to pick product from the source location
...
In order to implement this behavior, we move first the source location in the
quantities to pick.
issue8076
review68471002
2019-03-02 23:04:35 +01:00
Cédric Krier
0498c4cdd5
Add test Move assign_try skips to_location
...
issue7856
review66541002
2019-02-18 18:35:23 +01:00
Cédric Krier
258f9ad9e5
Add test to prevent create move at the closed period date
...
issue7489
review45721002
2018-09-17 17:48:26 +02:00
Cédric Krier
e5852ab668
Add count wizard on inventory
...
issue7515
review49461002
2018-07-27 17:07:31 +02:00
Cédric Krier
42595dcce0
Manage same input and storage location in customer return shipment
...
issue7401
review51261002
2018-05-10 20:19:23 +02:00
Cédric Krier
549c71e642
Add tests for products_by_location on 2nd level flat_childs
...
issue7162
review44871003
2018-04-03 16:40:31 +02:00
Sergi Almacellas Abellana
70cd9d81c2
Manage same input and storage location
...
In this case there is no need to create inventory moves
issue6892
review42801002
2018-03-24 12:01:58 +01:00
Sergi Almacellas Abellana
65c1429178
Do not fill inventory quantity automatically
...
issue6977
review44571002
2018-03-19 09:56:45 +01:00
Cédric Krier
f632a9cc67
Remove product_ids from products_by_location for grouping_filter
...
issue7141
review44651002
2018-02-28 18:25:18 +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
Cédric Krier
2ad008f490
Add flat children option on location
...
issue6563
review36391002
2017-09-28 23:42:22 +02:00
Cédric Krier
4356a58019
Allow to deactivate only empty locations
...
issue6590
review37491002
2017-07-12 19:55:02 +02:00
Cédric Krier
bab6853346
Add test for evaluate stock quantity after summing the children
...
issue6605
review37501002
2017-07-12 19:30:38 +02:00
Cédric Krier
f132407fc0
Move cost price to product level instead of template
...
issue6515
review41321002
2017-07-05 14:51:50 +02:00
Cédric Krier
1e5d079d5c
Do not set effective_date on assign
...
When the effective date is set on assignation, if the move stays in this state
for more than 1 day, it is no more taken into account for stock quantity
computation.
But if the effective date is not set on assign, the stock quantity computation
must always include assigned moves when stock_assign is set with the exception
of delta computation which must always use the effective or planned date.
issue6371
review36261002
2017-03-29 22:44:33 +02:00
Sergi Almacellas Abellana
34073750ed
Avoid computation for assign_try with no moves
...
issue6366
review31201002
2017-03-22 11:14:45 +01:00
Cédric Krier
8280320f8f
Manage same picking/storage and output location
...
Some organisation does wave picking so they do not need another assignation
step for the customer shipments.
issue6155
review27011003
2017-01-13 20:09:19 +01:00
Cédric Krier
7bc2bf1496
Do not increase available quantity on destination location in assign_try loop
...
This makes assignation behaves like compute quantity from changeset 056cbb515d4d
issue6100
review33651002
2016-12-30 22:07:19 +01:00
Cédric Krier
c524df9220
Use install_modules tools in scenario
...
issue5794
2016-08-26 09:59:50 +02:00
Cédric Krier
0ba40a9aa5
Replace category by categories on Template
...
issue5320
review23791002
2016-03-19 09:05:42 +01:00
Cédric Krier
82dd783739
Fix tests to use Product class instead of self.product
2016-03-04 09:17:40 +01:00
Cédric Krier
c91a2409f2
Add a quick sum in compute_quantities for single location
...
When a single location is requested, we don't need to compute the value of all
the node of the subtree because all locations are children. So we can sum the
quantity directly as if it was for the location.
issue5297
review23781002
2016-03-04 00:21:29 +01:00
Cédric Krier
2e04a068ee
Add Python3 support
...
issue3211
2016-02-26 00:04:09 +01:00
Cédric Krier
3273c7e910
Make TestCase create and drop its database
...
and use with_transaction decorator.
issue5263
review20711002
2016-02-06 19:13:17 +01:00
Cédric Krier
d0684dab96
Test Move assign_try
...
review13051002
2015-03-09 19:37:01 +01:00
Cédric Krier
c94613e05c
Add check for default model access
...
When group access exists, a default model access should be defined otherwise
all access are given to non group users.
issue4485
review5941002
2015-01-27 18:14:09 +01:00
Cédric Krier
f74df3dabd
Add tox and drone
...
issue4431
2015-01-26 16:50:16 +01:00
Nicolas Évrard
432de41ee2
Report API refactorization
...
review8831002
2015-01-20 18:49:56 +01:00
Nicolas Évrard
c9087d154c
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:08:09 +01:00
Cédric Krier
994bd8a103
Fix most flake8 errors
...
review8771002
2014-12-02 12:56:04 +01:00
Cédric Krier
91786aa76d
Use new doctest setup/teardown
...
issue3627
review7401002
2014-09-04 08:45:40 +02:00
Sergi Almacellas Abellana
c0545376c4
Always succeed assignation from lost and found on internal shipments
...
review9401003
issue3590
2014-05-28 19:52:58 +02:00
Cédric Krier
9a2cc36ce9
Add test for product_by_location with stock_skip_warehouse and no product_ids
...
issue3843
review5171002
2014-04-18 19:30:49 +02:00
Cédric Krier
634913f549
Add warning for external move without origin
...
issue3677
review3521002
2014-03-10 20:16:00 +01:00
Cédric Krier
7fac623f85
Drop support of Python 2.6
...
review2691002
2014-01-31 00:04:20 +01:00
Cédric Krier
412410aa1b
Anonymise tests
...
review2681002
2014-01-16 22:10:53 +01:00
Cédric Krier
d0597aab7f
Cleanup tests
...
review2491002
2014-01-12 20:00:12 +01:00
Cédric Krier
9da5c5b86b
Use common doctest_dropdb
...
review2151002
2013-12-18 18:32:22 +01:00
Guillem Barba
38ab876749
New methods on stock.move to compute quantities more modular
...
* Split products_by_location into two methods on Move:
compute_quantities_query and compute_quantities
* Use new methods to compute quantities in StockMixin._search_quantity()
issue3201
review971002
2013-12-17 16:22:36 +01:00