Add order to Action Window

review950002
This commit is contained in:
Cédric Krier
2013-07-22 14:49:18 +02:00
parent fc88a03955
commit 86917a6a4a
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
* Add order to Action Window
* Add factor on number fields
* Add calendar view
* Remove request
+2
View File
@@ -648,6 +648,7 @@ class ActionActWindow(ActionMixin, ModelSQL, ModelView):
__name__ = 'ir.action.act_window'
domain = fields.Char('Domain Value')
context = fields.Char('Context Value')
order = fields.Char('Order Value')
res_model = fields.Char('Model')
act_window_views = fields.One2Many('ir.action.act_window.view',
'act_window', 'Views')
@@ -668,6 +669,7 @@ class ActionActWindow(ActionMixin, ModelSQL, ModelView):
pyson_domain = fields.Function(fields.Char('PySON Domain'), 'get_pyson')
pyson_context = fields.Function(fields.Char('PySON Context'),
'get_pyson')
pyson_order = fields.Function(fields.Char('PySON Order'), 'get_pyson')
pyson_search_value = fields.Function(fields.Char(
'PySON Search Criteria'), 'get_pyson')
@@ -22,6 +22,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="domain" colspan="5"/>
<label name="context"/>
<field name="context" colspan="5"/>
<label name="order"/>
<field name="order" colspan="5"/>
<label name="search_value"/>
<field name="search_value" colspan="5"/>
<label name="limit"/>