Odoo Help


How to make Account Receivable and Account Payable fields not mandatory

Victor Godayer
on 11/19/13, 10:46 AM 9,039 views


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

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


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.

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

Cheers, that made it.

Victor Godayer
on 11/21/13, 4:01 AM

Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

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.


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)


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