author Jorge Garcia <>
Thu, 19 Feb 2015 15:56:38 +0100
changeset 9922 4a2e9dbecf82
parent 9911 444911e2b851
permissions -rw-r--r--
Fixed issue 28818: Not possible to apply taxes dataset in 2.50

This issue is related with the Openbravo ERP 2.50

When installing the 'Taxes: Configuration for Spain (Impuestos para España)'
and trying to apply taxes dataset in the enterprise module management
window this error appears in the window: isCashVat property does not exist.

The solution is to add this column to the core of Openbravo. To match the
Openbravo ERP 3 definition, the definition was copied from that version
and transplanted to the Openbravo ERP 2.50.

This three xml files had changed:

In those files, we had set the definition of the new column.

Now, the dataset of the 'Taxes: Configuration for Spain (Impuestos para
España)' is applied correctly in Openbravo 2.50
<?xml version="1.0"?>
  <database name="VIEW AD_ORGMODULE_V">
    <view name="AD_ORGMODULE_V"><![CDATA[SELECT ad_orgmodule.ad_orgmodule_id || ad_dataset.ad_dataset_id AS ad_orgmodule_v_id, ad_orgmodule.ad_org_id, ad_orgmodule.ad_client_id, ad_orgmodule.created, ad_orgmodule.isactive, ad_orgmodule.createdby, ad_orgmodule.updated, ad_orgmodule.updatedby, ad_dataset.ad_module_id, ad_orgmodule.version, ad_dataset.ad_dataset_id, ad_dataset.description, CASE WHEN instr(ad_orgmodule.checksum, ad_dataset.checksum) = 0 THEN 'Y' ELSE 'N' END AS update_available FROM ad_orgmodule, ad_dataset WHERE ad_orgmodule.ad_module_id = ad_dataset.ad_module_id]]></view>