Switzerland mailing list archives

switzerland@odoo-community.org

Avatar

Re: [v12] Reference type on vendor bills (l10n_ch_base_bank)

by
Camptocamp SA, Yannick Payot
- 05/11/2020 18:29:08
Hello Virginie,

For reference_type, the change follows the change on Odoo core that dropped that field. https://github.com/odoo/odoo/commit/b5bb5bd421ad5c643f72602f6a0f97a4a0eb8711
In your case you want to rely on a similar mechanism as that detect the type of reference in v13.0 it's in the core https://github.com/odoo/odoo/blob/13.0/addons/l10n_ch/models/account_invoice.py#L255

For the XML view the commit says it was a duplicate field on the form view.

For what it implies to put it back is that nothing relies on the reference_type anymore. IMO an approach to detect the type of reference is better in terms of UX.


I would strongly recommend going with Odoo 13.0 instead of 12.0. Some fixes have not been backported and Odoo 12.0 localisation is a bit in a clumsy state.

Cheers,
Yannick Vaucher
Business Solutions Architect

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 30
Office: +41 21 619 10 10


On Tue, 20 Oct 2020 at 15:32, Virginie Dewulf <virginie@coopiteasy.be> wrote:
Hello community,

I have a customer in Geneva who uses l10n_ch_base_bank in v9.
We are going to v12 and we notice that the field "Reference type" is not there anymore.





Do you know why this choice was made?
Do you see a risk if we put back this view?

Thanks a lot!
-- 
Virginie
0477/64.17.20
--
Si vous avez un contrat de support, posez-nous vos question à l'adresse "support@coopiteasy.be"
--
Lors de l'envoi d'un mail, renseignez le nom de la structure pour laquelle vous travaillez. Merci.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/switzerland-29
Post to: mailto:switzerland@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference