İlk versiyon: MyMach Fleet Intelligence ve yapılandırmalar

This commit is contained in:
cerenX9
2026-07-20 19:41:40 +03:00
commit f497805d08
85 changed files with 7071 additions and 0 deletions

4
assign_group.py Normal file
View File

@@ -0,0 +1,4 @@
env.user.write({'groups_id': [(4, env.ref('mymach_fleet_intelligence.group_mymach_fleet_manager').id)]})
env['res.users'].browse(2).write({'groups_id': [(4, env.ref('mymach_fleet_intelligence.group_mymach_fleet_manager').id)]})
env.cr.commit()
print("Group assigned to admin user successfully")