Skip to content

Commit

Permalink
[16.0][MIG] sale_rental
Browse files Browse the repository at this point in the history
  • Loading branch information
Murtaza-OSI authored and pwitte committed Mar 6, 2024
1 parent 8faaa16 commit a209503
Show file tree
Hide file tree
Showing 81 changed files with 243 additions and 222 deletions.
10 changes: 5 additions & 5 deletions sale_rental/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Sale Rental
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/15.0/sale_rental
:target: https://github.com/OCA/sale-workflow/tree/16.0/sale_rental
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_rental
:target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_rental
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/167/15.0
:target: https://runbot.odoo-community.org/runbot/167/16.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand Down Expand Up @@ -67,7 +67,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_rental%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_rental%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.

Expand Down Expand Up @@ -109,6 +109,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/15.0/sale_rental>`_ project on GitHub.
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/16.0/sale_rental>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion sale_rental/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
"name": "Sale Rental",
"version": "15.0.1.0.1",
"version": "16.0.1.0.0",
"category": "Sales",
"license": "AGPL-3",
"summary": "Manage Rental of Products",
Expand Down
6 changes: 3 additions & 3 deletions sale_rental/data/rental_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
Copyright 2016-2021 Sodexis
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">
<odoo>

<record id="route_warehouse0_rental" model="stock.location.route">
<record id="route_warehouse0_rental" model="stock.route">
<field name="name">Rent</field>
<field name="sequence">100</field>
<field name="warehouse_selectable" eval="True" />
<field name="product_selectable" eval="False" />
</record>

<record id="route_warehouse0_sell_rented_product" model="stock.location.route">
<record id="route_warehouse0_sell_rented_product" model="stock.route">
<field name="name">Sell Rented Product</field>
<field name="sequence">100</field>
</record>
Expand Down
2 changes: 1 addition & 1 deletion sale_rental/demo/rental_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<field name="categ_id" ref="product.product_category_5" />
<field name="sale_ok" eval="True" />
<field name="purchase_ok" eval="False" />
<field name="list_price">6</field>
<field name="list_price">60</field>
<field name="type">service</field>
<field name="uom_id" ref="uom.product_uom_day" />
<field name="uom_po_id" ref="uom.product_uom_day" />
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/am.po
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -503,7 +503,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -503,7 +503,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/bs.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -505,7 +505,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/ca_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -503,7 +503,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -503,7 +503,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -522,7 +522,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/el_GR.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -505,7 +505,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -506,7 +506,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/es_AR.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/es_CL.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/es_CO.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/es_CR.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/es_DO.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions sale_rental/i18n/es_EC.po
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ msgstr ""

#. module: sale_rental
#: code:addons/sale_rental/models/stock.py:43
#: model:stock.location.route,name:sale_rental.route_warehouse0_rental
#: model:stock.route,name:sale_rental.route_warehouse0_rental
#, python-format
msgid "Rent"
msgstr ""
Expand Down Expand Up @@ -504,7 +504,7 @@ msgstr ""
#: code:addons/sale_rental/models/stock.py:52
#: model:ir.model.fields,field_description:sale_rental.field_sale_rental__sell_order_line_ids
#: model_terms:ir.ui.view,arch_db:sale_rental.sale_rental_form
#: model:stock.location.route,name:sale_rental.route_warehouse0_sell_rented_product
#: model:stock.route,name:sale_rental.route_warehouse0_sell_rented_product
#, python-format
msgid "Sell Rented Product"
msgstr ""
Expand Down
Loading

0 comments on commit a209503

Please sign in to comment.