<commit_before># -*- coding: utf-8 -*-
# (c) 2014 <NAME> <<EMAIL>>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from openerp import models, fields


class AccountAnalyticLine(models.Model):

    _inherit = 'account.analytic.line'

    mrp_production_id = fields.Many2one(
        comodel_name='mrp.production', string='Manufacturing Order')
    workorder = fields.Many2one(
        comodel_name='mrp.production.workcenter.line', string='Work Order',
        related="task_id.workorder", store=True)
    task_id = fields.Many2one('project.task', 'Project Task')<commit_msg>[IMP] mrp_production_real_cost - save corect WO on AAL<commit_after># -*- coding: utf-8 -*-
# (c) 2014 <NAME> <<EMAIL>>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from openerp import models, fields


class AccountAnalyticLine(models.Model):

    _inherit = 'account.analytic.line'

    mrp_production_id = fields.Many2one(
        comodel_name='mrp.production', string='Manufacturing Order')
    workorder = fields.Many2one(
        comodel_name='mrp.production.workcenter.line', string='Work Order')
    task_id = fields.Many2one('project.task', 'Project Task')
{'fraction_non_alphanumeric': 0.14431239388794567, 'fraction_numerical': 0.01867572156196944, 'mean_word_length': 4.081896551724138, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '242073', 'n_tokens_mistral': 413, 'n_tokens_neox': 384, 'n_words': 75}