robin.keunen
4 years ago
7 changed files with 87 additions and 15 deletions
-
9easy_my_coop_connector/components/emc_bindings.py
-
1easy_my_coop_connector/models/__init__.py
-
20easy_my_coop_connector/models/account_account.py
-
1easy_my_coop_connector/security/ir.model.access.csv
-
6easy_my_coop_connector/views/actions.xml
-
28easy_my_coop_connector/views/emc_bindings.xml
-
37easy_my_coop_connector/views/menus.xml
@ -1,3 +1,4 @@ |
|||
from . import account_account |
|||
from . import account_invoice |
|||
from . import account_journal |
|||
from . import account_payment |
|||
|
@ -0,0 +1,20 @@ |
|||
# Copyright 2020 Coop IT Easy SCRL fs |
|||
# Robin Keunen <robin@coopiteasy.be> |
|||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
|||
|
|||
import logging |
|||
|
|||
from odoo import fields, models |
|||
|
|||
_logger = logging.getLogger(__name__) |
|||
|
|||
|
|||
class AccountAccount(models.Model): |
|||
_inherit = "account.account" |
|||
|
|||
binding_id = fields.One2many( |
|||
comodel_name="emc.binding.account.account", |
|||
inverse_name="internal_id", |
|||
string="Binding ID", |
|||
required=False, |
|||
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue