Skip to content

Commit

Permalink
[IMP] sale_automatic_workflow_payment_mode: OCA conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed May 17, 2017
1 parent a4d61fa commit 6c1e90c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sale_automatic_workflow/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

from . import test_flow
from . import test_automatic_workflow
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
from datetime import datetime, timedelta

from odoo import fields
from odoo.addons.sale_automatic_workflow.tests.common import \
TestAutomaticWorkflowBase
from .test_automatic_workflow_base import TestAutomaticWorkflowBase


class TestAutomaticWorkflow(TestAutomaticWorkflowBase):
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion sale_automatic_workflow_payment_mode/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import test_flow_pm
from . import test_automatic_workflow_payment_mode

Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


from odoo.addons.sale_automatic_workflow.tests.common import \
TestAutomaticWorkflowBase as tawb
from odoo.addons.sale_automatic_workflow.tests.test_automatic_workflow_base \
import TestAutomaticWorkflowBase


class TestAutomaticWorkflowPaymentMode(tawb):
class TestAutomaticWorkflowPaymentMode(TestAutomaticWorkflowBase):

def create_sale_order(self, workflow, override=None):
new_order = super(TestAutomaticWorkflowPaymentMode, self).\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ The licence is in the file __openerp__.py -->
</xpath>
</field>
</record>
</odoo>
</odoo>

0 comments on commit 6c1e90c

Please sign in to comment.