Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] rental_product_pack #58

Open
wants to merge 75 commits into
base: 17.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
ad31fd3
Port sale_start_end_dates and sale_rental (#353)
Nov 8, 2016
9cdc3d4
sale_start_end_dates and sale_rental
dvdhinesh Nov 15, 2016
dfa6288
Product qty on rental pickings
alexis-via May 11, 2017
95b0765
Auto configure sale_rental module via post_install.py script
alexis-via May 24, 2017
14792b4
sale_rental: fix warning @constrains parameter 'must_have_dates' is n…
alexis-via Apr 4, 2018
70c3183
pylint
rousseldenis Sep 4, 2018
48e6e30
sale_rental: Migration to 11.0
Mar 29, 2019
1fdb437
[MIG] sale_start_end_dates and sale_rental to v12
alexis-via Jul 14, 2019
fc973e8
sale_rental: Improve the code of object sale.rental
alexis-via Jul 16, 2019
bce7f18
[IMP] enhancements suggested in code reviews
gurneyalex Oct 15, 2019
6bc1f0a
[FIX] Archive rental routes rather than delete
sadamo Oct 15, 2019
fecaf3f
[UPD] Update sale_rental.pot
oca-travis Sep 16, 2020
d8a4b81
[UPD] README.rst
OCA-git-bot Sep 16, 2020
380af26
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Oct 1, 2020
968f2cd
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Oct 2, 2020
dd9cb7d
Update translation files
oca-transbot Oct 9, 2020
bbd7ec8
Update translation files
oca-transbot Nov 22, 2020
2393b6c
Translated using Weblate (Portuguese)
pedrocs-exo Feb 8, 2021
408d006
[IMP] sale_rental: extract function _run_rental_procurement
yweng8111 Mar 5, 2021
eff7446
[UPD] Update sale_rental.pot
oca-travis Mar 12, 2021
3548296
sale_rental 12.0.1.1.0
OCA-git-bot Mar 12, 2021
eb5ca0b
Update translation files
oca-transbot Mar 12, 2021
30b389e
[UPD] Update sale_rental.pot
oca-travis Mar 12, 2021
b9d2689
Update translation files
oca-transbot Mar 12, 2021
007e3f5
[MIG] sale_rental from v12 to v14
alexis-via Jul 31, 2021
cf07c6a
sale_rental: black, isort, etc.
alexis-via Jul 31, 2021
4f1486f
[UPD] Update sale_rental.pot
oca-travis Dec 7, 2021
2f76051
[UPD] README.rst
OCA-git-bot Dec 7, 2021
f8f9113
[MIG] sale_rental: Migration to 15.0
kirca Jan 17, 2022
68f7ab1
[IMP] : black, isort, prettier, pylint
kirca Jan 17, 2022
55c4884
[UPD] Update sale_rental.pot
May 17, 2022
3ccdd58
[UPD] README.rst
OCA-git-bot May 17, 2022
2d8d924
sale_rental 15.0.1.0.1
OCA-git-bot May 17, 2022
3daa40a
[UPD] README.rst
OCA-git-bot Jun 2, 2022
933787b
[UPD] README.rst
OCA-git-bot Jun 2, 2022
f1f72a0
Translated using Weblate (French (France))
gregory-moka Jun 3, 2022
95adb0a
Translated using Weblate (French (France))
gregory-moka Jun 3, 2022
46f9cf4
Translated using Weblate (French)
gregory-moka Jul 4, 2022
5d83c16
[16.0][MIG] sale_rental
Murtaza-OSI Jan 3, 2023
db64170
[IMP] sale_rental: black, isort, prettier
Mar 7, 2024
b247abb
[FIX] rework unit test
Mar 14, 2024
0f18339
[IMP] sale_rental: black, isort, prettier
Mar 14, 2024
a947ac5
[IMP] sale_rental: pre-commit auto fixes
edescalona Nov 27, 2024
6768771
[IMP] sale_rental: pre-commit auto fixes
edescalona Nov 27, 2024
0494a67
[MIG] sale_rental: Migration to 17.0
edescalona Nov 27, 2024
550716d
[REM] Remove sale_rental module from branch 17.0
edescalona Nov 27, 2024
ed7bfc0
initial add of several rental modules
Oct 26, 2021
cd05c7e
[ADD] icon.png
OCA-git-bot Oct 26, 2021
d347520
[UPD] Update rental_product_pack.pot
oca-travis Nov 1, 2021
095f4d2
Update translation files
oca-transbot Nov 1, 2021
da917ec
[IMP] rental_product_pack: black, isort, prettier
chandni300 Jan 17, 2022
f4a5d2a
[MIG] rental_product_pack: Migration to 14.0
chandni300 Jan 17, 2022
d15e8a0
[UPD] Update rental_product_pack.pot
oca-travis Apr 19, 2022
2a052bb
rental_product_pack 14.0.1.0.1
OCA-git-bot Apr 19, 2022
1e9924d
[14.0][IMP] rental_product_pack: documentation improvement
chandni299 Oct 10, 2022
1d69c30
[IMP] rental_base, rental_offday, rental_pricelist, rental_pricelist_…
chandni299 Oct 10, 2022
c9cdc27
[IMP] change icon to rental modules
chandni299 Jan 3, 2023
1075c7b
[IMP] correct icon to rental modules
chandni299 Jan 17, 2023
0a6cf5e
Update translation files
weblate Oct 9, 2023
6e793c5
[IMP] remove data tags and string attribute from tree tag
chandni299 Feb 1, 2024
c324681
[IMP] rental_product_pack: black, isort, prettier
Feb 20, 2024
d3c1a97
[MIG] rental_product_pack: Migration to 15.0
Feb 20, 2024
95d39f5
[IMP] rental_product_pack: pre-commit auto fixes
edescalona Nov 28, 2024
5345985
[MIG] rental_product_pack: Migration to 17.0
edescalona Nov 28, 2024
e283e8f
[DON'T MERGE] test-requirements.txt
edescalona Nov 28, 2024
a3fbb3c
[FIX][DON'T MERGE] test-requirements.txt
edescalona Nov 28, 2024
b37fb73
[FIX][DON'T MERGE] test-requirements.txt
edescalona Nov 28, 2024
c2b12fc
[FIX][DON'T MERGE] test-requirements.txt
edescalona Nov 28, 2024
4034792
[FIX][DON'T MERGE] test-requirements.txt
edescalona Nov 28, 2024
35261a0
[DON'T MERGE] test-requirements.txt
edescalona Nov 28, 2024
14da817
[DON'T MERGE] test-requirements.txt
edescalona Nov 29, 2024
d67f14b
[DON'T MERGE] test-requirements.txt
edescalona Nov 29, 2024
f942961
[DON'T MERGE] test-requirements.txt
edescalona Nov 29, 2024
f93d3ba
[17.0][FIX] correcting test
edescalona Nov 29, 2024
2048fb7
[17.0][FIX] correcting test
edescalona Nov 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[IMP] sale_rental: black, isort, prettier
  • Loading branch information
pwitte authored and edescalona committed Nov 27, 2024
commit 0f183393d38816c16721d6811fbd290620464756
4 changes: 2 additions & 2 deletions sale_rental/tests/test_sale_rental.py
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
from odoo.tests import Form
from odoo.tests.common import TransactionCase


class TestSaleRental(TransactionCase):
@classmethod
def setUpClass(cls):
@@ -23,15 +24,14 @@ def test_main(self):
"rental": True,
"rental_type": "new_rental",
"product_uom_qty": 10,
"number_of_days": 10
"number_of_days": 10,
}
so = so_form.save()
so.write({"order_line": [(0, 0, line_vals)]})
sol = so.order_line[0]
self.assertEqual(sol.price_subtotal, 600)
so.action_confirm()


self.assertEqual(len(so.picking_ids), 2)
rental_out_pick = so.picking_ids.filtered(
lambda p: p.location_id == self.rental_in_loc