parent
08933b0200
commit
447ff62862
|
@ -709,7 +709,7 @@
|
||||||
<menuitem action="mrp_procurement_action3" id="menu_mrp_procurement_action3" parent="mrp.menu_mrp_procurement_action"/>
|
<menuitem action="mrp_procurement_action3" id="menu_mrp_procurement_action3" parent="mrp.menu_mrp_procurement_action"/>
|
||||||
|
|
||||||
<record id="mrp_procurement_action5" model="ir.actions.act_window">
|
<record id="mrp_procurement_action5" model="ir.actions.act_window">
|
||||||
<field name="name">Exceptions procurements</field>
|
<field name="name">Exceptions Procurements</field>
|
||||||
<field name="type">ir.actions.act_window</field>
|
<field name="type">ir.actions.act_window</field>
|
||||||
<field name="res_model">mrp.procurement</field>
|
<field name="res_model">mrp.procurement</field>
|
||||||
<field name="view_type">form</field>
|
<field name="view_type">form</field>
|
||||||
|
@ -719,7 +719,7 @@
|
||||||
<menuitem action="mrp_procurement_action5" id="menu_mrp_procurement_action5" parent="stock.menu_stock_root"/>
|
<menuitem action="mrp_procurement_action5" id="menu_mrp_procurement_action5" parent="stock.menu_stock_root"/>
|
||||||
|
|
||||||
<record id="mrp_procurement_action4" model="ir.actions.act_window">
|
<record id="mrp_procurement_action4" model="ir.actions.act_window">
|
||||||
<field name="name">Exceptions procurements to fix</field>
|
<field name="name">Exceptions Procurements to Fix</field>
|
||||||
<field name="type">ir.actions.act_window</field>
|
<field name="type">ir.actions.act_window</field>
|
||||||
<field name="res_model">mrp.procurement</field>
|
<field name="res_model">mrp.procurement</field>
|
||||||
<field name="view_type">form</field>
|
<field name="view_type">form</field>
|
||||||
|
|
|
@ -33,11 +33,9 @@ import pooler
|
||||||
class profile_association_config_install_modules_wizard(osv.osv_memory):
|
class profile_association_config_install_modules_wizard(osv.osv_memory):
|
||||||
_name='profile.association.config.install_modules_wizard'
|
_name='profile.association.config.install_modules_wizard'
|
||||||
_columns = {
|
_columns = {
|
||||||
'crm_configuration':fields.boolean('CRM & Calendars', help="This installs the customer relationship features like: leads and opportunities tracking, shared calendar, jobs tracking, bug tracker, and so on."),
|
|
||||||
'hr_expense':fields.boolean('Expenses Tracking', help="Tracks the personal expenses process, from the employee expense encoding, to the reimbursement of the employee up to the reinvoicing to the final customer."),
|
'hr_expense':fields.boolean('Expenses Tracking', help="Tracks the personal expenses process, from the employee expense encoding, to the reimbursement of the employee up to the reinvoicing to the final customer."),
|
||||||
'project':fields.boolean('Project Management'),
|
'project':fields.boolean('Project Management'),
|
||||||
'event' : fields.boolean('Events Organisation'),
|
'event' : fields.boolean('Events Organisation'),
|
||||||
'crm' : fields.boolean('Fund Raising'),
|
|
||||||
}
|
}
|
||||||
def action_cancel(self,cr,uid,ids,conect=None):
|
def action_cancel(self,cr,uid,ids,conect=None):
|
||||||
return {
|
return {
|
||||||
|
@ -47,8 +45,6 @@ class profile_association_config_install_modules_wizard(osv.osv_memory):
|
||||||
'type': 'ir.actions.act_window',
|
'type': 'ir.actions.act_window',
|
||||||
'target':'new',
|
'target':'new',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def action_install(self, cr, uid, ids, context=None):
|
def action_install(self, cr, uid, ids, context=None):
|
||||||
result=self.read(cr,uid,ids)
|
result=self.read(cr,uid,ids)
|
||||||
mod_obj = self.pool.get('ir.module.module')
|
mod_obj = self.pool.get('ir.module.module')
|
||||||
|
@ -66,8 +62,6 @@ class profile_association_config_install_modules_wizard(osv.osv_memory):
|
||||||
'type': 'ir.actions.act_window',
|
'type': 'ir.actions.act_window',
|
||||||
'target':'new',
|
'target':'new',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
profile_association_config_install_modules_wizard()
|
profile_association_config_install_modules_wizard()
|
||||||
|
|
||||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||||
|
|
Loading…
Reference in New Issue