c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26036
[Bug 784006] Re: account_move_line: improved account selection when partner changes
Hi,
Please not that your proposed merge does not reflect my patch entirely.
IMO, the last else should really be "elif not part.customer and
part.supplier", because if a partner is both customer and partner you
can't propose a meaningful account.
Best regards,
-sbi
--
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
References