Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 51 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 7.0

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

Security findings
Grave / minor (static analysis)
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.04 MB
Module directory on disk
Code analysis 10 migration notes 6 models 3 views 0 HTTP endpoints

Description

Stock valuation (standard or average price, ...) based on lots. This module extends standard stock valuation (based on products). Valuing lots allows to have different costs for different lots of the same product.

Usage

Set the 'Lot valuation' flag on product form (used for real time valuation). As for products, lots have 'cost' and 'costing method' fields. Also, a 'Change Standard Price' wizard is available.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
product_normal_form_view product_normal_form_view product.product form Inherits stock.view_normal_property_acc_form
view_change_standard_price Change Standard Price lot.change.standard.price form New
view_production_lot_form view_production_lot_form stock.production.lot form Inherits stock.view_production_lot_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (0)

No new fields.

Public methods (2)
  • change_price(self, cr, uid, ids, context=None)
    Changes the Standard Price of Product. And creates an account move accordingly. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: List of IDs selected @param context: A standard dictionary @return:
  • default_get(self, cr, uid, fields, context=None)
    To get default values for the object. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param fields: List of fields for which we want default values @param context: A standard dictionary @return: A dictionary which of fields with values.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • compute_price(self, cr, uid, partial_datas, move, context=None)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)
  • write_lot(self, cr, uid, move, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (2)
  • do_change_standard_price(self, cr, uid, ids, datas, context=None)
    Changes the Standard Price of Lot and creates an account move accordingly. @param datas : dict. contain default datas like new_price, stock_output_account, stock_input_account, stock_journal @param context: A standard dictionary
  • price_get(self, cr, uid, ids, context=None)

Loading…

Loading…

Loading…