Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ (signatura): init commit of som signatura #681

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ som_poweremail_common_templates:
- som_poweremail_common_templates/**
som_remeses_base:
- som_remeses_base/**
som_signatura_digital:
- som_signatura_digital/**
som_switching:
- som_switching/**
som_telemesura:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/schedule_tests_som_signatura_digital.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This workflow will pass tests of module passed by input

name: som_signatura_digital
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
jobs:
erp-tests-module:
uses: ./.github/workflows/reusable_workflow.yml
with:
module: som_signatura_digital
secrets:
ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }}
ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }}
SRID: ${{ secrets.SRID }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ tests | name | description
[![som_polissa_soci](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_soci.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_soci.yml) | [som_polissa_soci](som_polissa_soci/) |
[![som_poweremail_common_templates](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_poweremail_common_templates.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_poweremail_common_templates.yml) | [som_poweremail_common_templates](som_poweremail_common_templates/) |
[![som_remeses_base](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_remeses_base.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_remeses_base.yml) | [som_remeses_base](som_remeses_base/) |
[![som_signatura_digital](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_signatura_digital.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_signatura_digital.yml) | [som_signatura_digital](som_signatura_digital/) | A customization of Gisce Signature Digital model
[![som_switching](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_switching.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_switching.yml) | [som_switching](som_switching/) | A customization of GiscedataSwitching model from PowerERP (GISCE)
[![som_telemesura](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_telemesura.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_telemesura.yml) | [som_telemesura](som_telemesura/) |
[![som_webforms_helpers](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_webforms_helpers.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_webforms_helpers.yml) | [som_webforms_helpers](som_webforms_helpers/) |
Expand Down
Empty file.
20 changes: 20 additions & 0 deletions som_signatura_digital/__terp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
{
"name": "som_signatura_digital",
"description": """
This module provide :
* Afegir o modificar funcionalitats de la signatura digital base
""",
"version": "0-dev",
"author": "SomEnergia",
"category": "SomEnergia",
"depends": [
"giscedata_signatura_documents_signaturit",
],
"init_xml": [],
"demo_xml": [],
"update_xml": [
],
"active": False,
"installable": True,
}
16 changes: 16 additions & 0 deletions som_signatura_digital/giscedata_signatura_documents.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from osv import osv


class GiscedataSignaturaProcess(osv.osv):
_inherit = 'giscedata.signatura.process'

def remind_emails_cron(self, cursor, uid, ids, context=None):
if context is None:
context = {}

context['reminder'] = True

super(GiscedataSignaturaProcess, self).remind_emails_cron(cursor, uid, ids, context=context)


GiscedataSignaturaProcess()
Loading