Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend 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
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.06 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

Description

Romania - Retail Price Difference (Marfa in Magazin)

A vendor bill that comes in above the reception price raises the cost of goods that may already be on a shelf. In this localization such a price difference is a landed cost, so l10n_ro_stock_account_retail_landed_cost already keeps 371 at the shelf price and moves the difference out of the markup.

What this module adds is the answer before the fact. The confirmation dialog that lists the price differences now also shows, per line, the markup the goods carry today, what the difference leaves of it, and whether the shelf price still covers the cost - so the decision to post the bill is taken knowing whether a Proces Verbal de Schimbare Pret is needed first, instead of finding out when the posting is refused.

Installs itself as soon as both retail landed cost and price difference are present.

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_retail l10n_ro.price_difference_confirm_dialog.form.retail l10n_ro.price_difference_confirm_dialog form Inherits l10n_ro_stock_price_difference.view_price_difference_confirmation_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (4)
  • l10n_ro_retail_covered Selection
    compute='_compute_l10n_ro_retail' help="Whether the shelf price still covers the cost after the difference. 'Below cost' means a price change is due first." string='Shelf Price' args: [('na', 'Not in a shop'), ('ok', 'Covered'), ('short', 'Below cost')]
  • l10n_ro_retail_markup Monetary
    compute='_compute_l10n_ro_retail' currency_field='currency_id' help='Markup the goods in the shop carry on 378 today.' string='Markup Now'
  • l10n_ro_retail_markup_after Monetary
    compute='_compute_l10n_ro_retail' currency_field='currency_id' help='What the markup becomes once this price difference is absorbed. The shelf price does not move, so the difference comes out of here.' string='Markup After'
  • l10n_ro_retail_warehouse_id Many2one → stock.warehouse
    compute='_compute_l10n_ro_retail' help='The retail warehouse holding these goods, if any.' string='Shop' args: 'stock.warehouse'
Public methods (0)

No public methods.

Loading…