Skip to content

Commit

Permalink
[FIX] update manifest & imp code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
mourad-ehm committed Mar 22, 2017
1 parent 69e2840 commit 671e704
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion base_exception/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Base Exception
==============

This module provide an abstract model to manage customizable exceptions to be applied on different models (sale order, invoice, ...). It is not usefull for itself. You can see an exemple of implementation in the 'sale_exception' module. (sale-workflow repository).
This module provide an abstract model to manage customizable exceptions to be applied on different models (sale order, invoice, ...). It is not usefull for itself. You can see an example of implementation in the 'sale_exception' module. (sale-workflow repository).

Usage
=====
Expand Down
8 changes: 5 additions & 3 deletions base_exception/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@

{'name': 'Exception Rule',
'version': '10.0.1.0.0',
'category': 'Generic Modules/Sale',
'author': "Akretion, Sodexis, Odoo Community Association (OCA)",
'category': 'Generic Modules',
'summary': """This module provide an abstract model to manage customizable
exceptions to be applied on different models (sale order, invoice, ...)""",
'author': "Akretion, Sodexis, Camptocamp, Odoo Community Association (OCA)",
'website': 'http://www.akretion.com',
'depends': ['sale'],
'depends': ['base'],
'license': 'AGPL-3',
'data': [
'security/base_exception_security.xml',
Expand Down
4 changes: 2 additions & 2 deletions base_exception/models/base_exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ class ExceptionRule(models.Model):
string='Sequence',
help="Gives the sequence order when applying the test")
rule_group = fields.Selection(
[],
selection=[],
help="Rule group is used to group the rules that must validated "
"at same time for a target object. Ex: "
"validate sale.order.line rules with sale order rules.",
required=True)
model = fields.Selection(
[],
selection=[],
string='Apply on', required=True)
active = fields.Boolean('Active')
code = fields.Text(
Expand Down

0 comments on commit 671e704

Please sign in to comment.