Account Move Line Purchase Info

account_move_line_purchase_info
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/18.0/account_move_line_purchase_info
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSJordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, IsabelAForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module will add the purchase order line to journal items.

The ultimate goal is to establish the purchase order line as one of the key
fields to reconcile the Goods Received Not Invoiced accrual account.

Field oca_purchase_line_id it's necessary. In Odoo >=16 automatic
revaluation for a product with FIFO costing method only works if invoice
lines related to a purchase order line do not include stock journal items.
To avoid that oca_purchase_line_id includes invoice and stock journal items,
and we keep Odoo field invoice_lines just with bill lines.
- Check issue https://github.com/OCA/account-financial-tools/issues/2017

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_journal_entries_form purchase.order.form.journal.entry purchase.order button Inherits purchase.purchase_order_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (4)

New fields (2)
  • oca_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_oca_purchase_line_id' index=True store=True string='OCA Purchase Line'
  • purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' compute='_compute_purchase_id' index=True related=None store=True
Public methods (0)

No public methods.

New fields (2)
  • journal_entries_count Integer
    compute='_compute_journal_entries'
  • journal_entry_ids Many2many → account.move
    comodel_name='account.move' compute='_compute_journal_entries' relation='journal_entries_ids_purchase_order' string='Journal Entries'
Public methods (1)
  • action_view_journal_entries(self, invoices=False)
    This function returns an action that display existing journal entries of given purchase order ids. When only one found, show the journal entry immediately.

New fields (1)
  • stock_invoice_lines One2many → account.move.line
    copy=False readonly=True args: 'account.move.line', 'oca_purchase_line_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/17.0/account_move_line_purchase_info
VERSION
VERSION
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSMiquel Raïch, JordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module will add the purchase order line to journal items.

The ultimate goal is to establish the purchase order line as one of the key
fields to reconcile the Goods Received Not Invoiced accrual account.

Field oca_purchase_line_id it's necessary. In Odoo >=16 automatic
revaluation for a product with FIFO costing method only works if invoice
lines related to a purchase order line do not include stock journal items.
To avoid that oca_purchase_line_id includes invoice and stock journal items,
and we keep Odoo field invoice_lines just with bill lines.
- Check issue https://github.com/OCA/account-financial-tools/issues/2017

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_journal_entries_form purchase.order.form.journal.entry purchase.order button Inherits purchase.purchase_order_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • oca_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_oca_purchase_line_id' index=True store=True string='OCA Purchase Line'
  • purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' compute='_compute_purchase_id' index=True related=None store=True
Public methods (0)

No public methods.

New fields (2)
  • journal_entries_count Integer
    compute='_compute_journal_entries'
  • journal_entry_ids Many2many → account.move
    comodel_name='account.move' compute='_compute_journal_entries' relation='journal_entries_ids_purchase_order' string='Journal Entries'
Public methods (1)
  • action_view_journal_entries(self, invoices=False)
    This function returns an action that display existing journal entries of given purchase order ids. When only one found, show the journal entry immediately.

New fields (1)
  • stock_invoice_lines One2many → account.move.line
    copy=False readonly=True args: 'account.move.line', 'oca_purchase_line_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/16.0/account_move_line_purchase_info
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSJordiMForgeFlow, Weblate, OCA-git-bot, Andrea Stirpe, oca-ci, AlexPForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_journal_entries_form purchase.order.form.journal.entry purchase.order button Inherits purchase.purchase_order_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • oca_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_oca_purchase_line_id' index=True store=True string='OCA Purchase Line'
  • purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' compute='_compute_purchase_id' index=True related=None store=True
Public methods (0)

No public methods.

New fields (2)
  • journal_entries_count Integer
    compute='_compute_journal_entries'
  • journal_entry_ids Many2many → account.move
    comodel_name='account.move' compute='_compute_journal_entries' relation='journal_entries_ids_purchase_order' string='Journal Entries'
Public methods (1)
  • action_view_journal_entries(self, invoices=False)
    This function returns an action that display existing journal entries of given purchase order ids. When only one found, show the journal entry immediately.

New fields (1)
  • stock_invoice_lines One2many → account.move.line
    copy=False readonly=True args: 'account.move.line', 'oca_purchase_line_id'
