diff --git a/sign_oca/models/sign_oca_request.py b/sign_oca/models/sign_oca_request.py index b0fd30f..9d33e61 100644 --- a/sign_oca/models/sign_oca_request.py +++ b/sign_oca/models/sign_oca_request.py @@ -21,7 +21,6 @@ class SignOcaRequest(models.Model): - _name = "sign.oca.request" _inherit = ["mail.thread", "mail.activity.mixin"] _description = "Sign Request" @@ -343,7 +342,6 @@ def create(self, vals_list): class SignOcaRequestSigner(models.Model): - _name = "sign.oca.request.signer" _inherit = "portal.mixin" _description = "Sign Request Value" diff --git a/sign_oca/models/sign_oca_template.py b/sign_oca/models/sign_oca_template.py index 860a84e..18fc6a5 100644 --- a/sign_oca/models/sign_oca_template.py +++ b/sign_oca/models/sign_oca_template.py @@ -5,7 +5,6 @@ class SignOcaTemplate(models.Model): - _name = "sign.oca.template" _description = "Sign Oca Template" # TODO _inherit = ["mail.thread"] @@ -131,7 +130,6 @@ def _prepare_sign_oca_request_vals_from_record(self, record): class SignOcaTemplateItem(models.Model): - _name = "sign.oca.template.item" _description = "Sign Oca Template Item" diff --git a/sign_oca/pyproject.toml b/sign_oca/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/sign_oca/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sign_oca/wizards/sign_oca_template_generate.py b/sign_oca/wizards/sign_oca_template_generate.py index cb5311b..64f88ae 100644 --- a/sign_oca/wizards/sign_oca_template_generate.py +++ b/sign_oca/wizards/sign_oca_template_generate.py @@ -5,7 +5,6 @@ class SignOcaTemplateGenerate(models.TransientModel): - _name = "sign.oca.template.generate" _description = "Generate a signature request"