Commit Graph
19 Commits
Author SHA1 Message Date
Cédric Krier 960142dcfa Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:20 +02:00
Cédric Krier b770d45eed Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:18 +02:00
Cédric Krier c41475b7b2 Follow isort formatting
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier 5d90eae76e Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:24 +02:00
Sergi Almacellas Abellana 5f08b639e0 Use requisition unit price for puchase line
issue10127
review337651002
2021-03-27 21:16:08 +01:00
Cédric Krier 8ee39eb585 Remove tree structure from company
issue10163
review332181002
2021-03-18 23:04:17 +01:00
Cédric Krier 5922a39b7d Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
David Harper 60bc37498e Rename purchase state from cancel to cancelled
issue8927
review305681002
2020-06-06 10:14:13 +01:00
David Harper 8a5192ce41 Rename purchase requisition state from cancel to cancelled
issue8927
review325441002
2020-06-04 11:07:28 +01:00
Cédric Krier 48cc341592 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
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