mirror of
https://github.com/NaN-tic/trytond-analytic_line_state.git
synced 2023-12-14 03:33:02 +01:00
Fix name of class in calling super __register__ method
This commit is contained in:
parent
615562ec18
commit
92acdc0fe8
|
@ -163,7 +163,7 @@ class AnalyticAccountAccountRequired(ModelSQL):
|
|||
new_table = 'analytic_acc_acc_required_acc_acc'
|
||||
if TableHandler.table_exist(old_table):
|
||||
TableHandler.table_rename(old_table, new_table)
|
||||
super(ProductionConfigurationOperationType, cls).__register__(
|
||||
super(AnalyticAccountAccountRequired, cls).__register__(
|
||||
module_name)
|
||||
|
||||
|
||||
|
@ -185,7 +185,7 @@ class AnalyticAccountAccountForbidden(ModelSQL):
|
|||
new_table = 'analytic_acc_acc_forbidden_acc_acc'
|
||||
if TableHandler.table_exist(old_table):
|
||||
TableHandler.table_rename(old_table, new_table)
|
||||
super(ProductionConfigurationOperationType, cls).__register__(
|
||||
super(AnalyticAccountAccountForbidden, cls).__register__(
|
||||
module_name)
|
||||
|
||||
|
||||
|
@ -207,7 +207,7 @@ class AnalyticAccountAccountOptional(ModelSQL):
|
|||
new_table = 'analytic_acc_acc_optional_acc_acc'
|
||||
if TableHandler.table_exist(old_table):
|
||||
TableHandler.table_rename(old_table, new_table)
|
||||
super(ProductionConfigurationOperationType, cls).__register__(
|
||||
super(AnalyticAccountAccountOptional, cls).__register__(
|
||||
module_name)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue