You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
542 B

.. code-block:: python
from . company import ResCompany
class WhatiwantConfigSettings(models.TransientModel):
_inherit = ['res.config.settings', 'abstract.config.settings']
_name = 'res.config.settings'
# fields must be defined in ResCompany class
# related fields are automatically generated from previous definitions
_companyObject = ResCompany
# all prefixed field with _prefix in res.company, will be available in 'res.config.settings' model
_prefix = 'prefixyouchoose_'