Cédric Krier
1babe42799
Add visual context on tree view
...
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Sergi Almacellas Abellana
cd85fe4171
Allow consumable products on inventories
...
issue4945
review283991002
2019-09-19 14:04:54 +02:00
Àngel Àlvarez
e8b713a3d1
Only check if expected_quantity has changed
...
Since rev 7166c43434f7, the quantity field is no more filled.
issue8433
review285371002
2019-09-02 18:26:02 +02:00
Cédric Krier
a67d1952a7
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier
e8653f0815
Fix wrong field name from applying total_quantity rename
...
issue7871
2018-12-04 13:08:49 +01:00
David Harper
9804855bc3
Rename field quantity_resulting to total_quantity
...
issue7871
review60431002
2018-12-04 12:31:31 +01:00
David Harper
93f3022413
Add help text
...
issue6401
review34861002
2018-12-04 12:25:45 +01: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
04690f6a59
Use material design icons
...
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier
31f96f8c38
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier
e5852ab668
Add count wizard on inventory
...
issue7515
review49461002
2018-07-27 17:07:31 +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
823f549182
Prevent delete lines if inventory is not draft or canceled
...
issue7478
review47451002
2018-06-04 18:55:40 +02: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
f632a9cc67
Remove product_ids from products_by_location for grouping_filter
...
issue7141
review44651002
2018-02-28 18:25:18 +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
Sergi Almacellas Abellana
eb2417fdef
Preserve user values when completing inventory lines
...
issue6977
review42981002
2018-01-12 09:38:41 +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
Cédric Krier
a8f15c8ea7
Fix searcher methods for dot notation
...
issue6757
review40651002
2017-09-27 18:37:34 +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
d836054849
Make inventory number always readonly
...
If it is not readonly, it is not filled by the sequence on create because it is
tested only against None but not against empty string.
Other documents like shipments also use always readonly numbers.
issue5772
review25571002
2016-08-13 23:46:35 +02:00
Sergi Almacellas Abellana
33ca111eb7
Don't update expected quantity when inventory is done
...
issue5749
review21171002
2016-07-28 10:12:16 +02:00
Cédric Krier
659859cf8b
Manage readonly state on Inventory Line
...
issue5628
review26341002
2016-06-30 18:54:34 +02:00
Sergi Almacellas Abellana
82be44e56e
Fix antipatern of create/write in loop
...
issue3516
review6891002
2016-06-23 09:40:00 +02:00
Sergi Almacellas Abellana
58f9b3cb14
Add number to inventories
...
issue5406
review17151002
2016-03-22 17:00:58 +01:00
Nicolas Évrard
94b0ab55e6
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:55:39 +01:00
Cédric Krier
aacba5e219
Always compute expected_quantity in inventory
...
issue4928
review230004
2015-09-04 11:57:46 +02:00
Cédric Krier
a2da70ea13
Use new PYSON syntax
...
issue2205
review16391002
2015-06-28 23:45:31 +02:00
Cédric Krier
f20586adcd
Use Constraint instance in ModelSQL._sql_constraints
...
issue4814
review15491002
2015-06-22 17:00:00 +02:00
Guillem Barba
6c760d1253
Compute inventory lines in complete_lines() using new grouping() method
...
issue4781
review13211002
2015-06-15 01:22:10 +02:00
Sergi Almacellas Abellana
5a7b6f4e16
Use cls in classmethods
...
issue4396
review13771002
2014-12-09 23:33:17 +01:00
Cédric Krier
994bd8a103
Fix most flake8 errors
...
review8771002
2014-12-02 12:56:04 +01:00
Robin Baumgartner
486006e8ff
Use Null constant from python-sql for comparisons
...
issue4143
review13701003
2014-11-24 14:03:52 +01:00
Cédric Krier
35e5a4a7a9
Use dualmethod on ModelStorage.save
...
issue4197
review8671002
2014-11-01 11:54:45 +01:00
Cédric Krier
5b4b6b1558
New API for on_change
...
issue4203
review8581002
2014-10-29 20:40:25 +01:00
Sergi Almacellas Abellana
38eadbc7e9
Skip zero quantities when prefiling an inventory
...
issue3976
review6391002
2014-07-03 18:49:59 +02:00
Cédric Krier
634b9ab416
Use fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:29:37 +01:00
Albert Cervera i Areny
4dc7a144e7
Remove dependencies on One2Many fields.
...
issue3555
review2341002
2013-12-18 01:11:19 +01:00
Cédric Krier
5046abe5fe
Missing moves rename in Inventory.copy
2013-12-01 22:39:26 +01:00
Cédric Krier
2b78c34768
Use origin for inventory move
...
By using the origin, it is possible to create all the move with one create
call.
issue3512
review1811002
2013-11-28 23:21:45 +01:00
Cédric Krier
4f833ee812
Migration to python-sql
...
review1001002
2013-09-06 22:34:48 +02:00
Cédric Krier
77c5845141
Extend Lot Management
...
Allow to customize move creation of Inventory
Allow to customize unique constraint on Inventory
Allow specific grouping Period Cache
Add grouping on products_by_location and assign_try
review845002
2013-06-21 23:24:17 +02:00
Albert Cervera i Areny
e1540c219a
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:56:01 +01:00
Cédric Krier
a81cd74495
Fix flake8
2013-02-24 16:18:17 +01:00
Albert Cervera i Areny
37b61a3e90
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00