Commit Graph
321 Commits
Author SHA1 Message Date
Cédric Krier 33d8f038d7 Add workflow graph on ir.model
issue5292
review15961002
2016-03-15 18:59:11 +01:00
Cédric Krier ad60794d73 Add context model on ir.action.act_window
issue5220
review20621002
2016-03-15 17:45:07 +01:00
Cédric Krier 8a4ba59b2d Switch to WSGI API
issue4646
review20541003
2016-03-15 16:57:26 +01:00
Cédric Krier 687a51a30c Limit the login size in LoginAttempt
The login data comes from an unauthenticated user so it could be very large and
thus fill the database. But indeed we don't need to have the full login to get
the LoginAttempt benefit, just the 1024 starting char is enough.

issue5381
review17901002
2016-03-14 19:33:40 +01:00
Cédric Krier a94627b160 Remove LocalDict from tools
issue5364
review21781002
2016-03-05 17:31:25 +01:00
Cédric Krier 512808e151 Add LRUDictTransaction
issue5293
review22771002
2016-03-03 23:27:38 +01:00
Nicolas Évrard 2fef479575 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:51:57 +01:00
Cédric Krier 29129855ec Add support for Python 3
issue3211
review7311002
2016-02-07 16:46:16 +01:00
Cédric Krier da1be07832 Make TestCase create and drop its database
and add with_transaction decorator.

issue5263
review20711002
2016-02-06 19:10:35 +01:00
Cédric Krier 1ae75711a8 Add Note on resources
issue4669
review12061002
2016-02-02 19:14:35 +01:00
Nicolas Évrard d4e3b605ef Add 'where' operator to xxx2many
issue4507
review12951002
2016-01-21 10:48:32 +01:00
Nicolas Évrard 88f1bce6d4 Strip and unquote double-quote from Postgresql schema in search_path
issue5248
review16931002
2016-01-18 19:09:48 +01:00
Sharoon Thomas 89de660c52 Move webdav into a separate module
issue4703
review7101002
2016-01-16 19:20:30 +01:00
Nicolas Évrard 97700f8629 Do not set _datetime when instanciating the user in record rules
Setting _datetime would allow to read historized values and it could lead to
past privilege escalation

issue5216
review21581002
2016-01-14 14:10:43 +01:00
Sergi Almacellas Abellana 25124c57b6 Fix CHANGELOG order 2016-01-11 16:14:20 +01:00
Sergi Almacellas Abellana 2a723f2e52 Only rebuild mptt tree if needed
The tree will be only rebuild if a record with the default value of left or right fields exists.

issue5118
review16921002
2016-01-11 15:33:08 +01:00
Cédric Krier 71c0e0a3af Allow nested inherited views
Search and use the recursive type of the views

issue5206
review17691002
2015-12-31 14:15:51 +01:00
Cédric Krier cde3170700 Add button on cron to run once
issue5186
review22661002
2015-12-31 13:45:59 +01:00
Cédric Krier 5999bb231d Check all fields when writing a sequence of records, values
issue5167
review22631002
2015-12-16 13:47:33 +01:00
Cédric Krier 9a58954703 Add view_ids on tree view
issue5052
review24511002
2015-11-10 12:55:06 +01:00
Cédric Krier a61474274a Add parent_of operator
issue5037
review15711002
2015-11-05 23:22:26 +01:00
Cédric Krier c140a134bb Enforce type of inheriting view
issue5036
review18711002
2015-11-05 23:07:53 +01:00
Cédric Krier b5479332d9 Use instance context in translated descriptor of Selection field
It is more expected from the translated descriptor to return translation in the
language from the instance instead of the current context.

issue5028
review15701002
2015-11-03 12:20:49 +01:00
Cédric Krier e3b4ff9f6f Prepare release 3.8.0 2015-11-02 14:55:05 +01:00
Cédric Krier 87f9fbea6e Add test for all field methods
The test check if all defined field methods are linked to an existing field.

