You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							49 lines
						
					
					
						
							1.8 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							49 lines
						
					
					
						
							1.8 KiB
						
					
					
				| <?xml version="1.0" encoding="utf-8"?> | |
| <odoo> | |
|     <record id="instagram_profile_settings_form" model="ir.ui.view"> | |
|         <field name="name">insta.profile.form</field> | |
|         <field name="model">insta.profile</field> | |
|         <field name="arch" type="xml"> | |
|             <form> | |
|                 <sheet> | |
|                     <div class="oe_button_box" name="button_box"> | |
| 
 | |
|                         <button name="action_fetch" string="Fetch Account" type="object" class="oe_stat_button" | |
|                                 icon="fa-instagram"/> | |
|                         <button name="action_get_post" string="Fetch Posts" type="object" class="oe_stat_button" | |
|                                 attrs="{'invisible': [('username', '=', False)]}" | |
|                                 icon="fa-save"/> | |
| 
 | |
|                     </div> | |
| 
 | |
|                     <field name="profile_image_url" widget="image" class="oe_avatar"/> | |
|                     <div class="oe_title"> | |
|                         <h1> | |
|                             <field name="name" widget="text"/> | |
|                         </h1> | |
|                     </div> | |
|                     <div> | |
|                         <group> | |
|                             <field name="access_token" password="True" style="width:600px;word-break: break-all;"/> | |
|                             <field name="username"/> | |
|                             <field name="account_id"/> | |
| 
 | |
|                         </group> | |
|                     </div> | |
|                 </sheet> | |
|             </form> | |
|         </field> | |
|     </record> | |
|     <record id="instagram_profile_settings_list" model="ir.ui.view"> | |
|         <field name="name">insta.profile.form</field> | |
|         <field name="model">insta.profile</field> | |
|         <field name="arch" type="xml"> | |
|             <tree> | |
|                 <field name="name"/> | |
|                 <field name="username"/> | |
|             </tree> | |
|         </field> | |
|     </record> | |
| 
 | |
| 
 | |
| </odoo> |