Stock Inventory Account Manual Adjustment
stock_valuation_account_manual_adjustment · OCA/stock-logistics-warehouse
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 71 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.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
1.17 MB
Module directory on disk
Code analysis
7 migration notes
5 models
7 views
0 HTTP endpoints
Migration considerations
AccountMove— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourceProductProduct— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourceStockValuationAccountManualAdjustment— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceStockValuationAccountMassAdjust— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_product_inventory_valuation_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_stock_valuation_account_manual_adjustment_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_stock_valuation_account_manual_adjustment_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_search_form_view |
product.product.search | product.product | search | Inherits product.product_search_form_view |
view_move_line_form |
account.move.line.form | account.move.line | form | Inherits account.view_move_line_form |
view_product_inventory_valuation_tree |
product.product.inventory.valuation.tree | product.product | tree | New |
view_stock_valuation_account_manual_adjustment_form |
stock.valuation.account.manual.adjustment.form | stock.valuation.account.manual.adjustment | form | New |
view_stock_valuation_account_manual_adjustment_search |
stock.valuation.account.manual.adjustment.search | stock.valuation.account.manual.adjustment | search | New |
view_stock_valuation_account_manual_adjustment_tree |
stock.valuation.account.manual.adjustment.tree | stock.valuation.account.manual.adjustment | tree | New |
view_stock_valuation_account_mass_adjust |
Mass Adjust Stock Valuation Account Discrepancies | stock.valuation.account.mass.adjust | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
stock_valuation_account_manual_adjustment_idMany2one → stock.valuation.account.manual.adjustmentcomodel_name='stock.valuation.account.manual.adjustment'ondelete='restrict'string='Stock Valuation Account Manual Adjustment'
-
unlink(self)@api.multi
New fields (1)
-
stock_valuation_account_manual_adjustment_idMany2one → stock.valuation.account.manual.adjustmentcomodel_name='stock.valuation.account.manual.adjustment'ondelete='restrict'readonly=Truerelated='move_id.stock_valuation_account_manual_adjustment_id'store=Truestring='Stock Valuation Account Manual Adjustment'
-
unlink(self)@api.multi
New fields (3)
-
accounting_valueFloatcompute='_compute_inventory_account_value'digits=UNITgroups='stock_valuation_account_manual_adjustment.group_stock_valuation_account_manual_adjustment'search='_search_accounting_value'string='Accounting Value' -
inventory_valueFloatcompute='_compute_inventory_account_value'digits=UNITgroups='stock_valuation_account_manual_adjustment.group_stock_valuation_account_manual_adjustment'search='_search_inventory_value'string='Inventory Value' -
valuation_discrepancyFloatcompute='_compute_inventory_account_value'digits=UNITgroups='stock_valuation_account_manual_adjustment.group_stock_valuation_account_manual_adjustment'search='_search_valuation_discrepancy'string='Valuation discrepancy'
No public methods.
New fields (16)
-
account_move_idsOne2many → account.movecomodel_name='account.move'inverse_name='stock_valuation_account_manual_adjustment_id'readonly=True -
accounting_valueFloatreadonly=Truerelated='product_id.accounting_value'string='Accounting Value' -
amountFloatdigits=UNITreadonly=Truerequired=Truestates={'done': [('readonly', False)]}string='Adjustment amount' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>readonly=Truestates={'draft': [('readonly', False)]}string='Company' -
decrease_account_idMany2one → account.accountcomodel_name='account.account'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Valuation Decrease Contra-Account' -
document_dateDatedefault=<expr>readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Creation date' -
increase_account_idMany2one → account.accountcomodel_name='account.account'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Valuation Increase Contra-Account' -
inventory_valueFloatreadonly=Truerelated='product_id.inventory_value'string='Inventory Value' -
journal_idMany2one → account.journalcomodel_name='account.journal'default=_default_journalreadonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Journal' -
nameCharcopy=Falsedefault='/'help='Reference for the journal entry'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Reference' -
post_dateDatetimehelp='Date of actual processing'readonly=Truestates={'draft': [('readonly', False)]}string='Posting Date' -
product_idMany2one → product.productcomodel_name='product.product'domain=[('valuation', '=', 'real_time')]readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Product' -
remarksTexthelp='This text is copied to the journal entry.'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Remarks' -
stateSelectiondefault='draft'readonly=Falserequired=Trueselection=[('draft', 'Draft'), ('posted', 'Posted')]string='Status' -
user_idMany2one → res.userscomodel_name='res.users'default=<expr>readonly=Truestates={'draft': [('readonly', False)]}string='Created by' -
valuation_discrepancyFloatreadonly=Truerelated='product_id.valuation_discrepancy'string='Valuation discrepancy'
-
button_post(self)@api.multi -
create(self, values)@api.model -
post(self)@api.multi
New fields (4)
-
decrease_account_idMany2one → account.accountcomodel_name='account.account'string='Valuation Decrease Contra-Account' -
increase_account_idMany2one → account.accountcomodel_name='account.account'string='Valuation Increase Contra-Account' -
journal_idMany2one → account.journalcomodel_name='account.journal'default=_default_journalstring='Journal' -
remarksTexthelp='This text is copied to the journal entry.'required=Truestring='Remarks'
-
process(self)@api.multi
Loading…
Loading…