V16
I am creating a sale order line from the repair module(repair) with a server action.
1/ First i create the sale order: all goes well, the sale order is created.
2/then i create the sale order line:
I add the mandatory fields: customer_lead, name, order_id, price_unit & product_uom_qty
I need to make a section, so I add display_type = line_section
I have done this several times in other dbases and i do the same now.
But i can't figure out which field is missing....
Has anyone had the same problem?
Field | Evaluation Type | Record | Value | |
---|---|---|---|---|
Description (sale.order.line) | Python expression | record.name | ||
Display Type (sale.order.line) | Value | line_section | ||
Product Qty (sale.order.line) | Value | 0.0 | ||
Unit Price (sale.order.line) | Value | 0.0 | ||
Lead Time (sale.order.line) | Value | 1 | ||
Order Reference (sale.order.line) | Python expression | record.sale_order_id.id | ||
Add a line |
I have the same problem, You have any solution for v16?
I have the same problem, You have any solution for v16?
Avatar
Sachin Vijay Shelke
15xp
My Posts
Favourites
Followed Posts
Followed Tags
Same!
The operation cannot be completed: Forbidden balance or account on non-accountable line