Commit Graph
322 Commits
Author SHA1 Message Date
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
Cédric Krier 8963dc725a Use find_packages to discover packages
issue7963
review253111002
2019-03-22 15:33:43 +01:00
Cédric Krier b7d608d1c1 Add test scenario with non default UoM
issue7918
review251121002
2019-03-22 11:18:05 +01:00
Cédric Krier 76a034f4ce Convert cost price into move uom to compute average cost price
The unit price is always expressed in the unit of the move but the cost price
is computed in the default uom.

issue7918
review251121002
2019-03-22 11:16:13 +01:00
Cédric Krier 141029e64d Re-add trydevpi to dependency_links
It is needed to install Tryton's dependencies of dependencies.

issue8044
2019-01-26 01:10:48 +01:00
Cédric Krier abb3ff6264 Replace --process-dependency-link by --find-links
issue8044
review51611003
2019-01-25 23:26:59 +01:00
Cédric Krier 036de110a8 Remove unsupported ja_JP translations 2019-01-08 16:46:13 +01:00
Cédric Krier fb08f8a90f Remove country code from languages
issue7863
review53481002
2018-12-31 15:36:48 +01:00
Cédric Krier f77c77c78c Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier 6d90fc01a4 Increase version number 2018-10-01 12:56:07 +02:00
Cédric Krier 9baf4345be Added tag 5.0.0 for changeset 3b0cb6357c1f 2018-10-01 12:56:00 +02:00
Cédric Krier f12dc2ea30 Prepare release 5.0.0 2018-10-01 12:56:00 +02:00
Cédric Krier 3ac4efd7bc Update translations 2018-09-28 23:02:32 +02:00
Cédric Krier d88e4be975 Remove deprecation warning
- remove invalid escape sequence
- use  read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes

issue7666
issue7390
review53361004
2018-09-01 17:06:28 +02:00
Cédric Krier ec5f68f991 Use sqlite3.backup when available
issue7212
review44131002
2018-08-06 19:05:43 +02:00
Cédric Krier af902bc0bd Add support for Python 3.7
issue7547
2018-07-28 16:44:10 +02:00
Cédric Krier e8d7974991 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:49 +02:00
Cédric Krier 86d5d3ac59 Increase version number 2018-04-23 17:33:35 +02:00