diff -r 555f4b2e7402 src-db/database/model/triggers/M_PRICELIST_TRG.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/triggers/M_PRICELIST_TRG.xml	Thu Feb 07 23:49:55 2013 +0100
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+  <database name="TRIGGER M_PRICELIST_TRG">
+    <trigger name="M_PRICELIST_TRG" table="M_PRICELIST" fires="after" insert="false" update="true" delete="false" foreach="row">
+      <body><![CDATA[
+
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2013 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+
+    v_count NUMBER;
+
+BEGIN
+
+    IF AD_isTriggerEnabled()='N' THEN RETURN;
+    END IF;
+    
+    SELECT count(*)
+    INTO v_count
+    FROM m_pricelist_version plv
+    WHERE plv.m_pricelist_id = :old.m_pricelist_id;
+
+    IF (v_count > 0 and :old.ad_org_id <> :new.ad_org_id) THEN
+      UPDATE m_pricelist_version set ad_org_id=:new.ad_org_id 
+        WHERE m_pricelist_id=:old.m_pricelist_id;
+    END IF; 
+
+    END M_PRICELIST_TRG
+]]></body>
+    </trigger>
+  </database>
diff -r 555f4b2e7402 src-db/database/model/triggers/M_PRICELIST_VERSION_TRG.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/triggers/M_PRICELIST_VERSION_TRG.xml	Thu Feb 07 23:49:55 2013 +0100
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+  <database name="TRIGGER M_PRICELIST_VERSION_TRG">
+    <trigger name="M_PRICELIST_VERSION_TRG" table="M_PRICELIST_VERSION" fires="after" insert="false" update="true" delete="false" foreach="row">
+      <body><![CDATA[
+
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2013 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+    v_count NUMBER;
+
+BEGIN
+
+    IF AD_isTriggerEnabled()='N' THEN RETURN;
+    END IF;
+    
+    SELECT count(*)
+    INTO v_count
+    FROM m_productprice pp
+    WHERE pp.m_pricelist_version_id = :old.m_pricelist_version_id;
+
+    IF (v_count > 0 and :old.ad_org_id <> :new.ad_org_id) THEN
+      UPDATE m_productprice set ad_org_id=:new.ad_org_id 
+        WHERE m_pricelist_version_id=:old.m_pricelist_version_id;
+    END IF; 
+    
+    END M_PRICELIST_VERSION_TRG
+]]></body>
+    </trigger>
+  </database>
