EdbO
13be05e6df
Rename inventory count button action
...
This is to avoid collision with the ModelStorage.count method added by
issue10623.
issue11466
review447071003
2022-05-07 18:48:45 +02:00
Nicolas Évrard
0ab66f93af
Send only the required fields when fetching a readonly view definition
...
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Cédric Krier
6ef3e8c323
Do not sort state selection
...
issue11169
review374761005
2022-02-15 00:08:47 +01:00
Cédric Krier
0201ff5bdd
Use dictionary as domain for Reference field
...
issue11074
review383911002
2022-02-03 23:05:47 +01:00
Cédric Krier
f72cdeb5de
Use select to True on create_date
...
If the index is created only in __register__ then it is dropped before being
created again.
issue11197
review389881002
2022-02-03 22:29:08 +01:00
Cédric Krier
5bb4e4a2ef
Add icons to inventory buttons and improve quantity label
...
issue11011
review379731002
2021-12-29 12:42:04 +01:00
Cédric Krier
234b85f9c2
Follow isort formatting
...
issue10928
2021-12-11 17:58:44 +01:00
Cédric Krier
50a2ea6db5
Use and test the proper type for quantity and total_quantity in inventory counting
...
Since issue10413 assigned value has always the right type.
2021-10-30 16:44:30 +02:00
Cédric Krier
c3da7bb303
Limit size of grouping_filter ids
...
The list of ids in grouping_filter are used inside an IN-clause so we must
limit the size.
issue10589
review379471002
2021-10-30 02:27:19 +02:00
Adrià Tarroja Caubet
3267f0a17a
Manage multiple arguments on inventory write
...
issue10894
review362981002
2021-10-22 15:47:33 +02:00
Cédric Krier
a8a04caaea
Provide digits from unit of measure
...
issue10677
review365801002
2021-08-30 00:27:13 +02:00
Cédric Krier
916c0d0eca
Add method to format warning name with records
...
issue10507
review346471002
2021-06-17 09:25:40 +02:00
David Harper
6ba228f54c
Rename inventory count field quantity_added to quantity
...
issue7873
review287621002
2021-04-11 22:25:13 +01:00
Nicolas Évrard
73cbb1bb03
Call super() method of view_attributes
...
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Cédric Krier
fd70e3aed3
Add company pattern to multivalue calls
...
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Cédric Krier
cd9c86163b
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier
09e01347fa
Store directly sequence type to sequence
...
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier
8550e36af2
Add __access__ to Model
...
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier
af63a06eff
Add missing inventory to depends of inventory_state
...
It is needed to have the inventory field to correctly compute the
inventory_state value.
issue9820
review300911002
2020-11-23 23:36:02 +01:00
Cédric Krier
b035935cef
Manage move in future at inventory level
...
As the inventory creates and do the moves in the same transaction, the warning
about effective date in future can not be ignored (the ids change).
Also the warning name should be based on an ordered list of record to ensure to
generate always the same name.
issue9707
review328441002
2020-10-12 20:31:27 +02:00
Cédric Krier
c539c5c42b
Add relate to open inventory lines
...
issue9563
review290881002
2020-10-03 23:47:19 +02:00
Cédric Krier
1cf17ecf7e
Add model, record and records attribute on Wizard
...
issue9421
review309861012
2020-07-07 23:56:10 +02:00
David Harper
90105403be
Rename inventory state from cancel to cancelled
...
issue8927
review319561002
2020-06-04 11:08:53 +01: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
6b05c83318
Remove global variables used for field definitions
...
They give the false idea that they can be extended or reused which is not the
case.
issue8967
review252851012
2020-01-25 20:18:49 +01:00
Òscar Queraltó
127f24dc39
Do not browse repeated products
...
If there are repeated product ids in the browse list, the loop gets too slow.
issue8756
review274121002
2019-10-25 10:08:35 +02:00
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