diff --git a/yaltik_crm_action/__manifest__.py b/yaltik_crm_action/__manifest__.py index ba28fe8..749a300 100644 --- a/yaltik_crm_action/__manifest__.py +++ b/yaltik_crm_action/__manifest__.py @@ -18,7 +18,7 @@ { 'name': 'CRM Actions', 'summary': 'Action management, instead of new activity, in CRM', - 'version': '10.0.1.1.0', + 'version': '10.0.1.2.0', 'category': 'Sales', 'author': 'Fabien BOURGEOIS - Yaltik', 'license': 'AGPL-3', diff --git a/yaltik_crm_action/i18n/fr.po b/yaltik_crm_action/i18n/fr.po index 682b4e7..7be66f6 100644 --- a/yaltik_crm_action/i18n/fr.po +++ b/yaltik_crm_action/i18n/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-10-29 10:01+0000\n" -"PO-Revision-Date: 2017-10-29 10:01+0000\n" +"POT-Creation-Date: 2017-11-13 10:01+0000\n" +"PO-Revision-Date: 2017-11-13 10:01+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -93,7 +93,7 @@ msgstr "Retirer" #. module: yaltik_crm_action #: selection:crm.action,state:0 msgid "Canceled" -msgstr "Retiré" +msgstr "Annulée" #. module: yaltik_crm_action #: model:ir.ui.view,arch_db:yaltik_crm_action.crm_action_form @@ -144,7 +144,7 @@ msgstr "Nom affiché" #: selection:crm.action,state:0 #: model:ir.ui.view,arch_db:yaltik_crm_action.crm_action_search msgid "Done" -msgstr "Terminé" +msgstr "Terminée" #. module: yaltik_crm_action #: model:ir.model,name:yaltik_crm_action.model_calendar_event diff --git a/yaltik_crm_action/models/crm_action.py b/yaltik_crm_action/models/crm_action.py index c28e231..d863b8c 100644 --- a/yaltik_crm_action/models/crm_action.py +++ b/yaltik_crm_action/models/crm_action.py @@ -75,21 +75,6 @@ class CrmAction(models.Model): action.display_name = u'[{}]{}'.format(action.action_type_name, details) - @api.multi - def confirm(self): - """ Changes state to done """ - self.write({'state': 'done'}) - - @api.multi - def set_to_draft(self): - """ Changes state to draft """ - self.write({'state': 'draft'}) - - @api.multi - def cancel(self): - """ Cancel action """ - self.write({'state': 'cancel'}) - @api.multi def create_linked_event(self): """ Creates a linked event """ diff --git a/yaltik_crm_action/views/crm_action_views.xml b/yaltik_crm_action/views/crm_action_views.xml index 309b0c0..5b93659 100644 --- a/yaltik_crm_action/views/crm_action_views.xml +++ b/yaltik_crm_action/views/crm_action_views.xml @@ -27,12 +27,6 @@ along with this program. If not, see .
-