Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 19.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.07 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

Romania - Retail Landed Cost (Marfa in Magazin)

Keeps account 371 at the shelf price when a landed cost raises the cost of goods that are sitting in a retail warehouse.

Goods in a shop are carried at the price on the shelf label. A landed cost - transport, customs, a purchase price difference - debits 371 with the extra cost, which for a shop is wrong: the shelf price has not moved, so the value on 371 must not move either. What changes is how that value splits: the cost goes up and the markup goes down by the same amount.

This module posts the compensating entry, Dr 378 / Cr 371, and records it in the markup ledger, so the next sale releases the markup that is really left rather than the one loaded at reception.

Price differences from vendor bills are handled by the same mechanism: in this localization a price difference is a landed cost, of type price_diff.

If the extra cost would push the markup below zero - the goods now cost more than they are priced at - the landed cost is refused, naming the product and the shelf price that would make it work. A shop that genuinely sells below cost ticks Allow Selling Below Cost on the warehouse, the same flag the reception path honours.

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_stock_landed_cost_retail_form stock.landed.cost.form.l10n.ro.retail stock.landed.cost form Inherits l10n_ro_stock_account_landed_cost.view_stock_landed_cost_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (1)
  • landed_cost_id Many2one → stock.landed.cost
    index='btree_not_null' ondelete='set null' args: 'stock.landed.cost'
Public methods (0)

No public methods.

New fields (1)
  • l10n_ro_retail_markup_line_ids One2many → l10n.ro.retail.markup.line
    readonly=True string='Retail Markup Ledger' args: 'l10n.ro.retail.markup.line', 'landed_cost_id'
Public methods (1)
  • button_validate(self)

Loading…