Commit Graph
52 Commits
Author SHA1 Message Date
Cédric Krier 7d326a9c12 Use instances to create invoice account moves
issue5751
review27501002
2016-08-10 22:57:38 +02:00
Jonathan Levy c6c27b40e6 Add Python3 support
issue3211
review24871002
2016-02-29 22:43:13 +01:00
Sergi Almacellas Abellana 701c18af0f Don't create analytic entries if no account is defined
issue4527
review11851003
2015-02-06 11:26:03 +01:00
Cédric Krier 713bb71537 Missing Pool import
from changeset 3e1292088d4f
2015-02-03 09:25:26 +01:00
Nicolas Évrard 75f75831b2 Use One2Many for analytic accounts
issue4217
review11511002
2015-01-02 14:04:56 +01:00
Cédric Krier 77adb5e80d Fix most flake8 errors
review8771002
2014-12-02 12:54:57 +01:00
Cédric Krier 50fd816986 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:45:10 +02:00
Cédric Krier 03da68e8e6 Remove with_on_change from default_get
issue3923
2014-06-08 00:34:38 +02:00
Cédric Krier 07685ae1f3 Add with_on_change switch to default_get
issue3602
review2781002
2014-01-26 21:58:10 +01:00
Cédric Krier d7da5d2ba0 Rationalize relation actions
* Remove relation field actions:
    - delete_all
    - unlink_all
    - set
* Rename relation field action unlink into remove

issue3457
review2271002
2013-12-20 12:33:33 +01:00
Cédric Krier 20499cef85 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:44:46 +01:00
Cédric Krier b29a3f7ed2 Fix states of analytic account fields
Set the same state of the real one2many and use a custom one for required.

issue3012
review1151003
2013-10-20 20:43:58 +02:00
Cédric Krier c8fb016397 Fix flake8 2013-10-05 12:16:40 +02:00
Marco Huymajer d411a18d81 Use accounting date instead of invoice date
For the analytic lines generated out of invoice lines use the accounting
date instead of the invoice date.

issue3075
review728002
2013-03-25 09:07:52 +01:00
Cédric Krier 46f2cdef4d Remove _inherits
review670002
2013-03-20 22:50:30 +01:00
Cédric Krier 9cca021780 Fix flake8 2013-02-17 15:33:07 +01:00
Albert Cervera i Areny d5f334d538 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier eaac29fdc2 "add" operator takes a list of ids
issue2923
2012-12-09 12:19:44 +01:00
Cédric Krier 9a94f0559f Active Record 2012-09-24 22:17:40 +02:00
Cédric Krier 01840bd865 Fix pep8 and pyflakes 2012-04-03 20:06:35 +02:00
Cédric Krier 318cce8e6e Replace wrong usage of False by None
issue2512
2012-03-27 10:43:18 +02:00
Nicolas Évrard 254ce52fbf fix pyflake errors
review165005
2011-11-02 16:05:24 +01:00
Cédric Krier 8961e6b682 Fix credit to copy analytic_accounts
issue1829
review130001
2011-10-03 23:30:42 +02:00
Udo Spallek 4499639442 Remove field names beginning with 'analytic_account_' from defaults.
issue1830
review76005
2011-08-22 13:25:37 +02:00
Cédric Krier 8041a9c256 Make PYSON more Pythonic 2011-08-21 11:20:35 +02:00
Cédric Krier a648b26207 Add test for depends 2011-08-04 16:57:21 +02:00
Cédric Krier a59b827513 Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:17:34 +02:00
Cédric Krier d261a0e6d7 Change Pool into a Singleton 2011-07-03 13:18:48 +02:00
Cédric Krier c52f245532 Fix for new _view_look_dom_arch signature 2011-04-04 19:46:14 +02:00
Cédric Krier e62a646b85 get_move_line return a list of values 2011-01-16 21:50:57 +01:00
Korbinian Preisler ff4dc8afea Update for new Transaction 2010-08-16 19:24:45 +02:00
Cédric Krier 3abaee91e1 Add default value to analytic_account_id fields for issue1583 2010-06-15 21:24:16 +02:00
Cédric Krier d5c9055430 Use PySON 2010-01-20 10:58:52 +01:00
Cédric Krier ac1533c418 Guidelines 2009-08-28 16:26:01 +02:00
Cédric Krier d939fac709 Remove currency from analytic line values 2009-06-06 16:13:57 +02:00
Cédric Krier bc50ce5f60 Create missing analytic_accounts on write and skip it on read for issue993 2009-04-15 11:39:38 +02:00
Cédric Krier 22a1848cc4 Use fields_names filtered to call super 2009-03-20 15:20:59 +01:00
Cédric Krier ce12dda9af Fix analytic_account_ read for new ModelSQL for issue876 2009-03-17 23:22:57 +01:00
Cédric Krier 8e80db1fcf Remove OSV and WizardOSV 2009-02-28 16:58:39 +01:00
Cédric Krier e22dad79d3 Fix for new modeldb 2009-02-02 13:10:17 +01:00
Cédric Krier 6282b40307 Fix read for not line type 2009-01-09 16:21:21 +01:00
Cédric Krier 561d497db5 Allow to use a list of id for copy method 2008-12-05 13:26:08 +01:00
Cédric Krier bc2dd75288 Restart the cache on the fields_view_get method of account.invoice.line 2008-11-14 01:38:33 +01:00
Cédric Krier d9ec4fc59d Remove unused code on account 2008-09-06 19:01:49 +02:00
Cédric Krier 348c7775a1 Add test on analytic_accounts 2008-08-24 17:10:05 +02:00
Cédric Krier 93832b318c Change unlink to delete for issue201 2008-07-25 12:51:01 +02:00
Cédric Krier 256dacc5cb Remove required on analytic_accounts
Fix interger ids for write/unlink
2008-07-25 10:56:36 +02:00
Cédric Krier e7db471ab9 Fix new params to _view_look_dom_arch 2008-06-26 19:03:27 +02:00
Cédric Krier 44d2311b97 Fix COPYRIGHT 2008-06-23 20:31:28 +02:00
Cédric Krier 99157abc2f Remove pyxml dependenxy, use lxml instead 2008-06-16 23:16:07 +02:00