In purchase when selecting a particular operation type and you want to confirm the order you get the error: Reference per company must be unique. And in the settings of operation types, your Reference Sequence seems to be set up correctly.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
The reason for this error is that the Receipt generated from confirming the Purchase Order has a conflicting number with an existing transfer. The solution to this problem is to update the Sequences to start from the next available number.
First activate developer mode using the link at the bottom of Settings. When back on the Settings page, go to Technical menu -> Sequences. Here you will see a sequence that is assigned to the operation type that gives the error with a perticular prefix. Click on this sequence and click on Edit, and change the Next Number to the next available number. Then click Save.
After performing these steps you should be able to confirm the Purchase order. If you have any incoming receipts before you get this message, you may need to check the next number in the sequence yourself by going to Inventory -> Operations menu -> Transfers, searching for your prefix and sort by Reference descending. You will see the last number for your prefix at the top of the list and you can enter the number after the last number as the Next Number in the Sequence as mentioned above.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
7月 24
|
4440 | ||
|
4
12月 24
|
16379 | ||
|
2
3月 23
|
4337 | ||
|
2
9月 24
|
30184 | ||
|
1
2月 25
|
16107 |