2
0

Adopt CamelCase for naming classes

This commit is contained in:
Alex Comba 2014-11-21 16:22:53 +01:00 committed by Abraham Anes
parent 4c5a8070f0
commit a9ae5f205f
3 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@ from openerp.tools.translate import _
import re import re
class account_document_template(orm.Model): class AccountDocumentTemplate(orm.Model):
_computed_lines = {} _computed_lines = {}
_current_template_id = 0 _current_template_id = 0
@ -107,7 +107,7 @@ class account_document_template(orm.Model):
return False return False
class account_document_template_line(orm.Model): class AccountDocumentTemplateLine(orm.Model):
_name = 'account.document.template.line' _name = 'account.document.template.line'

View File

@ -22,7 +22,7 @@
from openerp.osv import fields, orm from openerp.osv import fields, orm
class account_move_template(orm.Model): class AccountMoveTemplate(orm.Model):
_inherit = 'account.document.template' _inherit = 'account.document.template'
_name = 'account.move.template' _name = 'account.move.template'
@ -82,7 +82,7 @@ class account_move_template(orm.Model):
] ]
class account_move_template_line(orm.Model): class AccountMoveTemplateLine(orm.Model):
_name = 'account.move.template.line' _name = 'account.move.template.line'
_inherit = 'account.document.template.line' _inherit = 'account.document.template.line'

View File

@ -24,7 +24,7 @@ import time
from openerp.tools.translate import _ from openerp.tools.translate import _
class wizard_select_template(orm.TransientModel): class WizardSelectMoveTemplate(orm.TransientModel):
_name = "wizard.select.move.template" _name = "wizard.select.move.template"
_columns = { _columns = {
@ -245,7 +245,7 @@ class wizard_select_template(orm.TransientModel):
return id_line return id_line
class wizard_select_template_line(orm.TransientModel): class WizardSelectMoveTemplateLine(orm.TransientModel):
_description = 'Template Lines' _description = 'Template Lines'
_name = "wizard.select.move.template.line" _name = "wizard.select.move.template.line"
_columns = { _columns = {