Skip to content

Commit

Permalink
[IMP]sale_validity: Removed encode.
Browse files Browse the repository at this point in the history
  • Loading branch information
murtuzasaleh committed Nov 14, 2018
1 parent 63d53be commit f4d57a7
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 48 deletions.
2 changes: 1 addition & 1 deletion sale_validity/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
2 changes: 1 addition & 1 deletion sale_validity/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# © 2013-2017 Camptocamp SA (Jacques-Etienne Baudoux)
# © 2014-2017 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


{
Expand Down
2 changes: 1 addition & 1 deletion sale_validity/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import company
from . import res_config_settings
Expand Down
1 change: 0 additions & 1 deletion sale_validity/models/company.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2014-2017 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
Expand Down
1 change: 0 additions & 1 deletion sale_validity/models/res_config_settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2017 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
Expand Down
13 changes: 0 additions & 13 deletions sale_validity/models/sale_config_settings.py

This file was deleted.

1 change: 0 additions & 1 deletion sale_validity/models/sale_order.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2013-2017 Camptocamp SA
# © 2014-2017 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
Expand Down
2 changes: 1 addition & 1 deletion sale_validity/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import test_sale_validity
5 changes: 2 additions & 3 deletions sale_validity/tests/test_sale_validity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2017 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Expand All @@ -23,7 +22,7 @@ def create_so(self):
'order_line': [(0, 0, {
'product_id': self.env.ref('product.product_product_7').id,
'product_uom_qty': 8,
})]
}
})]
}
so = self.env['sale.order'].create(vals)
return so
25 changes: 0 additions & 25 deletions sale_validity/views/sale_config_settings.xml

This file was deleted.

0 comments on commit f4d57a7

Please sign in to comment.