Hey what i want to achieve here is that if have 5 line in a journal entry and i want to add same analytic tag in each field on a button click . If i add one in the first line i want it to populate in the rest on a button click.
Right now i have done it with copy function but it doesnt feel right
i am using
self.copy(default={'analytic_tag_ids': self.analytic_tag_ids})
Can u suggest a better way of achieving it