trytond-aeat_sii/view/company_form.xml
Daniel Möller 6f6e91d4ff Add certificate an private key to company
Private key is stored encrypted in the database. A Fernet key is required in
the trytond configuration file for this reason. To generate one just run
python -c "from cryptography.fernet import Fernet; print Fernet.generate_key()"
2017-05-17 12:34:08 +02:00

15 lines
540 B
XML

<?xml version="1.0"?>
<!-- This file is part of party_comment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license types. -->
<data>
<xpath expr="/form/notebook/page[@id='reports']" position="after">
<page string="Certificate" col="2" id="certificate">
<label name="pem_certificate"/>
<field name="pem_certificate"/>
<label name="private_key"/>
<field name="private_key"/>
</page>
</xpath>
</data>