[MERGE] barcodes, event, stock: nomenclature settings

We don't want to bloat the company settings with the choice of the barcode nomenclature. We move this settings to event_barcode and stock_barcodes.

task id 1903864

closes odoo/odoo#28346
This commit is contained in:
Robot Odoo
2018-12-04 05:46:22 +01:00
committed by GitHub
4 changed files with 4 additions and 16 deletions
-1
View File
@@ -9,7 +9,6 @@
'views/barcodes_view.xml',
'security/ir.model.access.csv',
'views/barcodes_templates.xml',
'views/res_company.xml',
],
'installable': True,
'auto_install': False,
-13
View File
@@ -1,13 +0,0 @@
<?xml version="1.0"?>
<odoo>
<record model="ir.ui.view" id="view_company_form_inherit">
<field name="name">barcode.company.form</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='currency_id']" position="after">
<field name="nomenclature_id"/>
</xpath>
</field>
</record>
</odoo>
@@ -56,7 +56,8 @@
</div>
<div class="o_setting_right_pane">
<label for="module_event_barcode"/>
<div class="text-muted">
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="text-muted" name="event_barcode">
Scan badges to confirm attendances
</div>
</div>
@@ -17,7 +17,8 @@
</div>
<div class="o_setting_right_pane" id="barcode_settings">
<label for="module_stock_barcode"/>
<div class="text-muted">
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="text-muted" name="stock_barcode">
Process operations faster with barcodes
</div>
<div class="content-group">