Commit Graph
378 Commits
Author SHA1 Message Date
Cédric Krier cd55d8a112 Increase version number 2022-10-31 16:56:09 +01:00
Cédric Krier 03ba05ff65 Add tag 6.6.0 [skip ci] 2022-10-31 16:55:59 +01:00
Cédric Krier fa562efb86 Prepare release 6.6.0 [skip ci] 2022-10-31 16:55:59 +01:00
Cédric Krier 452e77948f Use ** to match directories for coverage 6.6.0b1 [skip ci]
issue11844
2022-10-31 16:16:17 +01:00
Cédric Krier c3d4db4234 Update translations [skip ci] 2022-10-29 09:54:11 +02:00
Cédric Krier b0f7cac2c2 Add Ukrainian [skip ci]
issue11449
review413281003
2022-10-29 09:38:09 +02:00
Cédric Krier e76ef7370c Graft doc and include icon license
issue11495
2022-10-16 14:14:11 +02:00
Cédric Krier c15d828a43 Fill currency on move in tests
issue11749
2022-09-30 22:41:34 +02:00
Cédric Krier 33daedbec7 Allow cancelling move done
issue11663
review443491003
2022-09-14 19:10:34 +02:00
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