~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to msf_budget/analytic.py

  • Committer: jf
  • Date: 2014-06-18 08:26:21 UTC
  • Revision ID: jfb@tempo-consulting.fr-20140618082621-cptq430pbwqo6z1t
Tags: pilot3.1b2
UFTP-249 [FIX] Reference field not imported in Unifield when importing register lines
lp:~unifield-team/unifield-wm/UFTP-78 2000..2001

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
##############################################################################
23
23
 
24
24
from osv import osv
25
 
from osv import fields
26
25
from tools.translate import _
27
26
 
28
27
class account_analytic_line(osv.osv):
41
40
                else:
42
41
                    # Line without domain (consumption, overhead)
43
42
                    raise osv.except_osv(_('No Analytic Domain !'),_("This budget does not have an analytic domain!"))
44
 
                    
 
43
 
45
44
        return super(account_analytic_line, self).search(cr, uid, args, offset, limit, order, context=context, count=count)
46
45
account_analytic_line()
47
46
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: