|
7 | 7 | <field name="priority" eval="40" />
|
8 | 8 | <field name="inherit_id" ref="base.res_config_settings_view_form" />
|
9 | 9 | <field name="arch" type="xml">
|
10 |
| - <xpath expr="//div[hasclass('settings')]" position="inside"> |
| 10 | + <xpath expr="//form" position="inside"> |
11 | 11 | <app
|
12 | 12 | id="l10n_br_fiscal"
|
| 13 | + data-string="l10n_br_fiscal" |
13 | 14 | string="Fiscal"
|
14 |
| - data-key="l10n_br_fiscal" |
| 15 | + name="l10n_br_fiscal" |
15 | 16 | groups="l10n_br_fiscal.group_manager"
|
16 | 17 | >
|
17 |
| - <block title="Geral"> |
18 |
| - <setting title="IBPT API"> |
| 18 | + <block title="Geral" name="general"> |
| 19 | + <setting> |
19 | 20 | <field name="ibpt_api" />
|
20 |
| - <span |
21 |
| - class="fa fa-lg fa-building-o" |
22 |
| - title="Values set here are company-specific." |
23 |
| - /> |
24 |
| - <div class="text-muted"> |
25 |
| - Use IBPT API to Update Estimate Taxes for products and services |
26 |
| - </div> |
27 |
| - <div invisible="ibpt_api == False"> |
28 |
| - <div class="content-group mt16"> |
29 |
| - <label |
30 |
| - for="ibpt_update_days" |
31 |
| - class="o_light_label" |
32 |
| - /> |
33 |
| - <field |
34 |
| - name="ibpt_update_days" |
35 |
| - required="ibpt_api == True" |
36 |
| - /> dias |
37 |
| - </div> |
38 |
| - <div class="content-group mt16"> |
39 |
| - <label for="ibpt_token" class="o_light_label" /> |
40 |
| - <field |
41 |
| - name="ibpt_token" |
42 |
| - required="ibpt_api == True" |
43 |
| - /> |
| 21 | + <div class="content-group" id="ibpt_api_settings"> |
| 22 | + <span |
| 23 | + class="fa fa-lg fa-building-o" |
| 24 | + title="Values set here are company-specific." |
| 25 | + /> |
| 26 | + <div class="text-muted"> |
| 27 | + Use IBPT API to Update Estimate Taxes for products and services |
44 | 28 | </div>
|
45 |
| - <div> |
46 |
| - <a |
47 |
| - href="https://deolhonoimposto.ibpt.org.br" |
48 |
| - class="oe_link" |
49 |
| - target="_blank" |
50 |
| - > |
51 |
| - <i |
52 |
| - class="fa fa-arrow-right" |
53 |
| - /> Generate an Access Key |
54 |
| - </a> |
| 29 | + <div invisible="not ibpt_api"> |
| 30 | + <div class="content-group mt16"> |
| 31 | + <label |
| 32 | + for="ibpt_update_days" |
| 33 | + class="o_light_label" |
| 34 | + /> |
| 35 | + <field |
| 36 | + name="ibpt_update_days" |
| 37 | + required="ibpt_api" |
| 38 | + /> dias |
| 39 | + </div> |
| 40 | + <div class="content-group mt16"> |
| 41 | + <label for="ibpt_token" class="o_light_label" /> |
| 42 | + <field name="ibpt_token" required="ibpt_api" /> |
| 43 | + </div> |
| 44 | + <div> |
| 45 | + <a |
| 46 | + href="https://deolhonoimposto.ibpt.org.br" |
| 47 | + class="oe_link" |
| 48 | + target="_blank" |
| 49 | + > |
| 50 | + <i |
| 51 | + class="fa fa-arrow-right" |
| 52 | + /> Generate an Access Key |
| 53 | + </a> |
| 54 | + </div> |
55 | 55 | </div>
|
56 | 56 | </div>
|
57 | 57 | </setting>
|
58 |
| - |
59 | 58 | <setting
|
60 |
| - title="Delivery Costs" |
61 |
| - help="The Delivery Costs should be informed by Line or by Total ?" |
| 59 | + id="settings_delivery_costs" |
| 60 | + title="The Delivery Costs should be informed by Line or by Total ?" |
| 61 | + help="Define if Delivery Costs (Freight, Insurance and Other Costs) should be informed by Line or by Total" |
62 | 62 | >
|
63 |
| - <label for="delivery_costs" /> |
64 |
| - <div class="text-muted"> |
65 |
| - Define if Delivery Costs (Freight, Insurance and Other Costs) should be informed by Line or by Total |
66 |
| - </div> |
67 |
| - <div class="content-group"> |
68 |
| - <div class="mt16"> |
69 |
| - <field |
70 |
| - name="delivery_costs" |
71 |
| - class="o_light_label" |
72 |
| - widget="radio" |
73 |
| - /> |
74 |
| - </div> |
75 |
| - </div> |
| 63 | + <field name="delivery_costs" widget="radio" /> |
76 | 64 | </setting>
|
77 | 65 | </block>
|
78 |
| - |
79 |
| - <block title="Fiscal Documents"> |
80 |
| - <setting title="NF-e"> |
| 66 | + <block title="Fiscal Documents" name="fiscal_documents"> |
| 67 | + <setting help="Create Brazilian eletronic invoice NF-e."> |
81 | 68 | <field name="module_l10n_br_nfe" />
|
82 |
| - <div class="text-muted"> |
83 |
| - Create Brazilian eletronic invoice NF-e. |
84 |
| - </div> |
85 | 69 | </setting>
|
86 |
| - |
87 |
| - <setting title="MDF-e"> |
| 70 | + <setting |
| 71 | + help="Create Brazilian eletronic invoice NF-e manifest." |
| 72 | + > |
88 | 73 | <field name="module_l10n_br_mdfe" />
|
89 |
| - <div class="text-muted"> |
90 |
| - Create Brazilian eletronic invoice NF-e manifest. |
91 |
| - </div> |
92 | 74 | </setting>
|
93 |
| - |
94 |
| - <setting title="NFS-e"> |
| 75 | + <setting |
| 76 | + help="Create Brazilian eletronic invoice for services NFS-e." |
| 77 | + > |
95 | 78 | <field name="module_l10n_br_nfse" />
|
96 |
| - <div class="text-muted"> |
97 |
| - Create Brazilian eletronic invoice for services NFS-e. |
98 |
| - </div> |
99 | 79 | </setting>
|
100 |
| - |
101 |
| - <setting title="CT-e"> |
| 80 | + <setting |
| 81 | + help="Create Brazilian eletronic invoice for freight NFS-e." |
| 82 | + > |
102 | 83 | <field name="module_l10n_br_cte" />
|
103 |
| - <div class="text-muted"> |
104 |
| - Create Brazilian eletronic invoice for freight NFS-e. |
105 |
| - </div> |
106 | 84 | </setting>
|
107 | 85 | </block>
|
108 | 86 | </app>
|
|
0 commit comments