← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 784006] Re: account_move_line: improved account selection when partner changes

 

I agree with Stephane we should keep elif instead of else.

Thanks Stephane for your contribution,
mra

** Changed in: openobject-addons
    Milestone: None => 6.1

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/784006

Title:
  account_move_line: improved account selection when partner changes

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  Hi,

  When one create journal entries in journals of type 'general', the
  system does not propose an account when a partner is selected. For
  other journal types such as 'sale' and 'purchase', an account is
  proposed when a partner is selected.

  The attached patch improves this behaviour as an attempt to solve the
  FIXME in that area of account_move_line.

  Additionnally it removes the test on journal_type = 'expense' (expense
  not being a known journal type).

  Best regards,

  -sbi

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/784006/+subscriptions


References