~ubuntu-branches/ubuntu/maverick/tryton-modules-product/maverick

« back to all changes in this revision

Viewing changes to category.py

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Behrle, Daniel Baumann, Mathias Behrle
  • Date: 2010-05-11 00:02:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100511000221-errv4owxi7k27a55
Tags: 1.6.0-1
[ Daniel Baumann ]
* Adding Dm-Upload-Allowed in control in preparation for Mathias.

[ Mathias Behrle ]
* Merging upstream version 1.6.0.
* Updating copyright.
* Updating depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
        super(Category, self).__init__()
18
18
        self._order.insert(0, ('name', 'ASC'))
19
19
 
20
 
    def get_rec_name(self, cursor, user, ids, name, arg, context=None):
 
20
    def get_rec_name(self, cursor, user, ids, name, context=None):
21
21
        if not ids:
22
22
            return {}
23
23
        res = {}