From d559c076c51d56da730e951daaf04a84e0fac10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 18 May 2012 16:43:52 +0200 Subject: [PATCH] Fix doctest to follow new names in install module process (transplanted from 04dbba05d439350eb7c3d97ecd451fd1cdab9123) --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 7e0a9576d7..390ee65d84 100644 --- a/README +++ b/README @@ -31,8 +31,8 @@ Find the module, call the install button and run the install wizard. >>> Module = Model.get('ir.module.module') >>> (party,) = Module.find([('name', '=', 'party')]) - >>> Module.button_install([party.id], config.context) - >>> Wizard('ir.module.module.install_upgrade').execute('start') + >>> Module.install([party.id], config.context) + >>> Wizard('ir.module.module.install_upgrade').execute('upgrade') Creating a party ~~~~~~~~~~~~~~~~