-
Notifications
You must be signed in to change notification settings - Fork 25
/
migrate_12-to-13.txt
42 lines (27 loc) · 1.04 KB
/
migrate_12-to-13.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
ir.rule :
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
tracking=True (or integer for order)
ir.attachment : no more datas_fname (use 'name' for filename)
super()
replace
default=lambda self: self.env["res.company"]._company_default_get()
by
default=lambda self: self.env.company
self.env.user.company_id => self.env.company
Remove archive buttons from form views
fields.Float( digits=dp.get_precision() => digits='')
manifest : 'maintainers': ['alexis-via']
CHECK car souvent oublié dans portage vers v12 :
_inherit = ['mail.thread'] => ['mail.thread', 'mail.activity.mixin']
ajouter dans chatter <field name="activity_ids" widget="mail_activity"/> (au milieu des 2 autres)
fields.Binary(attachment=False)
Changements importants du modèle de donnée :
** account.invoice -> account.move
date_invoice -> invoice_date
number -> name
name -> ref
payment_term_id -> invoice_payment_term_id
-> invoice_incoterm_id
user_id -> invoice_user_id
date_due -> invoice_date_due
<tree multi_edit="1"