diff options
| author | Yenthe666 <yenthevg@gmail.com> | 2019-11-20 08:35:26 +0000 |
|---|---|---|
| committer | Yenthe666 <yenthevg@gmail.com> | 2019-11-20 08:35:26 +0000 |
| commit | 3cf3c2dbd40a8725284608f7b9cdffd65b0c7cc0 (patch) | |
| tree | 575cb2b413294de767968014c9bf7ccae1aa5df3 /addons | |
| parent | 56e47c51ed25d19f8cf9fb12d8d7fee0f624afaa (diff) | |
[FIX] account: remove duplicated field
The field user_id was created twice in the model with the same values and options, only a different help message. This removes the duplicated one.
closes odoo/odoo#40542
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/models/account_move.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 16235d3a005..bb20f043e8b 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -122,7 +122,6 @@ class AccountMove(models.Model): states={'draft': [('readonly', False)]}, domain="[('company_id', '=', company_id)]", default=_get_default_journal) - user_id = fields.Many2one(related='invoice_user_id', string='User') company_id = fields.Many2one(string='Company', store=True, readonly=True, related='journal_id.company_id', change_default=True) company_currency_id = fields.Many2one(string='Company Currency', readonly=True, |
