Add email on wizard view and move email field from wrong model
This commit is contained in:
1 parent
926bebc16a
commit
dad3dc8acb
2 files changed
+4
-1
No files matched your search
@@ -407,7 +407,6 @@ class ActionActWindowView(OSV):
|
||||
ondelete='CASCADE')
|
||||
act_window = fields.Many2One('ir.action.act_window', 'Action',
|
||||
ondelete='CASCADE')
|
||||
email = fields.Char('Email')
|
||||
|
||||
def __init__(self):
|
||||
super(ActionActWindowView, self).__init__()
|
||||
@@ -435,6 +434,7 @@ class ActionWizard(OSV):
|
||||
action = fields.Many2One('ir.action', 'Action', required=True,
|
||||
ondelete='CASCADE')
|
||||
model = fields.Char('Model')
|
||||
email = fields.Char('Email')
|
||||
|
||||
def default_type(self, cursor, user, context=None):
|
||||
return 'ir.action.wizard'
|
||||
|
||||
@@ -251,6 +251,9 @@
|
||||
<field name="wiz_name"/>
|
||||
<label name="model"/>
|
||||
<field name="model"/>
|
||||
<newline/>
|
||||
<label name="email"/>
|
||||
<field name="email" colspan="3"/>
|
||||
<field name="keywords" colspan="4">
|
||||
<tree string="Keywords">
|
||||
<field name="keyword"/>
|
||||
|
||||
Reference in new issue
Block a user