[IMP]revert the required field changes and add required in view
bzr revid: pna@tinyerp.com-20120925095228-ibbp5frb0jh2jtz1
This commit is contained in:
@@ -104,8 +104,8 @@ class synchronize_google(osv.osv_memory):
|
||||
_columns = {
|
||||
'customer': fields.boolean('Customer', help="Check this box to set newly created partner as Customer."),
|
||||
'supplier': fields.boolean('Supplier', help="Check this box to set newly created partner as Supplier."),
|
||||
'group_name': fields.selection(_get_group, "Group Name", required= True, help="Choose which group to import, By default it takes all."),
|
||||
'calendar_name': fields.selection(_get_calendars, "Calendar Name", required= True),
|
||||
'group_name': fields.selection(_get_group, "Group Name", help="Choose which group to import, By default it takes all."),
|
||||
'calendar_name': fields.selection(_get_calendars, "Calendar Name"),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Import contacts from a google account" version="7.0">
|
||||
<group colspan="4" col="4" width="430">
|
||||
<field name="group_name" colspan="4"/>
|
||||
<field name="group_name" colspan="4" required="1"/>
|
||||
<newline/>
|
||||
<group colspan="4" col="4">
|
||||
<separator string="Partner Status for this Group:" colspan="4"/>
|
||||
@@ -32,7 +32,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Import Google Calendar Events" version="7.0">
|
||||
<group colspan="4" col="4" width="320">
|
||||
<field name="calendar_name" />
|
||||
<field name="calendar_name" required="1"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="import_google" string="_Import Events" type="object" class="oe_highlight" />
|
||||
|
||||
Reference in New Issue
Block a user