Commit Graph
281 Commits
Author SHA1 Message Date
Cédric Krier a650e8469f Speed up pool setup
We split the operations into two steps, so we can do the setup calls at the end
if there is no installation or update.

issue5302
review17041002
2016-03-17 22:56:58 +01:00
Sergi Almacellas Abellana 4b7c47b3bd Add missing separator start the server first step
issue5411
review17961002
2016-03-16 15:07:25 +01:00
Cédric Krier 8a4ba59b2d Switch to WSGI API
issue4646
review20541003
2016-03-15 16:57:26 +01:00
Cédric Krier e3e93ea748 Update required version of psycopg2
With issue4949, we need context management on connection and cursor,
this was introduced in psycopg2 version 2.5.

review24911002
2016-03-10 22:27:21 +01:00
Cédric Krier 5c291d56a4 Sync python-sql dependency version from the doc with setup.py 2016-03-10 14:26:53 +01:00
Cédric Krier 4d58b3a720 Don't remove from context the format of Binary fields
The getter of the Binary field could be called many times in the same
transaction, so popping out the format from the context create a side effect
that changes the requested format.

issue3774
review19981002
2016-03-05 17:26:27 +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 e201484c37 Add missing doc about "Record Rule"
review18941002
2016-02-08 18:07:44 +01:00
Nicolas Évrard 9f93cf1822 Fix typo introduced in the documentation in changeset a4ddc81fecf5 2016-01-21 11:13:33 +01:00
Nicolas Évrard d4e3b605ef Add 'where' operator to xxx2many
issue4507
review12951002
2016-01-21 10:48:32 +01:00
Sharoon Thomas 89de660c52 Move webdav into a separate module
issue4703
review7101002
2016-01-16 19:20:30 +01:00
Cédric Krier 493db9aa18 Instance method can also be used as selection method
review24691002
2016-01-13 21:25:26 +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 a61474274a Add parent_of operator
issue5037
review15711002
2015-11-05 23:22:26 +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 1d0ac436ca Increase version number 2015-11-02 14:56:00 +01:00
Cédric Krier e3b4ff9f6f Prepare release 3.8.0 2015-11-02 14:55:05 +01: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 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 44dc331ced Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
2015-06-22 16:57:06 +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 4dedc6429c Fix number of levels of access rights in documentation
issue4709
2015-05-29 00:08:19 +02:00
Cédric Krier 54e5198f0e Fix typo in models documentation
review9211002
2015-05-07 11:20:01 +02:00
Cédric Krier 66fc1f2cd3 Missing ref keyword to link to configuration topic 2015-05-06 12:52:15 +02:00
Cédric Krier b2eac82804 Increase version number 2015-04-20 15:07:58 +02:00
Cédric Krier 8706a60c29 Prepare release 3.6.0 2015-04-20 15:05:09 +02:00
Cédric Krier e406368f2e Fix autocomplete documentation
autocomplete doesn't take a values argument anymore.
2015-03-23 15:05:12 +01: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 af292cac78 Improve documentation of 'on_write' attribute
review11071002
2015-03-16 10:05:25 +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 b1aaab4283 Fix spacing in fields.TimeDelta documenation 2015-03-11 09:12:19 +01:00
Cédric Krier b7776731a6 Add noeval to PYSONDecoder
issue1616
review15071002
2015-03-10 23:47:38 +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
Cédric Krier fbda6e83a9 Fix attr usage 2015-03-09 17:22:56 +01:00
Cédric Krier 191ce31f1d Fix XML description in modules documenation
review15261002
2015-03-05 11:40:53 +01:00
Cédric Krier 0ac0990c77 Improve logging
issue4458
review11781002
2015-03-02 23:39:15 +01:00
Cédric Krier f5e69c3abf Add product attribute on form view for One2Many
issue4229
review13581002
2015-03-02 23:18:22 +01:00
Cédric Krier f6c9666af3 Add documentation about reload client action
issue4430
2015-02-27 10:39:35 +01:00
Cédric Krier 81f56d7bea Correctly format configuration example 2015-02-20 09:11:59 +01:00
Cédric Krier 0991a552de Add TimeDelta field
And remove float_time widget.

issue4026
review5911002
2015-02-09 22:58:56 +01:00
Cédric Krier 32001bc6d6 search_global yields record instead of id
It is better for customization to yield record instead of id to prevent to
instantiate a second times the record.

issue4519
review6871002
2015-02-04 13:37:02 +01:00
Nicolas Évrard a8acb64a51 Report API refactorization
review8831002
2015-01-20 18:48:46 +01:00
Cédric Krier 91cb6d2058 Add documentation about storage and display of DateTime 2015-01-06 16:33:54 +01:00
Nicolas Évrard dcf57d8c33 Allow to use the dotted notation for search order parameters
issue4370
review5801002
2015-01-02 16:33:00 +01:00
Cédric Krier 59afe32b76 Add documentation about default_ method on Wizard
review9941002
2014-12-20 16:14:04 +01:00