many2one in tables (by oid: value...) does not assert existence
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OERPScenario |
New
|
Undecided
|
Unassigned |
Bug Description
Example:
@rule @vat @ch
Scenario: Create the fiscal position rule for 8.0% â 7.6%
Given I am configuring the company with ref "scenario.comp_ch"
Given I need a "account.
And having:
| key | value |
| name | TVA 7.6% avant 2011 |
| description | Changement de TVA en suisse au 01.01.2011 |
| company_id | by oid: scenario.comp_ch |
| date_end | 2010-12-31 |
| use_sale | True |
| fiscal_position_id | by oid: scenario.
If scenario.
I expect the scenario to fail if the many2one relation is not found.
Related branches
- Nicolas Bessi - Camptocamp (community): Approve (no test, code review)
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
-
Diff: 16 lines (+4/-2)1 file modifiedfeatures/steps/dsl.py (+4/-2)
description: | updated |