Perpetual Inventory Valuation- odoo 10 - odoo

I created 3 chart of accounts as follow with type current asset:
23600 Stock Interim Account (Received)
14600 Stock Interim Account (Delivered)
14000 Stock Valuation Account
And assigned to product category.
Set costing method as Average and inventory valuation as Perpetual.
Created a purchase order and received products
Then system created journal entries as follow.
When i create an vendor invoice from same purchase order, in product lines it automatically choose 501100 Cost of Goods Sold in Trading instead of 23600 Stock Interim Account (Received).
Did i configure anything wrong?
How can i resolve this?

Related

Bigcommerce - Update Price of Products in Cart Based on Price List & Custom Fields

With Bigcommerce Price Lists, we obviously have the ability to give discounts based on bulk buys/qty.
We want to be able to combine the quantities of items in the cart if the products have a common custom field (or similar) and give the bulk price list discounts based on the combined qty.
For example:
Product A has a bulk purchase discount - buy 5+ and get 10% discount
Product B has a bulk purchase discount - buy 10+ and get 15% discount
Both these products would have a custom field/meta field at the variant level that = "Allow Combined Discount A"
So that means if Product A has a cart qty of 4, and product B has a cart qty of 6, the combined qty = 10
Product A should receive 10% discount (as combined qty >=5)
Product B should receive 15% discount (as combined qty >=10)
How can we achieve this? Ideally, the price updates/discounts would apply immediately when the cart quantities reach the correct levels. There could also be other products in the cart with different combining custom field/meta field values, which would need to calculate their own total - e.g. "Allow Combined Discount B"
Promotions on categories will not work as there are can be varients on products a and b where the bulk discounts do not apply, or the qty of some variants should not count towards a combined total to apply price list bulk buy discounts.

Let employees buy products via POS

I would like to use the odoo POS also for internal use. Employees should be able to buy products for themselves. All of the costs should be charged via the payslip of every employee.
Example: A is an employee of my company X. A buys a coke (2$) from the POS. B is chief of HR at X and wants to generate the payslip of A to send him his loan (100$) for the month. Odoo should now calculate and sum up all POS expenses and then show B that A gets a loan of 98$.
I would probably do some adjustments with custom modules, however would it even be possible to set an employee as the customer in odoo?

How to deal with tax in quotation with multi company option?

This question is about how to deal with tax in quotation with multi company option. Please take below scenario:
1) I have enabled multi companies feature and lets say I have 2 comapnies C1, C2.
2) I have two taxes T1(with company C1) and T2(with company C2).
3) I made products P1 with tax T1 and P2 with tax T2.
4) Consider I have set C1 as current company in the user settings.
5) Now, whenever I make Quotation and select both these products then, for P1 it shows tax in order line and for P2 it does not show taxes. It is so because I have set C1 as current company.
6) If i change current company in user settings from C1 to C2 then in the new quotation, now it will show tax for product P2 not for P1. It is so because I have set C2 as current company!!! i have to set the taxes manually for product P1.
How to get rid of this? I want to apply tax on the order line irrespective of the current company.
In Account Tax company field is available and required, when you create sale order line then system will set tax based on login user company.now let say if you select product P2 but if there is not any login user company tax available in product P2 then system will not set any tax in P2 product line.
You need to create two taxes for both company.
Ex : You should create tax T1/T2 for both company, so total there are four taxes in your system.two taxes per company.
In Product you can set multiple taxes.In product P1 you can set tax T1/T2 same in product P2 you can set tax T1/T2.
After that When you login with company C1 and add two products then system will set C1 company tax in both product lines. It will work for another company as well.
This may help you.

Sell numbered seats in Prestashop

Im looking for a way to sell numbered Tickets on Prestashop. For example I have a ticket for a Hockey Game. Seats are numbered, so when I sell a ticket for seat A8, this seat is gone and can not be sold again. The seats are all the same price for a given Game or Season. A customer should be able to choose his seat from a dropdown list.
You will need to add product quantities and enable out of stock feature.
Then set the product quantity to 1.
And not allowing orders when the product quantity is less than 1.
You need to make Attribute "Seats" with value of all seat numbers and allow add one quantity for each of Seats values

Best way to store differing tax rates for countries in SQL (then how to use it in a basket situation)

I have raw data that I'm trying to sort; I have the tables (I think) decided on with a basket including a basket_id, customer_id, basket_date, total_price, tax and payment_type.
Tax is a set portion of the total price, so if the total price were 512.99 and the seller came from the UK (which would denote a tax percentage of 10%, different for each country and a total of 6 countries) then the tax would be 51.299. I need to store that tax figure, NOT the percentage, in this basket table by somehow referencing the tax percentage in another tax table so that SQL can automatically calculate the figure from the percentage*total_price. Is this possible?
I don't need anything unnecessary in examples, JUST what I need to do, no need to overcomplicate it!