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
Maxime Richez
6bc5f2dfa3
Delete outgoing_moves with zero quantity on packing customer shipment
...
issue9737
review316291002
2020-10-27 21:13:58 +01:00
Cédric Krier
0c896a46ab
Convert read column into proper type with SQLite
...
As SQLite has few basic types, we must use column names cast parsing to ensure
to read values in proper type.
issue9652
review310801004
2020-10-21 23:11:13 +02:00
Adrián Bernardi
3692a95568
Test template type in Modify Cost Price wizard
...
When the model is product.template, it is the template type
that must be tested.
issue9639
review292321002
2020-10-19 00:17:20 +02:00
Maxime Richez
c09fb12c43
Add picked step to customer shipment workflow
...
issue9634
review329071002
2020-10-12 23:19:54 +02: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
62a3cfdbcb
Update tests for new report name scheme
...
issue9509
2020-09-24 18:28:45 +02:00
Cédric Krier
f6eb3790f3
Use a single assign wizard
...
issue9422
review299961011
2020-07-25 08:19:31 +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
David Harper
410165a333
Use Activate modules as test scenario section name
...
issue9395
review291901002
2020-07-09 10:21:07 +01:00
Cédric Krier
671e1b2599
Enforce unit price on drop and customer return moves
...
Those values are interesting information for reporting or to compare with the
cost price.
issue9402
review327421002
2020-07-04 23:49:25 +02: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
fe4650d885
Define lost and found location for inventory on parent location
...
We remove the lost and found location on the inventory to only used one define
on the warehouse or parent of the inventoried location.
issue9071
review276901002
2020-03-17 23:35:47 +01: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
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
06f262091b
Add today record in Product Quantities By Warehouse
...
As the action has a search value that limits from today, having a fake record
for today shows the current stock quantity.
issue8681
review264281002
2019-10-08 19:00:25 +02:00
Sergi Almacellas Abellana
cd85fe4171
Allow consumable products on inventories
...
issue4945
review283991002
2019-09-19 14:04:54 +02:00
Cédric Krier
46e3596d95
Set correct date on internal shipment moves
...
The outgoing move must have the planned start date and the incoming move must
have the start date.
issue8655
review254291002
2019-09-16 23:58:02 +02:00
Cédric Krier
ade9061f99
Prevent assign unknown attributes on Model
...
by adding __slots__ on proteus classes.
issue6573
review254081002
2019-09-07 23:38:20 +02:00
Cédric Krier
2429ddadea
Improve moves synchronisation on shipments
...
By using the origin as synchronisation key, the code is simplified but also it
allows to follow when products are changed.
The same design is applied to the internal shipment which allows to synchronise
also the lots.
issue8363
review261811002
2019-08-18 19:22:43 +02:00
Cédric Krier
73e16504dc
Allow move as move's origin
...
issue8253
review269251028
2019-07-08 17:18:14 +02: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
08e5893595
Don't set default unit price on stock move
...
issue8119
review255251002
2019-04-23 09:10:22 +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
a67d1952a7
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
David Harper
9804855bc3
Rename field quantity_resulting to total_quantity
...
issue7871
review60431002
2018-12-04 12:31:31 +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
a04143efc6
Improve ModelStorage.copy
...
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default
issue5576
issue7648
review72291002
2018-09-01 01:02:04 +02:00
Cédric Krier
e5852ab668
Add count wizard on inventory
...
issue7515
review49461002
2018-07-27 17:07:31 +02:00
Cédric Krier
5061618d5b
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:55 +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
Sergi Almacellas Abellana
eb2417fdef
Preserve user values when completing inventory lines
...
issue6977
review42981002
2018-01-12 09:38:41 +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
8fdf25363b
Manage negative quantity in cost re-computation the same way as on move
...
In case of negative quantity, the unit price is used as cost price if it is an
incoming and the cost price is kept if tit is an outgoing.
issue6770
review44311002
2017-09-26 01:36:23 +02:00
Cédric Krier
54ccd5b967
Add set_user tools for test scenario
...
When changing the user of proteus, the context should be reloaded.
issue6652
review42551002
2017-08-02 19:38:23 +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
a568a82a97
Add sub-location to test scenario
...
issue6627
review35491002
2017-07-12 19:42:34 +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