[MERGE] Merge with main branch
authormra (Open ERP) <mra@tinyerp.com>
Fri, 16 Apr 2010 14:37:24 +0000 (20:07 +0530)
committermra (Open ERP) <mra@tinyerp.com>
Fri, 16 Apr 2010 14:37:24 +0000 (20:07 +0530)
bzr revid: mra@tinyerp.com-20100416143724-d55j0eergsuf5xy8

1  2 
addons/account/account_bank_statement.py
addons/account/account_invoice_view.xml
addons/account/account_view.xml
addons/hr_evaluation/hr_evaluation_view.xml
addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
addons/project/project_view.xml
addons/project_long_term/project_long_term_view.xml

@@@ -372,7 -352,16 +372,16 @@@ class account_bank_statement(osv.osv)
                  raise osv.except_osv(_('Invalid action !'), _('Cannot delete bank statement which are already confirmed !'))
          osv.osv.unlink(self, cr, uid, unlink_ids, context=context)
          return True
 -    
 +
+     def copy(self, cr, uid, id, default=None, context=None):
+         if default is None:
+             default = {}
+         if context is None:
 -            context = {}    
++            context = {}
+         default = default.copy()
+         default['move_line_ids'] = []
+         return super(account_bank_statement, self).copy(cr, uid, id, default, context)
 -    
++
  account_bank_statement()
  
  
Simple merge
              id="menu_open_hr_evaluation_interview_requests"
              action="action_hr_evaluation_interview_tree"/>
  
 -        <menuitem name="Evaluation Reminders" parent="menu_eval_hr"
 -            id="menu_eval_send_mail"
 -            action="action_hr_evaluation_send_mail"
 -            sequence="45"/>
 +      <menuitem name="Evaluation Reminders" parent="menu_eval_hr"
 +           id="menu_eval_send_mail"
 +           action="action_hr_evaluation_send_mail"
 +           sequence="45"/>
 +
 +      <!-- Evaluation Interviews Button on Employee Form -->
 +      <act_window domain="[('user_to_review_id', '=', active_id)]" id="act_hr_employee_2_hr__evaluation_interview" name="Evaluation Interviews" res_model="hr.evaluation.interview" src_model="hr.employee"/>
      </data>
  </openerp>
Simple merge