** Branch linked: lp:~camptocamp/oerpscenario/trunk-python-active_test
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OERPScenario.
https://bugs.launchpad.net/bugs/1250845
Title:
"I find a" or "I need a" ignore active records
Status in OpenERP Scenario : Functional tests by Camptocamp:
New
Bug description:
Concerns the phrases:
* I find a "{model_name}" with {domain}
* I need a "{model_name}" with {domain}
* "by " in tables
Current behavior:
The searches ignore all the records whose field 'active' is False.
Expected:
When I search by xmlid / id, I expect it to find the record even if it
deactivated.
When I search by another field, I'm not sure what should be the behavior.
Example of consequences:
I have a scenario which create a payment method:
I need a "payment.method" with oid: scenario.method_x
And having:
| key | value |
| name | x |
| active | 0 |
When I run the scenario the first time, it creates the record.
When I run the scenario the second time, it tries to create it again,
resulting in:
except_osv: ('Constraint Error', 'You cannot have multiple records
with the same external ID in the same module!')
To manage notifications about this bug go to:
https://bugs.launchpad.net/oerpscenario/+bug/1250845/+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