Cédric Krier
101eaecb89
Check no stock move also on Product
...
As fields can be redefined on Product, we must check both Models.
issue7253
review41981002
2018-03-27 10:51:36 +02:00
Sergi Almacellas Abellana
2c840d7490
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:15:09 +02:00
Cédric Krier
2dd7a53fda
Complete CHANGELOG entry
...
issue6892
2018-03-25 01:03:30 +01: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
Cédric Krier
225fefc37c
Check pending shipment to erase party
...
issue7169
review44051002
2018-03-24 00:10:37 +01:00
Cédric Krier
4ee60ddb42
Make empty quantity not required
...
As None is a valid option.
2018-03-19 16:14:01 +01:00
Cédric Krier
b7a0a0525a
Fix typo in missing_empty_quantity message
2018-03-19 16:12:09 +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
d7bc616a43
Always raise exception in table handler
...
issue7175
review40161002
2018-03-15 00:46:59 +01:00
Cédric Krier
a289e86cc9
Assign supplier return shipment using children when location is a view
...
But also allow external customization.
issue7158
review41111002
2018-03-15 00:30:15 +01:00
Cédric Krier
181156bf66
Prevent to compare datetime.date to NoneType
...
This may happen if stock_date_end is not set in the context.
2018-03-09 19:41:13 +01: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
Sergi Almacellas Abellana
a9ae8afd36
Register all buttons are registered in ir.model.button
...
issue6389
review36621002
2018-03-01 12:45:35 +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
88302f5437
Ensure grouping has no duplicate fields
...
Otherwise it generates ambiguous SQL query.
issue7141
2018-02-21 14:34:58 +01:00
Cédric Krier
8c326b8ae0
Ensure grouping_filter has the right length
...
issue7141
review40111002
2018-02-20 17:58:12 +01:00
Sergi Almacellas Abellana
94e9d784fb
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:41:53 +01:00
Albert Cervera i Areny
a0b8974ea4
Do not delete inventory line of inactive product
...
On the first run, inactive products with stock quantity are created, so we
must not delete them on the second call.
issue6931
review38931002
2018-02-13 19:26:25 +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
ae3358481d
Remove MySQL backend
...
issue7017
2018-01-24 20:14:38 +01:00
Cédric Krier
f2216d96b2
Improve dependency links
...
issue7049
2018-01-21 19:58:07 +01:00
Cédric Krier
136fcf1824
Browse again the products to have the modified context in get_cost_value
...
The context is set but it has no effect if the records are not instantiated
with it.
issue7044
review43881002
2018-01-12 12:54:35 +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
f9606ac73f
Add custom view for incoming moves of supplier shipment
...
It may requires more customization than other views because it is an operation
that depends on the supplier.
issue7020
review42961002
2017-12-26 17:34:05 +01:00
Maxime Richez
d7a09ace57
Hide expected_quantity for non saved inventory lines
...
issue6976
review37861002
2017-12-13 18:21:23 +01:00
Maxime Richez
2c58dd113b
Set inventory lines readonly until inventory date and location are filled
...
Date and location fields are required
but become readonly when you start filling
lines manually even if those fields are not filled.
When you save your inventory, you have to delete all
your lines to fill those mandatory fields...
issue6978
review36861002
2017-12-10 12:44:40 +01:00
Sergi Almacellas Abellana
4a4005cace
Use eval to define view priority
...
issue6921
review44451002
2017-12-01 10:27:53 +01:00
Cédric Krier
461d2df18d
Increase version number
2017-10-30 15:09:23 +01:00
Cédric Krier
c5eda2b12d
Added tag 4.6.0 for changeset e987bc41694d
2017-10-30 15:08:59 +01:00
Cédric Krier
564b080752
Prepare release 4.6.0
2017-10-30 15:08:59 +01:00
Cédric Krier
231b5f7ea2
Update translations
2017-10-28 16:49:51 +02:00
Cédric Krier
4134cfacf6
Remove support of Python 3.3 and add Python 3.6
...
issue6843
review41611002
2017-10-23 23:54:10 +02:00
Cédric Krier
253a7890d6
Allow to enforce product default UoM category on move
...
It uses the product_uom_category field which is a Function to allow other
modules to extend the computation to enforce a specific category.
issue6839
review39791002
2017-10-18 14:49:35 +02:00
Cédric Krier
2ad008f490
Add flat children option on location
...
issue6563
review36391002
2017-09-28 23:42:22 +02:00
Cédric Krier
a8f15c8ea7
Fix searcher methods for dot notation
...
issue6757
review40651002
2017-09-27 18:37:34 +02:00
Cédric Krier
8e5c000f34
Encode move string before hashing it with md5
...
In Python3 hashlib.md5 requires a bytes instead of str.
2017-09-26 02:07:12 +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
421d692490
Add documentation about setting initial stock
...
issue6764
review41551002
2017-09-26 01:31:53 +02:00
Cédric Krier
88b96f2990
Raise a single warning for moves without origin
...
issue6764
review41551002
2017-09-26 01:31:25 +02:00
Cédric Krier
60108d24cf
Allow user to set effective date of the move
...
issue6764
review41551002
2017-09-26 01:30:42 +02:00
Cédric Krier
9d4ed677fb
Fix chained set_lang call in report
...
issue6548
review44281002
2017-09-07 18:53:30 +02:00
Cédric Krier
d2a5045184
Use Flat OpenDocument
...
issue6545
review35031002
2017-08-31 22:53:06 +02:00
Cédric Krier
ef9d0a87da
Allow to cancel staging move
...
issue6708
review44261002
2017-08-28 18:28:27 +02:00
Cédric Krier
36d196a110
Update to drone 0.8
...
issue6030
2017-08-19 08:54:36 +02:00
Cédric Krier
8c1afa76fa
Remove wrong classmethod on get_rec_name of Period
...
Introduced in changeset 706df76d7266
2017-08-10 12:33:01 +02:00
Cédric Krier
6b9a3b1666
Improve performance of average cost price computation
...
- Save the move state only when a second same products is going to be
proceeded.
- Write the new cost prices when the moves are saved.
- Use get_multivalue with extensible pattern using explicit company value.
- Rename _update_product_cost_price into _compute_product_cost_price
- Use grouped instances of moves with the right context to avoid to
instantiate a product on each call to _compute_product_cost_price.
issue6626
review36431002
2017-08-02 23:03:38 +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
6a655d5a58
Limit move locations 'child_of' constraints to specific shipment states
...
In order to allow to move locations, the constraint must be limited to states
where the move can be still be modified.
issue6577
review35081002
2017-07-26 23:57:39 +02:00
Cédric Krier
54996e1ccc
Ensure rec_name is a char, text type
...
Model.default_get with 'default_rec_name' context relies on the fact that
rec_name is a string base field.
issue6630
review36501002
2017-07-26 23:43:27 +02:00
Cédric Krier
47a9c4dfb1
Call check_inactive with only inactive locations
...
issue6590
2017-07-19 00:20:59 +02:00