Compare commits
3 Commits
14.0-imp-u
...
14.0-add-c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55622ec6a9 | ||
|
|
f166fe93be | ||
|
|
df673718e5 |
@@ -30,3 +30,4 @@ 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)
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
'views/product_pricelist_item.xml',
|
'views/product_pricelist_item.xml',
|
||||||
'views/account_move.xml',
|
'views/account_move.xml',
|
||||||
'views/res_company.xml',
|
'views/res_company.xml',
|
||||||
"views/res_partner.xml",
|
|
||||||
],
|
],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<odoo>
|
|
||||||
|
|
||||||
<record id="res_partner_view_team" model="ir.ui.view">
|
|
||||||
<field name="model">res.partner</field>
|
|
||||||
<field name="inherit_id" ref="sales_team.res_partner_view_team" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<!-- team_id should be visible in no developper mode -->
|
|
||||||
<field name="team_id" position="attributes">
|
|
||||||
<attribute name="groups"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</odoo>
|
|
||||||
0
shopinvader_usability/__init__.py
Normal file
0
shopinvader_usability/__init__.py
Normal file
18
shopinvader_usability/__manifest__.py
Normal file
18
shopinvader_usability/__manifest__.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# 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,
|
||||||
|
}
|
||||||
22
shopinvader_usability/views/sale_views.xml
Normal file
22
shopinvader_usability/views/sale_views.xml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?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>
|
||||||
Reference in New Issue
Block a user