Metadata-Version: 2.1
Name: odoo-addon-l10n_ro_pos_refund
Version: 19.0.1.4.0
Requires-Dist: odoo-addon-l10n_ro_payment_receipt_report==19.0.*
Requires-Dist: odoo-addon-l10n_ro_pos==19.0.*
Requires-Dist: odoo==19.0.*
Summary: Credit note and payment disposal for Point of Sale refunds
Home-page: https://github.com/OCA/l10n-romania
License: AGPL-3
Author: NextERP Romania,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 19.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 3 - Alpha
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

===============================
Romania - Point of Sale Refunds
===============================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:d7cc3fb3a70885d1d780b68b4ec9b5f8d40681c8dd90db4729e727b879b6c28e
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
    :target: https://odoo-community.org/page/development-status
    :alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--romania-lightgray.png?logo=github
    :target: https://github.com/OCA/l10n-romania/tree/19.0/l10n_ro_pos_refund
    :alt: OCA/l10n-romania
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/l10n-romania-19-0/l10n-romania-19-0-l10n_ro_pos_refund
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-romania&target_branch=19.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

In Romania a fiscal receipt cannot be reversed by printing a negative
one: the refund has to go out as a credit note ("factura storno"), and
the cash given back over the counter has to be covered by a payment
disposal ("dispozitie de plata") the customer signs for.

This module makes both of them happen on their own. Refunding a receipt
in the Point of Sale creates a regular refund order, and as soon as it
is paid:

- the credit note is issued on the invoice journal of the Point of Sale
  -- invoicing a refund is not optional any more. The cashier is asked
  for the customer as soon as the refund is created, and the payment
  screen says why it cannot be validated without one;
- the cash returned is registered as its own cash statement line, linked
  to the session and settling the credit note directly. That line is the
  payment disposal, and it comes out of the printer at the till right
  behind the credit note, for the customer to sign.

A refund either produces a real credit note or does not happen at all.
Where core would attach a proforma and carry on -- an e-Factura that
will not build over a partner missing its county, say -- the refund is
refused instead, with the reason, because a proforma reverses nothing.
An e-Factura that builds but cannot reach the SPV is a different matter:
the credit note is real, the refund goes through, and the upload is
retried from the back office.

The cash leaves the till once: the POS payment behind a payment disposal
is kept out of the session's cash flow and out of its closing entry,
because the statement line already carries it.

.. IMPORTANT::
   This is an alpha version, the data model and design can change at any time without warning.
   Only for development or testing purpose, do not use in production.
   `More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
   :local:

Configuration
=============

Nothing to configure. The credit note is issued on the invoice journal
set on the Point of Sale (*Point of Sale > Configuration > Point of Sale
> Invoicing*), and the payment disposal is registered on the journal of
the cash payment method used for the refund.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-romania/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_pos_refund%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* NextERP Romania

Contributors
------------

- `NextERP Romania <https://www.nexterp.ro>`__:

  - Fekete Mihai <feketemihai@nexterp.ro>

Do not contact contributors directly about support or help with
technical issues.

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-feketemihai| image:: https://github.com/feketemihai.png?size=40px
    :target: https://github.com/feketemihai
    :alt: feketemihai

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-feketemihai| 

This module is part of the `OCA/l10n-romania <https://github.com/OCA/l10n-romania/tree/19.0/l10n_ro_pos_refund>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
