Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1747 Представления

Hello,


We would like to add an banking account on a invoice to emit it but it seem to be not accessible inside the invoice.... The color is grey and we can click on it.


Nous aimerions rajouter un compte bancaire sur un facture pour l'émettre mais cela ne semble pas accessible. La case est grisée.

Аватар
Отменить
Лучший ответ

Hi,


In Odoo, if the bank account field is greyed out (read-only) on the invoice.

Here's how the system works:


    Customer Invoices (account.move with type out_invoice)


        The bank account shown is generally taken from:


            The Customer’s “Bank Accounts” tab (res.partner.bank) – if present.


            Or from the Company’s bank account, printed on the invoice template.


    The Bank Account Field (if visible) is usually not editable directly on the invoice form unless:


        You’re editing a vendor bill (not a customer invoice).


        Or you have customized the view to make the field editable.

        



There may be any customisation in the field that causes the non-editing option for the bank account.

To make the field editable, try the following code.


<field name="partner_bank_id" readonly="0"/>





Hope it helps

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июл. 25
1748
1
июл. 23
2797
2
февр. 23
3796
0
мар. 25
1044
1
февр. 25
2941