File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
website_sale_product_attachment Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 55{
66 "name" : "eCommerce product attachments" ,
77 "summary" : "Let visitors download attachments from a product page" ,
8- "version" : "17 .0.1.0.0" ,
8+ "version" : "18 .0.1.0.0" ,
99 "development_status" : "Beta" ,
1010 "category" : "Website" ,
1111 "website" : "https://github.com/OCA/e-commerce" ,
Original file line number Diff line number Diff line change @@ -10,4 +10,8 @@ def test_tour(self):
1010 attachment = self .env .ref ("website.library_image_11" )
1111 product = self .env .ref ("product.product_product_4_product_template" )
1212 product .website_attachment_ids = [(6 , 0 , [attachment .id ])]
13- self .start_tour ("/shop" , "website_sale_product_attachment_tour" , login = "demo" )
13+ self .start_tour (
14+ "/shop" ,
15+ "website_sale_product_attachment_tour" ,
16+ login = "demo" ,
17+ )
Original file line number Diff line number Diff line change 88 <field name =" model" >product.template</field >
99 <field name =" inherit_id" ref =" website_sale.product_template_form_view" />
1010 <field name =" arch" type =" xml" >
11- <group name =" shop " position =" after" >
11+ <group name =" extra_info " position =" after" >
1212 <group name =" website_attachments" string =" Website Attachments" >
1313 <div class =" alert alert-info" colspan =" 2" role =" alert" >
1414 <i class =" fa fa-info-circle" />
1717 or unpublish it from your database.
1818 </div >
1919 <field name =" website_attachment_ids" nolabel =" 1" colspan =" 2" >
20- <tree default_order =" website_name,name,id" >
20+ <list default_order =" website_name,name,id" >
2121 <field name =" website_name" />
2222 <field name =" name" string =" File Name" />
2323 <field
2424 name =" website_id"
2525 groups =" website.group_multi_website"
2626 />
2727 <field name =" type" />
28- </tree >
28+ </list >
2929 </field >
3030 </group >
3131 </group >
You can’t perform that action at this time.
0 commit comments