Files
tryton/CHANGELOG
T

367 lines
14 KiB
Plaintext
Raw Normal View History

2015-06-15 10:57:11 +02:00
* Only return default record if no domain supplied on ModelSingleton search
2015-06-15 01:14:47 +02:00
* Rule.domain_get returns a domain and Rule.query_get a SQL query
2015-06-15 01:10:59 +02:00
* Add target_search option to Many2One
* Add tables argument to ModelSQL.search_domain
2015-05-28 21:02:01 +02:00
* Rename ir.module.module* into ir.module*
2015-04-20 15:05:09 +02:00
Version 3.6.0 - 2015-04-20
* Bug fixes (see mercurial logs for details)
2015-03-16 19:28:34 +01:00
* Use bytes and bytearray for Binary
2015-03-16 12:56:11 +01:00
* Add button_change
2015-03-15 15:52:03 +01:00
* Add support for PyPy
* Add support for psycopg2cffi
2015-03-10 23:47:38 +01:00
* Add noeval on PYSONDecoder
2015-03-10 23:38:33 +01:00
* Add __repr__ to PYSON
2015-03-09 19:40:41 +01:00
* Remove safe_eval
* Add ModelView.view_attributes
* Add pyson attribute on data field tag
* Changed into JSON:
- record rule domain
- trigger condition
- 'states', 'domain', 'spell' and 'colors' view attributes
- view domain
- 'email', 'domain', 'context', 'order' and 'search_value' action fields
* Add product attribute on form view for One2Many
2015-02-09 22:58:56 +01:00
* Remove float_time widget
* Add TimeDelta field
2015-02-04 13:37:02 +01:00
* search_global yields record instead of id
* Add ModelTestCase
* Add test for missing default model access
2015-01-20 18:48:46 +01:00
* Report API refactorization
* Add test for access rights of menu and actions
* Allow to use the dotted notation for order parameters
2014-12-18 11:36:40 +01:00
* Use action_id to find report to use
* Allow custom StateView without Model
2014-12-16 22:02:44 +01:00
* Remove Pool.object_name_list
2014-11-27 22:20:43 +01:00
* Add translated descriptor for Dict field
2014-11-19 21:35:51 +01:00
* Clean private context keyword in RPC
* Add cache section in configuration
2014-11-01 11:52:55 +01:00
* Use dualmethod on ModelStorage.save
2014-10-29 20:38:17 +01:00
* New API for on_change: instance changes
2014-10-27 23:10:52 +01:00
* Add restore_history_before on ModelSQL
2014-10-23 20:56:57 +02:00
* Remove img_{width,height} form attributes
2014-10-20 14:27:55 +02:00
Version 3.4.0 - 2014-10-20
* Bug fixes (see mercurial logs for details)
* Use literal_eval instead of safe_eval (CVE-2014-6633)
2014-09-29 17:23:37 +02:00
* Prevent double underscore in safe_eval (CVE-2014-6633)
2014-09-17 22:05:44 +02:00
* Add pre-validation on button
2014-09-17 21:43:53 +02:00
* Model and Field access checked only if _check_access is set
* Add check_access to RPC
* Add check_access to Wizard and Report
2014-09-13 15:14:56 +02:00
* Add support for domain_<field name> method
* Refactor configuration file and command line
* Use the context of the relation field for instanciation
2014-08-26 16:50:25 +02:00
* Use a configuration field for logging
* Add translated descriptor for Selection field
2014-07-20 12:54:11 +02:00
* Add tree_state attribute on tree view
2014-06-13 19:14:48 +02:00
* Allow to sync XML data
2014-06-08 00:33:31 +02:00
* Remove on_change calls in Model.default_get
* Add group call to on_change
2014-06-08 00:26:57 +02:00
* Add UnionMixin
* Allow to disable sorting of dictionary field's selection
2014-05-29 09:49:04 +02:00
* Add active field to views of action window
* Make global cache depends on explicit context keys
* Don't add to global cache Binary fields
2014-05-30 15:43:45 +02:00
* Add MatchMixin
2014-09-19 17:11:28 +02:00
* Add image widget to tree
2014-05-04 00:11:17 +02:00
* Remove context, current_date and time from record rule evaluation
2014-04-21 20:26:08 +02:00
Version 3.2.0 - 2014-04-21
* Bug fixes (see mercurial logs for details)
2014-03-18 20:07:03 +01:00
* Add restore_history to ModelSQL
2014-03-18 19:54:32 +01:00
* Add history revisions
2014-03-16 21:10:34 +01:00
* Add the multi selection widget
2014-03-16 20:49:42 +01:00
* Add index to one2many's on_change
2014-03-15 10:50:42 +01:00
* Remove auto-refresh on Action Window
* Add support of domain for non-relation field
2014-03-15 10:36:20 +01:00
* Manage microseconds in JSON-RPC and XML-RPC
2014-03-07 19:38:01 +01:00
* Remove Sha field
* Add password widget
2014-02-27 12:36:53 +01:00
* Add Len to PYSON
2014-02-24 19:48:03 +01:00
* Use bcrypt to hash password if possible
2014-02-24 19:15:57 +01:00
* Use a sequence of ids, values to set fields
2014-02-15 18:34:22 +01:00
* Client side actions on button and wizard
2014-02-06 22:30:11 +01:00
* Add depends attribute to data tag
* Add tree_invisible attribute to button in tree view
2014-01-31 00:02:03 +01:00
* Drop support of Python 2.6
2014-01-26 14:27:24 +01:00
* Deprecate on_change, on_change_with, selection_change_with and autocomplete
field arguments
* Add fields.depends decorator
2014-01-12 19:58:22 +01:00
* Add run-tests
* Validate only modified and dependant fields on model write
* Improve error messages by showing the failing value
2013-12-20 12:32:07 +01:00
* Remove relation field actions:
- delete_all
- unlink_all
- set
* Rename relation field action unlink into remove
2013-12-19 14:44:01 +01:00
* Use a sequence of records, values in write
* set_context of Transaction.set_user is restricted to root
* Add a "copy" action to One2Many and Many2Many's set method
2013-11-15 02:26:58 +01:00
* Force UTC as timezone (migration script available on tryton-tools)
2013-10-27 19:31:36 +01:00
* Add relation_field for many2one
2013-10-21 16:06:00 +02:00
Version 3.0.0 - 2013-10-21
* Bug fixes (see mercurial logs for details)
* Allow customization of translation in po files
2013-09-06 22:32:37 +02:00
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method
2013-09-04 12:35:02 +00:00
* Allow field One2One in check_recursion
2013-09-03 10:26:23 +02:00
* Remove the default order on MPTT
2013-09-02 17:34:46 +02:00
* Add grouped attribute to data tag
2013-08-01 17:09:10 +02:00
* Store selection tree state
2013-07-22 14:49:18 +02:00
* Add order to Action Window
2013-06-26 22:59:28 +02:00
* Add factor on number fields
2013-06-09 20:14:14 +02:00
* Add calendar view
2013-05-21 12:09:46 +02:00
* Remove request
2013-04-22 10:33:28 +02:00
Version 2.8.0 - 2013-04-22
* Bug fixes (see mercurial logs for details)
* Allow to search on target of Reference field
2013-03-20 22:49:16 +01:00
* Remove _inherits
* Add dynamic label
* Add prefix, suffix on tree view
* Replace _constraints with validate in ModelStorage
* Add selection_change_with on Selection and Reference fields
2013-01-26 15:18:41 +01:00
* Add Dict fields
* Remove unique constraint on model and field access
2013-01-06 22:18:13 +01:00
* Use lists of values in create
* (Field, Operator, Operand) are replaced by Domain on Rule
2012-12-05 13:25:18 +01:00
* Add global search
2012-11-27 21:35:12 +01:00
* Replace view shortcut by menu favorite
2012-11-23 17:59:04 +01:00
* Store default language in database
2012-11-23 17:49:33 +01:00
* Add icon attribute on fields
2012-11-22 22:17:07 +01:00
* Prevent Wizard State name to start with '_'
* Add completion attribute for Many2One, Many2Many and One2Many
2012-11-16 20:11:51 +01:00
* Add ViewSearch
2012-11-16 00:52:42 +01:00
* Add domains on Action Window
2012-10-22 17:17:56 +02:00
Version 2.6.0 - 2012-10-22
* Bug fixes (see mercurial logs for details)
2012-09-29 14:39:59 +02:00
* Add pre-validation
2012-09-26 19:38:20 +02:00
* Allow to use XML file for views
2012-09-24 22:16:53 +02:00
* Add RPC definition
* Repace BrowseRecord by Model instance
* Replace Cache decorator by a simple LRU Cache
* Remove Cacheable
* Remove _description
* Rename _name by __name__
* Use class in Pool
* Fix search button clause in ModelButton.get_groups (CVE-2012-2238)
2012-09-10 15:26:34 +02:00
* Merge all kind of buttons
2012-09-10 15:11:50 +02:00
* Use XML id for board action instead of id
2012-09-10 14:59:58 +02:00
* Add states attribute to notebook
2012-07-25 21:01:29 +02:00
* Allow to use tuple for Reference
2012-07-25 20:34:17 +02:00
* Add constant interpolation on line graph
2012-06-28 14:46:47 +02:00
* Add create/delete field access
* Add dynamic size limit on the One2Many, Many2Many and Char
* Replace __tryton__.py by tryton.cfg
* Allow to use Reference field in One2Many & Many2Many
* Remove hexmd5 from ModelView.fields_view_get
2012-05-19 15:47:43 +02:00
* Allow client to manage model access
2012-05-16 13:04:36 +02:00
* Add time format validation
2012-05-14 15:34:53 +02:00
* Remove ModelSQL.default_sequence
2012-04-23 16:10:09 +02:00
Version 2.4.0 - 2012-04-23
* Bug fixes (see mercurial logs for details)
* Don't allow rpc call on ModelStorage without ModelView (CVE-2012-0215)
2012-03-25 19:12:02 +02:00
* Add shared WebDAV
2012-03-25 00:15:17 +01:00
* Remove workflow module
* Simplify workflow engine
* Add ir.model.button for access rights
2012-03-23 15:36:11 -03:00
* Replace fill by expand
* Integer, Numeric and Float allow None as value
* NULL value is None and not False
2012-03-16 11:28:10 +01:00
* Replace user action by a list of actions
2012-03-05 23:39:58 +01:00
* Add group call to on_change_with
2012-02-29 14:02:42 +01:00
* Allow to get fuzzy translation
2012-02-22 11:54:02 +01:00
* Allow to customize server timezone
2012-02-21 22:07:38 +01:00
* Add richtext widget for WYSIWYG editor
2012-02-07 16:11:22 +01:00
* Add support of fields.Time
2012-01-31 23:26:48 +01:00
* Replace nested view by reference id
2012-01-27 21:11:06 +01:00
* Remove underscore to ir.translation methods
* Add default database language code
2012-01-22 00:07:15 +01:00
* Add extras_depend to module definition
2012-01-11 20:30:27 +01:00
* Store session in database
2012-01-02 17:48:17 +01:00
* New Wizard design
2011-12-23 16:00:30 +01:00
* Add pyson.Id
2011-12-22 22:17:08 +01:00
* Use XML-RPC struct for Decimal and Date
2011-12-22 22:03:15 +01:00
* Remove change_default on fields
2011-10-24 15:44:14 +02:00
Version 2.2.0 - 2011-10-24
* Bug fixes (see mercurial logs for details)
* Remove name field in ir.property
2011-10-04 19:50:39 +02:00
* Add wizard to show views
* Switched from .csv to .po for translations
* Search on Many2One fields include inactive records
2011-10-03 09:45:21 +02:00
* Change select on fields into Boolean
* Change format of search_value on ir.action.act_window
* Manage relation field access
2011-09-17 14:43:05 +02:00
* Support size format in context for Binary fields
* Use buffer for Binary fields
* No more store Binary fields in base64
2011-09-17 14:22:44 +02:00
* Remove tabpos attribute on notebook
2011-08-21 11:19:06 +02:00
* Make PYSON more Pythonic
2011-08-21 11:05:51 +02:00
* Add readonly on Transaction
2011-08-21 10:20:23 +02:00
* Add has_returning on Cursor
* Remove use of python code in workflow XML
* Use SQL sequence on PostgreSQL for ir.sequence
2011-08-09 12:24:34 +02:00
* Allow to specify more than one interface
* Use unoconv for report format conversion
* Allow to use any Opendocument as report template
* Drop NetRPC and activate JSON-RPC by default
2011-08-02 11:09:13 +02:00
* Remove ir.action.wizard_size
* Rename expand and fill attributes into yexpand and yfill
* Add xalign and yalign as field attributes
* Drop support of Python 2.5
* Remove support of Many2Many field in record XML
2011-07-03 13:20:58 +02:00
* Change Pool into a Singleton
2011-05-26 15:21:15 +02:00
* Remove support of zipped modules
2011-04-26 18:03:13 +02:00
Version 2.0.0 - 2011-04-26
* Bug fixes (see mercurial logs for details)
* Use md5 hash for indexing translation
2011-04-03 15:02:28 +02:00
* Merge tree and list views
2011-03-30 17:20:31 +02:00
* Added autocompletion on fields.Char
2011-03-30 14:13:35 +02:00
* Remove ir.default
* Add type, last user and last modification on ir.attachment
* Rename datas into data on ir.attachment
2011-03-13 11:38:33 +01:00
* Add new configuration option to prevent database listing
2011-03-08 18:44:35 +01:00
* Add warning to wizards
2011-03-01 11:19:36 +01:00
* Add server-side icons
2011-02-16 17:50:09 +01:00
* Add support for file link to BinaryField
2011-01-22 23:56:13 +01:00
* Add model field access
2011-01-07 10:58:43 +01:00
* Add loading attribute on fields
2011-01-03 12:39:29 +01:00
* Remove priority attribute on fields
* Model doesn't convert anymore ids for inherited methods
* Remove required attribute on Boolean fields
2010-12-03 18:01:46 +01:00
* Add One2One field
* Add AUTOINCREMENT to sqlite primary key
2010-11-01 15:25:49 +01:00
Version 1.8.0 - 2010-11-01
* Bug fixes (see mercurial logs for details)
2010-09-02 17:31:51 +02:00
* Add timestamp sequence
2010-08-19 22:01:12 +02:00
* New transaction management
* Make _timestamp numeric instead of datetime to work with XML-RPC and JSON-RPC
* Add ir.trigger to trigger ModelStorage change
* Add default value to Boolean fields at database level
2010-05-08 16:45:20 +02:00
Version 1.6.0 - 2010-05-08
* Bug fixes (see mercurial logs for details)
2010-04-18 14:12:02 +02:00
* Add symbol parameter to formatLang
* searcher on Function fields take only one domain clause as argument
* Use a Reference field on ir.attachment to store resource informations
Improve the ir.attachment views to be usable on the client side
2010-03-23 10:45:02 +01:00
* Use basic access authentication for XML-RPC
* Replace child{1,2} attributes in xml views by a unique child
* Models that uses _inherits will search in inherited parents for missing functions
2010-03-18 18:14:54 +01:00
* Remove ids from on_change* calls
* Improve search on translatable fields
* export_data return empty value for invisible fields
2010-03-12 17:41:07 +01:00
* Don't allow to use float in Numeric fields
2010-03-11 16:42:50 +01:00
* set/get function on Fields take a list of ids
* New interface for Function/Property fields
Take a Field as first argument instead of many separate arguments
Remove static arguments
* Fix Float and Numeric for lost of precision
* Add decimal digits validation on fields
2010-03-04 14:02:27 +01:00
* Improve unittests to run trytond from tests
Use sqlite as default backend
Add skiptest attribute to data tag
Add option to test_tryton to run tests from all modules
2010-02-25 16:43:04 +01:00
* Add MySQL backend
2010-02-18 18:50:35 +01:00
* Refactoring by validation with pylint
* Modify ondelete attribute of Many2One according to required attribute value
* Refactor import_data of ModelStorage
* Raise exception when search function is missing on Function fields
* Add LRU memoization, use it to cache compiled code for safe_eval.
* Add PySON to replace python string evaluation on client side
2010-01-20 10:33:44 +01:00
* Add JSON-RPC
2010-01-19 12:52:55 +01:00
* Add groups on Sequence Types and add rules on sequence based on it.
2010-01-16 14:24:26 +01:00
* Ignore Fields that starts with "_"
* Add comment on table and field for postgresql backend
* Remove egenix-mx-base and replace it by python-dateutil
2009-12-17 11:27:24 +01:00
* Add cache to safe_eval
2009-11-13 12:41:43 +01:00
* Rename HttpDaemon into XMLRPCDaemon
2009-11-13 12:30:29 +01:00
* Improve TranslateFactory to fetch all translations for a report in one query
2009-11-10 16:04:05 +01:00
* Handle displayname on webdav.collection
* Handle current-user-privilege-set on webdav.collection
2009-10-19 14:39:54 +02:00
Version 1.4.0 - 2009-10-19
* Bug fixes (see mercurial logs for details)
* Add datetime_field on xxx2Many to use a specific _datetime when reading the related record
2009-09-28 11:21:11 +02:00
* Add new tool safe_eval
* Handle sequence and history renaming when renaming table
* Add old_password to set_preferences of res.user on password change
* Allow to drop constraint, index and foreign key with custom table name
2009-09-10 14:09:59 +02:00
* Added column_rename on TableHandler
2009-09-08 13:03:57 +02:00
* Add new tool reduce_ids
2009-09-07 15:18:17 +02:00
* Add limit_clause function on cursor
* Fill the cursor cache at search
2009-09-03 19:09:32 +02:00
* Allow rpc on today of ir.date
* Use the module dependency order to apply views that inherits
* Allow to update database at the end of restore
* Add ir.model.access check get and set of ir.property
2009-09-01 14:43:49 +02:00
* Add ModelSingleton
2009-08-25 19:15:50 +02:00
* Move login test in res.user
2009-08-25 13:59:31 +02:00
* Rename osv into model on workflow
2009-08-14 11:38:02 +02:00
* Add logout method
* Move BrowseRecord cache onto the cursor except for Function fields
* Don't order search result if order value is []
2009-08-07 10:42:23 +02:00
* Add reload of modules if files have changed
2009-07-29 16:27:18 +02:00
* Add salt to sha of password
* Add strftime to ir.lang to handle locale's format
2009-07-07 21:11:16 +02:00
* Add sqlite backend
* Add validate test for required and size
* Remove _sequence on ModelSQL
2009-06-24 22:55:36 +02:00
* Use gzip in pysocket
2009-06-24 13:23:02 +02:00
* Add gzip encoding for XML-RPC
* Add report name in the result of Report.execute
* Add ir.action.wizard_size to store prefered wizard size
2009-06-18 18:46:48 +02:00
* Add delete_all action on One2Many field
* Read, write, create, delete permission on record rules
* Add reset_default method to ir.default
* Doesn't append '%' to "like", "ilike" clauses
2009-05-23 15:44:47 +02:00
* Handle database dump and restore with password
2009-05-22 10:47:32 +02:00
* Add float_time attribute in fields view
2009-04-20 10:42:22 +02:00
Version 1.2.0 - 2009-04-20
* Bug fixes (see mercurial logs for details)
2009-04-07 18:26:40 +02:00
* Add delete of foreign keys with ondelete CASCADE
* Add write for foreign keys with ondelete SET NULL
* Add datetime_field on Many2One to use a specific _datetime when reading the related record
* Use _datetime in context to read record value at specific datetime
* Add _history_table on ModelSQL to historize change on records
* Allow to use related fields (many2one and reference) in read
* Use rec_name function field instead of name_get and name_search
2009-02-11 15:05:29 +01:00
* Use a new Pool for objects
* Move workflow in ModelWorkflow and the workflow module
* Remove Service and LocalService objects
* New netrpc/xmlrpc syntax
* copy on ModelStorage copies one2many directly on the right record
* Search on translated field will search only on translated value
* Add active field on ir.action to allow better override of reports
2009-01-09 20:31:16 +01:00
* Add depends attributes on Column
* Make Modified Preorder Tree Traversal respects the default order of the model
2008-12-17 12:59:12 +01:00
* Add replace_attributes for xpath tag
2009-04-14 14:45:10 +02:00
* Add email parameter on report action
2008-12-10 22:22:17 +01:00
* Allow to inherit views from an other model
2008-12-09 15:52:35 +01:00
* Add user warnings
2008-12-05 13:22:09 +01:00
* Allow to use a list of id for copy method
2008-11-30 23:35:02 +01:00
* Use one lock per database
2008-11-30 17:52:53 +01:00
* Improve netrpc communication speed
2008-11-28 16:58:11 +01:00
* Add contextual domain on inherited views
2008-11-26 20:36:46 +01:00
* Allow to use globals in domain and states
* Add translate attribute on Selection field
2008-11-25 00:11:56 +01:00
* Use explicit join in search SQL query
* Fix for host with IPv6 enable but without default IPv6 route
2008-11-18 17:46:30 +01:00
* Allow egg installation
2008-11-17 10:05:46 +01:00
Version 1.0.0 - 2008-11-17
* Initial release