File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
fieldservice_equipment_stock Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 77class ProductTemplate (models .Model ):
88 _inherit = "product.template"
99
10- create_fsm_equipment = fields .Boolean (string = "Creates a FSM Equipment" )
10+ create_fsm_equipment = fields .Boolean (
11+ string = "Creates a FSM Equipment" ,
12+ help = "Creates a Field Service Equipment when a stock move is done. "
13+ "It requires the 'Create FSM Equipment' option to be enabled on the "
14+ "picking type, too." ,
15+ )
Original file line number Diff line number Diff line change 33 <field name =" model" >product.template</field >
44 <field name =" inherit_id" ref =" product.product_template_only_form_view" />
55 <field name =" arch" type =" xml" >
6- <group name =" traceability" position =" inside" >
7- <field name =" create_fsm_equipment" invisible =" tracking != 'serial'" />
6+ <group name =" group_general" position =" inside" >
7+ <field
8+ name =" create_fsm_equipment"
9+ groups =" fieldservice.group_fsm_user"
10+ invisible =" tracking != 'serial'"
11+ />
812 </group >
913 </field >
1014 </record >
You can’t perform that action at this time.
0 commit comments