Skip to Content
Menu
This question has been flagged
3 Replies
7981 Views

In version 10 community edition - how do you make an accounts inactive in the chart of accounts.

Avatar
Discard

Thanks Neil, I believe this is what I was looking for. I wanted to make an account unusable but not delete it.

 

John

 

From: Neil Mitchell-Goodson [mailto:neil.mitchell-goodson@cubiks.com]
Sent: Tuesday, February 21, 2017 5:15 AM
To: jpeluso@outlook.com
Subject: Re: How do you make an account inactive in the chart of accounts

 

A new answer on How do you make an account inactive in the chart of accounts has been posted. Click here to access the post :

See post

 

 

Sent by Odoo S.A. using Odoo.

Best Answer

The account.account model has a field called "deprecated", but activating this doesn't affect the account view, unless you specifically filter it out.

See:

https://www.odoo.com/forum/help-1/question/you-cannot-use-deprecated-account-106649

...which suggests it renders the account unusable, if that's what you're trying to achieve?

Avatar
Discard
Author Best Answer

Sorry Jonathan but I am looking to make an accounting chart of account number inactive.

Avatar
Discard
Best Answer

Is this what you're looking for?

Sales > Customers > Select Customer press "Archive" (it is in the upper right where it says "Active" [the button changes on mouseover])

Via Python:

import odoorpc
odoorpc.odoo.env['res.partners'].search('partner_id', someID).toggle_active #pseudo-code

Note: this feature is not available in Odoo 9.0 and below

Avatar
Discard