Compare commits
2 Commits
0d08d2d135
...
3ef67c6beb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ef67c6beb | ||
|
|
4a304e02f3 |
@@ -1216,6 +1216,17 @@ class FpJobStep(models.Model):
|
|||||||
related='job_id.part_catalog_id',
|
related='job_id.part_catalog_id',
|
||||||
readonly=True,
|
readonly=True,
|
||||||
)
|
)
|
||||||
|
quick_look_qty = fields.Float(
|
||||||
|
string='Order Qty',
|
||||||
|
related='job_id.qty',
|
||||||
|
readonly=True,
|
||||||
|
)
|
||||||
|
quick_look_instruction_attachment_ids = fields.Many2many(
|
||||||
|
'ir.attachment',
|
||||||
|
string='Instruction Images',
|
||||||
|
related='recipe_node_id.instruction_attachment_ids',
|
||||||
|
readonly=True,
|
||||||
|
)
|
||||||
quick_look_instructions = fields.Html(
|
quick_look_instructions = fields.Html(
|
||||||
string='Operator Instructions',
|
string='Operator Instructions',
|
||||||
related='recipe_node_id.description',
|
related='recipe_node_id.description',
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import logging
|
|||||||
|
|
||||||
from markupsafe import Markup
|
from markupsafe import Markup
|
||||||
|
|
||||||
from odoo import http
|
from odoo import fields, http
|
||||||
from odoo.addons.fusion_plating.models.fp_tz import fp_format
|
from odoo.addons.fusion_plating.models.fp_tz import fp_format
|
||||||
from odoo.http import request
|
from odoo.http import request
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user