Hi,
i want custom title of format like QTN-00002/2017-18 - Customer Name - 15-08-2017) .
tried using {naming_series}-{YYYY}{customer}-{transaction_date}
can’t use doc.name in it.
Hi,
i want custom title of format like QTN-00002/2017-18 - Customer Name - 15-08-2017) .
tried using {naming_series}-{YYYY}{customer}-{transaction_date}
can’t use doc.name in it.
you can use make_autoname method for it.
Check this example,
didn’t work…
did u used in before_insert in hooks.py??
autoname should be used in hooks.py instead
no i didn’t use it in hooks.py… will try n check. Thanks for the reply