Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Social Network (mail)
|
Technical Name |
message_post_model |
License | See License tab |
Website | http://vauxoo.com |
Versions | 8.0 |
Message Post Log
This module adds an extended log in any model with inheritance over an object that create the field message_ids(mail.message) for each change made in the fields of the model unlike the traditional way in wich Odoo did.
Features
We add two server action to add o remove the feature in the model, with this you do not requiere modify the code directly at least that you model does not have a direct relation with mail.message
In the ir.model object we added three new fields:
- Tracked: A boolean to indicate if the model has the track activated
- Exclude Fields: A many2many field to indicate if you want to exclude of the track some fields related with the model
- Exclude External Fields: A string to specify fields(database name) that does not have a direct relation with the object. This fields must be separaten by (,) without spaces among them. E.g product_uom_qty,product_uos_qty,name
- To add the track:
-
- To remove it:
At the moment to add the track over the object in each change that a record has, a message is left in the log
If you want to exclude some fields of the model to avoid left a message if these fields are changed you can use the field "Exclude Fields" explained previously
In some case you will need to exclude fields that does not have a direct relation of the main model(The quantity in a line of an order) and these do not apper in the Exclude Fields(many2many with domain). For these fields exist the "Exclude External fields", where you will can specify this fields separate by (,) without spaces among them
Also, if you need it, there is a testing module called message_post_test to prove the funtionality.
Requirements:
- Go to https://github.com/Vauxoo/addons-vauxoo and download the repo in order to install message_post_model and message_post_test modules.
Contributors
- José Morales <jose@vauxoo.com>
Maintainer
This module is maintained by Vauxoo.
A latinamerican company that provides training, coaching, development and implementation of enterprise management sytems and bases its entire operation strategy in the use of Open Source Software and its main product is odoo.
To contribute to this module, please visit http://www.vauxoo.com.
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