diff --git a/account.py b/account.py index 9c0ed2110b..23dbeb8bde 100644 --- a/account.py +++ b/account.py @@ -246,6 +246,15 @@ class MoveLine(metaclass=PoolMeta): super(MoveLine, cls).__setup__() cls._check_modify_exclude.add('invoice_payment') + @classmethod + def _view_reconciliation_muted(cls): + pool = Pool() + ModelData = pool.get('ir.model.data') + muted = super()._view_reconciliation_muted() + muted.add(ModelData.get_id( + 'account_invoice', 'move_line_view_list_to_pay')) + return muted + @classmethod def _get_origin(cls): return super()._get_origin() + [ diff --git a/view/move_line_list_to_pay.xml b/view/move_line_list_to_pay.xml index 027c0822bd..a78fe76e77 100644 --- a/view/move_line_list_to_pay.xml +++ b/view/move_line_list_to_pay.xml @@ -3,8 +3,7 @@ this repository contains the full copyright notices and license terms. --> - - + - +