base_jsonify: allow export line exclusion

Sometimes you just want to turn off via configuration
lines created by some other modules.
pull/2418/head
Simone Orsi 2020-09-18 09:59:32 +02:00 committed by Sébastien BEAU
parent 699771531f
commit bfdb5b93d7
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class IrExportsLine(models.Model):
help="The complete path to the field where you can specify an "
"alias on the a step as field:alias",
)
active = fields.Boolean(string="Active", default=True)
@api.constrains("alias", "name")
def _check_alias(self):