[FIX] l10n_in: Remove unwanted Indian fields from non-Indian companies
This commit removes the E-waybill tab in account.move for non-Indian running companies. The E-waybill field is specific to Indian regulatory requirements and is not applicable for companies operating outside of India. By removing this tab, we provide a cleaner and more focused user interface for our non-Indian users, enhancing their overall experience closes odoo/odoo#127138 Task-id: 3208950 X-original-commit: 1a0b304a9ad006b54bec438fdc36319da21e08ec Signed-off-by: Quentin De Paoli <qdp@odoo.com> Signed-off-by: Mohamed Erradi (moer) <moer@odoo.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</xpath>
|
||||
<xpath expr="//notebook/page[@name='other_info']" position="before">
|
||||
<page string="eWayBill" name="l10n_in_edi_ewaybill_page"
|
||||
attrs="{'invisible':[('move_type', '=', 'entry'), ('country_code', '!=', 'IN')]}">
|
||||
attrs="{'invisible':['|', ('move_type', '=', 'entry'), ('country_code', '!=', 'IN')]}">
|
||||
<field name="l10n_in_edi_ewaybill_direct_api" invisible="1"/>
|
||||
<group name="ewaybill_group">
|
||||
<group string="Transaction Details" name="Transaction_group"
|
||||
|
||||
Reference in New Issue
Block a user