oca-mrp/odoo-bringout-oca-manufacture-mrp_sale_info/mrp_sale_info
Ernad Husremovic 49081670b3 Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard
- Fix AttributeError: hr.payslip.run has no company_id field
- Change batch name format from MM/YYYY to YYYY-MM (remove 'Payslips' prefix)
- Add journal_id field and copy from previous batch
- Add work_type_id support (Redovni rad/Regular work) in timesheet generation
- Add duplicate check for existing timesheets to prevent duplication
- Use standard Odoo hr.payslip.employees wizard for payslip generation
- Update version to 16.0.1.1.0

🤖 assisted by claude

🤖 assisted by claude
2025-11-04 22:43:25 +01:00
..
i18n Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard 2025-11-04 22:43:25 +01:00
models Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00
readme Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00
static Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00
tests Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00
views Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00
__init__.py Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00
__manifest__.py Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00
README.rst Initial commit: OCA Mrp packages (117 packages) 2025-08-29 15:43:05 +02:00

=============
MRP Sale Info
=============

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

.. |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-OCA%2Fmanufacture-lightgray.png?logo=github
    :target: https://github.com/OCA/manufacture/tree/16.0/mrp_sale_info
    :alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_sale_info
    :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/manufacture&target_branch=16.0
    :alt: Try me on Runboat

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

When a product is set with right Routes (Replenish on Order (MTO) and Manufacture), a Sale
of this Product can trigger a Manufacturing Order if there is not enough product on stock.

This module extends the functionality of Odoo for adding related fields to
Manufacturing Orders and Work Orders:

  * Sale order
  * Customer
  * Commitment Date
  * Customer Reference


**Table of contents**

.. contents::
   :local:

Usage
=====

To see this module effect :
- Unarchive `Replenish on Order (MTO)` in Inventory > Configuration > Routes
- Create a new Product with no stock
- Set Routes for this new Product : go to `Inventory` notebook and tick `Replenish on Order (MTO)` and `Manufacture`
- Create a Sale with this product
- It will trigger a new Manufacturing Order

.. figure:: https://raw.githubusercontent.com/OCA/manufacture/16.0/mrp_sale_info/static/description/bom_purchase_printing_wizard.png

.. figure:: https://raw.githubusercontent.com/OCA/manufacture/16.0/mrp_sale_info/static/description/sale_order_production_order_link.jpeg

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/manufacture/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/manufacture/issues/new?body=module:%20mrp_sale_info%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
~~~~~~~

* AvanzOSC
* Tecnativa

Contributors
~~~~~~~~~~~~

* `AvanzOsc <http://www.avanzosc.es>`_:

  * Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
  * Ana Juaristi <anajuaristi@avanzosc.es>
* `Tecnativa <https://www.tecnativa.com>`_:

  * Antonio Espinosa
  * Rafael Blasco
  * Pedro M. Baeza
* Rubén Bravo <rubenred18@gmail.com>
* Kevin Khao <kevin.khao@akretion.com>
* Alex Comba <alex.comba@agilebg.com>
* Mantas Šniukas <mantas@vialaurea.lt>

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.

This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/16.0/mrp_sale_info>`_ project on GitHub.

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