Reviewers: ,
Please review this at http://codereview.tryton.org/101001/ Affected files: M CHANGELOG M company.py Index: CHANGELOG =================================================================== --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Add currency name in status bar * Allow to change user company with context Version 2.0.0 - 2011-04-27 Index: company.py =================================================================== --- a/company.py +++ b/company.py @@ -131,7 +131,8 @@ res = super(User, self).get_status_bar(ids, name) for user in self.browse(ids): if user.company: - res[user.id] += ' ' + user.company.name + res[user.id] += ' - %s [%s]' % (user.company.name, + user.company.currency.name) return res def on_change_main_company(self, vals): -- [email protected] mailing list
