mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
module 'account_move_line_purchase_info'
This commit is contained in:
committed by
Joan Mateu Jordi
parent
63dc90843c
commit
4b2c3d0fbe
14
account_move_line_purchase_info/models/account_move.py
Normal file
14
account_move_line_purchase_info/models/account_move.py
Normal 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)
|
||||
Reference in New Issue
Block a user