Odoo Help

0

How to make Account Receivable and Account Payable fields not mandatory

By
Victor Godayer
on 11/19/13, 10:46 AM 8,031 views

Hi,

I've installed the addon "eInvoicing & Payments". Since then, I'm not able to create customers without giving an "Account Receivable" and an "Account Payable".

I've checked out another question on this topic (on this site but i dont have enough karma to post links). In the other question it is replied "These are property fields, which you can make non-mandatory by a simple inherit.", but it did not help me to find the way to do such a thing.

I've taken a look in "Technical -> User Interface -> Views", trying to find these property field, but I could not find anything.

Any help will be much appreciate! Cheers VG

3
Open Net Sarl
On 11/19/13, 2:32 PM

Hello,

If you have installed the 'eInvoicing & Payments' module, I guess you want to do accounting.

Account Receivable and Account Payable will be required as soon as you will invoice them.

If the fields are empty, it's means that you are missing a default value for them.

In the developper mode, you have on top of the form a drop down menu. In this menu you have an option 'Set default' Use it to automatically fill the fields.

Thanks for your help. Unfortunately, when i get the box 'set defaults', I can't define default value for the fields "Account Receivable" and an "Account Payable". Should I make any change in the code ?

Victor Godayer
on 11/20/13, 10:22 AM

You need to populate the fields on the form before using 'set defaults'. If you don't populate the fields on the form with the defaults you want, 'set defaults' won't work.

Bista Solutions US, Ray Carnes
on 11/20/13, 4:39 PM

Cheers, that made it.

Victor Godayer
on 11/21/13, 4:01 AM
1
Ray Carnes
On 11/19/13, 7:39 PM

You cannot make them non-mandatory.

These fields are required because you will not be able to process invoices or payments without them.

You can only create default values for them (as explained by Open-Net Sarl)

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 11/19/13, 10:46 AM
Seen: 8031 times
Last updated: 3/16/15, 8:10 AM