From 3326a19f51944b2f5b5e40c0ffb02ae754ecb338 Mon Sep 17 00:00:00 2001 From: Benjamin <benjamin@le-filament.com> Date: Mon, 7 Dec 2020 16:31:53 +0100 Subject: [PATCH] [clean] clean files --- README.rst | 4 +++- static/src/css/style.css | 3 --- static/src/js/kanban_view.js | 22 ---------------------- static/src/js/tree_view.js | 19 ------------------- static/src/xml/templates.xml | 21 --------------------- 5 files changed, 3 insertions(+), 66 deletions(-) delete mode 100755 static/src/css/style.css delete mode 100755 static/src/js/kanban_view.js delete mode 100755 static/src/js/tree_view.js delete mode 100755 static/src/xml/templates.xml diff --git a/README.rst b/README.rst index c1ab9aa..0b8d569 100755 --- a/README.rst +++ b/README.rst @@ -12,8 +12,10 @@ Gestion des cotisations pour la CG Scop Ce module hérite les modules *account* pour la gestion des cotisations : * Ajoute un nouveau type de facture -* Crée u nouveau journal de vente +* Crée un lien avec une liasse fiscale, une année et une UR +* Crée un nouveau journal de vente * Crée une nouvelle séquence de facture +* Modifie le Wizard d'avoirs pour ajouter le type et l'année de la cotisation Credits diff --git a/static/src/css/style.css b/static/src/css/style.css deleted file mode 100755 index 44f1c83..0000000 --- a/static/src/css/style.css +++ /dev/null @@ -1,3 +0,0 @@ -.o_chatter .o_chatter_topbar > .o_topbar_right_area .o_chatter_button_attachment{ - display:none; -} \ No newline at end of file diff --git a/static/src/js/kanban_view.js b/static/src/js/kanban_view.js deleted file mode 100755 index c10efcd..0000000 --- a/static/src/js/kanban_view.js +++ /dev/null @@ -1,22 +0,0 @@ -odoo.define('cgscop_base.KanbanControllerImport', function(require){ - "use strict"; - - var KanbanController = require('web.KanbanController'); - var core = require('web.core'); - var qweb = core.qweb; - - var KanbanControllerImport = KanbanController.include({ - renderButtons: function ($node) { - if (this.hasButtons && (this.is_action_enabled('import') || this.is_action_enabled('create'))) { - this.$buttons = $(qweb.render('KanbanView.buttons', { - btnClass: 'btn-primary', - widget: this, - })); - this.$buttons.on('click', 'button.o-kanban-button-new', this._onButtonNew.bind(this)); - this.$buttons.on('keydown',this._onButtonsKeyDown.bind(this)); - this._updateButtons(); - this.$buttons.appendTo($node); - } - }, - }); -}); \ No newline at end of file diff --git a/static/src/js/tree_view.js b/static/src/js/tree_view.js deleted file mode 100755 index ac30d04..0000000 --- a/static/src/js/tree_view.js +++ /dev/null @@ -1,19 +0,0 @@ -odoo.define('cgscop_base.TreeviewImport', function(require) { -"use strict"; - -var AbstractView = require('web.AbstractView'); - -var TreeviewImport = AbstractView.include({ - init: function (viewInfo, params) { - this._super(viewInfo, params); - if (this.arch.attrs.import == "False") { - this.controllerParams.activeActions['import'] = false; - } else { - this.controllerParams.activeActions['import'] = true; - } - }, - }); - -return TreeviewImport; - -}); \ No newline at end of file diff --git a/static/src/xml/templates.xml b/static/src/xml/templates.xml deleted file mode 100755 index d3bd1ff..0000000 --- a/static/src/xml/templates.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<templates id="cgscop_base_template" xml:space="preserve"> - - <t t-extend="ImportView.import_button"> - <t t-jquery=".btn.btn-secondary.o_button_import" t-operation="replace"/> - </t> - - <t t-name="ImportView.display_import_button"> - <button t-if="widget and widget.is_action_enabled('import')" type="button" class="btn btn-secondary o_button_import"> - Import - </button> - </t> - - <t t-extend="ListView.buttons"> - <t t-jquery=".o_list_buttons" t-operation="append"> - <t t-call="ImportView.display_import_button"/> - </t> - </t> - -</templates> \ No newline at end of file -- GitLab