Add missing default_kind for TaxRule
This commit is contained in:
1 parent
9f3aeef1e0
commit
f2a5639da5
1 file changed
+4
@@ -952,6 +952,10 @@ class TaxRule(ModelSQL, ModelView):
|
||||
lines = fields.One2Many('account.tax.rule.line', 'rule', 'Lines')
|
||||
template = fields.Many2One('account.tax.rule.template', 'Template')
|
||||
|
||||
@staticmethod
|
||||
def default_kind():
|
||||
return 'both'
|
||||
|
||||
def apply(self, tax, pattern):
|
||||
'''
|
||||
Apply rule on tax
|
||||
|
||||
Reference in new issue
Block a user