[REF] account: Removed wanrings from buildbot
bzr revid: mra@mra-laptop-20101110082011-k7iwkgopgv5lbbix
This commit is contained in:
parent
8999b298a7
commit
ba66baf2be
|
@ -20,7 +20,7 @@
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime
|
||||||
from dateutil.relativedelta import relativedelta
|
from dateutil.relativedelta import relativedelta
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
|
|
||||||
|
|
|
@ -423,8 +423,6 @@ account_bank_statement()
|
||||||
class account_bank_statement_line(osv.osv):
|
class account_bank_statement_line(osv.osv):
|
||||||
|
|
||||||
def onchange_type(self, cr, uid, line_id, partner_id, type, context=None):
|
def onchange_type(self, cr, uid, line_id, partner_id, type, context=None):
|
||||||
res_users_obj = self.pool.get('res.users')
|
|
||||||
res_currency_obj = self.pool.get('res.currency')
|
|
||||||
res = {'value': {}}
|
res = {'value': {}}
|
||||||
obj_partner = self.pool.get('res.partner')
|
obj_partner = self.pool.get('res.partner')
|
||||||
if context is None:
|
if context is None:
|
||||||
|
|
|
@ -45,7 +45,6 @@ class account_aged_trial_balance(osv.osv_memory):
|
||||||
}
|
}
|
||||||
|
|
||||||
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
|
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
|
||||||
mod_obj = self.pool.get('ir.model.data')
|
|
||||||
res = super(account_aged_trial_balance, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False)
|
res = super(account_aged_trial_balance, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False)
|
||||||
doc = etree.XML(res['arch'])
|
doc = etree.XML(res['arch'])
|
||||||
nodes = doc.xpath("//field[@name='journal_ids']")
|
nodes = doc.xpath("//field[@name='journal_ids']")
|
||||||
|
|
|
@ -107,7 +107,7 @@ class account_followup_stat_by_partner(osv.osv):
|
||||||
l.reconcile_id is NULL AND
|
l.reconcile_id is NULL AND
|
||||||
l.partner_id IS NOT NULL
|
l.partner_id IS NOT NULL
|
||||||
GROUP BY
|
GROUP BY
|
||||||
l.partner_id, l.company_id
|
l.partner_id, l.company_id
|
||||||
)""")
|
)""")
|
||||||
account_followup_stat_by_partner()
|
account_followup_stat_by_partner()
|
||||||
|
|
||||||
|
@ -212,10 +212,8 @@ class account_followup_print_all(osv.osv_memory):
|
||||||
model_data_ids = mod_obj.search(cr, uid, [('model','=','ir.ui.view'),('name','=','view_account_followup_print_all_msg')], context=context)
|
model_data_ids = mod_obj.search(cr, uid, [('model','=','ir.ui.view'),('name','=','view_account_followup_print_all_msg')], context=context)
|
||||||
resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
|
resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
|
||||||
if data['email_conf']:
|
if data['email_conf']:
|
||||||
mail_notsent = ''
|
|
||||||
msg_sent = ''
|
msg_sent = ''
|
||||||
msg_unsent = ''
|
msg_unsent = ''
|
||||||
count = 0
|
|
||||||
data_user = user_obj.browse(cr, uid, uid)
|
data_user = user_obj.browse(cr, uid, uid)
|
||||||
move_lines = line_obj.browse(cr, uid, data['partner_ids'])
|
move_lines = line_obj.browse(cr, uid, data['partner_ids'])
|
||||||
partners = []
|
partners = []
|
||||||
|
|
|
@ -100,7 +100,7 @@ class payment_order_create(osv.osv_memory):
|
||||||
context = {}
|
context = {}
|
||||||
data = self.read(cr, uid, ids, [], context=context)[0]
|
data = self.read(cr, uid, ids, [], context=context)[0]
|
||||||
search_due_date = data['duedate']
|
search_due_date = data['duedate']
|
||||||
payment = order_obj.browse(cr, uid, context['active_id'], context=context)
|
# payment = order_obj.browse(cr, uid, context['active_id'], context=context)
|
||||||
|
|
||||||
# Search for move line to pay:
|
# Search for move line to pay:
|
||||||
domain = [('reconcile_id', '=', False), ('account_id.type', '=', 'payable'), ('amount_to_pay', '>', 0)]
|
domain = [('reconcile_id', '=', False), ('account_id.type', '=', 'payable'), ('amount_to_pay', '>', 0)]
|
||||||
|
|
Loading…
Reference in New Issue