Compare commits
No commits in common. "16941b8183474a2d7246ead7730fb7f8a4e6cb15" and "e2a22c5d71da2b198ab2fdb641c41470965dc1e7" have entirely different histories.
16941b8183
...
e2a22c5d71
3 changed files with 0 additions and 21 deletions
|
|
@ -23,12 +23,6 @@ class StockMoveLine(models.Model):
|
||||||
readonly=True,
|
readonly=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
picking_partner_id = fields.Many2one(
|
|
||||||
related="picking_id.partner_id",
|
|
||||||
store=True,
|
|
||||||
readonly=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
is_collected = fields.Boolean(
|
is_collected = fields.Boolean(
|
||||||
string="Collected",
|
string="Collected",
|
||||||
default=False,
|
default=False,
|
||||||
|
|
|
||||||
|
|
@ -7,14 +7,3 @@ table.o_list_table tbody tr.o_data_row:nth-child(even) td {
|
||||||
table.o_list_table tbody tr.o_data_row:hover td {
|
table.o_list_table tbody tr.o_data_row:hover td {
|
||||||
background-color: rgba(0, 0, 0, 0.045);
|
background-color: rgba(0, 0, 0, 0.045);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Widen the quantity column in detailed operations so it is easier to tap */
|
|
||||||
table.o_batch_move_line_list th[data-name="quantity"],
|
|
||||||
table.o_batch_move_line_list td[name="quantity"] {
|
|
||||||
min-width: 140px;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.o_batch_move_line_list td[name="quantity"] .o_field_widget input {
|
|
||||||
min-height: 44px;
|
|
||||||
font-size: 1.1rem;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -46,10 +46,6 @@
|
||||||
<field name="model">stock.move.line</field>
|
<field name="model">stock.move.line</field>
|
||||||
<field name="inherit_id" ref="stock_picking_batch.view_move_line_tree"/>
|
<field name="inherit_id" ref="stock_picking_batch.view_move_line_tree"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//list" position="attributes">
|
|
||||||
<attribute name="default_order">product_categ_id,product_id,picking_partner_id</attribute>
|
|
||||||
<attribute name="class">o_batch_move_line_list</attribute>
|
|
||||||
</xpath>
|
|
||||||
<xpath expr="//field[@name='product_id']" position="before">
|
<xpath expr="//field[@name='product_id']" position="before">
|
||||||
<field name="product_categ_id" readonly="1"/>
|
<field name="product_categ_id" readonly="1"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue