odoo/odoo#190217
Created by fw-bot
Merged
at 8bcdb537b57a64c3ed8d6dd427a8a3892e092d1d
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-17.2-16.0-opw-4260006-credit_limit_no_demo_test-sile-4jUF-fw
- head
- fa2576f3d8e135ff4aa51574729f72c6ab4e17a2
- 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 |
[FW][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
Forward-Port-Of: #190031