Compare commits
10 Commits
14.0-add-c
...
14-add-bom
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3d4e7346e | ||
|
|
5acaa73fae | ||
|
|
fc57c6259e | ||
|
|
da6185238d | ||
|
|
45234bbb47 | ||
|
|
2b3974d90d | ||
|
|
a04ab4592e | ||
|
|
385db5c722 | ||
|
|
feb39edd22 | ||
|
|
d331dee3ba |
@@ -29,15 +29,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="mrp_production_tree_view" model="ir.ui.view">
|
|
||||||
<field name="model">mrp.production</field>
|
|
||||||
<field name="inherit_id" ref="mrp.mrp_production_tree_view"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="reservation_state" position="after">
|
|
||||||
<field name="location_src_id" optional="hide" groups="stock.group_stock_multi_locations"/>
|
|
||||||
<field name="location_dest_id" optional="hide" groups="stock.group_stock_multi_locations"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -30,4 +30,3 @@ class ProductTemplate(models.Model):
|
|||||||
sale_ok = fields.Boolean(tracking=80)
|
sale_ok = fields.Boolean(tracking=80)
|
||||||
purchase_ok = fields.Boolean(tracking=90)
|
purchase_ok = fields.Boolean(tracking=90)
|
||||||
active = fields.Boolean(tracking=100)
|
active = fields.Boolean(tracking=100)
|
||||||
company_id = fields.Many2one(tracking=110)
|
|
||||||
|
|||||||
@@ -18,25 +18,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="view_quotation_tree" model="ir.ui.view">
|
|
||||||
<field name="model">sale.order</field>
|
|
||||||
<field name="inherit_id" ref="sale_stock.view_quotation_tree"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="warehouse_id" position="after">
|
|
||||||
<field name="route_id" optional="hide"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_order_tree" model="ir.ui.view">
|
|
||||||
<field name="model">sale.order</field>
|
|
||||||
<field name="inherit_id" ref="sale_stock.view_order_tree"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="warehouse_id" position="after">
|
|
||||||
<field name="route_id" optional="hide"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
# Copyright 2021 Akretion
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Shopinvader Usability",
|
|
||||||
"description": """
|
|
||||||
Shopinvader Usability""",
|
|
||||||
"version": "14.0.1.0.0",
|
|
||||||
"license": "AGPL-3",
|
|
||||||
"author": "Akretion",
|
|
||||||
"website": "https://github.com/OCA/odoo-usability",
|
|
||||||
"depends": [
|
|
||||||
"shopinvader",
|
|
||||||
"sale_usability",
|
|
||||||
],
|
|
||||||
"data": ["views/sale_views.xml"],
|
|
||||||
"auto_install": True,
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!-- Copyright 2021 Akretion
|
|
||||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
||||||
<odoo>
|
|
||||||
<record id="sale.action_quotations" model="ir.actions.act_window">
|
|
||||||
<field
|
|
||||||
name="domain"
|
|
||||||
>['&', ('state', 'in', ('draft', 'sent', 'cancel')), ('typology', '=', 'sale')]</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="sale.action_quotations_with_onboarding" model="ir.actions.act_window">
|
|
||||||
<field
|
|
||||||
name="domain"
|
|
||||||
>['&', ('state', 'in', ('draft', 'sent', 'cancel')), ('typology', '=', 'sale')]</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="sale.action_quotations_salesteams" model="ir.actions.act_window">
|
|
||||||
<field
|
|
||||||
name="domain"
|
|
||||||
>['&', ('state', 'in', ('draft', 'sent', 'cancel')), ('typology', '=', 'sale')]</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@@ -97,7 +97,7 @@ class StockValuationXlsx(models.TransientModel):
|
|||||||
raise UserError(_(
|
raise UserError(_(
|
||||||
"The selected inventory (%s) is not in done state.")
|
"The selected inventory (%s) is not in done state.")
|
||||||
% self.inventory_id.display_name)
|
% self.inventory_id.display_name)
|
||||||
cost_method_real_count = self.env['ir.property'].sudo().search([
|
cost_method_real_count = self.env['ir.property'].search([
|
||||||
('company_id', '=', company_id),
|
('company_id', '=', company_id),
|
||||||
('name', '=', 'property_cost_method'),
|
('name', '=', 'property_cost_method'),
|
||||||
('value_text', '=', 'real'),
|
('value_text', '=', 'real'),
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ class StockVariationXlsx(models.TransientModel):
|
|||||||
else:
|
else:
|
||||||
if self.start_date >= present:
|
if self.start_date >= present:
|
||||||
raise UserError(_("The start date must be in the past."))
|
raise UserError(_("The start date must be in the past."))
|
||||||
cost_method_real_count = self.env['ir.property'].sudo().search([
|
cost_method_real_count = self.env['ir.property'].search([
|
||||||
('company_id', '=', company_id),
|
('company_id', '=', company_id),
|
||||||
('name', '=', 'property_cost_method'),
|
('name', '=', 'property_cost_method'),
|
||||||
('value_text', '=', 'real'),
|
('value_text', '=', 'real'),
|
||||||
|
|||||||
Reference in New Issue
Block a user