Skip to content

Commit

Permalink
[FIX] resolved travis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
atchuthan committed Sep 1, 2016
1 parent 2978f27 commit c92c088
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion product_sequence/demo/product_product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Copyright (C) 2016 Sodexis
The licence is in the file __openerp__.py
-->

<odoo>
<record id="product.product_product_0" model="product.product">
<field name="default_code">SERVICE</field>
Expand All @@ -15,4 +16,4 @@
<record id="product.product_product_2" model="product.product">
<field name="default_code">OSA</field>
</record>
</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_sequence/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def write(self, vals):
super(ProductProduct, product).write(vals)
return True

@api.one
@api.multi
def copy(self, default=None):
if default is None:
default = {}
Expand Down
2 changes: 1 addition & 1 deletion product_sequence/tests/___init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# © 2016 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import product_product
from . import test_product_sequence

0 comments on commit c92c088

Please sign in to comment.