Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
7659 Представления

Salespeople add specific information to the description of the product they are selling on the order line.

Operations needs this information to complete each MO.

How easily can we pull this through to the MO so users can (a) see it on the screen and (b) see it on the printed Production Order report?

Аватар
Отменить
Лучший ответ

You can make this custom View to add the information to the screen:

<notebook position="before">
<field name="move_dest_ids" string="">
<tree>
<field name="sale_line_id" string="Sales Details"/>
<field name="state" invisible="1"/>
</tree>
</field>
</notebook>


You can make this custom View to add the information to the report:

Note: Create this View from the Inherited Views tab of the original View (report_mrporder) to make sure Odoo generates the key for you.

<div t-if="o.workorder_ids" position="before">
<div class="row mt32 mb32">
<div class="col-12">
<strong>Sales Information:</strong><br/>
<span t-field="o.move_dest_ids.sale_line_id"/>
</div>
</div>
</div>


For a Sales Order with a line like this:


The related Manufacturing Order would look like this:


And the report would look like this:

Аватар
Отменить
Лучший ответ

Hi, we have a similar problem but we do not produce. We need this "custom" information to appear in the purchase order we send to our providers and not only the product name.

Could you bring us some light?

Аватар
Отменить

Following, this is exactly what I'm searching for in the forums today.

Related Posts Ответы Просмотры Активность
0
июл. 21
4072
1
мая 21
2174
0
окт. 24
1831
0
авг. 24
1630
0
янв. 24
2121