Fall 1139: Flag "Darf unkonfiguriert verkauft werden"
							parent
							
								
									bafc6eea8b
								
							
						
					
					
						commit
						9df9a9c31e
					
				|  | @ -32,7 +32,8 @@ | ||||||
|         'base', |         'base', | ||||||
|         'partner_second_lastname', |         'partner_second_lastname', | ||||||
|         'account', |         'account', | ||||||
|         'sale_stock' |         'sale_stock', | ||||||
|  |         'report_intrastat' | ||||||
|     ], |     ], | ||||||
|     'data': [ |     'data': [ | ||||||
|         'data/dp_custom_data.xml', |         'data/dp_custom_data.xml', | ||||||
|  |  | ||||||
|  | @ -119,7 +119,7 @@ class ProductTemplate(models.Model): | ||||||
|     def _get_specified_fields(self): |     def _get_specified_fields(self): | ||||||
|         return ['default_code', 'name', 'length', 'width', 'thickness', 'surface', 'active', 'weight', 'is_internal', |         return ['default_code', 'name', 'length', 'width', 'thickness', 'surface', 'active', 'weight', 'is_internal', | ||||||
|                 'xcat_id', 'notes', 'material_type_id', 'intrastat_id', 'sale_ok', 'assembly_line_ids', 'list_price', |                 'xcat_id', 'notes', 'material_type_id', 'intrastat_id', 'sale_ok', 'assembly_line_ids', 'list_price', | ||||||
|                 'height', 'categ_id'] |                 'height', 'categ_id', 'can_be_sold_unconfigured'] | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class ProductCategory(models.Model): | class ProductCategory(models.Model): | ||||||
|  |  | ||||||
|  | @ -5,15 +5,13 @@ | ||||||
|         <field name="model">product.template</field> |         <field name="model">product.template</field> | ||||||
|         <field name="inherit_id" ref="product.product_template_form_view"/> |         <field name="inherit_id" ref="product.product_template_form_view"/> | ||||||
|         <field name="arch" type="xml"> |         <field name="arch" type="xml"> | ||||||
|             <field name="volume" position="after"> |  | ||||||
|                 <field name="can_be_sold_unconfigured"/> |  | ||||||
|             </field> |  | ||||||
|             <div name="volume" position="after"> |             <div name="volume" position="after"> | ||||||
|                 <field name="length"/> |                 <field name="length"/> | ||||||
|                 <field name="width"/> |                 <field name="width"/> | ||||||
|                 <field name="height"/> |                 <field name="height"/> | ||||||
|                 <field name="thickness"/> |                 <field name="thickness"/> | ||||||
|                 <field name="surface"/> |                 <field name="surface"/> | ||||||
|  |                 <field name="can_be_sold_unconfigured"/> | ||||||
|             </div> |             </div> | ||||||
|             <field name="categ_id" position="after"> |             <field name="categ_id" position="after"> | ||||||
|                 <field name="xcat_id"/> |                 <field name="xcat_id"/> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue