You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jam.py Users Mailing List
hello is there a way to increment number automatically from the last record number
merci
Drazen D. Babic
unread,
Dec 5, 2022, 1:23:50 AM12/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jam.py Users Mailing List
Hi, on_after_append is a Client JS, what happens when someone else updates the record? I think the Server Side code is needed (check DEmo
Journals/Invoices ) :
def on_apply(item, delta, params, connection):
.
.
Drazen D. Babic
unread,
Dec 8, 2022, 9:04:16 PM12/8/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jam.py Users Mailing List
User tried this, but failing:
def on_apply(item, delta, params, connection):
if item.field_by_name('reference'): for d in delta: d.last() d.edit() d.reference.value = reference.value +1 d.post()