Contributors mailing list archives

contributors@odoo-community.org

Re: Problem with computed default values

by
Salton Massally
- 11/04/2016 14:13:06
Hello Daniel,

That is a strange one; however If UUID is automatically converted to string can you simply do?

token = fields.Char('Token', default=uuid.uuid4)



On 11 Apr 2016, at 15:08, Daniel Reis <dgreis@sapo.pt> wrote:

uuid.uuid4