Metadata-Version: 2.1
Name: odoo-addon-l10n_es_genci_stock_picking_report_valued
Version: 16.0.1.0.0.1
Summary: Show GENCI amount in valued stock pickings
Home-page: https://github.com/sygel-technology/sy-l10n-spain
Author: Sygel
License: AGPL-3
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 16.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.10
Requires-Dist: odoo-addon-l10n-es-genci-sale<16.1dev,>=16.0dev
Requires-Dist: odoo-addon-stock-picking-report-valued<16.1dev,>=16.0dev
Requires-Dist: odoo<16.1dev,>=16.0a

===========================
GENCI Report Picking Valued
===========================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-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-sygel--technology%2Fsy--l10n--spain-lightgray.png?logo=github
    :target: https://github.com/sygel-technology/sy-l10n-spain/tree/16.0/l10n_es_genci_stock_picking_report_valued
    :alt: sygel-technology/sy-l10n-spain

|badge1| |badge2| |badge3|

Display the GENCI contribution on valued delivery slips generated from
sales orders. Calculations are performed based on the **done quantity**
when it is different from 0. Otherwise, calculations are based on the
**reserved quantity**.

This module extends the functionality of valued delivery slips to
include the total GENCI contribution based on delivered or reserved
quantities.

**Main features:**

- Automatic calculation of GENCI amounts on delivery slip lines
- GENCI summary table showing subtotal, tax, and total contribution
- Display of GENCI contribution per product
- Delivery slip total including GENCI contributions

**Table of contents**

.. contents::
   :local:

Installation
============

To install this module, you need to:

- Only install

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

Prerequisites
-------------

Before using this module, make sure that the base module
*l10n_es_genci_account* is correctly configured:

1. Company enabled for GENCI
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Go to *Settings → Companies → Select your company*
- In the *GENCI* tab, enable *"Company subject to GENCI"*

2. GENCI rules configured
^^^^^^^^^^^^^^^^^^^^^^^^^

- Go to *Invoicing → Configuration → GENCI → GENCI Rules*
- Create the required rules with their corresponding rates
- Configure validity dates if needed

3. Products configured
^^^^^^^^^^^^^^^^^^^^^^

- On each product form, *Invoicing* tab:
- Enable *"Subject to GENCI"*
- Select the applicable *GENCI rule*

4. Contacts configured
^^^^^^^^^^^^^^^^^^^^^^

- By default, all contacts are *subject to GENCI*
- If a contact should NOT apply GENCI, disable "Subject to GENCI" on the
  contact form

Valued delivery slip configuration
----------------------------------

For the GENCI contribution to appear on the valued delivery slip, the
delivery slip contact must have the **"Valued Delivery Slip"** option
enabled in the "Sales & Purchases" tab of the contact form.

Steps
^^^^^

1. Go to *Contacts* and open the customer form
2. Open the *"Sales & Purchases"* tab
3. Enable the *"Valued Delivery Slip"* checkbox

Usage
=====

Workflow
--------

Create sales order
^^^^^^^^^^^^^^^^^^

- Create a sales order with products subject to GENCI
- Enable *"Apply GENCI"* on the order
- GENCI lines are created automatically

Validate delivery slip
^^^^^^^^^^^^^^^^^^^^^^

- When validating the outgoing delivery slip, GENCI amounts are
  calculated automatically
- Calculations are based on the delivered or reserved quantities

View valued delivery slip
^^^^^^^^^^^^^^^^^^^^^^^^^

- Print the valued delivery slip using the *"Print"* button
- The report displays:

  - Standard delivery slip totals
  - A GENCI summary table with subtotal, tax, and total contribution
  - Delivery slip total including GENCI
  - GENCI contribution per product line (small print)

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

Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-l10n-spain/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/sygel-technology/sy-l10n-spain/issues/new?body=module:%20l10n_es_genci_stock_picking_report_valued%0Aversion:%2016.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
-------

* Sygel

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

- `Sygel <https://www.sygel.es>`__:

  - Ángel Rivas
  - Valentín Vinagre

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

This module is part of the `sygel-technology/sy-l10n-spain <https://github.com/sygel-technology/sy-l10n-spain/tree/16.0/l10n_es_genci_stock_picking_report_valued>`_ project on GitHub.

You are welcome to contribute.
