7 changed files with 133 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||
{ |
|||
'name': 'Taxless Sale & Purchase', |
|||
'version': '1.0', |
|||
'category': 'Purchase', |
|||
'sequence': 7, |
|||
'summary': 'hide Tax from Sales and Purchases', |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'website': 'http://www.cybrosys.com', |
|||
'description': """ |
|||
|
|||
|
|||
======================= |
|||
|
|||
|
|||
""", |
|||
'depends': ['base', 'sale', 'purchase', 'taxless_accounting'], |
|||
'data': [ |
|||
'purchase_view.xml' |
|||
|
|||
], |
|||
'demo': [ |
|||
], |
|||
'installable': True, |
|||
'auto_install': False, |
|||
} |
@ -0,0 +1,88 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
|
|||
|
|||
<!--purchase Order --> |
|||
|
|||
<record id="purchase_inherit_form" model="ir.ui.view"> |
|||
<field name="name">taxless.purchase.form</field> |
|||
<field name="model">purchase.order</field> |
|||
<field name="inherit_id" ref="purchase.purchase_order_form"/> |
|||
<field name="arch" type="xml"> |
|||
|
|||
<xpath expr="//field[@name='amount_untaxed']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
<xpath expr="//field[@name='amount_tax']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
<xpath expr="//field[@name='taxes_id']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
|
|||
</field> |
|||
</record> |
|||
|
|||
|
|||
|
|||
<!--sale Order--> |
|||
<record id="sale_inherit_form" model="ir.ui.view"> |
|||
<field name="name">taxless.sale.form</field> |
|||
<field name="model">sale.order</field> |
|||
<field name="inherit_id" ref="sale.view_order_form"/> |
|||
<field name="arch" type="xml"> |
|||
|
|||
<xpath expr="//field[@name='order_line']/form/group/group/field[@name='tax_id']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
<xpath expr="//field[@name='order_line']/tree/field[@name='tax_id']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
|
|||
<xpath expr="//field[@name='amount_untaxed']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
<xpath expr="//field[@name='amount_tax']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
|
|||
</field> |
|||
</record> |
|||
|
|||
<!--products template--> |
|||
<record id="product_inherit_form" model="ir.ui.view"> |
|||
<field name="name">taxhide.product.form</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
|
|||
<xpath expr="//field[@name='taxes_id']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
<xpath expr="//field[@name='supplier_taxes_id']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
|
|||
</field> |
|||
</record> |
|||
|
|||
<!--products product--> |
|||
<record id="product_product_inherit_form" model="ir.ui.view"> |
|||
<field name="name">taxhide..product.product.form</field> |
|||
<field name="model">product.product</field> |
|||
<field name="inherit_id" ref="product.product_normal_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
|
|||
<xpath expr="//field[@name='taxes_id']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
<xpath expr="//field[@name='supplier_taxes_id']" position="attributes"> |
|||
<attribute name="groups">taxless_accounting.make_visible</attribute> |
|||
</xpath> |
|||
|
|||
</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 25 KiB |
@ -0,0 +1,19 @@ |
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<h2 class="oe_slogan">Hide Tax From Sales and Purchases </h2> |
|||
<div class="oe_span6"> |
|||
<p class="oe_mt32"> |
|||
Hides tax related fields and menus from Sales and Purchases |
|||
</p> |
|||
<p> |
|||
This hiding happens in user level. If you check this option hidden things will become visible for that user |
|||
</p> |
|||
<hr> |
|||
</div> |
|||
<div class="oe_row_img oe_centered oe_mt32"> |
|||
<img class="oe_picture oe_screenshot" src="check_box.png"><hr> |
|||
<img class="oe_picture oe_screenshot" src="sale_order.png"> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
After Width: | Height: | Size: 38 KiB |
Loading…
Reference in new issue