PICK完成,但是状态依然为BACKORDER

PICK完成,但是状态依然为BACKORDER

提示:

解决方法:MAST ITEMàRESERVESHIPPABLE要选择

* symptom: Pick Release completes but the order remains in backorder release

* rligible.

*

* cause: The Item attributes Reservable and Shippable are not checked and

* profile option OE:Reservations is not set to Yes

*

*

fix:

Set the Item attributes Reservable and Shippable to checked and profile option

OE:Reservations to Yes.

To Fix:

1. Navigate to Items -> Master Items.

2. Query the item.

3. Select the Inventory alternate region from the drop down list to check the

Reservable attribute.

3. Select the Order Entry alternate region to check the Shippable attribute.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/729410/viewspace-907650/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/729410/viewspace-907650/

要从给定的字符串列表中获取`name=""`中引号中的内容,可以使用正则表达式方法。以下是一个示例代码片段,可以在Python中使用re模块来实现: ```python import re def extract_names_from_list(lst): names = [] pattern = r'name=(\'|")([^\'"]*?)\1' for string in lst: matches = re.findall(pattern, string) for match in matches: names.append(match[1]) return names # 示例用法 string_list = ['<field name="name"/>', '<field name="location_id" options="{\'no_create\': True}" string="来自" groups="stock.group_stock_multi_locations" optional="show"/>', '<field name="location_dest_id" options="{\'no_create\': True}" string="至" groups="stock.group_stock_multi_locations" optional="show"/>', '<field name="partner_id" optional="show"/>', '<field name="user_id" optional="hide"/>', '<field name="scheduled_date" optional="show"/>', '<field name="origin" optional="show"/>', '<field name="backorder_id" optional="hide"/>', '<field name="state" optional="show"/>', '<field name="priority" optional="hide"/>', '<field name="picking_type_id" optional="hide"/>', '<field name="company_id" groups="base.group_multi_company" optional="show"/>', '<field name="activity_exception_decoration" widget="activity_exception"/>'] names = extract_names_from_list(string_list) print(names) ``` 在这个示例中,我们定义了一个`extract_names_from_list()`函数,它接受一个字符串列表作为输入。然后,我们使用正则表达式模式`r'name=(\'|")([^\'"]*?)\1'`来匹配引号中的内容。其中`(\'|")`表示匹配单引号或双引号,`([^\'"]*?)`表示匹配除了单引号和双引号之外的任意字符(非贪婪模式),`\1`表示与第一个括号内的内容相匹配(即匹配到的引号类型)。 我们使用`re.findall()`函数来查找所有匹配的结果,并使用循环将匹配到的内容添加到名字列表中。最后,返回名字列表。 请注意,如果字符串中没有匹配到引号内容,将会被忽略。在示例中,只有`<field name="name"/>`匹配到了引号内容,因此只有一个结果被添加到名字列表中。输出结果将会是`['name']`。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值