Odoo Help


Value in own settings is not stored

on 5/22/14, 7:46 PM 1,000 views

I made a settings page for my custom module but when I click the execute button, the value in field "ob_partner_placeholder" is not stored.


<?xml version="1.0" encoding="UTF-8"?>
        <record id="view_custom_config_settings" model="ir.ui.view">
            <field name="name">Openbird Partner</field>
            <field name="model">ob.partner.settings</field>
            <field name="arch" type="xml">
                <form string="Openbird Partner" version="7.0" class="oe_form_configuration">
                            <button string="Speichern" type="object" name="execute" class="oe_highlight"/>
                            <!-- <button string="Cancel" type="object" name="cancel" class="oe_link"/> -->
                                <field name="ob_partner_placeholder"/>
        <record id="action_custom_config" model="ir.actions.act_window">
            <field name="name">Openbird Partner</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">ob.partner.settings</field>
            <field name="view_mode">form</field>
            <field name="target">inline</field>
        <menuitem id="menu_custom_config" name="OpenBird Partner" parent="base.menu_config" sequence="16" action="action_custom_config"/>




class ob_partner_settings(osv.osv):
    _name = 'ob.partner.settings'
    _inherit = 'res.config.settings'
    _columns = {
        'ob_partner_placeholder': fields.char('Trennzeichen', size=5),


Did I forgot something?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/22/14, 7:46 PM
Seen: 1000 times
Last updated: 3/16/15, 8:10 AM