[MOV] project_issue_sheet: split project_issue_sheet.py file
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import project_issue
|
||||
import account_analytic_line
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#-*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from openerp.osv import fields,osv
|
||||
|
||||
class account_analytic_line(osv.osv):
|
||||
_inherit = 'account.analytic.line'
|
||||
_description = 'account analytic line'
|
||||
_columns = {
|
||||
'issue_id' : fields.many2one('project.issue', 'Issue'),
|
||||
}
|
||||
@@ -43,11 +43,3 @@ class project_issue(osv.osv):
|
||||
result['value']['analytic_account_id'] = account.id
|
||||
|
||||
return result
|
||||
|
||||
|
||||
class account_analytic_line(osv.osv):
|
||||
_inherit = 'account.analytic.line'
|
||||
_description = 'account analytic line'
|
||||
_columns = {
|
||||
'issue_id' : fields.many2one('project.issue', 'Issue'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user