Commit Graph
119 Commits
Author SHA1 Message Date
Cédric Krier f096726b28 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:46 +02:00
Cédric Krier 481d20743f Use tree mixin
issue7383
review48291002
2018-05-12 00:48:12 +02:00
Cédric Krier dc288bb1b3 Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:28 +02:00
Cédric Krier d37671c989 Allow root to behave as any company or employee
issue6652
review36491002
2017-08-02 19:32:08 +02:00
Cédric Krier eeb6ae3b4b Ensure rec_name is a char, text type
Model.default_get with 'default_rec_name' context relies on the fact that
rec_name is a string base field.

issue6630
review36501002
2017-07-26 23:43:21 +02:00
Sergi Almacellas Abellana e181f50b99 Add help text
issue6316
review30081002
2017-04-03 20:59:03 +02:00
Cédric Krier 436c44730a Remove Property fields
issue2349
review17371002
2017-04-01 00:30:53 +02:00
Cédric Krier 427e3fb77f Remove useless override of __setup__ of Company 2017-03-01 19:59:05 +01:00
Xavier Codinas e72fdb1995 Add start and end dates on employee
issue4435
review21181002
2016-10-19 23:07:20 +02:00
Cédric Krier 06758bca90 Support address_with_party in letter report
issue2327
review22241002
2016-09-06 09:24:15 +02:00
Cédric Krier cf94c670d3 Make Rule cache key depends also on employee context
The read of User allows to override the employee value with the context. So the
domain Rule result could depend on this value of the context.

issue5779
review27541002
2016-08-19 21:23:58 +02:00
Sergi Almacellas Abellana a127ad07b1 Company rec_name should return party rec_name
As name is no longer required on party the rec_name of the
company should be the rec_name of the party.

issue5735
review28541002
2016-07-27 09:18:40 +02:00
Nicolas Évrard c3f13291ef Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:54:30 +01:00
Cédric Krier 90180fe2ff Add Python3 support
issue3211
2016-02-20 10:50:02 +01:00
Sergi Almacellas Abellana 4ac76059c8 Add company from context on ir rule domain cache key
issue5000
review15671002
2015-10-02 08:56:51 +02:00
Cédric Krier 9a69ebd70c Remove style on Report
issue4904
review18481002
2015-08-21 18:06:23 +02:00
David Harper 119dd33c52 change Ok to OK
issue4290
review9101002
2015-03-10 18:45:50 +01:00
Nicolas Évrard b96487ac94 Report API refactorization
review8831002
2015-01-20 18:49:55 +01:00
Cédric Krier be3c179a72 Fix most flake8 errors
review8771002
2014-12-02 12:55:12 +01:00
Cédric Krier 5ae3e87415 New API for on_change
issue4203
review8581002
2014-10-29 20:39:42 +01:00
resteve a489e969cf Add default company on employee
issue4172
review7541002
2014-09-11 12:22:17 +02:00
Cédric Krier 9d030dbc5b Add company and employee as cache keys
issue3905
review8331002
2014-05-22 23:36:23 +02:00
Cédric Krier 487fbc0132 Allow to select None company
issue3836
review5021002
2014-04-12 23:43:25 +02:00
Cédric Krier 9358a4ba79 Fix PYSON type of company
review4871002
2014-04-05 00:35:22 +02:00
Cédric Krier 56a7afe85d Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:09 +01:00
Cédric Krier 5997bc077c Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:44:56 +01:00
Nicolas Évrard 6ec309a3bd Check for company and employee in transaction context
review2261002
2013-12-12 12:12:51 +01:00
Nicolas Évrard 87ee7fb747 Add company to user preferences
The user preferences are used to set the context of the record validation. The
company should thus be part of the preferences.

issue3068
review1731002
2013-12-10 12:13:16 +01:00
Nicolas Évrard 013153569f Read employee according to the context
issue3068
review1721002
2013-12-10 12:10:40 +01:00
Cédric Krier f804e58c21 Add missing test on company timezone before using it 2013-11-15 12:09:27 +01:00
Cédric Krier 23b5605c41 Add timezone on company to compute today
issue3444
review1411002
2013-11-15 02:27:28 +01:00
Cédric Krier 314f482485 Fix usage of context company
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.

issue3394
review1119002
2013-10-09 18:25:26 +02:00
Cédric Krier 8c5daf147c Migration to python-sql
review1001002
2013-09-06 22:34:12 +02:00
Cédric Krier 2e965c13c2 Remove _inherits
review670002
2013-03-20 22:50:39 +01:00
Albert Cervera i Areny 19939c4d5f Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:54:45 +01:00
Cédric Krier 9fa6fc19da Fix flake8 2013-02-23 22:01:36 +01:00
Cédric Krier d7a292d83a Missing query_string in search parameter of Property 2012-11-23 13:12:51 +01:00
Cédric Krier 3dca89a7c5 Active Record 2012-09-24 22:17:50 +02:00
Cédric Krier fc1dbfef38 Better label for User.employee
review453001
2012-08-11 12:22:12 +02:00
Cédric Krier cc39aadc3b Replace wrong usage of False by None
issue2512
2012-03-27 10:43:32 +02:00
Cédric Krier 1344eb33fb Improve performance of preference view
review275002
2012-03-16 10:33:25 +01:00
Cédric Krier 779f68061f Fix convertion of many2many values
Many2Many fields are receive by the wizard as a list of dictionary.
2012-02-07 23:44:33 +01:00
Cédric Krier f7b64c5069 Allow to have more than one possible employee per user
issue2353
review223001
2012-01-26 12:41:06 +01:00
Cédric Krier b725223559 New wizard design 2012-01-02 18:00:34 +01:00
Nicolas Évrard 50ab00c864 fix pyflake errors
review168001
2011-11-02 16:09:02 +01:00
Cédric Krier 3197f95214 merge 2011-10-30 22:46:46 +01:00
Albert Cervera i Areny 0725cd64d0 Remove field 'name' from ir.property.
issue2188
review150002
2011-10-30 14:00:27 +01:00
Nicolas Évrard 9f7622b7cb remove trailing spaces 2011-10-28 10:47:27 +02:00
Cédric Krier 50ac8af06b Add currency name in status bar
review101001
2011-09-10 14:26:23 +02:00
Cédric Krier 7e407630c6 Make PYSON more Pythonic 2011-08-21 11:20:40 +02:00