Skip to content
Extraits de code Groupes Projets
Valider 0c13129c rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[add] sequence on certification

parent 84a751df
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -965,8 +965,10 @@ class ScopPartner(models.Model):
class ResPartneCertification(models.Model):
_name = "res.partner.certification"
_description = "Certification"
_order = "sequence, name"
name = fields.Char('Certification')
sequence = fields.Integer("Séquence", default=10)
id_riga = fields.Integer("ID RIGA")
color = fields.Integer('Couleur Index')
......
......@@ -89,6 +89,7 @@
<field name="model">res.partner.certification</field>
<field name="arch" type="xml">
<tree string="Certifications" editable="top">
<field name="sequence" widget="handle"/>
<field name="name"/>
</tree>
</field>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter