We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc80f89 commit 39c79a9Copy full SHA for 39c79a9
1 file changed
l10n_it_declaration_of_intent/models/declaration.py
@@ -96,14 +96,10 @@ def _default_currency(self):
96
string="Lines",
97
)
98
99
- declaration_of_intent_amount_ids = fields.Many2many(
100
- relation="account_move_intent_declaration_of_intent_rel",
101
- #column1="declaration_of_intent_id",
102
- #column2="move_id",
+ declaration_of_intent_amount_ids = fields.One2many(
103
comodel_name="account.move.intent",
104
- #compute="_compute_declaration_amounts",
105
- #store=True,
106
- #string="Declarations of intent amounts",
+ inverse_name="declaration_of_intent_id",
+ string="Declarations of intent amounts",
107
108
109
@api.model
0 commit comments