I want to show the number of the document in a link, like this:
related_invoice_url = self.env['ir.config_parameter'].get_param('web.base.url')
related_invoice_url += '/web#id=%d&view_type=form&model=%s' % (invoice_id.id, 'account.move')
< field widget="url" text="????" name="related_invoice" >< /field>
How can I show the invoice number as text in the link?
Thank you