Device for attaching an opening leaf to the body of a motor vehicle, said device comprising: - at least one hinge of the opening leaf and at least one framework of the opening leaf, - at least one panel (17, 28), which is associated with at least the hinge of the opening leaf and is mounted on the framework of the opening leaf, - bonding means (20, 32), which are placed between each panel (17, 28) and the framework of the opening leaf and are intended to make the position of each panel (17, 28) on the framework permanent during a painting treatment step of the framework of the opening leaf, - adjustable attachment means (21, 30) for each panel (17, 28), such that each panel (17, 28) is mounted on the framework of the opening leaf with a sliding mounting clearance, enabling the position of each panel (17, 28) to be adjusted with respect to the framework during the mounting of the opening leaf on the body of the vehicle, before said painting treatment step, said device being characterized in that: - at least one screw (18, 29), which is integral with the panel (17, 28), engages with an orifice associated with said hinge and protrudes through said framework of the opening leaf, - each panel (17, 28) comprises a first mounting orifice (25, 31), which is associated with a second orifice formed in the framework of the opening leaf, said first orifice (25, 31) and second orifice engaging with said adjustable attachment means (21, 30), and - said adjustable attachment means comprise a rivet (21, 30) associated with each panel (17, 28), said sliding mounting clearance being left between the head of the rivet (21, 30) and said framework of the opening leaf. - at least one hinge of the opening leaf and at least one framework of the opening leaf, - at least one panel (17, 28), which is associated with at least the hinge of the opening leaf and is mounted on the framework of the opening leaf, - bonding means (20, 32), which are placed between each panel (17, 28) and the framework of the opening leaf and are intended to make the position of each panel (17, 28) on the framework permanent during a painting treatment step of the framework of the opening leaf, - adjustable attachment means (21, 30) for each panel (17, 28), such that each panel (17, 28) is mounted on the framework of the opening leaf with a sliding mounting clearance, enabling the position of each panel (17, 28) to be adjusted with respect to the framework during the mounting of the opening leaf on the body of the vehicle, before said painting treatment step, - at least one screw (18, 29), which is integral with the panel (17, 28), engages with an orifice associated with said hinge and protrudes through said framework of the opening leaf, - each panel (17, 28) comprises a first mounting orifice (25, 31), which is associated with a second orifice formed in the framework of the opening leaf, said first orifice (25, 31) and second orifice engaging with said adjustable attachment means (21, 30), and - said adjustable attachment means comprise a rivet (21, 30) associated with each panel (17, 28), said sliding mounting clearance being left between the head of the rivet (21, 30) and said framework of the opening leaf.