TIP: You can type at any time to perform a new search.
Account Move Line Purchase Info
account_move_line_purchase_info · OCA/account-financial-tools
- Repository
- OCA/account-financial-tools · module folder · Try on Runboat
- Module version
- 2.1.0
- Category
- Generic
- Folder size
- 0.19 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-financial-tools
- Last tracking update
- 2026-08-07 08:42:53
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- Odoo Community Association (OCA), ForgeFlow
- Committers
- JordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, IsabelAForgeFlow
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- purchase_unreconciled
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_move_line_filter |
Journal Items | account.move.line | Inherits account.view_account_move_line_filter | |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
view_move_line_form |
account.move.line.form | account.move.line | form | Inherits account.view_move_line_form |
view_move_line_journal_entries_form |
purchase.order.form.journal.entry | purchase.order | form | Inherits purchase.purchase_order_form |
view_move_line_tree |
account.move.line.tree | account.move.line | tree | Inherits account.view_move_line_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
oca_purchase_line_idMany2one → purchase.order.linecomodel_name='purchase.order.line'compute='_compute_oca_purchase_line_id'index=Truestore=Truestring='OCA Purchase Line' -
purchase_order_idMany2one → purchase.ordercomodel_name='purchase.order'compute='_compute_purchase_id'index=Truerelated=Nonestore=True
No public methods.
New fields (2)
-
journal_entries_countIntegercompute='_compute_journal_entries' -
journal_entry_idsMany2many → account.movecomodel_name='account.move'compute='_compute_journal_entries'relation='journal_entries_ids_purchase_order'string='Journal Entries'
-
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_linesOne2many → account.move.linecopy=Falsereadonly=True args: 'account.move.line', 'oca_purchase_line_id'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 254 days ago
- Last activity
- 88 days ago
- Repository
- OCA/account-financial-tools
- Pull request
- [19.0][MIG] account_move_line_purchase_info (#2187)