projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
970aa45
)
[FIX] default method arguments does not contain ids
author
mra (Open ERP)
<mra@tinyerp.com>
Thu, 29 Apr 2010 07:15:41 +0000
(12:45 +0530)
committer
mra (Open ERP)
<mra@tinyerp.com>
Thu, 29 Apr 2010 07:15:41 +0000
(12:45 +0530)
bzr revid: mra@tinyerp.com-
20100429071541
-xkodetbyifan758c
addons/account/wizard/account_vat.py
patch
|
blob
|
history
diff --git
a/addons/account/wizard/account_vat.py
b/addons/account/wizard/account_vat.py
index
356599b
..
15c5a55
100755
(executable)
--- a/
addons/account/wizard/account_vat.py
+++ b/
addons/account/wizard/account_vat.py
@@
-33,7
+33,7
@@
class account_vat_declaration(osv.osv_memory):
'periods': fields.many2many('account.period', 'vat_period_rel', 'vat_id', 'period_id', 'Periods', help="All periods if empty"),
}
- def _get_company(self, cr, uid, ids, context={}):
+ def _get_company(self, cr, uid, context={}):
user_obj = self.pool.get('res.users')
company_obj = self.pool.get('res.company')
user = user_obj.browse(cr, uid, uid, context=context)