v 8.0 v 10.0 Third Party 121
Download for v 10.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name default_data
Websitehttp://open2bizz.nl/
Versions 10.0 8.0
You bought this module and need support? Click here!

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']

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.