Romania - Retail Landed Cost (Marfa in Magazin)
l10n_ro_stock_account_retail_landed_cost · OCA/l10n-romania
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
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
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- 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_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
-
landed_cost_idMany2one → stock.landed.costindex='btree_not_null'ondelete='set null' args: 'stock.landed.cost'
No public methods.
-
l10n_ro_retail_markup_line_idsOne2many → l10n.ro.retail.markup.linereadonly=Truestring='Retail Markup Ledger' args: 'l10n.ro.retail.markup.line', 'landed_cost_id'
-
button_validate(self)
Loading…