跳至内容
菜单
此问题已终结
3 回复
6194 查看

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
2月 25
4921
1
2月 25
2067
1
1月 20
9428
1
6月 19
3937
2
7月 17
5217