Public methods (1)
  • name_get(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/15.0/account_move_line_purchase_info
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSOCA Transbot, Miquel Raïch, AaronHForgeFlow, Weblate, OCA-git-bot, oca-ci, DavidJForgeFlow, Joan Mateu Jordi
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_journal_entries_form purchase.order.form.journal.entry purchase.order button Inherits purchase.purchase_order_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (4)

New fields (1)
  • purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' index=True store=True
Public methods (0)

No public methods.

New fields (2)
  • journal_entries_count Integer
    compute='_compute_journal_entries'
  • journal_entry_ids Many2many → account.move
    comodel_name='account.move' compute='_compute_journal_entries' relation='journal_entries_ids_purchase_order' string='Journal Entries'
Public methods (1)
  • action_view_journal_entries(self, invoices=False)
    This function returns an action that display existing journal entries of given purchase order ids. When only one found, show the journal entry immediately.

New fields (0)

No new fields.

Public methods (1)
  • name_get(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/14.0/account_move_line_purchase_info
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA Transbot, Miquel Raïch, AaronHForgeFlow, oca-travis, Weblate, OCA-git-bot, ps-tubtim, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (4)

New fields (1)
  • purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' index=True store=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • name_get(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/13.0/account_move_line_purchase_info
VERSION
VERSION 1.1.3
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSCarlos Lopez, OCA Transbot, AaronHForgeFlow, João Marques, oca-travis, Weblate, OCA-git-bot, Adrià Gil Sorribes, hveficent, kittiu
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (4)

New fields (1)
  • purchase_id Many2one → purchase.order
    comodel_name='purchase.order' index=True related='purchase_line_id.order_id' store=True string='Purchase Order'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • name_get(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/12.0/account_move_line_purchase_info
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE), Jordi Ballester Alomar, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato, Adrià Gil Sorribes, hveficent
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - http_routing
    - digest
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (4)

New fields (0)

No new fields.

Public methods (2)
  • invoice_line_move_line_get(self)
    @api.model
  • line_get_convert(self, line, part)
    @api.model

New fields (2)
  • purchase_id Many2one → purchase.order
    comodel_name='purchase.order' index=True related='purchase_line_id.order_id' store=True string='Purchase Order'
  • purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' index=True ondelete='set null' string='Purchase Order Line'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • name_get(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/11.0/account_move_line_purchase_info
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSLois Rilo, OCA Transbot, oca-travis, Weblate, hveficent
WEBSITE
WEBSITEhttp://www.github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - purchase
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (4)

New fields (0)

No new fields.

Public methods (2)
  • invoice_line_move_line_get(self)
    @api.model
  • line_get_convert(self, line, part)
    @api.model

New fields (2)
  • purchase_id Many2one → purchase.order
    comodel_name='purchase.order' index=True related='purchase_line_id.order_id' store=True string='Purchase Order'
  • purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' index=True ondelete='set null' string='Purchase Order Line'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • name_get(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/10.0/account_move_line_purchase_info
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, lreficent
WEBSITE
WEBSITEhttp://www.github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_accountant
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - purchase
    - stock_account
    - stock
    - procurement
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_form2 account.move.line.form2 account.move.line field Inherits account.view_move_line_form2
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (3)

New fields (0)

No new fields.

Public methods (2)
  • invoice_line_move_line_get(self)
    @api.model
  • line_get_convert(self, line, part)
    @api.model

New fields (1)
  • purchase_line_id Many2one → purchase.order.line
    index=True ondelete='set null' args: 'purchase.order.line', 'Purchase Order Line'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/9.0/account_move_line_purchase_info
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_accountant
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - purchase
    - stock_account
    - stock
    - procurement
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_account_move_line_filter Journal Items account.move.line field Inherits account.view_account_move_line_filter
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_move_line_form2 account.move.line.form2 account.move.line field Inherits account.view_move_line_form2
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (3)

New fields (0)

No new fields.

Public methods (2)
  • invoice_line_move_line_get(self)
    @api.model
  • line_get_convert(self, line, part)
    @api.model

New fields (1)
  • purchase_line_id Many2one → purchase.order.line
    ondelete='set null' select=True args: 'purchase.order.line', 'Purchase Order Line'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-financial-tools
PULL REQUEST
PULL REQUEST[19.0][MIG] account_move_line_purchase_info (#2187)