I am trying to set a default date for invoices created in POS. To achieve this, I have added a new field in pos_profile named posting_date and of type date, and set the default value as ‘Today’.
Now, I have to use this date in submitted invoices. Where should I make the change in python (or maybe javascript) code to get this value before submission?