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

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to