|
117 | 117 | </xpath> |
118 | 118 | <xpath expr="//div[hasclass('o_shuttle_data')]" position="inside"> |
119 | 119 | <field name="current_move_line_id" invisible="True" force_save="1" /> |
120 | | - <div class="o_shuttle_data_content o_shuttle_move"> |
121 | | - <div> |
122 | | - <group> |
123 | | - <label for="picking_id" /> |
124 | | - <div> |
125 | | - <div> |
126 | | - <field |
127 | | - name="picking_id" |
128 | | - options="{'no_open': True}" |
129 | | - class="oe_inline mr8" |
130 | | - /> |
131 | | - <span>/</span> |
132 | | - <field |
133 | | - name="picking_origin" |
134 | | - class="oe_inline ml8" |
135 | | - /> |
136 | | - </div> |
137 | | - </div> |
138 | | - <label for="picking_partner_id" /> |
| 120 | + <!-- on the left of the screen --> |
| 121 | + <div class="o_shuttle_data_content"> |
| 122 | + <group> |
| 123 | + <label for="picking_id" /> |
| 124 | + <div> |
139 | 125 | <div> |
140 | 126 | <field |
141 | | - name="picking_partner_id" |
| 127 | + name="picking_id" |
142 | 128 | options="{'no_open': True}" |
| 129 | + class="oe_inline mr8" |
143 | 130 | /> |
144 | | - </div> |
145 | | - <label for="location_dest_id" /> |
146 | | - <div> |
147 | | - <field |
148 | | - name="location_dest_id" |
149 | | - class="bg-primary o_shuttle_highlight text-white" |
150 | | - readonly="1" |
151 | | - force_save="1" |
152 | | - options="{'no_open': True}" |
153 | | - /> |
154 | | - </div> |
155 | | - <label for="product_id" /> |
156 | | - <div> |
| 131 | + <span>/</span> |
157 | 132 | <field |
158 | | - name="product_id" |
159 | | - options="{'no_open': True}" |
160 | | - class="fw-bold fs-1" |
| 133 | + name="picking_origin" |
| 134 | + class="oe_inline ml8" |
161 | 135 | /> |
162 | 136 | </div> |
163 | | - </group> |
164 | | - </div> |
165 | | - </div> |
166 | | - <div class="o_shuttle_data_content o_shuttle_move"> |
167 | | - <!-- on the left of the screen --> |
168 | | - <div> |
| 137 | + </div> |
| 138 | + <label for="picking_partner_id" /> |
| 139 | + <div> |
| 140 | + <field |
| 141 | + name="picking_partner_id" |
| 142 | + options="{'no_open': True}" |
| 143 | + /> |
| 144 | + </div> |
| 145 | + <label for="location_dest_id" /> |
| 146 | + <div> |
| 147 | + <field |
| 148 | + name="location_dest_id" |
| 149 | + class="bg-primary o_shuttle_highlight text-white" |
| 150 | + readonly="1" |
| 151 | + force_save="1" |
| 152 | + options="{'no_open': True}" |
| 153 | + /> |
| 154 | + </div> |
| 155 | + <field |
| 156 | + name="product_id" |
| 157 | + class="h1" |
| 158 | + options="{'no_open': True}" |
| 159 | + /> |
| 160 | + </group> |
| 161 | + <group> |
169 | 162 | <group> |
170 | 163 | <div colspan="2"> |
171 | 164 | <field name="product_packagings" /> |
172 | 165 | </div> |
173 | 166 | <field name="lot_id" /> |
174 | 167 | <label for="quantity" string="Quantity" class="ml32" /> |
175 | | - <div colspan="2" class="ml32"> |
| 168 | + <div class="ml32"> |
176 | 169 | <h1 class="bg-primary o_shuttle_highlight"> |
177 | 170 | <field |
178 | 171 | name="quantity" |
|
186 | 179 | </h1> |
187 | 180 | </div> |
188 | 181 | </group> |
189 | | - </div> |
190 | | - <!-- on the right of the screen --> |
191 | | - <div |
192 | | - class="o_shuttle_data_content o_shuttle_tray" |
193 | | - invisible="not tray_type_id" |
194 | | - > |
195 | | - <group col="1"> |
196 | | - <field name="tray_name" /> |
197 | | - <field name="tray_type_code" /> |
198 | | - <field name="tray_x" /> |
199 | | - <field name="tray_y" /> |
200 | | - <label for="tray_qty" /> |
201 | | - <div colspan="2" class="oe_title"> |
202 | | - <h1> |
203 | | - <field name="tray_qty" /> |
204 | | - </h1> |
205 | | - </div> |
206 | | - </group> |
| 182 | + <!-- on the right of the screen --> |
207 | 183 | <group> |
208 | | - <div> |
209 | | - <field name="tray_matrix" widget="location_tray_matrix" /> |
210 | | - </div> |
| 184 | + |
| 185 | + <group> |
| 186 | + <field name="tray_qty" /> |
| 187 | + </group> |
| 188 | + <field name="tray_matrix" widget="location_tray_matrix" /> |
| 189 | + <group style="width: 80%; display: grid; grid-template-columns: repeat(4, 1fr);"> |
| 190 | + <field name="tray_x" /> |
| 191 | + <field name="tray_name" /> |
| 192 | + <field name="tray_y" /> |
| 193 | + <field name="tray_type_code" /> |
| 194 | + </group> |
211 | 195 | </group> |
212 | | - </div> |
| 196 | + </group> |
213 | 197 | </div> |
214 | 198 | </xpath> |
215 | 199 | </field> |
|
0 commit comments