[FIX] Bug #115 on account_auto_fy_sequence: auto-create fiscal-year specific sequence should not have a sequence type

This commit is contained in:
Alexis de Lattre
2014-12-31 16:07:07 +01:00
parent 6d14f67eaa
commit 266c8f6dad

View File

@@ -38,7 +38,6 @@ class Sequence(orm.Model):
which has %(fy)s in prefix or suffix """
fy_seq_id = self.create(cr, uid, {
'name': seq.name + ' - ' + fiscalyear.code,
'code': seq.code,
'implementation': seq.implementation,
'prefix': (seq.prefix and
seq.prefix.replace(FY_SLOT, fiscalyear.code)),