Commit Graph
9 Commits
Author SHA1 Message Date
Cédric Krier 520cb25a64 Add default account on scenario as confirm purchase also process it
issue7463
2018-07-29 02:29:13 +02:00
Cédric Krier d20df12ce2 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:52 +02:00
Cédric Krier 74f0c9bb32 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:50 +02:00
Cédric Krier 8816d84fb8 Re-use employee instance instead of reading from user
Get the employee from the user after having set it as current user return None
because the context of the instance still has the context of the admin user
(with employee=None) but applies to the user.
This is because set_user change globally the user and context of the config.

issue7144
review44831002
2018-03-30 18:12:02 +02:00
Cédric Krier c957ce16b4 Do not crash when calling store_cache and correctly call it
The store_cache method must be called on transition for which the states
should be cached.

issue6981
review36871002
2017-12-06 01:14:07 +01:00
Cédric Krier 6a89791ef9 Add set_user tools for test scenario
When changing the user of proteus, the context should be reloaded.

issue6652
review42551002
2017-08-02 19:38:21 +02:00
Cédric Krier 647d3beacb Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:48 +02:00
Cédric Krier f10dff8ac1 Update purchase request type in scenario
issue6153
review29881002
2017-01-10 11:48:02 +01:00
Maxime Richez 0c72e19228 Initial commit
issue5657
review23231002
2016-10-31 15:30:26 +01:00