This question has been flagged

Hello,

I am running odoo v10 i am facing problem. My problem is I have vendor xyz but same vendor xyz is a customer i want to know how we handle accounting for example

We purchase from xyz some items worth $1500 it means we have to pay $1500 to xyz

but

we supply some items to xyz worth $800

now what we want accounting must be show total payable $1500-$800=$700

we have check both options IS A CUSTOMER AND IS A VENDOR

thank you

Avatar
Discard

Hi Ray,

Many thanks for your reply. This is very hard for me because i am new on Odoo. I shall highly oblige to you if you do it your end i will send me IP and login details. 

I Hope you will help me.

Thank you 

Best to contact an Odoo Partner in India/Pakistan, or Odoo in India - Gujarat. I am in the USA.

Thanks Sir for your reply. i will contact for this customization.

Last question i have i am trying to DELETE companies, inventory move histories, warehouses, locations and everything instead of products only but nothing is delete i got error i follow the error instructions after that i try to delete again but nothing is delete again. How can i delete everything instead of products only

thank you

Please post another question separately from this one. People will not look at an answered question to reply - they will only look if they want to know the answer.

Best Answer

Check if this suggestion works for you:

I will use this example:  Your Customer purchases $500 worth of Services, but sells you $300 worth of Products, so you want to offset the $300 you owe them against the $500 you owe them and just pay them $200.

One way to do this is to setup two additional accounts - AP with NETTING and AR with NETTING.  You then assign the AR and AP accounts of Partners who you have a netting agreement with to the same account. Do this based on what that Partner does MOST of the time.  If most of the time they BUY from you - their AR and AP accounts would both be set to AR with NETTING.  If most of the time they SELL to you, their AR and AP accounts would both be set to AP with NETTING.

You have to get around the business rules that prevent you from choosing a Payable account for AR and a Receivable account for AP.  You do this by importing the new Accounts instead of changing them via the User Interface.



1. Create the two additional Accounts. 

Via Accounting --> Configuration --> Chart of Accounts:



2. Filter for the Customers and Vendors who you have netting agreements with.

Export their NAME, ACCOUNT PAYABLE and ACCOUNT RECEIVABLE. Be sure to use the EXPORT ALL DATA option so you can export the Accounts by their name:



You will end up with a Text File that looks something like this:

"External ID","Name","Account Payable/Name","Account Receivable/Name"
"__export__.res_partner_7","Customer","Account Payable","Account Receivable"
"__export__.res_partner_8","Vendor","Account Payable","Account Receivable"

Edit the account names, to match the ones you made in the first step:

"External ID","Name","Account Payable/Name","Account Receivable/Name"
"__export__.res_partner_7","Customer","Account Receivable with NETTING","Account Receivable with NETTING"
"__export__.res_partner_8","Vendor","Account Payable with NETTING","Account Payable with NETTING"


3. Import the file to change the accounts.

Be sure to map the fields properly for the Accounts:



4. Create Customer Invoices and Vendor Bills as you normally would.

Review the Partner Ledger and Aged Receivables Reports to verify how the 'balance' for the Customer has been computed:


In this case I created a Customer Invoice for $500 and a Vendor Bill (from that Customer) for $300. 


You can see from the Aging Report above that we owe the Customer just $200.


5. Use the Vendor Bill to 'pay down' the Customer Invoice. 

Open the Customer Invoice - you will see the blue notification and the 'payment' you can apply:


Apply the 'payment' to reduce the balance of the Customer Invoice.


The Invoice and Bill will now have the following balances - Invoice $200 - Bill $0.



Review the Aged Receivables report:



Be sure to review the Ledger treatment of these transactions to make sure they satisfy your local Accounting laws.



Note - the choice of whether a Partner is "mostly a Customer" or "mostly a Vendor" determines which Report they show up on.

Avatar
Discard