Public bug reported:
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.fiscal.position.rule" with oid:
scenario.fiscalpos_rule_76
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.fiscalpos_76 | #
<----
If scenario.fiscalpos_76 does not exist, the
account.fiscal.position.rule will be created with no fiscal position.
I expect the scenario to fail if the many2one relation is not found.
** Affects: oerpscenario
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OERPScenario.
https://bugs.launchpad.net/bugs/1256946
Title:
many2one in tables (by oid: value...) does not assert existence
Status in OpenERP Scenario : Functional tests by Camptocamp:
New
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.fiscal.position.rule" with oid:
scenario.fiscalpos_rule_76
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.fiscalpos_76 | #
<----
If scenario.fiscalpos_76 does not exist, the
account.fiscal.position.rule will be created with no fiscal position.
I expect the scenario to fail if the many2one relation is not found.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oerpscenario/+bug/1256946/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp