Commit Graph
31 Commits
Author SHA1 Message Date
Cédric Krier 1879a96724 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:51 +01:00
Cédric Krier e019d59208 Use only 3 stock accounts
This simplify the configuration and allow to update cost price without asking
for accounting information.

issue7273
review262541002
2020-01-08 14:36:45 +01:00
Prakash Pandey 98e74cb505 Round cost with company instead of invoice currency
issue8186
review259091002
2019-03-08 18:53:15 +01:00
Cédric Krier 80af0ced61 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier 32f98367e7 Add support for chart of account evolution
* Add replacement account
* Add period on account and tax code

issue7417
review45671002
2018-08-31 14:58:05 +02:00
Cédric Krier 56912c7914 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:44 +02:00
Cédric Krier 4ca313ef25 Fill party if account has party required
issue7362
review36171002
2018-04-19 00:11:03 +02:00
Cédric Krier 09ed117eb0 Add warning about different product between invoice line and stock move
This allow to overcome the assert in update_anglo_saxon_quantity_product_cost.

issue6803
review38801002
2017-10-02 20:16:20 +02:00
Cédric Krier b83a8c2c61 Use stock_moves from account_invoice_stock
issue6188
review29151002
2017-02-01 21:26:41 +01:00
Cédric Krier 03b0f425f6 Use instances to create invoice account moves
issue5751
review31391002
2016-08-10 22:58:19 +02:00
Cédric Krier 73e96e6d78 Merge invoice and credit note
issue5225
review18921002
2016-03-20 22:58:30 +01:00
Cédric Krier 956bcd0d7a Add Python3 support
issue3211
2016-03-10 20:55:08 +01:00
Nicolas Évrard b21f9225eb Allow to override the stock moves used to compute the account move
issue4594
review9031002
2015-02-25 14:56:33 +01:00
Cédric Krier 86776606f1 Use None instead of Decimal(0) for amount_second_currency
issue4521
review10841002
2015-02-09 23:53:03 +01:00
Cédric Krier b6782ada89 Fix most flake8 errors
review8771002
2014-12-02 12:54:51 +01:00
Cédric Krier deca7c6e70 Add account stock method on fiscal year
issue3962
review5381002
2014-06-09 18:22:25 +02:00
Cédric Krier 780e8c5d5e Fix COGS computation with negative quantity
issue3287
review976002
2013-07-22 14:27:21 +02:00
Cédric Krier c0909c0f64 Use origin reference on Move
issue2642
review717002
2013-03-23 15:38:32 +01:00
Cédric Krier dd7021e3b8 Fix flake8 2013-02-17 00:39:15 +01:00
Cédric Krier de26c1a54c Prevent to re-read for each line purchase/sale line
review612004
2013-01-13 22:37:58 +01:00
Nicolas Évrard 851cef2d26 Compute purchase_lines moves as root
review583004
2012-11-25 18:27:55 +01:00
Cédric Krier 7602b2df16 Rationalize accounting moves and lines
issue2056
review503006
2012-09-29 15:34:39 +02:00
Cédric Krier 06f4774317 Active Record 2012-09-24 22:17:37 +02:00
Cédric Krier 262992628e Use root user to read sale lines
issue2654
review402001
2012-06-28 14:51:17 +02:00
Cédric Krier 9ac8c896bf Fix pep8 and pyflakes 2012-04-03 20:06:29 +02:00
Cédric Krier 0c2eb94a6c Replace wrong usage of False by None
issue2512
2012-03-27 10:43:14 +02:00
Cédric Krier e1cc8455cb New product types: Goods, Assets and Service
review260001
2012-03-16 12:41:25 +01:00
Nicolas Évrard 21ba802667 correct pyflake errors
review167002
2011-11-02 15:53:53 +01:00
Cédric Krier e285f941fe Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:17:31 +02:00
Cédric Krier 073f57bac2 Change Pool into a Singleton 2011-07-03 13:18:46 +02:00
Cédric Krier d985a399ce Initial commit 2011-01-16 22:07:50 +01:00