[MOV] project_issue_sheet: split project_issue_sheet.py file

This commit is contained in:
David Monjoie
2016-06-30 14:41:26 +02:00
parent 095abc3f4c
commit 73df45d8c5
3 changed files with 12 additions and 8 deletions
@@ -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'),
}