According to Wiktionary, French spacing is "the archaic practice (though still current in French) of inserting a space around colons, semicolons, question marks, and exclamation marks". This is not standard practice in English and most languages of the world. The purpose of this commit is to start purging the code from this typo, as it may reflect poorly on the software for some people. closes odoo/odoo#114533 Related: odoo/enterprise#37853 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
60 lines
3.0 KiB
XML
60 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="stock_package_destination_form_view" model="ir.ui.view">
|
|
<field name="name">stock.package.destination.view</field>
|
|
<field name="model">stock.package.destination</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<div>
|
|
You are trying to put products going to different locations into the same package
|
|
</div>
|
|
<div>
|
|
<field name="move_line_ids" style="margin-top:10px;">
|
|
<tree>
|
|
<field name="product_id"/>
|
|
<field name="location_dest_id"/>
|
|
<field name="qty_done" String="quantity"/>
|
|
<field name="lot_id" groups="stock.group_production_lot"/>
|
|
</tree>
|
|
<kanban>
|
|
<field name="product_id"/>
|
|
<field name="qty_done"/>
|
|
<field name="location_dest_id"/>
|
|
<templates>
|
|
<t t-name="kanban-box">
|
|
<div class="container o_kanban_card_content">
|
|
<div class="row">
|
|
<div class="col-6 o_kanban_primary_left">
|
|
<field name="product_id"/>
|
|
</div>
|
|
<div class="col-6 o_kanban_primary_right">
|
|
<field name="qty_done" String="quantity"/>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<field name="location_dest_id"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</templates>
|
|
</kanban>
|
|
</field>
|
|
</div>
|
|
<div>
|
|
<strong>Where do you want to send the products?</strong>
|
|
</div>
|
|
<div>
|
|
<field name="filtered_location" invisible="1"/>
|
|
<field name="location_dest_id" domain="[('id', 'in', filtered_location)]" options="{'no_create': True, 'no_open': True}"/>
|
|
</div>
|
|
<footer>
|
|
<button string="Confirm" name="action_done" type="object" class="btn-primary" data-hotkey="q"/>
|
|
<button string="Discard" name="cancel_button" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|