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

[16.0][ADD] sale_rental #46

Open
wants to merge 42 commits into
base: 16.0
Choose a base branch
from

Conversation

coffeinisfun
Copy link

Add the module sale_rental to vertical-rental. This module was in sale-workflow in previous versions, but it was suggested that it is moved to vertical-rental starting with version 16.0
see this PR: OCA/sale-workflow#2325
the actual migration work was done by @Murtaza-OSI

Cherrry-picked the relevant commits from the original mig-branch to preserve history

Alexis de Lattre and others added 30 commits March 6, 2024 10:34
Replace openerp by odoo in import declarations
Convert readme to new subdir format
the creation of the stock location for rental respects the translations
Currently translated at 85.4% (88 of 103 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_rental/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_rental/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_rental/
Currently translated at 9.7% (10 of 103 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_rental/pt/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_rental/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_rental/
No more need to add users to the packaging group
View of rental group is now possible on product.template form view
Standard migration + add some tests
oca-ci and others added 9 commits March 6, 2024 10:54
Currently translated at 40.7% (42 of 103 strings)

Translation: sale-workflow-15.0/sale-workflow-15.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_rental/fr_FR/
Currently translated at 63.1% (65 of 103 strings)

Translation: sale-workflow-15.0/sale-workflow-15.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_rental/fr_FR/
Currently translated at 49.5% (51 of 103 strings)

Translation: sale-workflow-15.0/sale-workflow-15.0-sale_rental
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_rental/fr/
@yelizariev
Copy link
Member

Hello!

Please check test errors

2024-03-07 12:20:38,782 242 INFO odoo odoo.addons.sale_rental.tests.test_sale_rental: ====================================================================== 
2024-03-07 12:20:38,782 242 ERROR odoo odoo.addons.sale_rental.tests.test_sale_rental: FAIL: TestSaleRental.test_main
Traceback (most recent call last):
  File "/__w/vertical-rental/vertical-rental/sale_rental/tests/test_sale_rental.py", line 36, in test_main
    self.assertEqual(len(so.picking_ids), 2)
AssertionError: 0 != 2

@coffeinisfun
Copy link
Author

Hello!

Please check test errors

2024-03-07 12:20:38,782 242 INFO odoo odoo.addons.sale_rental.tests.test_sale_rental: ====================================================================== 
2024-03-07 12:20:38,782 242 ERROR odoo odoo.addons.sale_rental.tests.test_sale_rental: FAIL: TestSaleRental.test_main
Traceback (most recent call last):
  File "/__w/vertical-rental/vertical-rental/sale_rental/tests/test_sale_rental.py", line 36, in test_main
    self.assertEqual(len(so.picking_ids), 2)
AssertionError: 0 != 2

Yes, I'm aware. I try to fix it, though I did not write these tests myself, so it might take a while

@marylla
Copy link

marylla commented Sep 17, 2024

@alexis-via Do you mind review this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.