[6.1] quick_create on m2o does'nt work

Bug #1013079 reported by Pollet Alexandre
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Hello,

I think options='{"quick_create": false}' on xml field does'nt work.

I have put a console.log on view_form.js:

// quick create
console.log(self.get_definition_options())

and the result is:
Object
quick_create: true
__proto__: Object

Other informations:
My m2o field is on a osv.memory form view and under a group.

Is quick_create work fine for you ?

Thank you

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Pollet Alexandre ,

I have checked this issue with stable as well as trunk.
Its working fine. As per your code when you give
options='{"quick_create": false}' then it's call popup window for
filling information.

if options='{"quick_create": true}' (Default) then its doesn't call
popup, if reference field is only required field.

Example :

Crm:
        In lead customer field is many2one and name is only required
So at that time its doesn't call popup and create a customer directly.

its working fine, So I am closing this issue.

You can reopen this issue with more clarification.

Thank you!

Changed in openerp-web:
status: New → Invalid
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.