Hello

could someone tell me how to create locations with proteus please.

I've already tried this:

#!/usr/bin/python
# -*- coding: utf8 -*-

from proteus import config, Model, Wizard

Location = Model.get('stock.location')
location = Location()
location.name = 'Hansa'
location.type = 'storage'
location.save


Bot only got this output after location.save*:*

<bound method stock.location.save of 
proteus.Model.get('stock.location')(-6)>



-- 
[email protected] mailing list

Reply via email to