Contributors mailing list archives
Re: Enable Price List using codeby
NUMIGI Solutions Inc., Jordi Riera
Thank you Maxime,
I gave a try to your approach and while it works for some others config parameters, this one stays in the dark and its value doesn't change.
Something odd actually is I can access the price lists even if the boolean is not set. Seems to drive only views. It is good enough for my use case.
Thank you again Max,
Le mar. 28 janv. 2020 à 16:37, Maxime Chambreuil <firstname.lastname@example.org> a écrit :
You can do something like this:On Tue, Jan 28, 2020 at 3:26 PM Jordi Riera <email@example.com> wrote:Hello List,I struggle with a simple task. Well something that I thought would be simple.I would like to enable the Price Lists using xml or python. So I can test my data that rely on.I tried using get_values() in res.config.parameter, an XML record. Nothing stick.Would you have advice on how to achieve my quest?Thank you all,Jordi