Community mailing list archives

community@mail.odoo.com

Re: Bug in sale order line create

by
Martin Trigaux (mat)
- 09/07/2015 05:40:03
On 07/09/15 08:38, OpenERP Master wrote:
> It will call the onchange if regular fields are not preset, however it
> also requires field 'type' which is not a field in v8 stock. This means
> unless you pass an invalid field you will never be able to avoid calling
> onchange. Perhaps some module adds this field.

You are right, the type field no longer exists in version 8 but did at 
the time of the commit.
I have removed it from the condition at
https://github.com/odoo/odoo/commit/a3a2f374

Thanks for the analysis.

Martin

PS: on the report place, indeed reporting an issue on github would 
probably be ignored. In such case you may open a pull request that has 
more chances to be reviewed or open a support ticket indicating the 
issue if you have a contract.

-- 
Martin Trigaux
Odoo (Formerly OpenERP)
https://odoo.com
https://github.com/mart-e