JayVora-SerpentCS / OdooEduERP

Education ERP based on Odoo!
http://www.serpentcs.com
151 stars 181 forks source link

[WIP][MIG]school: Migration to v14 #179

Closed ForamSerpentCS closed 4 years ago

Trivedi-Vacha-SerpentCS commented 4 years ago

@ForamSerpentCS general points to take into consideration when migrating the code.

  1. Good to have an Import statement in alphabetically sorted.
  2. Variable name should be proper, (i.e recordset postfix with _rec, single id with _id, multiple ids with _ids)
  3. Use fields.Date.today() for the current date, avoid the use of manual timeformat/tz
  4. Add help in the field definition
  5. except_orm is deprecated now (https://github.com/odoo/odoo/pull/45723)
Trivedi-Vacha-SerpentCS commented 4 years ago

Make sure the sequence define in the manifest file under data[], security and data folder's file should come first.