Odoo Help


This community 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.


Value in own settings is not stored

on 5/22/14, 7:46 PM 613 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?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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