[FIX] point_of_sale: remove deprecated field account_receivable

property_account_receivable should be configured by default.

opw-639766
This commit is contained in:
Nicolas Martinelli 2015-05-29 11:29:31 +02:00
parent 27834a6e9b
commit 3274f8c94c
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,7 @@ class pos_order(osv.osv):
order_account = order.partner_id and \
order.partner_id.property_account_receivable and \
order.partner_id.property_account_receivable.id or \
account_def and account_def.id or current_company.account_receivable.id
account_def and account_def.id
if move_id is None:
# Create an entry for the sale