[FIX] typos

This commit is contained in:
Stefan Rijnhart
2013-08-23 14:12:22 +02:00
parent 7f7eb28226
commit 0742dbd818
2 changed files with 4 additions and 4 deletions

View File

@@ -1121,8 +1121,8 @@ class banking_import_transaction(orm.Model):
account_type = 'payable'
elif partner.customer and not partner.supplier:
account_type = 'payable'
if partner['property_acccount_' + account_type]:
account_id = partner['property_acccount_' + account_type].id
if partner['property_account_' + account_type]:
account_id = partner['property_account_' + account_type].id
if not account_id or account_id in (def_pay_account_id, def_rec_account_id):
if account_type == 'payable':
account_id = account_info.default_credit_account_id

View File

@@ -277,8 +277,8 @@ class banking_transaction_wizard(orm.TransientModel):
account_type = 'payable'
elif partner.customer and not partner.supplier:
account_type = 'payable'
if partner['property_acccount_' + account_type]:
account_id = partner['property_acccount_' + account_type].id
if partner['property_account_' + account_type]:
account_id = partner['property_account_' + account_type].id
company_partner = wiz.statement_line_id.statement_id.company_id.partner_id
if len(setting_ids) and (