[7.0] Cannot create a char/text field with 'infinite' size

Bug #1088379 reported by Guewen Baconnier @ Camptocamp
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

Hi,

In the version 7, the 'size' attribute on the char fields are supposed to be used only if the size must be limited, otherwise, their size is unlimited (constrained to postgresql limits).

If I want to create a new char field from the OpenERP web client, the size is mandatory. It should not.

If I want to create a new char field from python, with a 'create' in self.pool.get('ir.model.fields'), and put 'False' in the 'size' attribute, the size_gt_zero constraint will be raised.

A related bug: https://bugs.launchpad.net/openobject-server/+bug/1053511
But I'm not totally sure, sorry if I double-report.

Thanks

Changed in openobject-server:
importance: Undecided → Wishlist
status: New → Confirmed
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.