[MIG][11.0] stock_inventory_chatter

This commit is contained in:
xavierjimenez
2018-06-28 08:54:40 +02:00
committed by Joan Sisquella
parent 602ced455b
commit ca056c9496
6 changed files with 6 additions and 11 deletions

View File

@@ -35,6 +35,7 @@ Contributors
------------
* Miquel Raïch <miquel.raich@eficent.com>
* Xavier Jimenez <xavier.jimenez@qubiq.es>
Maintainer
----------

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

View File

@@ -1,11 +1,10 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
'name': 'Stock Inventory Chatter',
'version': '10.0.1.0.0',
'version': '11.0.1.0.0',
'author': "Eficent, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",

View File

@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<!-- Stock-related subtypes for messaging / Chatter -->
<record id="mt_inventory_canceled" model="mail.message.subtype">
<field name="name">Inventory Canceled</field>
@@ -19,5 +18,4 @@
<field name="default" eval="False"/>
</record>
</data>
</openerp>
</odoo>

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
@@ -8,7 +7,7 @@ from odoo import api, fields, models
class StockInventory(models.Model):
_name = 'stock.inventory'
_inherit = ['stock.inventory', 'mail.thread', 'ir.needaction_mixin']
_inherit = ['stock.inventory', 'mail.thread']
partner_id = fields.Many2one(track_visibility='always')
state = fields.Selection(track_visibility='onchange')