[REF] : Corrected errors suggested by buildbot.
bzr revid: uco@tinyerp.com-20101011063510-n73y74z5oulrnkkk
This commit is contained in:
parent
e11beeb0cb
commit
9db842ce4b
|
@ -62,7 +62,6 @@ class aged_trial_report(rml_parse.rml_parse, common_report_header):
|
|||
|
||||
def _get_lines(self, form):
|
||||
res = []
|
||||
account_move_line_obj = pooler.get_pool(self.cr.dbname).get('account.move.line')
|
||||
self.cr.execute('SELECT DISTINCT res_partner.id AS id,\
|
||||
res_partner.name AS name \
|
||||
FROM res_partner,account_move_line AS l, account_account\
|
||||
|
@ -219,7 +218,6 @@ class aged_trial_report(rml_parse.rml_parse, common_report_header):
|
|||
|
||||
def _get_lines_with_out_partner(self, form):
|
||||
res = []
|
||||
account_move_line_obj = pooler.get_pool(self.cr.dbname).get('account.move.line')
|
||||
move_state = ['draft','posted']
|
||||
if self.target_move == 'posted':
|
||||
move_state = ['posted']
|
||||
|
|
|
@ -190,7 +190,6 @@ class tax_report(rml_parse.rml_parse):
|
|||
bcl_rup_ind = ind - 1
|
||||
|
||||
while (bcl_current_level >= int(accounts[bcl_rup_ind]['level']) and bcl_rup_ind >= 0 ):
|
||||
tot_elem = copy.copy(accounts[bcl_rup_ind], context=context)
|
||||
res_tot = { 'code': accounts[bcl_rup_ind]['code'],
|
||||
'name': '',
|
||||
'debit': 0,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<data>
|
||||
|
||||
<record id="base.user_admin" model="res.users">
|
||||
<field name="groups_ids" eval="[(4, ref('account.group_account_manager')),(4, ref('account.group_account_user'))]"/>
|
||||
<field name="groups_id" eval="[(4, ref('account.group_account_manager')),(4, ref('account.group_account_user'))]"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import netsvc
|
||||
from osv import fields, osv
|
||||
from osv import osv
|
||||
from tools.translate import _
|
||||
|
||||
class invoice(osv.osv):
|
||||
|
|
|
@ -47,7 +47,6 @@ class crm_phonecall_report(osv.osv):
|
|||
@param context: A standard dictionary for contextual values """
|
||||
|
||||
res = {}
|
||||
state_perc = 0.0
|
||||
avg_ans = 0.0
|
||||
|
||||
for case in self.browse(cr, uid, ids, context):
|
||||
|
|
|
@ -207,7 +207,6 @@ class crm_lead2opportunity_partner(osv.osv_memory):
|
|||
context = {}
|
||||
|
||||
partner_ids = self._create_partner(cr, uid, ids, context)
|
||||
mod_obj = self.pool.get('ir.model.data')
|
||||
value = {}
|
||||
data_obj = self.pool.get('ir.model.data')
|
||||
data_id = data_obj._get_id(cr, uid, 'crm', 'view_crm_lead2opportunity_action')
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
from osv import fields, osv
|
||||
from tools.translate import _
|
||||
import decimal_precision as dp
|
||||
import time
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue