Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 7 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
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_id Many2one → account.move
    readonly=True args: 'account.move'
  • item_ids One2many → l10n_ro.price_difference_item
    readonly=True args: 'l10n_ro.price_difference_item', 'confirmation_id'
Public methods (1)
  • action_confirm(self)

New fields (8)
  • confirmation_id Many2one → l10n_ro.price_difference_confirm_dialog
    args: 'l10n_ro.price_difference_confirm_dialog'
  • currency_id Many2one → res.currency
    default=<expr> args: 'res.currency'
  • invoice_id Many2one → account.move
    args: 'account.move'
  • invoice_line_id Many2one → account.move.line
    args: 'account.move.line'
  • product_id Many2one → product.product
    args: 'product.product'
  • qty_diff Float
  • stock_move_id Many2one → stock.move
    args: 'stock.move'
  • value_diff Monetary
Public methods (0)

No public methods.

New fields (1)
  • l10n_ro_cost_type Selection
    ondelete={'price_diff': 'set default'} selection_add=[('price_diff', 'Price Difference')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…