<?xml version="1.0"?>
<form string="certificate form">
                <sheet>
                    <div class="alert alert-warning" role="alert" invisible="not loading_error">
                        <field name="loading_error"/>
                    </div>
                    <group id="certificate_input">
                        <field name="name" placeholder="e.g. New Certificate"/>
                        <field name="company_id" groups="base.group_multi_company" readonly="1"/>
                        <field name="content" widget="binary"/>
                        <field name="pkcs12_password" password="True"/>
                        <field name="subject_common_name" invisible="not pem_certificate"/>
                        <field name="private_key_id" invisible="not pem_certificate" options="{'no_quick_create': True}"/>
                        <field name="public_key_id" invisible="not pem_certificate" options="{'no_quick_create': True}"/>
                        <field name="scope" widget="radio" invisible="1"/> <!-- Should be overriden by modules adding options to this selection field -->
                    </group>
                    <group id="certificate_data">
                        <label for="date_start" string="Validity"/>
                        <div>
                            <field name="date_start" interval="year" widget="remaining_days" class="oe_inline"/> - <field name="date_end" widget="remaining_days" class="oe_inline"/>
                        </div>
                        <field name="serial_number"/>
                    </group>
                </sheet>
            </form>
        