issue4991
review23441002
2015-10-01 22:37:13 +02:00
Korbinian Preisler c849f0be8b Allow to import overridden translations from different po-file
issue4971
review18581002
2015-09-26 15:23:43 +02:00
Cédric Krier c18ec6ba74 Add support for float and integer on Property fields
issue4942
review18531002
2015-09-14 10:37:38 +02:00
Cédric Krier 0574e90f5b Remove foreign-key on create_uid and write_uid
Instead prevent delete of any user to keep logging information.

issue4925
review24301002
2015-09-04 11:52:53 +02:00
Cédric Krier 109d0ef64f Manage PostgreSQL schema
Replace usage of pg_catalog tables by information_schema to take care of user
access.
Ensure to fetch the columns information from the right schema.
Prevent to update default column values if it did not change.
Comment table and column only if the current user is the owner.

issue4924
review24291002
2015-09-04 11:16:09 +02:00
Cédric Krier 7a223d3b5e Remove colors attribute on tree view
issue4861
review16551002
2015-08-22 09:00:14 +02:00
Cédric Krier b19e93e3a9 Remove style on Report
issue4904
review18481002
2015-08-21 18:03:44 +02:00
Cédric Krier a6c0702bd1 Add StateReport to Wizard
issue4896
review19361002
2015-08-14 17:58:47 +02:00
Sergi Almacellas Abellana 9ac3fec4dd Explicity raise error when creating/writing/deleting models with table_query
issue4822
review16351002
2015-07-29 10:56:30 +02:00
Cédric Krier 7652df0be4 Allow to override ModelSQL._table
issue4774
review15431002
2015-07-16 01:13:45 +02:00
Cédric Krier e4c8f59b80 Allow to import backend from entry points
issue4841
review20301002
2015-07-09 15:40:21 +02:00
Nicolas Évrard 03d2e3fa9a Add reversed operators to PYSON expressions
review8201002
issue4856
2015-07-07 12:48:28 +02:00
Cédric Krier 7459aab3d1 Use CURRENT_TIMESTAMP instead of NOW
CURRENT_TIMESTAMP is the correct SQL standard way.

issue4837
review15531002
2015-07-01 19:41:49 +02:00
Cédric Krier 44dc331ced Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
2015-06-22 16:57:06 +02:00
Sergi Almacellas Abellana 72e215c232 Fix CHANGELOG format 2015-06-15 10:57:11 +02:00
Sergi Almacellas Abellana 180d906316 Only return default record if no domain supplied on ModelSingleton search
issue4766
review15401002
2015-06-15 10:19:01 +02:00
Cédric Krier 5478e5463f Don't use subquery to enforce record rule
Rule.domain_get returns now only a domain and Rule.query_get returns the query
which domain_get used to.

issue4800
review8151002
2015-06-15 01:14:47 +02:00
Cédric Krier 0c4725b891 Add target_search option on Many2One
The option allow to select between the subquery or the join format for target
search clause.

issue4798
review16341002
2015-06-15 01:10:59 +02:00
Cédric Krier 52ff97b165 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:02:01 +02:00
Cédric Krier 8706a60c29 Prepare release 3.6.0 2015-04-20 15:05:09 +02:00
Cédric Krier 5cfde31ed2 Use bytes and bytearray for Binary
issue4637
review11091002
2015-03-16 19:28:34 +01:00
Cédric Krier ad5eb3ed97 Add ModelView.button_change
issue4397
review7781002
2015-03-16 12:56:11 +01:00
Cédric Krier 39e7eeeadb Add support for psycopg2cffi and PyPy
issue4408
review11741002
2015-03-15 15:52:03 +01:00
Cédric Krier b7776731a6 Add noeval to PYSONDecoder
issue1616
review15071002
2015-03-10 23:47:38 +01:00
Cédric Krier e985252f2d Add __repr__ to PYSON
issue4607
review4151002
2015-03-10 23:38:33 +01:00
Cédric Krier bcd28ca071 Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:40:41 +01:00