How to change the chart of accounts (COA) in Odoo 10 or 9 - odoo-9

I'd like to know what is the proper way to change the whole chart of accounts and import a new one in Odoo 10 or 9
P.s. we are using Enterprise version
UPDATE:
when I try to delete the following accounts I get this error
You cannot remove/deactivate an account which is set on a customer or
vendor.
Here's the list of accounts:
101200 Account Receivable
101300 Tax Paid
111100 Account Payable
111200 Tax Received
200000 Product Sales
220000 Expenses
when I checked the log file I got this
odoo.sql_db: bad query: UPDATE "account_account" SET "code"='220000',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (68)
any help will be appreciated. Thanks

When you are trying to delete accounts, it is already referenced on different places like Customers, Products, Taxes etc. So first you have to remove the references from all the places, then try deleting Chart of Accounts.
You have to enable debug mode to see below menus.
To remove all these reference for Partner and Products:
Settings > Technical > Parameters > Company Properties and search for all these fields property_account_receivable_id, property_account_payable_id, property_account_income_categ_id, property_account_expense_categ_id. When you find records for these property fields open it and clear "Value" field data.
Screenshot of Company Properties Record
To remove from Taxes:
Accounting > Configuration > Accounting > Taxes
Open all the records and clear "Tax Account" and "Tax Account on Refunds" fields value.
To Remove from Journals:
Accounting > Configuration > Accounting > Journals
Open all the records and clear "Default Debit Account" and "Default Credit Account" fields value.
After doing above steps you will be able to delete Chart Of Accounts.
To import Chart of Accounts you have to first fill all the required fields like Code, Name, Internal Type and Allow Reconciliation. See below screenshot of the template
COA Template

Related

Libreoffice-base subform_sales_desc inside form_order . first form cannot enter items as number and show as names and not gst,unit etc automatically

I am creating free accounting package in libreoffice-base to compete already available ones your contribution is appreciated. the package include tables:
items
item_groups
order_details
sales_bill_desc
cash
units
companyinfo
bill sales
Customer_ledger
etc.
and created two forms
first to enter items in items table with following fields:
id
List item
particulars
units from units table linked with id gst chooses from
tax table related as id basic price basic stock, barcode, group,
subgroup,
second form is sales bill entry form
it contains a form which relates to order_details table selects customers name from ledger where its state code is also defined e.g. for punjab its 03 basically it is picked from customer's GSTIN number
a subform which is connected to sales_bill_desc table related to order_details table with bill number in both tables.
now in subform when we enter one item, its name is displayed which is same entered in sales_desc table additionally it also need automatically display item units, gst, price(editable field but basic price must be displayed there).but it does not. how to do that i have studied books but am lacking i created same in access 2016 somewhere which worked fine (full working package accounts with inventory).At this time,I am trying to use same database but advanced with features such as barcode. Of course the issue is to be resolved if someone can help. I am loading code of the package.Please rectify and update.

Possible to update a field in Sales Quota Distribution records associated with an Opportunity when Opportunity Owner is changed?

One Opportunity record can have many Sales Quota Distribution records associated to it. I want to be able to update the Opportunity's Owner field, and pass whatever is in the Owner field to EACH Sales Quota Distribution record associated to it. I have created a text field in the Sales Quota Distribution entity called "Opportunity Owner" that I want the Owner of the Opportunity record to get passed to. Is this possible? If so, how?
If not, would it help if I changed my "Opportunity Owner" field in the Sales Quota Distribution entity to a lookup field?
You can't update child entity records' fields in OOB Dynamics CRM workflow. As an alternative, you may create a custom workflow activity (using CRM SDK C# Code) that you can run on the update of Opportunity Owner. And what that code will do is:
Get all related Sales Quota Distribution entity records
Update "Opportunity Owner" field on each Sales Quota Distribution record
Update entity records in CRM
To check how to create custom workflow activity please see the documentation on to the below link:
https://learn.microsoft.com/en-us/powerapps/developer/common-data-service/workflow/workflow-extensions

Magento 2.2 and multiple currencies with fixed prices

Site requirement is that all products are available to purchase in either GBP, USD or EUR. However, pricing is fixed for each product - client does not want pricing based on current exchange rates. If they did it'd be easy!
We have customers assigned to groups (price bands) and for each product we set the price for each price band. GBP has 5 price bands, USD has 2 and EUR has 1.
This is where it gets tricky. With the main site base currency set to GBP, in order to set USD & EUR in advanced pricing (i.e. fixed by customer group), we have to create a US and EU website. It's the only way to select a different currency in Advanced Pricing. Fine, but we don't want different domain/URLs for the three sites. That would in effect duplicate the same site three times with the only difference being the currency symbol. That would play havoc with search engine ranking. So I've set all three sites with the same domain but it doesn't work.
The only way to select the website when creating a customer is to have Account Sharing Options set to "per website"; otherwise the option to select website is disabled. I create a customer in admin, assigned to say the US site. Customer get's a mail to set password. Follow the link and try to set the password and it comes up with an error "Something went wrong while saving the new password." I'm guessing this is because it's trying to set the account password on the main site when the customer is associated with the US site. I've tried this multiple times and it's always the same error.
Anyone have any idea how to configure Magento 2.2 to support multiple currencies where pricing is fixed in Advanced Pricing by Customer Group and without having three duplicate public sites?

Magento multi store multi currency

i have 2 store, 1 for USD 2 for CAD
my first store working fine, my 2nd store shows product value CAD when i send in paypal that time CAD value convert in USD, can you suggest me how to slove it i need when paypal goes its show CAD.
The solution to this problem lies in this Magento thread; here’s a summary for anyone struggling with this:
You need to set-up multiple websites, one for each currency (not just store views, complete websites)
Set ‘Catalog Price Scope’ to ‘Website’ in System > Configuration > Catalog
Set the Base Currency of each website to its respective currency in System > Configuration > Currency Setup
Set all your currency rates to ‘1.0’ in System > Manage Currency Rates
Now you can set your product prices per store when editing a product, voila!

By using CRM 2011 online, I want to E-mail INVOICE automatically with Product Description(line items) in ,to My Customers

My Organization wants to Email (automatically means system itself generate the invoice mail) Invoices to their Customers 25th of every Month with the number of products(LINE ITEMS Means Invoice products) in The INVOICE. For Having Line items in the invoive form I've made some customization and add "grid" Which now shows the line items information means you get information that how many products this invoice actually is..
For this I've made an e-mail tempelete For the Entity invoice .But Problem is that the grids fields are not there in the the tempelete "Insert\delete" option .
I research alot and made all possible attempts To mail(AUTOMATICALLY) the invoice with all the line items in it
There is no way to easily accomplish what you wish to do. You can't create custom workflow activities in crm online so your only real option is to create some type of external program that does the work. Templates will only handle part of the problem and not the invoice line items at all.

Resources