Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: unit test of onchange in v10 - full new api
by
Akretion France., David BEAL
found myself
trivial, in fact :-(
Bonne journée
David BEAL - Akretion
Odoo Development / Integration
2017-08-22 18:57 GMT+02:00 David Beal <david.beal@akretion.com>:
For sure expert really could help me here.In OCA test, i haven't found any example where i could understand explicitlyThen i can't understand how can i specify a particular product for my own test.In old api we had `def my_onchange (self, cr, ..., product, pricelist, ...)`Compared to old api there is a behavior I can't reproduceHi guys,I need your advice about unit test and onchange in v10,For test unit, it's easy just call method by replacing product by the product you want test.example hereBut in new api, there is no more argument in onchange method.
where I put my product value.Thanks a lot
Bonne journée
David BEAL - Akretion
Odoo Development / Integration
Reference
-
unit test of onchange in v10 - full new api
byAkretion France., David BEAL-
Re: unit test of onchange in v10 - full new api
byTecnativa. S. L., Pedro M. Baeza -
Re: unit test of onchange in v10 - full new api
byAkretion France., David BEAL