Cédric Krier
cdafaacfb8
Prepare release 5.8.0 [skip ci]
2020-11-02 16:02:15 +01:00
Cédric Krier
7bc3e8689e
Update translations [skip ci]
2020-10-31 12:14:30 +01:00
Cédric Krier
b822e805d7
Remove support for Python 3.5
...
issue9733
2020-10-24 13:45:11 +02:00
Bernat
5fcc9ab99c
Do not set fifo_quantity greater than quantity
...
issue9664
review328231002
2020-10-21 23:33:28 +02:00
Cédric Krier
76b67bbab6
Ignore flake8 E741
2020-10-16 19:19:57 +02:00
Sergi Almacellas Abellana
b6fbb99aa1
Clear fifo_quantity when copying a move
...
issue9554
review321981002
2020-08-25 18:06:27 +02:00
Cédric Krier
2691cb7ecf
Use original cost price for returned move
...
and factorize the cost price of move for cost computation
issue9440
review327491003
2020-08-10 23:38:04 +02:00
Cédric Krier
e0631bf9fe
Do not update average cost price if the quantity is negative
...
This is the same test done in Move._compute_product_cost_price. When the stock
quantity is below zero, the average cost price should not change.
And we process the incoming move first in order to keep quantity positive
where possible.
issue9484
review325801002
2020-07-29 23:50:03 +02:00
Cédric Krier
9a7f61d8db
Keep last cost price when quantity is zero
...
When there is no quantity in stock, we keep the last cost price instead of
setting it to zero. This gives the same behavior between on move computation
and on product recomputation.
issue9443
review317771007
2020-07-13 20:48:13 +02:00
David Harper
373e48c1ee
Use Activate modules as test scenario section name
...
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier
ed54edae30
Add unit_price_company Function field on stock move
...
issue9401
review290341002
2020-07-04 00:21:39 +02:00
Cédric Krier
452550c92f
Enforce filling cost price of move
...
We set cost price only for outgoing or incoming moves.
issue9397
review321611002
2020-07-03 21:22:43 +02:00
Cédric Krier
885c02bf77
Update FIFO cost price recomputation scenario with lost found location
...
issue9274
review321471002
2020-06-19 00:26:36 +02:00
Cédric Krier
8764236bb9
Use all moves to compute FIFO
...
We must consider any incoming moves (ex: inventory) for the computation of the
FIFO otherwise the back computation to find first in moves does not pick enough
moves. As not all incoming moves have a unit price, we use the current cost
price as fallback.
Also in re-computation, the in or out move test should only rely on the storage
location usage in order to properly compute the average cost.
issue9274
review321471002
2020-06-19 00:24:56 +02:00
David Harper
d80d899109
Rename move state from cancel to cancelled
...
issue8927
review297851002
2020-06-06 10:30:11 +01:00
Cédric Krier
d8aef6140b
Increase version number
2020-05-04 12:20:17 +02:00
Cédric Krier
828a0ee50c
Add tag 5.6.0 [skip ci]
2020-05-04 12:20:08 +02:00
Cédric Krier
380626cab1
Prepare release 5.6.0 [skip ci]
2020-05-04 12:20:08 +02:00
Cédric Krier
b5d0062fe4
Set non-durable setting for postgresql testing service
...
issue9100
review286831003
2020-04-25 23:53:51 +02:00
Cédric Krier
51ed77ee32
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
Sergi Almacellas Abellana
9d2b72a5cf
Add support for python3.8
...
issue8866
review274421004
2020-03-19 19:06:32 +01:00
Cédric Krier
3ed3d47143
Set auth-method to trust for drone build
...
issue9063
2020-03-01 16:12:39 +01:00
Cédric Krier
f5b63d4635
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:52 +01:00
Cédric Krier
220b918dfa
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
d2daba9cb8
Update cost of moves when recomputing product cost
...
issue8795
issue7271
review260381003
2020-01-26 15:29:23 +01:00
Cédric Krier
26e4b57969
Correctly activate share extension in drone pipeline
...
issue8830
2019-12-04 11:09:36 +01:00
Cédric Krier
457557d333
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
2f10412021
Use pooled storage for clone in done
...
issue8830
review284451002
2019-12-03 22:59:31 +01:00
Cédric Krier
4a4f1d7b62
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:20 +01:00
Cédric Krier
faabc31a3b
Increase version number
2019-11-04 13:02:08 +01:00
Cédric Krier
78ea3cc489
Added tag 5.4.0 for changeset 774058ccd185
2019-11-04 13:02:00 +01:00
Cédric Krier
279ad83bae
Prepare release 5.4.0
2019-11-04 13:02:00 +01:00
Cédric Krier
98324c9d8b
Update translations
2019-11-02 18:07:42 +01:00
Cédric Krier
a233614f7d
Add Indonesian
...
issue8184
review285461002
2019-11-01 23:34:59 +01:00
Cédric Krier
e9d3ca720f
Add test for FIFO cost price with no input
...
issue8699
review252351002
2019-10-24 18:58:34 +02:00
Cédric Krier
e0a799df3d
Use current cost price if no FIFO moves
...
If we can not find any FIFO moves, the products should be moved out at the
average cost price instead of zero.
issue8699
review252351002
2019-10-24 18:57:55 +02:00
Cédric Krier
397a247268
Improve selection of moves used for cost
...
issue8700
review282201004
2019-10-14 00:04:14 +02:00
Cédric Krier
487f0b734e
Include production moves in FIFO computation
...
issue8659
review264211002
2019-10-11 11:44:56 +02:00
Sergi Almacellas Abellana
410c50a40f
Use grouped attribute on message.xml
...
issue8556
review272001002
2019-08-09 16:36:11 +02:00
Cédric Krier
9914c5f3cb
Increase version number
2019-05-06 15:06:17 +02:00
Cédric Krier
46f55a156f
Added tag 5.2.0 for changeset 134c30d6f52d
2019-05-06 15:06:08 +02:00
Cédric Krier
16ca7b0640
Prepare release 5.2.0
2019-05-06 15:06:08 +02:00
Cédric Krier
ff5ce0f3a9
Update translations
2019-05-01 18:05:25 +02:00
Cédric Krier
5893778076
Add Finnish
...
issue7237
review44951002
2019-05-01 16:38:56 +02:00
Cédric Krier
1cc593e379
Add Turkish
...
issue6745
review48261002
2019-05-01 16:18:48 +02:00
Cédric Krier
ab6d0ed7d2
Do not get product from last fifo moves but from self move
...
The fifo moves can be empty and so move is undefined.
issue7918
2019-04-10 09:55:06 +02:00
Cédric Krier
851113bdf8
Drop support of python 3.4
...
issue8203
review279171002
2019-04-07 19:50:03 +02:00
Cédric Krier
758a24a4f0
Merge README and doc and remove INSTALL
...
issue7397
review253271002
2019-04-06 17:38:56 +02:00
Cédric Krier
35222ae6ed
Update links in package description
...
issue7921
2019-03-31 00:15:10 +01:00
Cédric Krier
40281b3727
Add common package_data
2019-03-22 23:30:00 +01:00