mirror of
https://github.com/NaN-tic/trytond-nereid_account_invoice.git
synced 2023-12-14 02:22:58 +01:00
Remove language prefix in url's
This commit is contained in:
parent
8074890258
commit
db292fc8e0
1 changed files with 2 additions and 2 deletions
4
urls.xml
4
urls.xml
|
@ -2,13 +2,13 @@
|
||||||
<tryton>
|
<tryton>
|
||||||
<data >
|
<data >
|
||||||
<record id="invoice" model="nereid.url_rule">
|
<record id="invoice" model="nereid.url_rule">
|
||||||
<field name="rule">/<language>/invoice/</field>
|
<field name="rule">/invoice/</field>
|
||||||
<field name="endpoint">account.invoice.render_list</field>
|
<field name="endpoint">account.invoice.render_list</field>
|
||||||
<field name="sequence" eval="10" />
|
<field name="sequence" eval="10" />
|
||||||
<field name="url_map" ref="nereid.default_url_map" />
|
<field name="url_map" ref="nereid.default_url_map" />
|
||||||
</record>
|
</record>
|
||||||
<record id="invoice_detail" model="nereid.url_rule">
|
<record id="invoice_detail" model="nereid.url_rule">
|
||||||
<field name="rule">/<language>/invoice/<uri></field>
|
<field name="rule">/invoice/<uri></field>
|
||||||
<field name="endpoint">account.invoice.render</field>
|
<field name="endpoint">account.invoice.render</field>
|
||||||
<field name="sequence" eval="20" />
|
<field name="sequence" eval="20" />
|
||||||
<field name="url_map" ref="nereid.default_url_map" />
|
<field name="url_map" ref="nereid.default_url_map" />
|
||||||
|
|
Loading…
Reference in a new issue