تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
6247 أدوات العرض

I am facing an error.My environment is multi company and my products are shared. I have imported LOT nos and inventory adjustment and it worked for one company fine but when i try to do the same in another company it gives a conflict on lot no. if lot no matches with other company it is not allowing me to access that existing nor nor it allows me to create it in another company. 


الصورة الرمزية
إهمال
الكاتب

Odoo Server Error - Access Error

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Stock Move, Operation: read) - (Records: [105], User: 2)

أفضل إجابة

Hello there,

To import a Lot/serial Number with qty needs 

  • External ID
  • Product / External ID
  • Lot/Serial Number / External ID
  • Quantity
  • Location
  • Company / External ID [Leave blank if it is used by all companies]

But here the new Lots/serial numbers are to be imported, so first create a "Lot/Serial Number / External ID",

  • External ID [new Lot's external ID]
  • Product / External ID [export Inventory>Products>Product Variants]
  • Lot/Serial Number Name
  • Location(optional)
  • Company / External ID [Leave blank if it is used by all companies]

Then import the data in Inventory>Products>Lot/Serial Numbers.

Next step, now you have both  "Lot/Serial Number / External ID" and "Product / External ID", 

  • External ID[ new Quants External ID]
  • Product / External ID
  • Lot/Serial Number / External ID[lot's imported id]
  • Quantity
  • Location
  • Company / External ID [Leave blank if it is used by all companies]

Then import it, the new lot nos with quantity which will be available in specific/multicompany.


Check and clarify the doubts.

 

الصورة الرمزية
إهمال
أفضل إجابة

video reference here:



الصورة الرمزية
إهمال
أفضل إجابة

Hi Mohsin:

The lot numbers need to be unique within the product.

الصورة الرمزية
إهمال
الكاتب

After making lot nos unique now there is a product with 7 different lot no. How can i add 7 lines of same product in inventory adjustment via import. Odoo picks only only entry and ignores 6 other entries.

You can do this as a 2 step process with developer mode enabled. The Lot numbers for each Product need to be defined before you can import the inventory levels.

1. Go to Inventory > Master Data > Lots/Serial Numbers and import the Lot numbers for which you want to update the inventory. This will create the Lot numbers for the product(s). Export the data from this list so that you have the External Id's of the Lot Numbers and Products (to be used in the csv file for step 2).

2. Go to Inventory > Operations > Inventory Adjustments and create an adjustment for "All Products" and click on the "Details" smart button. This will allow you to import the inventory by lot number. Export the data into a csv file, update the lot numbers, products and stock and import the csv file and validate the inventory adjustment.

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
فبراير 25
5023
1
فبراير 25
2111
1
يناير 20
9492
1
يونيو 19
3968
2
يوليو 17
5254