odoo 14 ,customer in payment (due date look in group) - odoo-14

Invoicing > Customers > Payments
Payments > group by > Due Date
why happened ,show "undefined".
How to solve "undefined"?
Please, Tell me

account.payment model is delegated inherit the account.move so its inherited all fields of account.move and one of them (Due Date (invoice_date_due)) and this field used in Customer invoice/Vendor Bills but its not used when you create/register a payment so it will be always empty for the payment.
In general: The due date set in invoices to indicate when the payment is expected so it will not mean anything in the payment.

Related

How to avoid payments getting updated for multiple Customer invoices in Odoo 8?

Here are the steps to reproduce:
I created a customer invoice say EX001 and name of the customer is Ted and trying to register payment against this invoice as amount of Rs 10000/-.
But when I try to register payment against this invoice, the payment entry is not updated against this invoice, instead the amount has been split up against invoices EX002 - EX010 (all the invoices are of parent company of Ted).
Most of the times registering payment against one invoice works fine. Sometimes do not.
I would like to know whether it has anything to do with bug fixes. This is an older version of odoo-8.

How to register invoice payment

When I choose the method of payment the amount is reset to 0 and if I confirm the payment of the invoice the state does not change (open to paid) and there is no error message. I can't set any invoice to paid.
I checked all customers and they are well configured, because I did not rewrite python code so I think the problem is not with the models.
Installed modules:
base
crm
sale
account
account_voucher
account_followup
account_management
[and all dependances]
Please can someone help me to understand the problem?
EDIT
Only invoices created from orders cannot be paid.

First Expiry First out in OpenERP

I wanted to bring batch number selection to be in sales module and to enforce any sales done according to the expire date associated to product automatically. The idea is a user select product and quantity to sale, and the system expected to do selection from the right batch, if there is no enough stock available it must does splitting
So far what I managed to do:
Product are sorted by expired date and it automatically selects a product with recent expiry date without any user intervention and notify if not enough stock available
Creates delivery slip to warehouse and sales invoice to finance with that batch number from sales order
However, I am facing these problems
If current stock quantity of specific product in batch is not enough it should go to second batch and creates to sales order line somehow similar to splitting mechanism exist in warehouse.
confirmed sales orders doesn't deduct sold product stock quantity from warehouse

Is it possible to show the number of pre-orders on the product page?

My primary business is pre-orders, and this is how it works:
I list an item for sale.
My customers order the item. Their credit card is authorized but not charged.
Once a minimum number of orders are placed, the customers are charged, and the buy is live.
If, after a specified amount of time, the minimum is not reached, all orders are cancelled.
What i would like to do is this:
Specify the minimum number of orders needed for a particular item in the backend. (not 100% needed, but it would be nice).
Display the total number of pre-orders on the product page, so that my customers know how many are left before the buy is live (it would be great to show it in the following format: 23/50 Ordered).
Does anyone know if this is possible? If so, can you please explain to me what I need to do in order to make this happen?
Thanks!
P.S. - In case it doesn't show up, I'm using Bigcommerce
Store the minimum needed as a custom field & set the initial inventory to that same number. You'll also need to allow inventory to be displayed for pre-orders, though you can hide it from display if you'd like (we only want it present in the DOM).
As the products are pre-ordered, inventory will decrement. Use javascript to subtract the number left in inventory from the original number (the custom field) and display in the ProductDetails.html panel.

get pending orders price using Amazon MWS API

I am trying to process the orders from certain Amazon store. But was faced with a problem:
I can not get total price (or total amount) for orders with 'Pending' status. This field is empty. This info can not be retrieved even via OrderItems.
Amazon API docs says:
Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the ListOrderItems operation does not return information about pricing, taxes, shipping charges, gift wrapping, or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the ListOrderItems operation returns information about pricing, taxes, shipping charges, gift wrapping, and promotions for the order items in the order.
But I really need it. In addition I saw some apps, which can 'see' OrderAmount for pending orders.
Maybe anyone have already resolved this question? Any help is highly appreciated.
Thanks.
I use the SellerSKU along with a Amazon price stored in my database to calculate the order value. It is an estimate, though, since the price may have been updated recently (and the order might not reflect the new price) and I cannot calculate the shipping price - neither the price nor the address is known for pending orders.
At least in my usage, I don't see a reason for trying to get the exact amount before the order actually leaves the Pending state. Quantities and SKUs are known, so you can reserve stock accordingly which is the only task I actually need to know pending orders for.