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 _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

