|
| 1 | +---Models in module 'iap'--- |
| 2 | +obsolete model iap.account.info [transient] |
| 3 | +new model iap.service |
| 4 | +# NOTHING TO DO: we don't rename it, as the transient model is emptied at base-pre-migration. Lets the ORM create the new model |
| 5 | + |
| 6 | +---Fields in module 'iap'--- |
| 7 | +iap / iap.account / account_info_ids (one2many) : DEL relation: iap.account.info |
| 8 | +iap / iap.account / balance (char) : is now stored |
| 9 | +iap / iap.account / balance (char) : not a function anymore |
| 10 | +iap / iap.account / service_locked (boolean) : NEW hasdefault: default |
| 11 | +iap / iap.account / show_token (boolean) : DEL |
| 12 | +iap / iap.account / state (selection) : NEW selection_keys: ['banned', 'registered', 'unregistered'] |
| 13 | +iap / iap.account / warning_threshold (float) : is now stored |
| 14 | +iap / iap.account / warning_threshold (float) : not related anymore |
| 15 | +iap / iap.account / warning_user_ids (many2many) : NEW relation: res.users |
| 16 | +# NOTHING TO DO |
| 17 | + |
| 18 | +iap / iap.account / service_name (char) : not stored anymore |
| 19 | +iap / iap.account / service_name (char) : now related |
| 20 | +# DONE: pre-migration: column renamed to save value (to use later to create the missing services) |
| 21 | + |
| 22 | +iap / iap.account / service_id (many2one) : NEW relation: iap.service, required |
| 23 | +iap / iap.service / description (char) : NEW required |
| 24 | +iap / iap.service / integer_balance (boolean) : NEW required |
| 25 | +iap / iap.service / name (char) : NEW required |
| 26 | +iap / iap.service / technical_name (char) : NEW required |
| 27 | +iap / iap.service / unit_name (char) : NEW required |
| 28 | +# DONE: end-migration: create new service for each iap.account record and link them if the service don't exist |
| 29 | + |
| 30 | +---XML records in module 'iap'--- |
| 31 | +NEW iap.service: iap.iap_service_reveal |
| 32 | +NEW ir.model.access: iap.access_iap_service_manager |
| 33 | +NEW ir.model.access: iap.access_iap_service_user |
| 34 | +DEL ir.model.access: iap.access_iap_account_info |
| 35 | +NEW ir.model.constraint: iap.constraint_iap_service_unique_technical_name |
| 36 | +# NOTHING TO DO |
0 commit comments