Skip to content
Snippets Groups Projects
Commit 2e55eefb authored by Juliana's avatar Juliana
Browse files

[UPD]Pass pre commit

parent 9ebf3b62
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ from odoo import fields, models
class AccContract(models.Model):
_name = "acc.contract"
_description = 'Contrats'
_description = "Contrats"
# ------------------------------------------------------
# Fields declaration
......@@ -14,12 +14,15 @@ class AccContract(models.Model):
acc_operation_id = fields.Many2one("acc.operation", "Opération")
seller_id = fields.Many2one("res.partner", "Vendeur")
buyer_id = fields.Many2one("res.partner", "Acheteur")
type = fields.Selection([
type = fields.Selection(
[
("vente", "Vente"),
("achat", "Achat"),
("convention", "Convention Enedis"),
("pmo", "Pmo")
], string="Type de contrat")
("pmo", "Pmo"),
],
string="Type de contrat",
)
start_date = fields.Date("Début du contrat")
end_date = fields.Date("Fin du contrat")
document = fields.Binary("Document attaché")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment