Hi all,

I'm migrating asterisk_clic2dial module from OpenERP to Tryton, and I'm 
trying to set default values in a different Propertie fields. If the 
default value is a string, I make this, this way:

        <record model="ir.property" 
id="asterisk_server_international_prefix">
            <field name="field"
                search="[('model.model', '=', 'asterisk.server'), ('name', 
'=', 'international_prefix')]"/>
            <field name="value">,00</field>
        </record>

But when the value is a boolean or an integer, I get this message in the 
log:

> 
/home/jmartin/workspace/TrytonZZ/Trytond/trytond/trytond/ir/property.py(74)get()
-> raise Exception('Not implemented')
(Pdb) 

Is it possible to set a default value in a Propertie field different than 
char field?

-- 
-- 
[email protected] mailing list

--- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to