commit | 102b417b52f6781e7959e5aa8849d63ba78d4fd6 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Thu Jan 09 11:39:06 2014 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Thu Jan 09 11:39:10 2014 +0530 |
tree | 1e9385719c6b6734d509850d52a027e514cf41d0 | |
parent | dbf5e54eab626d0c4ab900b644fe43b7160a0dfc [diff] |
Fix: Typo on patch
diff --git a/patches/1401/p01_make_buying_selling_as_check_box_in_price_list.py b/patches/1401/p01_make_buying_selling_as_check_box_in_price_list.py index d5eb3e8..b764a7f 100644 --- a/patches/1401/p01_make_buying_selling_as_check_box_in_price_list.py +++ b/patches/1401/p01_make_buying_selling_as_check_box_in_price_list.py
@@ -25,5 +25,5 @@ set ip.buying=pl.buying, ip.selling=pl.selling where ip.price_list=pl.name""") - webnotes.conn.sql("""udpate `tabItem Price` set selling=1 where ifnull(selling, 0)=0 and + webnotes.conn.sql("""update `tabItem Price` set selling=1 where ifnull(selling, 0)=0 and ifnull(buying, 0)=0""") \ No newline at end of file