Display all product in sale report - odoo

in sale report you can choose only products and quantity bought per costumers and export it as an excel file
what i need is a way to show all products even if the quantity is 0
Is that possible ?
Thanks.

you can using the advanced filters in the search bar
chose quantity on hand equal 0 or greater than 0

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.

Odoo 10 how to calculate the total debt of partner

I would like to calculate the total debt of partner_id, with all his debit on every his invoice
as an example:
In Accounting\Customer Invoices I have a
when I click on bbb opens
when I click on the report, in my case Automatski racun
I want to enter in the field Vaš ukupan dug the total debt of all accounts that bbb has
And can you tell me how to iterate over all partner_id eg. in the Journal Items
Because I tried this way to get a total of bbb debt, but I did not know how to iterate
If I'm not clear enough or you need more information, please let me know
Here it is the code.
#api.onchange('partner_id')
def set_customer_credit(self):
self.custom_field = self.partner_id.credit

"E£" Symbol after amount in sales and POS

I am using odoo 9
In sales & POS, after the amount, E£ symbol is shown like 0.00 E£ and cannot be removed.
Changed the currency from EUR to SAR.
All the modules shows amount correctly but in sales & POS it is like 0.00 E£
It's Because in Sale Order Form while calling customer it take currency_id as price list's currency_id.
When you created the db, default currency may be EUR so its currency_id will be in EUR.
Please enable "Advanced pricing based on formula" in sale settings and
Then you can find price list in Sale menu.
Create Another Price list .
Then change the Price list in Sale order Form.
Please check images .
This will be the current view with default price list in SO Form
I have created a pricelist called Test Price List and changed it with
Public.
SO Form after Changing Price list

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

Challenging Excel VBA/Macro for inventory management

I work for an eCommerce company and we use Microsoft Excel for our inventory database. We currently just keep adding items to this database as we purchase them, without ever removing them. What I would like to do is start removing items as they sell. I am not sure how to attach the file, so if you e-mail me at drenollet#supplykick.com I can send it to you. Below are the following steps:
The Sales tab includes the sales data for the items. I would like to take this data and be able to copy and paste it in a sheet in our Inventory Managment file in excel (a separate file, but I included a sample in the "Database" sheet).
I then need to just use a VLOOKUP formula and the Catalog data to get the Product ID instead of the SKU. (I can do this.)
Then use the copied data in the Sales Tab that is in the Inventory Management file and move the corresponding rows out of the Database file/sheet to the Sold Items sheet.
A few thoughts on specifics:
I want to make sure all the quantities are right. (e.g.1 if we purchased two of an item and only one sold - reducing the quantity in the Database sheet from two down to one.) (e.g.2 If we purchased an item two different times at two different prices and both were purchased in one sale, I would want to make sure both of the rows are moved out of the database).
If you have any thoughts on making sure the quantities are right, let me know. Maybe we need to set all the purchase quantities to one and copy the purchase of a multiple quantity of items X number of times for each one that was purchased.
Would love your input on how to cross this bridge! Let me know if you would like to see the sample file and I can directly e-mail it to you!
Best Regards,
Don Renollet
The best way to do this is to have a sheet called Movements
then you have just rows of entries like
A B C D
----------------------------------------
prodID Movement type Qty Date
123 Purchase 5 08/01/15
789 Sale 2 07/01/15
123 Return 1 06/01/15
456 Sale 1 05/01/15
789 Purchase 10 04/01/15
456 Purchase 5 03/01/15
123 Sale 2 03/01/15
123 Return 1 02/01/15
123 Sale 1 02/01/15
123 Purchase 10 01/01/15
Then at anytime excel can calculate whats in stock using sumifs or similar
=SUMIFS(C:C,A:A,"123",B:B,"Purchase") - Sumif(C:C,A:A,"123",B:B,"Sale")) + Sumif(C:C,A:A,"123",B:B,"Return"))
You should never remove rows from a database like this, you can always do a stock take every so often and restart the database with 1 entry for each item, but aways store the old data elsewhere.
Try not to mix price with quantity if possible, if you need to manage price , consider using a moving average price (MAP)