[Fix] fix buildbot Warnings
bzr revid: sbh@tinyerp.com-20101221084941-49jujlav0nw7e2eh
This commit is contained in:
parent
fe7e395e20
commit
b8b2ac99da
|
@ -65,8 +65,6 @@ class crossovered_analytic(report_sxw.rml_parse):
|
|||
def _ref_lines(self,form):
|
||||
result = []
|
||||
res = {}
|
||||
acc_id = []
|
||||
final = []
|
||||
acc_pool = self.pool.get('account.analytic.account')
|
||||
line_pool = self.pool.get('account.analytic.line')
|
||||
|
||||
|
@ -128,7 +126,6 @@ class crossovered_analytic(report_sxw.rml_parse):
|
|||
line_pool = self.pool.get('account.analytic.line')
|
||||
acc_id = []
|
||||
final = []
|
||||
child_ids = []
|
||||
self.list_ids = []
|
||||
|
||||
self.final_list = self.find_children(ids)
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
import netsvc
|
||||
from osv import fields,osv
|
||||
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ class hr_timesheet_invoice_create(osv.osv_memory):
|
|||
if context is None:
|
||||
context = {}
|
||||
result = mod_obj._get_id(cr, uid, 'account', 'view_account_invoice_filter')
|
||||
res = mod_obj.read(cr, uid, result, ['res_id'], context=context)
|
||||
data = self.read(cr, uid, ids, [], context=context)[0]
|
||||
|
||||
account_ids = {}
|
||||
|
|
|
@ -988,7 +988,6 @@ class pos_order_line(osv.osv):
|
|||
else:
|
||||
res[line.id][f] = line.price_unit * line.qty
|
||||
elif f == 'price_subtotal_incl':
|
||||
tax_amount = 0.0
|
||||
taxes = [t for t in line.product_id.taxes_id]
|
||||
if line.qty == 0.0:
|
||||
res[line.id][f] = 0.0
|
||||
|
|
Loading…
Reference in New Issue