how to solve sequence jumping issue in odoo 14? - odoo

In sale , I applied different sequence for sale quote and sale order.
If sale quote is SQ001 , sale order generated as SO001 after confirming the order.
If sale quote is SQ002, sale order generated as SO003 after confirming the order. #sequence is jumping.
Please someone help me to solve this issue.

Maybe try changing sequence implementation to "No gap". Path is Settings -> Technical (you need debug mode) -> Sequences -> find sequence and set implementation to "No gap". After this, you will no longer have gap with future orders.

Related

How to pass Note from Sale Order Line to Transfer (Detailed Operation Line)?

In Sale Order Line, there is an option to write down some notes in the lines as "note". When the Sale Order is confirmed, the data is sent to stock.picking (Transfers) and the lines from Sale Order Line appear in Detailed Operations in the Transfers page, but without the note.
Where should I look for in order to customize and/or configure it to achieve such goal?
There is no differanciation of line types for stock.picking lines as for sales order lines. In sales order lines it's made by the field display_type.
Trying to imitate this feature for pickings could end in a mess. Personally i would try to get all notes and either copy them to a new notes one2many field or just in one new note text field on the created picking. Or maybe even "easier" is to compute all notes, because every picking line (stock.move) has a connection to the original sales line (sale_line_id) and so indirectly to the sales order or even directly by field stock.picking.sale_id.

Need help on implementing this Use-Case Scenario in NetSuite Oracle

I am very new to E-Commerce World.
I have a use case scenario that I want to Implement in Oracle NetSuite.
But I am not sure how to move forward with it.
Use-Case Scenario:
A Sales Order has a few Line Items & Among them, a few are out of stock.
The 3PL currently I am dealing with accepts only one Unique Sales Order ID as an Identifier.
I want to fulfill the items that are currently in stock and Later on, when the Inventory gets updated I want to fulfill the remaining Items back-ordered in the Sales Order.
But the fulfillment should happen only after the customer has paid for the Items.
Can anyone let me know? How can I achieve this?
Thank you.
You will probably need some customisation to achieve this. I don't know the full set of processes you're working with, but as a general approach, I would suggest the following:
Set up a payment term that says the customer must prepay.
Set up a script to run on your fulfilments, handle "prepay" customers.
You'll also want to check your settings in Setup > Accounting > Accounting Preferences > Order Management. Look for the option on sales orders and fulfilment. You'll probably want to default your fulfilment to available quantity only. You may want to prevent overage on your fulfilments.
When the script executes on your fulfilment, it should execute "before load". The script will need to check the sales order it's fulfilling. If the term is "prepay", the script should then check if a payment has been made against the sales order. You'll potentially need to consider deposits and paid invoices. If the script finds no payments, then it should block the fulfilment.
I'm working on the assumption that you will create a fulfilment with a "Picked" status to send to your warehouse. When they confirm the "goods-out", you will want some sort of feedback loop from your 3PL to set the fulfilment to "Shipped" and update your tracking numbers.
I hope this helps.
Mark

Automate sale order to invoice creation in odoo

Is there an easy way to automate the sale order process ?
I have customer whose salesman will create Sale orders for every sim he creates.
Once Sale order is closed both DC and Invoice should be created and validated automatically, there is no need for stock picking/packing concepts.
Could someone have any idea on doing it without affecting the default flow ?
Or should I call every function related to that process in my module ?
I tried calling the functions in stock picking and then tried validating DC. I got the odoo Warning as
'You have a difference between quantity on the operation and the quantities specified for the lots'
Could you please suggest me which particular function picks the product from stock in stock.picking ?
Hi Nirmalraj Rethinasabapathi,
Yes, I think I have done it for my project.
I can map What I have done to achieve that:
Added two boolean fields in Warehouse form.
One for "Auto Validate Invoice" and another one is for "Automation In Delivery"
Override sales confirmation button action and bypass all the function you want.
It is working perfectly for me.

The line has been modified, your changes will be discarded issue in odoo 9

The products list is dynamically generated while running purchase request. While change the cost or qty it shows the following error, What need to do to modify the record?
Finally I fond the answer for it. I made one of the required field(UOM) in order line. So that only this happens.

How can the check printing report be modified to include a supplier's invoice number?

When I receive an invoice from a supplier, I enter the invoice number (from the supplier) in the "Source Document" field of the supplier invoice. Now, when I print checks (using account_check_writing) it includes the supplier invoice number that OpenERP generates for my record of the supplier's invoice (for example, EXJ/2012/01283), but nowhere does it include the supplier's invoice number. This makes it difficult for the supplier to find the correct invoice in their records to apply the payment.
I have a handle on how to modify reports generally, but I'm not sure of the expression that will evaluate to the supplier's invoice number. I can follow the foreign key constraints from the database to see that account_voucher_line -> account_move_line -> account_move <- account_invoice, and I can find the account.move associated with the current voucher line in the report with "l.move_line_id.move_id". But now how do I find the invoice that also references that move_id, so I can grab the "Source Document" from it?
We already did it (improving the check writing report), and even more considering we improved the batch-printing wizard for checks too. You can grab the following branch and apply it on top of OpenERP 7:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-account_check_writing_jam
Alternatively, you can try it immediately on the fly on http://runbot.openerp.com, find the branch, build it, and connect to it with admin/admin.
In a nutshell, improvements are:
Shows Vendors/Supplier's invoice number
Optionally spills over to multiple pages. You can pay more than 10 invoice lines.
Optionally displays credits that are being applied with this check.
Suppresses invoices that are not part of this check payment.
Optionally works with pre-printed checks number or not.
Optionally resets check sequence during a batch-print if needed.
Optionally overwrite check numbers during a batch-print if needed.
Works with standard US checks (top, middle, or bottom pane).
Options are to be found in the following locations:
in Companies > Companies > Configuration tab
in Accounting > Configuration > Journals > Journals > Advanced Settings tab
in Accounting > Suppliers > Write Checks > Print button > Batch-print wizard
We hope to merge it in core soon.
Feedbacks welcome.
Enjoy,
__
Fabrice
OpenERP US