- pytest-odoo 2.x provides no 'env' pytest fixture; env only exists as self.env in TransactionCase subclasses. Build the env from odoo.registry() directly in the odoo_env fixture and rollback after each BDD scenario. - _generate_template() takes positional args (res_ids, render_fields), not keyword args; remove 'fields=' keyword from all call sites. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| features | ||
| models | ||
| security | ||
| services | ||
| static/src/css | ||
| tests | ||
| views | ||
| wizards | ||
| __init__.py | ||
| __manifest__.py | ||