From 4f56fdd419fce6c3a2cbc2e2034e731809733793 Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Thu, 28 Oct 2010 15:24:12 +0300 Subject: [PATCH] [IMP] Account Greek fiscal: select tax authorities w/o country. bzr revid: p_christ@hol.gr-20101028122412-ibl1y5zrs9ybbes0 --- addons/account_greek_fiscal/partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_greek_fiscal/partner.py b/addons/account_greek_fiscal/partner.py index 4bd85cae0e2..fc0f8e3eb4d 100644 --- a/addons/account_greek_fiscal/partner.py +++ b/addons/account_greek_fiscal/partner.py @@ -26,7 +26,7 @@ class res_partner(osv.osv): _inherit = 'res.partner' _columns = { 'vat_taxauth': fields.many2one('account.fiscalgr.tauth','Tax authority', - domain="[('country_id','=',country)]", + domain="[('country_id','=?',country)]", help="Select the local tax service branch, where the partner is registered."), 'vat_occup': fields.many2one('account.fiscalgr.occup','VAT Occupation', help="Select the corresponding occupation of the partner, as registered with tax authorities."),