Cédric Krier
6ee7ea1aed
Call super in cancel move
...
issue11662
review419691003
2022-08-26 09:52:51 +02:00
Cédric Krier
c4259c4dcf
Increase version number
2022-05-02 16:59:53 +02:00
Cédric Krier
d18b3fba62
Add tag 6.4.0 [skip ci]
2022-05-02 16:59:35 +02:00
Cédric Krier
67eef3e5e5
Prepare release 6.4.0 [skip ci]
2022-05-02 16:59:35 +02:00
Cédric Krier
85bf5ca0d6
Support testNamePatterns for doc tests
...
issue11423
review382481002
2022-04-25 18:11:19 +02:00
Cédric Krier
4cfb3535ee
Replace test setuptools command by unittest discover
...
issue9215
review389851002
2022-04-16 18:30:18 +02:00
Cédric Krier
b696f08e1d
Drop support for PyPy and psycopg2cffi [skip ci]
...
issue11330
review386371003
2022-04-10 19:11:38 +02:00
Cédric Krier
6cbba7d8cc
Add cache volume for check pipelines
2022-04-06 23:37:43 +02:00
Cédric Krier
c2b0b9fd8a
Exclude quantity coming back from production the same day
...
This avoid to have a loop back that keeps the initial cost price of the
production in the history.
issue11265
review386101002
2022-03-06 13:34:18 +01:00
Cédric Krier
2d559b6bf0
Add support for Python 3.10
...
and remove support for Python 3.6.
issue11048
review364451002
2021-12-18 16:31:09 +01:00
Cédric Krier
a767dbc637
Add coverage to tox
...
issue7685
review51501002
2021-12-13 23:10:10 +01:00
Cédric Krier
223b91a2dd
Follow isort formatting
...
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier
6f06f0597c
Increase version number
2021-11-01 17:10:26 +01:00
Cédric Krier
cfa5e67526
Add tag 6.2.0 [skip ci]
2021-11-01 17:10:15 +01:00
Cédric Krier
b87c049ff6
Prepare release 6.2.0 [skip ci]
2021-11-01 17:10:15 +01:00
Cédric Krier
bf528c7366
Update translations [skip ci]
2021-10-30 11:32:02 +02:00
Cédric Krier
b5936e06db
Save less often cost values when doing move
...
We can save the cost values only when a cost value was computed for a product
already moved.
Also FIFO requires to save extra moves which can be included in the save loop
so the Move._do method returns an extra list of moves to save.
issue10640
review369361002
2021-08-27 08:59:26 +02:00
Cédric Krier
c4efb34fdf
Use domain method to select incoming and outgoing move to recompute cost price
...
issue10586
review369311002
2021-07-28 00:33:12 +02:00
Cédric Krier
28d761fbf6
Add default value for CI env
...
issue10455
review332961002
2021-07-04 17:54:47 +02:00
Cédric Krier
e97c866dd8
Increase version number
2021-05-03 15:44:15 +02:00
Cédric Krier
b4688db66b
Add tag 6.0.0 [skip ci]
2021-05-03 15:44:07 +02:00
Cédric Krier
08d10c0bf7
Prepare release 6.0.0 [skip ci]
2021-05-03 15:44:07 +02:00
Cédric Krier
2c97e89233
Update translations [skip ci]
2021-05-02 10:30:12 +02:00
Cédric Krier
014de3fb24
Add Romanian [skip ci]
...
issue9110
review301541002
2021-05-02 09:56:33 +02:00
Cédric Krier
120e80b6c8
Add support for Python 3.9
...
issue9685
2020-12-19 17:08:45 +01:00
David Harper
a02dbaec5b
Test long_description using twine check
...
issue9781
review337181002
2020-12-15 11:42:56 +00:00
Cédric Krier
d97c7be2e4
Manage local version in tox and do not set local_version when no CI
...
issue9928
2020-12-11 13:51:52 +01:00
Cédric Krier
eceb6356c3
Add support for local_version on trydevpi.tryton.org
...
issue9928
2020-12-10 23:05:56 +01:00
Cédric Krier
da3fb6a28f
Increase version number
2020-11-02 16:02:25 +01:00
Cédric Krier
2d3e2c4091
Add tag 5.8.0 [skip ci]
2020-11-02 16:02:15 +01:00
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