Closed giordano-ch closed 4 years ago
seems that this issue is fixed in odoo11 ?? any information about this?
We should be using AdrLine instead.
This was fixed for odoo11 in https://github.com/OCA/bank-payment/pull/583/files
With the following change for l10n_ch:
I just cherry-picked those 2 commits into 12.0
https://github.com/OCA/l10n-switzerland/commit/4cab9412bc241a85ab0ecc5fe70be185e621d598#diff-5d36e3d6e4ebf67a6a0490d4a52478d0 https://github.com/OCA/l10n-switzerland/commit/ecca11c1de7b05e9dd6f24c7a8cd6862d7905214#diff-5d36e3d6e4ebf67a6a0490d4a52478d0
Seems the cherry-pick don't have any effect it seems https://github.com/OCA/bank-payment/pull/583/files didn't make it into 12.0 branch of bank-payment.
Will propose a PR for that as well.
PR for bank-payment made here: https://github.com/OCA/bank-payment/pull/627
@giordano-ch So you need to patch your 'bank-payment` plus pull last version of this repository.
@yvaucher thanks for quick feedback. Is this issue fixed now?
I pulled the newest repository 'l10n_ch' and 'bank_payment' but the Tags
@giordano-ch OCA/bank-payment#627 was merged 6 days ago, please retry :)
In version 12 of l10n_ch_pain_credit_transfer and are always generated in the XML File.
According to UBS testplatform, the concurrent use of PstCd/TwnNm with the unstructured element AdrLine is not allowed.
We have tested this with various swiss banks such as UBS, Credit Suisse and Kantonalbank and the upload always gets refused.
If we comment out the tags, the generation of the XML doesn' work anymore.
Has anyone a fix for this?