odoo/odoo#190031
Created by Bugfix, Levi Siuzdak
Merged
at 086da10e946d02091242fa8cc11b836e84ae5212
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:16.0-opw-4260006-credit_limit_no_demo_test-sile
- head
- 1bdb7d16609f6a42eed2df8170c492f20a95f733
- merged
- 6 months ago by Sales, Victor Feyens (vfe)
odoo/odoo | |
---|---|
16.0 | #190031 |
17.0 | #190199 |
saas-17.2 | #190217 |
saas-17.4 | #190237 |
18.0 | #190250 |
saas-18.1 | |
saas-18.2 | |
saas-18.3 | |
master | #190264 |
[FIX] sale_management: test reload template translations w/out demo data
Versions
- 16.0+
Steps
- Run
test_reload_template_translations
without demo data.
Issue
> AssertionError: sale_order_template_id was not found in the view
Cause
The sale_order_template_id
field requires the user to have the sale_management.group_sale_order_template
group, which they don't have by default without demo data.
Solution
Add the group to the current user before running the test.
Runbot: https://runbot.odoo.com/web#id=109475&view_type=form&model=runbot.build.error&menu_id=405&cids=1