Advertisement
rht_odoo

[QW][4314790] Maintenance Sequence

Nov 8th, 2024 (edited)
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. # Done by RHT on the 08/11/2024
  2. # Code : https://pastebin.com/87qHbD00
  3. # Task : https://www.odoo.com/odoo/project/5686/tasks/4314790
  4. # Need : have a sequence on the maintenance task
  5. for maintenance in records:
  6.     record['name']= env['ir.sequence'].next_by_code('maintenance.code')
  7.  
  8.  
  9.  
  10.  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement