add_fetch Pricing Rule field in the Sales Order form

108 views
Skip to first unread message

Javier Wong

unread,
Sep 29, 2014, 6:20:49 AM9/29/14
to erpnext-dev...@googlegroups.com
Dear Experts,

I am trying to retrieve data on a custom field that I have created in the Pricing Rule form. The field name is "rebate". I have also created the "rebate" field in the Sales Order Item doctype.

I have tried the following custom script both in the Sales Order doctype and Sales Order Item doctype:

cur_frm.add_fetch('pricing_rule','rebate','rebate');

This doesn't work.

Anyone with any advice?

Thank you very very much.


Javier


Rushabh Mehta

unread,
Sep 29, 2014, 7:26:35 AM9/29/14
to erpnext-dev...@googlegroups.com
Why don't you share your repo first?



Javier



--
1. Please be kind and don't send large attachments
2. For issues, features requests use https://github.com/frappe/erpnext/issues
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c2245949-6308-4220-8e97-86fc52b83635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Javier Wong

unread,
Sep 29, 2014, 8:26:01 AM9/29/14
to erpnext-dev...@googlegroups.com
Actually I have been trying to share my repo for a long time but I have some problems. I really am clueless about git and how to use it.

I have an existing installation which I want to use as the repo for sharing. Can you guide me please as to how I can do this?

Y Y

unread,
Sep 29, 2014, 8:44:12 PM9/29/14
to erpnext-dev...@googlegroups.com
It would be better to get known the tools on hand first to work with erpnext ,it requires quite a lot of web developer knowledge.

在 2014年9月29日星期一UTC+8下午8时26分01秒,Javier Wong写道:

Rushabh Mehta

unread,
Sep 29, 2014, 9:45:47 PM9/29/14
to erpnext-dev...@googlegroups.com
Javier,

I recommend you spend a few minutes to pickup git. It will be a worthwhile investment if you plan being a developer :)


best,
Rushabh



@rushabh_mehta

--
1. Please be kind and don't send large attachments
2. For issues, features requests use https://github.com/frappe/erpnext/issues
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages