module 'account_move_line_purchase_info'

This commit is contained in:
Jordi Ballester
2017-01-21 13:21:45 -07:00
committed by Joan Mateu Jordi
parent 63dc90843c
commit 4b2c3d0fbe
12 changed files with 440 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# © 2017 Eficent Business and IT Consulting Services S.L. (www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
purchase_line_id = fields.Many2one('purchase.order.line',
'Purchase Order Line',
ondelete='set null', select=True)