You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
891 B

5 years ago
  1. # © 2019 Le Filament (<http://www.le-filament.com>)
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  3. from odoo import models, fields
  4. class VracoopRetraitSuivi(models.Model):
  5. _name = "vracoop.retrait.suivi"
  6. _description = "Suivi des commandes en retrait"
  7. order_id = fields.Many2one('sale.order', "Numéro bon de commande")
  8. partner_id = fields.Many2one('res.partner', "Client")
  9. vracoop_point_retrait_id = fields.Many2one(
  10. comodel_name='vracoop.point.retrait',
  11. string="Point retrait")
  12. day_retrait = fields.Selection([
  13. ('lundi', 'Lundi'),
  14. ('mardi', 'Mardi'),
  15. ('mercredi', 'Mercredi'),
  16. ('jeudi', 'Jeudi'),
  17. ('vendredi', 'Vendredi'),
  18. ('samedi', 'Samedi'),
  19. ('dimanche', 'Dimanche')],
  20. string='Jour du retrait')
  21. hour_retrait = fields.Float(string='Heure du retrait')