Romania - Stock Accounting Price Difference
l10n_ro_stock_price_difference · OCA/l10n-romania
Health
95/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 7 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
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.1 MB
Module directory on disk
Code analysis
0 migration notes
5 models
1 view
0 HTTP endpoints
Description
The module is managing price diferences between invoices and receptions. It will create a landed cost with a "Price Difference" product available in the configuration.
It only applies to FIFO products.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_ro_stock_account_reception_in_progress, l10n_ro_stock_account_retail_price_difference
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_price_difference_confirmation_form |
Return lines | l10n_ro.price_difference_confirm_dialog | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (0)
No new fields.
Public methods (2)-
action_post(self) -
l10n_ro_fix_price_difference_value(self, price_diffs=None)
New fields (0)
No new fields.
Public methods (3)-
l10n_ro_get_stock_valuation_difference(self)Se obtine diferenta dintre valoarea stocului si valoarea din factura. Returneaza un dictionar cu cheile: - value_diff: diferenta valorica - qty_diff: diferenta cantitativa - stock_move: ultima miscare de stoc asociata -
l10n_ro_modify_stock_value(self, diff_dict=None) -
l10n_ro_prepare_price_difference_landed_cost(self, value)
New fields (2)
-
invoice_idMany2one → account.movereadonly=True args: 'account.move' -
item_idsOne2many → l10n_ro.price_difference_itemreadonly=True args: 'l10n_ro.price_difference_item', 'confirmation_id'
-
action_confirm(self)
New fields (8)
-
confirmation_idMany2one → l10n_ro.price_difference_confirm_dialogargs: 'l10n_ro.price_difference_confirm_dialog' -
currency_idMany2one → res.currencydefault=<expr> args: 'res.currency' -
invoice_idMany2one → account.moveargs: 'account.move' -
invoice_line_idMany2one → account.move.lineargs: 'account.move.line' -
product_idMany2one → product.productargs: 'product.product' -
qty_diffFloat -
stock_move_idMany2one → stock.moveargs: 'stock.move' -
value_diffMonetary
No public methods.
New fields (1)
-
l10n_ro_cost_typeSelectionondelete={'price_diff': 'set default'}selection_add=[('price_diff', 'Price Difference')]
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…