93
93
if import_data[4][1] == "":
94
94
raise osv.except_osv(_('Warning !'), _("The budget has no decision moment!"))
96
moment_ids = self.pool.get('msf.budget.decision.moment').search(cr, uid, [('name', '=', import_data[4][1])], context=context)
98
raise osv.except_osv(_('Warning !'), _("The decision moment %s is not defined in the database!") % (import_data[4][1],))
99
103
def fill_budget_line_data(self, cr, uid, import_data, context=None):