Files
tradon/modules/purchase_trade/view/coffee_sample_form.xml
2026-06-29 22:31:21 +02:00

101 lines
3.9 KiB
XML

<?xml version="1.0"?>
<form col="12">
<group id="sample_summary" colspan="12" col="8">
<label name="reference"/>
<field name="reference"/>
<label name="state"/>
<field name="state"/>
<label name="quality_status"/>
<field name="quality_status"/>
<label name="recommended_decision"/>
<field name="recommended_decision"/>
</group>
<button name="receive" string="Receive"/>
<button name="send_to_lab" string="Send to lab"/>
<button name="review" string="Review"/>
<button name="evaluate_quality" string="Evaluate quality"/>
<button name="approve" string="Approve"/>
<button name="reject" string="Reject"/>
<button name="expire" string="Expire"/>
<button name="archive" string="Archive"/>
<button name="reset_to_requested" string="Reset"/>
<newline/>
<group id="sample_identity" string="Sample identity" colspan="6" col="4">
<label name="direction"/>
<field name="direction"/>
<label name="sample_type"/>
<field name="sample_type"/>
<label name="purchase_line"/>
<field name="purchase_line"/>
<label name="sale_line"/>
<field name="sale_line"/>
<label name="lot"/>
<field name="lot"/>
<label name="product"/>
<field name="product"/>
<label name="party"/>
<field name="party"/>
<label name="public_origin"/>
<field name="public_origin"/>
<label name="public_coffee_type"/>
<field name="public_coffee_type"/>
</group>
<group id="sample_lifecycle" string="Lifecycle" colspan="6" col="4">
<label name="requested_date"/>
<field name="requested_date"/>
<label name="received_date"/>
<field name="received_date"/>
<label name="sent_date"/>
<field name="sent_date"/>
<label name="review_date"/>
<field name="review_date"/>
<label name="decision_date"/>
<field name="decision_date"/>
<label name="shelf_life_days"/>
<field name="shelf_life_days"/>
<label name="expiry_date"/>
<field name="expiry_date"/>
<label name="expires_soon"/>
<field name="expires_soon"/>
</group>
<group id="sample_storage" string="Sample storage" colspan="6" col="4">
<label name="quantity"/>
<field name="quantity"/>
<label name="unit"/>
<field name="unit"/>
<label name="storage_location"/>
<field name="storage_location"/>
</group>
<group id="sample_quality" string="Quality values" colspan="6" col="4">
<label name="moisture"/>
<field name="moisture" width="120" xexpand="0" xfill="0"/>
<label name="screen_size"/>
<field name="screen_size"/>
<label name="defect_count"/>
<field name="defect_count" width="120" xexpand="0" xfill="0"/>
<label name="cupping_average_score"/>
<field name="cupping_average_score" width="120" xexpand="0" xfill="0"/>
<label name="lab_analysis_status"/>
<field name="lab_analysis_status"/>
</group>
<group id="sample_lab" string="Lab delegation" colspan="12" col="4">
<label name="delegated_to_lab"/>
<field name="delegated_to_lab"/>
<label name="lab"/>
<field name="lab"/>
<label name="lab_due_date"/>
<field name="lab_due_date"/>
<newline/>
<field name="lab_analyses" colspan="4" mode="tree,form"
view_ids="purchase_trade.coffee_lab_analysis_view_tree,purchase_trade.coffee_lab_analysis_view_form"/>
</group>
<group id="sample_cupping" string="Cupping sessions" colspan="12" col="1">
<field name="cupping_lines" colspan="1" mode="tree"
view_ids="purchase_trade.coffee_cupping_session_sample_view_tree"/>
</group>
<group id="sample_notes" string="Notes" colspan="12" col="1">
<field name="notes"/>
<field name="decision_note"/>
</group>
</form>