You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thorough specification of the task is the following:
We should have a tour named 'product_add_url_image' - see the examples of how to make tours in the addons/website_sale/static/src/js/website_sale_tour_buy.js of odoo comunity 11.0.
The steps should correspond usage documentation of the ir_attachment_url. I.e.:
Go to Settings >> Users >> Users menu
Open the Administrator user's view form
Click [Edit] button
On the image field see the @ button - click it and specify valid url of image
Save the changes
Check binary image field's url on backend page (it will not be the same as you specify - and this is normal) that it actually points on the image - we had an issue that another module was messing up the binary image fields data
Then we should have js test with phantom_js using the tour
Python test - after self.phantom_js(... - in the same test method, find the image binary field attachment record (in the ir.attachment model) and check if the type field is equal to url and data field contains your url
The
11.0
branch'sir_attachment_url
module should have phantom_js testshttps://github.com/it-projects-llc/misc-addons/tree/11.0/ir_attachment_url
Thorough specification of the task is the following:
addons/website_sale/static/src/js/website_sale_tour_buy.js
of odoo comunity 11.0.ir_attachment_url
. I.e.:[Edit]
button@
button - click it and specify valid url of imageself.phantom_js(...
- in the same test method, find the image binary field attachment record (in their.attachment
model) and check if thetype
field is equal tourl
and data field contains your urlAdditional information
Instructions about odoo js tour and phantom js can be found here https://odoo-development.readthedocs.io/en/latest/qa/js/index.html
Python tests instruction is here https://odoo-development.readthedocs.io/en/latest/qa/python/index.html
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: