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

I am planning to export 2024 vendor bills from one Odoo database (v15) into a new database (probably v17).  After consulting with Odoo, they too thought that this was a better approach than trying to 'clean up' our accounting that reflects a lot of errors incurred during the learning process.

If I go to Vendor Bills, select some samples and then export, checking the box that says " I want to update data (import-compatible export)", I cannot find a field that relates to the analytic account (analytic_account_id).  We use this field to identify projects that we are working on (job cost accounting), so it is important that we be able to export and then import this data.

Any guidance that you might offer would be appreciated.

Avatar
Discard
Thoufeer, your response is nothing short of outstanding.  I guess everything is easy if you know how, yes?  We will be upgrading to v17 soon so I'll have to try out that part of the response after we do that.  I am sincerely grateful for your assistance.  Scott

On Fri, Aug 23, 2024 at 8:37 PM Thoufeer <notifications@mail.odoo.com> wrote:
A new answer on Export analytic account from Vendor Bills has been posted. Click here to access the post : See post ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

A new answer on Export analytic account from Vendor Bills has been posted. Click here to access the post :

See post

--
Thoufeer Muhammed


Odoo S.A.

+32 81 81 37 00 | info@odoo.com | https://www.odoo.com

Powered by Odoo


--
Scott H Bellows
Palmetto Commerce International Inc.
803.467.6014



Thank you.

Best Answer

Hi,

Take a look at the screenshots provided below and then proceed with the following steps:

  1. Select the vendor bills you want to include in the export by marking them in the list of vendor bills
  2. Click on Action, Export. Add required fields.
  3. To include an analytic account, find Invoice Lines/Analytic Account according to the screenshot


You will locate the analytic account within the excel/csv file that you export.



To import into v17, you have to map Analytic Lines > {Name of the Analytic Plan}


Avatar
Discard
Best Answer

When exporting vendor bills in Odoo, the analytic account field (analytic_account_id) might not be visible by default in the export options. Here's how you can include it:

  1. Enable Developer Mode:
    • First, ensure that you are in developer mode. In Odoo, go to the top-right corner, click on your profile, and select "Activate the Developer Mode."
  2. Search for the Analytic Account Field:
    • Go to the Vendor Bills list view and select the records you want to export.
    • Click on "Action" and then "Export."
    • In the export window, make sure the "I want to update data (import-compatible export)" option is checked.
    • Look for the analytic account field. If it doesn't appear in the initial list, use the search bar to find it by typing analytic_account_id or search under the "Technical" or "Accounting" sections.
  3. Manually Add the Field:
    • If the field still doesn't appear, you may need to manually add the field to the export template. You can do this by:
      • Clicking "Fields" on the right-hand side of the export window.
      • Searching for analytic_account_id or the related field name in the list.
      • Once found, select it and add it to your export template.
  4. Export and Import:
    • After including the analytic_account_id field, proceed with the export.
    • When importing into the new Odoo database, ensure that the analytic accounts in the target database are set up identically (same IDs or names) to ensure a smooth import.

If you still encounter issues finding the analytic account field, there might be a custom field or module involved, and you may need to verify its technical name or configuration.


Avatar
Discard
Author Best Answer

Thank you for this comprehensive reply.  I have endeavored to follow your (SAMMS) advice and am not having much luck.  It is possible that I am working in a different version (Ent. v.15) of Odoo that you are.  In case you can see where I am going wrong, let me tell you what I did:

  1. I was able to get into developer mode by going into settings, scrolling to the bottom and then activating the developer mode.
  2. Not finding the analytic account in the list of available fields, we tried your advice to "Look for the analytic account field. If it doesn't appear in the initial list, use the search bar to find it by typing analytic_account_id or search under the "Technical" or "Accounting" sections."  We searched for 'analytic_account_id' but it found nothing.  We looked in the 'Accounting' section of the menu and did not see anything relating to analytic accounts.  The Technical section (Configuration|Analytical Accounting|Analytic Accounts) did let me bring up our list of analytic accounts and those could be selected and expored (Action|Export) but there did not seem to any of the fields from Vendor Bills that I needed if I wanted to export the data and then re-import it.
  3. You mentioned adding the analytic field (analytic_account_id) manually by "Clicking 'Fields' on the right-hand side of the export window."  I did not see anywhere that let me click on "fields' on the right-hand side of the export window.

I think I'm at a bit of a stalemate and the only solution I can think of at this point is to manually transcribe the vendor bill records from Jan. 1 into the new database.  If you see where I'm not following your guidance correctly, however, please let me know.  Scott

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 25
26
0
Aug 25
39
0
Aug 25
100
3
Aug 25
150
4
Aug 25
1085