odoo/odoo#199990
Created by Bugfix, Levi Siuzdak
Merged
at 858494ca6e165ebdd9d83af8b65d3894314aa28e
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-18.2-runbot-111883-website_sequence_sale_timesheet_test-sile
- head
- 486b798a7d7cd121f2bcea310ad5703e000abb78
- merged
- 5 months ago by Bugfix, Levi Siuzdak
odoo/odoo | |
---|---|
saas-18.2 | #199990 |
saas-18.3 | |
saas-18.4 | |
master | #200172 |
[FIX] website_sale: decouple `sale_timesheet` dependency from test
Versions
- saas-18.2+
Steps
- Have a database without
sale_timesheet
installed; - run
TestWebsiteSequence
test suite.
Issue
ValueError: No record found...
Cause
Commit 32ad7ab3faf52 updated the test to account for a sale_timesheet
product that cannot be deleted or archived, but didn't check whether the module was actually installed.
Solution
Revert changes to the test that were added in the commit, and instead archive the product via cr.execute
to bypass the write
method where the restriction exists.
runbot-111883