details: https://code.openbravo.com/erp/devel/pi/rev/d92f585065b4 changeset: 17724:d92f585065b4 user: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> date: Tue Aug 21 08:57:49 2012 +0200 summary: Reverted 13cc2530a27f to provide cleaner code
details: https://code.openbravo.com/erp/devel/pi/rev/6431b810b73f changeset: 17725:6431b810b73f user: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> date: Tue Aug 21 09:50:36 2012 +0200 summary: Fixed bug 21379: Business partner selector on G/L journal lines The G/L journal window is now declared as Sales Transaction='N' Inside the Business Partner selector, the vendor default expression takes into account the special scenario for the G/L Journal window diffstat: src-db/database/sourcedata/AD_WINDOW.xml | 2 +- src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diffs (33 lines): diff -r 35a5a07f47a9 -r 6431b810b73f src-db/database/sourcedata/AD_WINDOW.xml --- a/src-db/database/sourcedata/AD_WINDOW.xml Mon Aug 20 14:17:59 2012 +0200 +++ b/src-db/database/sourcedata/AD_WINDOW.xml Tue Aug 21 09:50:36 2012 +0200 @@ -437,7 +437,7 @@ <!--132--> <DESCRIPTION><![CDATA[Create and edit manual G/L journal entries.]]></DESCRIPTION> <!--132--> <HELP><![CDATA[General Ledger journals allow to manually enter and post ledger entries including "opening" balance accounts ones.]]></HELP> <!--132--> <WINDOWTYPE><![CDATA[T]]></WINDOWTYPE> -<!--132--> <ISSOTRX><![CDATA[Y]]></ISSOTRX> +<!--132--> <ISSOTRX><![CDATA[N]]></ISSOTRX> <!--132--> <PROCESSING><![CDATA[N]]></PROCESSING> <!--132--> <ISDEFAULT><![CDATA[N]]></ISDEFAULT> <!--132--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> diff -r 35a5a07f47a9 -r 6431b810b73f src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml --- a/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml Mon Aug 20 14:17:59 2012 +0200 +++ b/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml Tue Aug 21 09:50:36 2012 +0200 @@ -875,7 +875,7 @@ <!--A246D4AC538E42BE9F0CD8182A558712--> <SORTNO><![CDATA[7]]></SORTNO> <!--A246D4AC538E42BE9F0CD8182A558712--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> <!--A246D4AC538E42BE9F0CD8182A558712--> <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD> -<!--A246D4AC538E42BE9F0CD8182A558712--> <DEFAULT_EXPRESSION><![CDATA[if (OB.getWindowId() == '132' ) {''} else{ if (OB.isSalesTransaction() == true) {'true'} else {if (OB.getWindowId() == '800097' ) {'true'} else {''}}}]]></DEFAULT_EXPRESSION> +<!--A246D4AC538E42BE9F0CD8182A558712--> <DEFAULT_EXPRESSION><![CDATA[if (OB.isSalesTransaction() == true) {'true'} else {if (OB.getWindowId() == '800097' ) {'true'} else {''}}]]></DEFAULT_EXPRESSION> <!--A246D4AC538E42BE9F0CD8182A558712--> <DISPLAY_EXPRESSION><![CDATA[customer]]></DISPLAY_EXPRESSION> <!--A246D4AC538E42BE9F0CD8182A558712--> <CLAUSE_LEFT_PART><![CDATA[bp.customer]]></CLAUSE_LEFT_PART> <!--A246D4AC538E42BE9F0CD8182A558712--> <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID> @@ -1327,7 +1327,7 @@ <!--F91FD25B57A74BD587AEDB091A0FD53D--> <SORTNO><![CDATA[8]]></SORTNO> <!--F91FD25B57A74BD587AEDB091A0FD53D--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> <!--F91FD25B57A74BD587AEDB091A0FD53D--> <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD> -<!--F91FD25B57A74BD587AEDB091A0FD53D--> <DEFAULT_EXPRESSION><![CDATA[if (OB.getWindowId() == '132' ) {''} else{if (OB.isSalesTransaction() == true) {''} else {if (OB.getWindowId() == '800097' ) {''} else {'true'}}}]]></DEFAULT_EXPRESSION> +<!--F91FD25B57A74BD587AEDB091A0FD53D--> <DEFAULT_EXPRESSION><![CDATA[if (OB.isSalesTransaction() == true) {''} else {if (OB.getWindowId() == '800097' || OB.getWindowId() == '132' ) {''} else {'true'}}]]></DEFAULT_EXPRESSION> <!--F91FD25B57A74BD587AEDB091A0FD53D--> <DISPLAY_EXPRESSION><![CDATA[vendor]]></DISPLAY_EXPRESSION> <!--F91FD25B57A74BD587AEDB091A0FD53D--> <CLAUSE_LEFT_PART><![CDATA[bp.vendor]]></CLAUSE_LEFT_PART> <!--F91FD25B57A74BD587AEDB091A0FD53D--> <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
