mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Finish migration to version 10.0
Do not raise ConnectionError if we get a response Use ConnectionError from requests lib instead of overriding it Fix push_to_pingen (writes on state as for cron), remove unneeded loops
This commit is contained in:
11
pingen/models/base_config_settings.py
Normal file
11
pingen/models/base_config_settings.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2018 Camptocamp SA
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class BaseConfigSettings(models.TransientModel):
|
||||
_inherit = 'base.config.settings'
|
||||
|
||||
pingen_token = fields.Char(related='company_id.pingen_token')
|
||||
pingen_staging = fields.Boolean(related='company_id.pingen_staging')
|
||||
Reference in New Issue
Block a user