mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
This commit is contained in:
committed by
Alexis de Lattre
parent
4c1b8037b7
commit
c44c33dfb5
15
report_py3o_fusion_server/models/py3o_server.py
Normal file
15
report_py3o_fusion_server/models/py3o_server.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2013 XCG Consulting (http://odoo.consulting)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class Py3oServer(models.Model):
|
||||
_name = 'py3o.server'
|
||||
_rec_name = 'url'
|
||||
|
||||
url = fields.Char(
|
||||
"Py3o Fusion Server URL", required=True,
|
||||
help="If your Py3o Fusion server is on the same machine and runs "
|
||||
"on the default port, the URL is http://localhost:8765/form")
|
||||
is_active = fields.Boolean("Active", default=True)
|
||||
Reference in New Issue
Block a user