Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
289 Visualizações

Odoo Ent. Ed. v15


I am trying to add an analytic account to an existing Sales Order but that field is disabled.  The Analytic Account setting is checked in Settings, I am shown as an 'Accountant' and I have administrative rights.


Although I may be mistaken, it appears that I confirmed a quotation without an analytic account and then, from there, created a sales order (also without an analytic account) and, from there, created an invoice with a 50% down payment.  The quotation now shows the 50% down payment as a line item, the Sales Order, likewise shows a 50% down payment line item and there is now a 50% confirmed invoice (In Payment).  I also show a draft invoice for the same Sales Order number that deducts the previous 50% down payment amount and will invoice for the balance.


The Sales Order has been given to a customer so I'm hesitant to delete it and to create a new one.  I'm not sure why the analytic account field is disabled but, in any case, can someone suggest a solution that does not require editing Python code?  If an analytic account now can't be created, for whatever reason, that would be helpful to know as well...I'll just have to recreate things and do some explanatory documentation.


Avatar
Cancelar
Autor

Masoud, can you please clarify where exactly I should be looking for "journal settings in invoicing" to make sure that an analytic account is required?

I have looked at

Accounting|Configuration|Settings|Analytics and the Analytic Accounting checkbox is checked.

Accounting|Configuration|Journals|Customer Invoices and didn't see anything related to analytic accounts

Accounting|Configuration|Customer Invoices but didn't see anything related to analytic accounts.

Sales|Quotation Templates and noticed that the two templates I have have empty Invoicing Journal fields (but, regardless, 'Customer Invoices' seems to be the default)

I think that I was following the correct sequence but may have deleted the analytic account entry during the process when I was trying to get a handle on analytic accounts, analytic plans and analytic budgets.  I'm just trying to fix what was most likely my mistake.

Autor Melhor resposta

Probably a reflection of my lack of expertise, but I couldn't find the 'journal settings in the invoicing' (at least, nothing I could change that had to do with analytic accounts.  With the need to address this problem, I came up with a different approach, shared below.  I am using Odoo 15 and, depending on how you've configured things, the instructions that follow may not exactly mirror what you see.  I hope that this is of some assistance to others.

1.      Navigate to Sales|Orders|Orders and open the first sales order.  Then, click on the ‘Other Info’ tab and see if there is something recorded in the ‘Analytic Account’ field.  If so, use the right arrow to scroll to the next sales order.  Continue until you find a an empty ‘Analytic Account’ field.

2.      If the Analytic Account field is empty, click on the field’s data entry area to see if it is disabled (nothing can be entered).  If you can enter something in the analytic account field, now would be a good time to do so, save it, and then continue scrolling to the next record and repeat the process.

3.      If the Analytic Account field is disabled, observation tells me that an invoice was created against it. At the top of the screen, click on the Invoice link (but take a screenshot of it first, since you’ll be needing some of that information later).  Proceed to step 4.

4.      “Reset to Draft”…the invoice, and then Cancel it (but, again, make a screenshot or take a picture of it first, since you’ll be needing that information later).  It should show as Cancelled in the top-right corner.  Then, press button link at the top that returns you to the Sales Order.  Proceed to step 5.

5.      Once back in the sales order, click on the Cancel button followed by the Set to Quotation button that appears.  The Analytic Account field should now be enabled.  Fill in the Analytic Account manually ‘and then press the tab key’ to exit the field.  This, in my case, pulls up a window asking you to specify the Analytic Plan name…I used the sales order number (S00XXX) for this and then saved it.  Once back in the sales order, save it and then proceed to step 6. (When saving it, Odoo may modify the Analytic Account name).

6.      Confirm to make the quotation a sales order. Proceed to step 7.

7.      Next, ‘Create Invoice’.  This will allow you to create a ‘draft’ invoice (again, in this process you’ll want to use the original Invoice Date and Due Date.  This is important because, otherwise, the invoice number may reflect the current month and year and show up in your fiscal reports in the wrong time period.  Odoo will assign a different invoice number than the original invoice number so you should document what you’ve done in a log note or perhaps in the invoice’s Customer Reference field.  Save the draft invoice.  If the invoice was already paid for by the customer, proceed to Register Payment (making sure that the Payment Date, on the window that pops up, reflects the month that it was actually paid so that it shows up in the correct financial reports.

Avatar
Cancelar
Melhor resposta

Double-check if your journal settings in the invoicing are configured to require an analytic account and that same journal's setting. Sometimes, even if the "Analytic Account" checkbox is ticked in settings, certain configurations could prevent it from being properly added. also walk through the order creation process again, ensuring that at each stage (quotation → sales order → invoice), the required analytic account is set. This helps pinpoint where things are going wrong.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
set. 25
224
0
set. 25
132
4
set. 25
1246
3
set. 25
369
1
ago. 25
359