Cédric Krier
7e6831e831
Add unit and digits to location quantities
...
issue9876
review333251002
2021-01-17 00:41:23 +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
f7f5d9cf25
Add digits to cost value of location
...
issue9877
review320451002
2020-12-05 11:51:29 +01:00
Sergi Almacellas Abellana
95b4dae623
Allow lost and found on inventory moves
...
issue9156
review323431002
2020-10-11 23:46:10 +02:00
Cédric Krier
ba1265a067
Add relates for lots
...
- relate from lot to locations quantity
- relate from product/template to lots by warehouse
issue9504
review298351002
2020-10-11 16:05:16 +02:00
David Harper
51b4786235
Rename move state from cancel to cancelled
...
issue8927
review297851002
2020-06-06 10:30:11 +01:00
Sergi Almacellas Abellana
410dcffb29
Add visual on product and location quantities
...
issue8982
review301191009
2020-03-30 09:37:30 +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
b434ce8e8d
Set all fields readonly for inactive records
...
issue3747
review295061011
2020-03-17 20:08:12 +01:00
Cédric Krier
5c12d36b7d
Fix flake8 errors and warnings
...
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
2020-03-01 12:33:54 +01:00
Nicolas Évrard
6ccad44a78
Use direct access to backend classes
...
issue8836
review258421002
2019-12-06 17:33:47 +01:00
Thierry Bruyere
40a403c77b
Add a global method to set default warehouse
...
issue8396
review277371003
2019-09-07 23:13:33 +02:00
Cédric Krier
81bf997722
Switch from OR-ed to AND-ed domain for search_rec_name of location
...
issue8054
2019-03-30 20:39:05 +01:00
Cédric Krier
c017f27b31
Use Or-ed domain for search_rec_name of location
...
issue8054
review259191003
2019-03-28 19:42:15 +01:00
Cédric Krier
a67d1952a7
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
David Harper
93f3022413
Add help text
...
issue6401
review34861002
2018-12-04 12:25:45 +01:00
Cédric Krier
f7414a8674
Replace self by cls in classmethod
...
issue7630
review74341002
2018-09-19 00:15:59 +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
973dd92330
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +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
85048e3cca
Use tree mixin
...
issue7383
review50291002
2018-05-12 00:51:33 +02:00
Cédric Krier
df8c27aba6
Do not browse records at a datetime before they were created
...
If user tries to get the cost price of a product before it was created, it
should return None instead of raising an access error.
issue7334
review49281002
2018-04-20 18:36:25 +02:00
Sergi Almacellas Abellana
2c840d7490
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:15:09 +02: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
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
47a9c4dfb1
Call check_inactive with only inactive locations
...
issue6590
2017-07-19 00:20:59 +02:00
Cédric Krier
696222c774
Use next built-in instead of next method
...
The next method has been renamed into __next__ in Python 3 (see PEP3114).
2017-07-12 22:30:02 +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
a81448cf9a
Check location type against moves from all companies
...
issue6592
review38411002
2017-06-29 23:13:16 +02:00
Cédric Krier
f7e1f3b316
Catch KeyError on ModelData.get_id in default method
...
Since changeset 685f2d888dca, the default methods are always called in
__register__ when the XML files are not yet loaded.
issue6409
review34041002
2017-04-01 10:40:06 +02:00
Cédric Krier
bcb3833f32
Remove Property fields
...
issue2349
review38271002
2017-04-01 00:38:23 +02:00
Sergi Almacellas Abellana
b29f75748f
Use sequence_ordered
...
issue5105
2016-09-13 14:10:03 +02:00
Sergi Almacellas Abellana
b3f7f3ddda
Forecast date should return a date instead of a datetime
...
issue5690
review32271002
2016-07-08 10:20:07 +02:00
Sergi Almacellas Abellana
82be44e56e
Fix antipatern of create/write in loop
...
issue3516
review6891002
2016-06-23 09:40:00 +02:00
Cédric Krier
a6225e3fc6
Add lead time and transit location for internal shipments between warehouses
...
issue5587
review25331002
2016-06-21 10:36:30 +02:00
Sergi Almacellas Abellana
7851e5aed6
Use context model in quantities computation actions
...
issue5541
review20181002
2016-06-15 10:45:54 +02:00
Cédric Krier
45ccdc9060
Search also for inactive warehouse in get_warehouse
...
issue5580
review27301003
2016-05-30 22:22:19 +02:00
Nicolas Évrard
94b0ab55e6
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:55:39 +01:00
Cédric Krier
2e04a068ee
Add Python3 support
...
issue3211
2016-02-26 00:04:09 +01:00
Cédric Krier
c911cb0495
Add warehouse address on internal shipment
...
issue4978
review22531002
2015-11-05 23:26:24 +01:00
Cédric Krier
22b3b2845d
Remove unnecessary reset of left/right in copy
...
issue5049
review19551002
2015-10-18 16:52:12 +02:00
Nicolas Évrard
e45b3046b7
Add drop location type
...
issue4371
review19471002
2015-10-04 17:54:19 +02:00
Cédric Krier
8507f1660f
Allow to use view location on staging and draft moves
...
issue4912
review24321002
2015-09-22 23:00:48 +02:00
Cédric Krier
f6b10b766e
Add picking location on warehouse
...
issue4911
review24281002
2015-09-14 10:17:04 +02:00
Cédric Krier
a2da70ea13
Use new PYSON syntax
...
issue2205
review16391002
2015-06-28 23:45:31 +02:00
Marius Grigaitis
a50b6f21fd
Use the last cost_price of the day for cost_value calculation
...
issue4432
review13831002
2014-12-31 15:27:12 +01:00
Sergi Almacellas Abellana
2112a21113
Add domain on location's parent and childs
...
issue4279
review9811002
2014-12-05 18:43:36 +01:00