Supplier rename fix

This commit is contained in:
Anand Doshi 2012-01-30 11:08:47 +05:30
parent 327269fbc6
commit d3db70bb72

View File

@ -158,8 +158,7 @@ class DocType:
('Payable Voucher', 'supplier'),
('Purchase Order', 'supplier'),
('Purchase Receipt', 'supplier'),
('Serial No', 'supplier'),
('Supplier Quotation', 'supplier')]
('Serial No', 'supplier')]
for rec in update_fields:
sql("update `tab%s` set supplier_name = '%s' where %s = '%s'" %(rec[0],newdn,rec[1],olddn))