Openbravo Issue Tracking System - Modules
View Issue Details
0051218ModulesIntercompany Documentspublic2022-12-21 10:432023-01-30 12:56
shuehner 
shuehner 
normalmajorhave not tried
closedfixed 
5
 
 
0051218: Delete the "Internal Settlement" feature as it was never implemented for aprm (but only old-flow)
This module has an optional internal settlement feature which can be configured per c_doctype.

When using it c_settlement entries are inserted, c_debt_payment table is updated and c_settlement_post function is called.
All those 3 actions are related to the old-flow payment system.
Since 3.0 the aprm payment system is default and mandatory.
Using the aprm flow blocks using old-flow via trigger essentially disabling the feature.

The equivalent functionality for aprm in this module was requested in 2011 / issue 18018 but never implemented.

Given that 11 years has passed with that feature essentially being unusable remove it.
grep -Iir settlement
Remove the old-flow integration from the module
Remove the now no longer implemented "Internal Settlement" feature
No tags attached.
related to feature request 0018018 closed psanjuan Modules A "for APR" version of this module is required 
blocks design defect 0051144 new shuehner Openbravo ERP old-flow / pre-aprm: Remove code only useful when old-flow is still active 
Issue History
2022-12-21 10:43shuehnerNew Issue
2022-12-21 10:43shuehnerAssigned To => Triage Omni OMS
2022-12-21 10:44shuehnerRelationship addedrelated to 0018018
2022-12-21 10:45shuehnerRelationship addedblocks 0051144
2022-12-21 10:58hgbotNote Added: 0144878
2023-01-30 12:56hgbotResolutionopen => fixed
2023-01-30 12:56hgbotStatusnew => closed
2023-01-30 12:56hgbotNote Added: 0146022
2023-01-30 12:56hgbotNote Added: 0146023
2023-01-30 12:56aferrazAssigned ToTriage Omni OMS => shuehner

Notes
(0144878)
hgbot   
2022-12-21 10:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.interco/-/merge_requests/1 [^]
(0146022)
hgbot   
2023-01-30 12:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.interco [^]
Changeset: 7a9cad0ee5b3f0715c30efd9c67b499563da0503
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 30-01-2023 11:56:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.interco/-/commit/7a9cad0ee5b3f0715c30efd9c67b499563da0503 [^]

Fixed ISSUE-51218: Remove internal settlement feature (only old-flow)

---
M src-db/database/model/functions/INTERCO_CREATE_INVOICE.xml
M src-db/database/model/modifiedTables/C_DOCTYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODULE.xml
R src-db/database/model/functions/INTERCO_AUTO_SETTLEMENT.xml
R src-db/database/model/functions/INTERCO_COMMONPARENTORG.xml
R src-db/database/model/triggers/INTERCO_DOCTYPE_TRG.xml
R src-db/database/model/triggers/INTERCO_INTERCOMPANYORG_TRG.xml
---
(0146023)
hgbot   
2023-01-30 12:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.interco/-/merge_requests/1 [^]