Repository
OCA/l10n-romania · module folder · Try on Runboat
Module version
1.0.0
Category
Localization
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/l10n-romania
Last tracking update
2026-09-18 17:32:19
Authors
Odoo Community Association (OCA), NextERP Romania, Dakai Soft SRL
Maintainers
Odoo Community Association (OCA), NextERP Romania, Dakai Soft SRL
Committers
Mihai Fekete, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

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.