Stock account move reset to draft
stock_account_move_reset_to_draft · OCA/account-invoicing
Health
60/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
1 model
0 views
0 HTTP endpoints
Description
This module allows a vendor bill to be reverted to draft status even when an SVL (Stock Valuation Layer) record is created due to a price difference between the receipt and the vendor bill, when inventory from the receipt has yet to be consumed. When a vendor bill is reset to draft, as applicable, a new SVL record is generated to offset the valuation difference that was generated upon the bill's confirmation.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (1)-
button_draft(self)If it is a purchase invoice, we will create a new SVL for each line with the sum of the value in opposite sign.
Loading…
Loading…