Availability |
Odoo Online
Odoo.sh
On Premise
|
Technical Name |
default_data |
License | See License tab |
Website | http://open2bizz.nl/ |
Versions | 10.0 8.0 |
Default Data
Provide default texts
For every entity
Getting tired of writing the same sentence over and over again? Then this module is the solution for you!
Easy configuration
As easy as 1+1
Configure your default data with a few simple clicks. All you have to think about the data itself.
Implement the Framework
To benefit from the default data in your module
By adding a few lines of code you'll provide your users with an easy way to fill data.
value = fields.Html( string = 'Value' ) default_value = fields.Many2one( comodel_name = 'default.data', string = 'Default Value', domain = "[('model', '=', 'my.model'), ('field', '=', 'value')]" ) @api.onchange("default_value") def onchange_default_handshake(self): if self.default_handshake: update_data = self.default_handshake.get_update_default_data(self.handshake) if update_data['update']: self.value = update_data['data']
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module