Cédric Krier
6dfd7f6313
Set auth-method to trust for drone build
...
issue9063
2020-03-01 16:12:40 +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
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
97490c0018
Manage explicitly stock_skip_warehouse context
...
The windows that display product quantities should explicitly manage the
stock_skip_warehouse context to ensure static result.
issue9041
review253051002
2020-02-15 01:40:11 +01:00
Cédric Krier
9108890a0d
Show warehouse in user status if not unique
...
issue8994
review256411002
2020-02-12 00:23:36 +01:00
Cédric Krier
623e3ffd38
Set a start date when recomputing cost price from revision
...
issue8930
2020-01-26 21:40:54 +01:00
Cédric Krier
55e588cc2c
Add missing gettext call when raising ProductCostPriceError
...
issue8930
2020-01-26 21:32:38 +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
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
Cédric Krier
3242d3258c
Iterate over a copy of keys in products_by_location
...
As the quantities dictionary may change during the iteration, we must loop over
a copy of the keys.
issue8978
review260771002
2020-01-20 11:08:53 +01:00
Cédric Krier
1790483208
Position new record based on order
...
We sent an order to the client for action and xxx2Many so its screen has
always a default order set.
To position a new record on non editable tree, we use the order of the 'id'
column if presents.
issue8880
review276501003
2019-12-28 18:16:28 +01:00
Cédric Krier
abef9a7a8b
Add company domain to check erase
...
issue8906
review256321002
2019-12-14 10:47:54 +01:00
Cédric Krier
8881739a64
Use integer to retrieve instances
...
The values of Many2One can be instances.
issue8861
2019-12-13 16:56:44 +01:00
Cédric Krier
14a0242d95
Read products and uoms in bunch to compute internal quantity at creation
...
issue8861
review256291002
2019-12-11 19:38:57 +01:00
Cédric Krier
d07cd6654c
Add form view to Locations Tree Quantity
...
sao prevents to open tree with more children than its limit and it switches to
the form view. So to allow the user to see the data, we must add a form view.
issue8844
review274341002
2019-12-07 16:08:54 +01:00
Nicolas Évrard
6ccad44a78
Use direct access to backend classes
...
issue8836
review258421002
2019-12-06 17:33:47 +01:00
Cédric Krier
834874c6c8
Correctly activate share extension in drone pipeline
...
issue8830
2019-12-04 11:09:36 +01:00
Cédric Krier
fcedb3e6a7
Replace echo with interpretation of backslash escapes by multiple commands
...
drone escape the echo option.
issue8830
2019-12-04 09:53:36 +01:00
Cédric Krier
0321c9cb4a
Use pooled storage for clone in done
...
issue8830
review284451002
2019-12-03 22:59:32 +01:00
Cédric Krier
1449bb5cc0
Display quantity in record name
...
issue8797
review274151002
2019-11-26 22:20:24 +01:00
Cédric Krier
cd071240e7
Append CI build number to package version
...
This makes them unique and avoid collision with the shared cache.
issue8831
review254651002
2019-11-25 21:55:21 +01:00
Cédric Krier
be56f977e3
Add missing res module dependency
...
issue8396
2019-11-07 15:52:35 +01:00
Cédric Krier
c0f9a75e71
Increase version number
2019-11-04 13:11:14 +01:00
Cédric Krier
b1bce73671
Added tag 5.4.0 for changeset 2d1eab94f8c1
2019-11-04 13:11:01 +01:00
Cédric Krier
985b9e242d
Prepare release 5.4.0
2019-11-04 13:11:00 +01:00
Cédric Krier
8f622ea774
Update translations
2019-11-02 18:07:44 +01:00
Cédric Krier
7e25fe2cca
Add Indonesian
...
issue8184
review285461002
2019-11-01 23:35:00 +01:00
Cédric Krier
e1b295b27c
Filter by company when searching stock period for cache
...
issue8760
review282301002
2019-10-25 23:47:52 +02: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
78bcc4cdc0
Ensure to select period from the right company
...
As the selection is explicit, we remove also the usage of the rule on stock
move by an explicit clause on company.
issue8718
review258281002
2019-10-16 21:27:48 +02:00
Cédric Krier
a99477ac15
Improve selection of moves used for cost
...
issue8700
review282201004
2019-10-14 00:04:14 +02: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
Cédric Krier
20250ecb65
Show locations with any of quantity or forecast different of zero
...
issue8679
review282191002
2019-10-01 22:52:18 +02:00
Cédric Krier
5ab1eaa8b5
Add expand on tree view
...
and unify layout of form view.
issue8644
review262131002
2019-09-28 23:59:10 +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
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
45a8c87208
Prevent assign unknown attributes on Model
...
by adding __slots__ on PoolMeta
issue8567
review254091002
2019-09-07 23:45:08 +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
Thierry Bruyere
40a403c77b
Add a global method to set default warehouse
...
issue8396
review277371003
2019-09-07 23:13:33 +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
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
Sergi Almacellas Abellana
d8cd721498
Use grouped attribute on message.xml
...
issue8556
review272001002
2019-08-09 16:40:04 +02:00
Cédric Krier
24238e92fb
Use only incoming or outgoing moves for origins
...
Since issue8253, other moves may have another stock move as origin which is
not interesting as shipment origins.
2019-07-09 15:29:12 +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
3a88dc74f6
Review editable attribute
...
Use top for main tree and bottom when inside a field.
issue8430
review255581002
2019-07-08 17:10:34 +02:00
Cédric Krier
802c014e1e
Open product quantities by warehouse to show moves
...
We add also a custom rec_name for stock.product_quantities_warehouse to use as
action name.
issue8350
review253511002
2019-06-16 19:11:48 +02:00
Cédric Krier
2246519c97
Make title title level consistent
...
PyPI enforces it now.
2019-06-10 18:56:35 +02:00
Maxime Richez
348a15647d
Replace shipment by origin on moves list
...
issue8229
review257511033
2019-06-09 18:57:13 +02:00