Cédric Krier
32132cd30e
Update translations
2020-05-02 10:29:25 +02:00
Cédric Krier
91e0a4f9fc
Set non-durable setting for postgresql testing service
...
issue9100
review286831003
2020-04-25 23:53:52 +02:00
Cédric Krier
f542e01b88
Add round_price
...
We add a common method to round prices that are stored using the price digits.
It is useless to use the digits from the field because it can not be changed in
any other way than by configuration.
issue9146
review299521002
2020-04-23 21:44:00 +02:00
Cédric Krier
371cc2edda
Add link button
...
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Sergi Almacellas Abellana
fba865726e
Fix create/write antipattern in loop on shipment
...
issue9208
review278961002
2020-04-12 09:03:25 +02:00
Cédric Krier
186f5d9658
Add employee on document for some states
...
issue8969
review276621002
2020-04-10 18:53:44 +02:00
Sergi Almacellas Abellana
410dcffb29
Add visual on product and location quantities
...
issue8982
review301191009
2020-03-30 09:37:30 +02:00
Sergi Almacellas Abellana
2499c83297
Add support for python3.8
...
issue8866
review274421004
2020-03-19 19:13:34 +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
b434ce8e8d
Set all fields readonly for inactive records
...
issue3747
review295061011
2020-03-17 20:08:12 +01:00
Cédric Krier
80f08743b2
Filter empty date when computing maximum planned date
...
and properly call _get_move_planned_date.
issue9141
review303061002
2020-03-17 20:06:43 +01:00
Cédric Krier
3260b80cd8
Fill planned date for inventory move
...
Shipments that create inventory moves should fill a planned date for them as we
have a method to compute it. The probability is high to inventory the product
once received.
issue9043
review272871002
2020-03-06 23:53:19 +01:00
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