[IMP] base_m2m_custom_field: black, isort
parent
f6414e46e3
commit
18f0715ca8
|
@ -8,8 +8,6 @@
|
||||||
"author": "Camptocamp, Odoo Community Association (OCA)",
|
"author": "Camptocamp, Odoo Community Association (OCA)",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"website": "https://github.com/OCA/server-tools",
|
"website": "https://github.com/OCA/server-tools",
|
||||||
"depends": [
|
"depends": ["base"],
|
||||||
"base",
|
|
||||||
],
|
|
||||||
"installable": True,
|
"installable": True,
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,7 @@ class Many2manyCustom(fields.Many2many):
|
||||||
at the initialization of the field (boolean)
|
at the initialization of the field (boolean)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_slots = {
|
_slots = {"create_table": True}
|
||||||
'create_table': True
|
|
||||||
}
|
|
||||||
|
|
||||||
def update_db(self, model, columns):
|
def update_db(self, model, columns):
|
||||||
if not self.create_table:
|
if not self.create_table:
|
||||||
|
|
Loading…
Reference in New Issue