Merge lp:~savoirfairelinux-openerp/openerp-canada/openerp-canada_res_partner_attributes_add_NE into lp:openerp-canada
- openerp-canada_res_partner_attributes_add_NE
- Merge into 7.0
Proposed by
Marc Cassuto (SFL)
Status: | Rejected |
---|---|
Rejected by: | Maxime Chambreuil (http://www.savoirfairelinux.com) |
Proposed branch: | lp:~savoirfairelinux-openerp/openerp-canada/openerp-canada_res_partner_attributes_add_NE |
Merge into: | lp:openerp-canada |
Diff against target: |
419 lines (+352/-0) 12 files modified
res_partner_attributes_add_NAS/__init__.py (+25/-0) res_partner_attributes_add_NAS/__openerp__.py (+39/-0) res_partner_attributes_add_NAS/i18n/fr.po (+32/-0) res_partner_attributes_add_NAS/i18n/res_partner_attributes_add_NAS.pot (+32/-0) res_partner_attributes_add_NAS/res_partner_attributes_add_NAS.py (+32/-0) res_partner_attributes_add_NAS/res_partner_attributes_add_NAS_view.xml (+15/-0) res_partner_attributes_add_NE/__init__.py (+25/-0) res_partner_attributes_add_NE/__openerp__.py (+39/-0) res_partner_attributes_add_NE/i18n/fr.po (+32/-0) res_partner_attributes_add_NE/i18n/res_partner_attributes_add_NE.pot (+32/-0) res_partner_attributes_add_NE/res_partner_attributes_add_NE.py (+33/-0) res_partner_attributes_add_NE/res_partner_attributes_add_NE_view.xml (+16/-0) |
To merge this branch: | bzr merge lp:~savoirfairelinux-openerp/openerp-canada/openerp-canada_res_partner_attributes_add_NE |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maxime Chambreuil (http://www.savoirfairelinux.com) | Disapprove | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote : | # |
review:
Disapprove
Unmerged revisions
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'res_partner_attributes_add_NAS' | |||
2 | === added file 'res_partner_attributes_add_NAS/__init__.py' | |||
3 | --- res_partner_attributes_add_NAS/__init__.py 1970-01-01 00:00:00 +0000 | |||
4 | +++ res_partner_attributes_add_NAS/__init__.py 2013-07-12 19:33:29 +0000 | |||
5 | @@ -0,0 +1,25 @@ | |||
6 | 1 | # -*- encoding: utf-8 -*- | ||
7 | 2 | ############################################################################## | ||
8 | 3 | # | ||
9 | 4 | # OpenERP, Open Source Management Solution | ||
10 | 5 | # Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
11 | 6 | # | ||
12 | 7 | # This program is free software: you can redistribute it and/or modify | ||
13 | 8 | # it under the terms of the GNU Affero General Public License as | ||
14 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
15 | 10 | # License, or (at your option) any later version. | ||
16 | 11 | # | ||
17 | 12 | # This program is distributed in the hope that it will be useful, | ||
18 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
20 | 15 | # GNU Affero General Public License for more details. | ||
21 | 16 | # | ||
22 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
23 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
24 | 19 | # | ||
25 | 20 | ############################################################################## | ||
26 | 21 | |||
27 | 22 | import res_partner_attributes_add_NAS | ||
28 | 23 | |||
29 | 24 | |||
30 | 25 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
31 | 0 | 26 | ||
32 | === added file 'res_partner_attributes_add_NAS/__openerp__.py' | |||
33 | --- res_partner_attributes_add_NAS/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
34 | +++ res_partner_attributes_add_NAS/__openerp__.py 2013-07-12 19:33:29 +0000 | |||
35 | @@ -0,0 +1,39 @@ | |||
36 | 1 | # -*- encoding: utf-8 -*- | ||
37 | 2 | ############################################################################## | ||
38 | 3 | # | ||
39 | 4 | # OpenERP, Open Source Management Solution | ||
40 | 5 | # Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
41 | 6 | # | ||
42 | 7 | # This program is free software: you can redistribute it and/or modify | ||
43 | 8 | # it under the terms of the GNU Affero General Public License as | ||
44 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
45 | 10 | # License, or (at your option) any later version. | ||
46 | 11 | # | ||
47 | 12 | # This program is distributed in the hope that it will be useful, | ||
48 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
49 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
50 | 15 | # GNU Affero General Public License for more details. | ||
51 | 16 | # | ||
52 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
53 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
54 | 19 | # | ||
55 | 20 | ############################################################################## | ||
56 | 21 | |||
57 | 22 | { | ||
58 | 23 | 'name' : 'Quebec Social Insurance Number (NAS)', | ||
59 | 24 | 'version' : '1.0', | ||
60 | 25 | "author" : "Savoir-faire Linux (mcassuto@savoirfairelinux.com)", | ||
61 | 26 | "website" : "http://www.savoirfairelinux.com", | ||
62 | 27 | 'license': 'AGPL-3', | ||
63 | 28 | 'category' : 'Localisation/Canada', | ||
64 | 29 | 'depends' : ['base'], | ||
65 | 30 | 'description': """ | ||
66 | 31 | Add the Social Insurance Number (NAS) to the partner form. | ||
67 | 32 | """, | ||
68 | 33 | 'auto_install': False, | ||
69 | 34 | 'installable': True, | ||
70 | 35 | 'data' : ['res_partner_attributes_add_NAS_view.xml'] | ||
71 | 36 | } | ||
72 | 37 | |||
73 | 38 | |||
74 | 39 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
75 | 0 | 40 | ||
76 | === added directory 'res_partner_attributes_add_NAS/i18n' | |||
77 | === added file 'res_partner_attributes_add_NAS/i18n/fr.mo' | |||
78 | 1 | Binary files res_partner_attributes_add_NAS/i18n/fr.mo 1970-01-01 00:00:00 +0000 and res_partner_attributes_add_NAS/i18n/fr.mo 2013-07-12 19:33:29 +0000 differ | 41 | Binary files res_partner_attributes_add_NAS/i18n/fr.mo 1970-01-01 00:00:00 +0000 and res_partner_attributes_add_NAS/i18n/fr.mo 2013-07-12 19:33:29 +0000 differ |
79 | === added file 'res_partner_attributes_add_NAS/i18n/fr.po' | |||
80 | --- res_partner_attributes_add_NAS/i18n/fr.po 1970-01-01 00:00:00 +0000 | |||
81 | +++ res_partner_attributes_add_NAS/i18n/fr.po 2013-07-12 19:33:29 +0000 | |||
82 | @@ -0,0 +1,32 @@ | |||
83 | 1 | # Translation of OpenERP Server. | ||
84 | 2 | # This file contains the translation of the following modules: | ||
85 | 3 | # * res_partner_attributes_add_NAS | ||
86 | 4 | # | ||
87 | 5 | msgid "" | ||
88 | 6 | msgstr "" | ||
89 | 7 | "Project-Id-Version: OpenERP Server 7.0\n" | ||
90 | 8 | "Report-Msgid-Bugs-To: \n" | ||
91 | 9 | "POT-Creation-Date: 2013-07-11 14:53+0000\n" | ||
92 | 10 | "PO-Revision-Date: 2013-07-11 10:55-0500\n" | ||
93 | 11 | "Last-Translator: Marc Cassuto <marc.cassuto@savoirfairelinux.com>\n" | ||
94 | 12 | "Language-Team: \n" | ||
95 | 13 | "MIME-Version: 1.0\n" | ||
96 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
97 | 15 | "Content-Transfer-Encoding: 8bit\n" | ||
98 | 16 | "Plural-Forms: \n" | ||
99 | 17 | |||
100 | 18 | #. module: res_partner_attributes_add_NAS | ||
101 | 19 | #: field:res.partner,nas:0 | ||
102 | 20 | msgid "NAS" | ||
103 | 21 | msgstr "NAS" | ||
104 | 22 | |||
105 | 23 | #. module: res_partner_attributes_add_NAS | ||
106 | 24 | #: help:res.partner,nas:0 | ||
107 | 25 | msgid "Social Insurance Number (9 digits)" | ||
108 | 26 | msgstr "Numéro d'Assurance Sociale (9 chiffres)" | ||
109 | 27 | |||
110 | 28 | #. module: res_partner_attributes_add_NAS | ||
111 | 29 | #: model:ir.model,name:res_partner_attributes_add_NAS.model_res_partner | ||
112 | 30 | msgid "Partner" | ||
113 | 31 | msgstr "Partenaire" | ||
114 | 32 | |||
115 | 0 | 33 | ||
116 | === added file 'res_partner_attributes_add_NAS/i18n/res_partner_attributes_add_NAS.pot' | |||
117 | --- res_partner_attributes_add_NAS/i18n/res_partner_attributes_add_NAS.pot 1970-01-01 00:00:00 +0000 | |||
118 | +++ res_partner_attributes_add_NAS/i18n/res_partner_attributes_add_NAS.pot 2013-07-12 19:33:29 +0000 | |||
119 | @@ -0,0 +1,32 @@ | |||
120 | 1 | # Translation of OpenERP Server. | ||
121 | 2 | # This file contains the translation of the following modules: | ||
122 | 3 | # * res_partner_attributes_add_NAS | ||
123 | 4 | # | ||
124 | 5 | msgid "" | ||
125 | 6 | msgstr "" | ||
126 | 7 | "Project-Id-Version: OpenERP Server 7.0\n" | ||
127 | 8 | "Report-Msgid-Bugs-To: \n" | ||
128 | 9 | "POT-Creation-Date: 2013-07-11 14:53+0000\n" | ||
129 | 10 | "PO-Revision-Date: 2013-07-11 14:53+0000\n" | ||
130 | 11 | "Last-Translator: <>\n" | ||
131 | 12 | "Language-Team: \n" | ||
132 | 13 | "MIME-Version: 1.0\n" | ||
133 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
134 | 15 | "Content-Transfer-Encoding: \n" | ||
135 | 16 | "Plural-Forms: \n" | ||
136 | 17 | |||
137 | 18 | #. module: res_partner_attributes_add_NAS | ||
138 | 19 | #: field:res.partner,nas:0 | ||
139 | 20 | msgid "NAS" | ||
140 | 21 | msgstr "" | ||
141 | 22 | |||
142 | 23 | #. module: res_partner_attributes_add_NAS | ||
143 | 24 | #: help:res.partner,nas:0 | ||
144 | 25 | msgid "Social Insurance Number (9 digits)" | ||
145 | 26 | msgstr "" | ||
146 | 27 | |||
147 | 28 | #. module: res_partner_attributes_add_NAS | ||
148 | 29 | #: model:ir.model,name:res_partner_attributes_add_NAS.model_res_partner | ||
149 | 30 | msgid "Partner" | ||
150 | 31 | msgstr "" | ||
151 | 32 | |||
152 | 0 | 33 | ||
153 | === added file 'res_partner_attributes_add_NAS/res_partner_attributes_add_NAS.py' | |||
154 | --- res_partner_attributes_add_NAS/res_partner_attributes_add_NAS.py 1970-01-01 00:00:00 +0000 | |||
155 | +++ res_partner_attributes_add_NAS/res_partner_attributes_add_NAS.py 2013-07-12 19:33:29 +0000 | |||
156 | @@ -0,0 +1,32 @@ | |||
157 | 1 | # -*- encoding: utf-8 -*- | ||
158 | 2 | ############################################################################## | ||
159 | 3 | # | ||
160 | 4 | # OpenERP, Open Source Management Solution | ||
161 | 5 | # Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
162 | 6 | # | ||
163 | 7 | # This program is free software: you can redistribute it and/or modify | ||
164 | 8 | # it under the terms of the GNU Affero General Public License as | ||
165 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
166 | 10 | # License, or (at your option) any later version. | ||
167 | 11 | # | ||
168 | 12 | # This program is distributed in the hope that it will be useful, | ||
169 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
170 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
171 | 15 | # GNU Affero General Public License for more details. | ||
172 | 16 | # | ||
173 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
174 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
175 | 19 | # | ||
176 | 20 | ############################################################################## | ||
177 | 21 | |||
178 | 22 | from openerp.osv import fields, orm | ||
179 | 23 | from openerp.tools.translate import _ | ||
180 | 24 | |||
181 | 25 | class res_partner(orm.Model): | ||
182 | 26 | _name = 'res.partner' | ||
183 | 27 | _inherit = 'res.partner' | ||
184 | 28 | _columns = { | ||
185 | 29 | 'nas' : fields.float('NAS', digits=(9,0),help="Social Insurance Number (9 digits)"), | ||
186 | 30 | } | ||
187 | 31 | |||
188 | 32 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
189 | 0 | 33 | ||
190 | === added file 'res_partner_attributes_add_NAS/res_partner_attributes_add_NAS_view.xml' | |||
191 | --- res_partner_attributes_add_NAS/res_partner_attributes_add_NAS_view.xml 1970-01-01 00:00:00 +0000 | |||
192 | +++ res_partner_attributes_add_NAS/res_partner_attributes_add_NAS_view.xml 2013-07-12 19:33:29 +0000 | |||
193 | @@ -0,0 +1,15 @@ | |||
194 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
195 | 2 | <openerp> | ||
196 | 3 | <data> | ||
197 | 4 | <record model="ir.ui.view" id="res_partner_attributes_add_NAS_form_view"> | ||
198 | 5 | <field name="name">res_partner_attributes_add_NAS</field> | ||
199 | 6 | <field name="model">res.partner</field> | ||
200 | 7 | <field name="inherit_id" ref="base.view_partner_form"/> | ||
201 | 8 | <field name="arch" type="xml"> | ||
202 | 9 | <field name="website" position="after"> | ||
203 | 10 | <field name="nas" attrs="{'invisible': [('is_company','=', True)]}"/> | ||
204 | 11 | </field> | ||
205 | 12 | </field> | ||
206 | 13 | </record> | ||
207 | 14 | </data> | ||
208 | 15 | </openerp> | ||
209 | 0 | 16 | ||
210 | === added directory 'res_partner_attributes_add_NE' | |||
211 | === added file 'res_partner_attributes_add_NE/__init__.py' | |||
212 | --- res_partner_attributes_add_NE/__init__.py 1970-01-01 00:00:00 +0000 | |||
213 | +++ res_partner_attributes_add_NE/__init__.py 2013-07-12 19:33:29 +0000 | |||
214 | @@ -0,0 +1,25 @@ | |||
215 | 1 | # -*- encoding: utf-8 -*- | ||
216 | 2 | ############################################################################## | ||
217 | 3 | # | ||
218 | 4 | # OpenERP, Open Source Management Solution | ||
219 | 5 | # Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
220 | 6 | # | ||
221 | 7 | # This program is free software: you can redistribute it and/or modify | ||
222 | 8 | # it under the terms of the GNU Affero General Public License as | ||
223 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
224 | 10 | # License, or (at your option) any later version. | ||
225 | 11 | # | ||
226 | 12 | # This program is distributed in the hope that it will be useful, | ||
227 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
228 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
229 | 15 | # GNU Affero General Public License for more details. | ||
230 | 16 | # | ||
231 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
232 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
233 | 19 | # | ||
234 | 20 | ############################################################################## | ||
235 | 21 | |||
236 | 22 | import res_partner_attributes_add_NE | ||
237 | 23 | |||
238 | 24 | |||
239 | 25 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
240 | 0 | 26 | ||
241 | === added file 'res_partner_attributes_add_NE/__openerp__.py' | |||
242 | --- res_partner_attributes_add_NE/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
243 | +++ res_partner_attributes_add_NE/__openerp__.py 2013-07-12 19:33:29 +0000 | |||
244 | @@ -0,0 +1,39 @@ | |||
245 | 1 | # -*- encoding: utf-8 -*- | ||
246 | 2 | ############################################################################## | ||
247 | 3 | # | ||
248 | 4 | # OpenERP, Open Source Management Solution | ||
249 | 5 | # Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
250 | 6 | # | ||
251 | 7 | # This program is free software: you can redistribute it and/or modify | ||
252 | 8 | # it under the terms of the GNU Affero General Public License as | ||
253 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
254 | 10 | # License, or (at your option) any later version. | ||
255 | 11 | # | ||
256 | 12 | # This program is distributed in the hope that it will be useful, | ||
257 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
258 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
259 | 15 | # GNU Affero General Public License for more details. | ||
260 | 16 | # | ||
261 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
262 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
263 | 19 | # | ||
264 | 20 | ############################################################################## | ||
265 | 21 | |||
266 | 22 | { | ||
267 | 23 | 'name' : 'Business identification Number in Canada (BN)', | ||
268 | 24 | 'version' : '1.0', | ||
269 | 25 | "author" : "Savoir-faire Linux (mcassuto@savoirfairelinux.com)", | ||
270 | 26 | "website" : "http://www.savoirfairelinux.com", | ||
271 | 27 | 'license': 'AGPL-3', | ||
272 | 28 | 'category' : 'Localisation/Canada', | ||
273 | 29 | 'depends' : ['base'], | ||
274 | 30 | 'description': """ | ||
275 | 31 | Add the Business identification Number (BN) to the partner form. | ||
276 | 32 | """, | ||
277 | 33 | 'auto_install': False, | ||
278 | 34 | 'installable': True, | ||
279 | 35 | 'data' : ['res_partner_attributes_add_NE_view.xml'] | ||
280 | 36 | } | ||
281 | 37 | |||
282 | 38 | |||
283 | 39 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
284 | 0 | 40 | ||
285 | === added directory 'res_partner_attributes_add_NE/i18n' | |||
286 | === added file 'res_partner_attributes_add_NE/i18n/fr.mo' | |||
287 | 1 | Binary files res_partner_attributes_add_NE/i18n/fr.mo 1970-01-01 00:00:00 +0000 and res_partner_attributes_add_NE/i18n/fr.mo 2013-07-12 19:33:29 +0000 differ | 41 | Binary files res_partner_attributes_add_NE/i18n/fr.mo 1970-01-01 00:00:00 +0000 and res_partner_attributes_add_NE/i18n/fr.mo 2013-07-12 19:33:29 +0000 differ |
288 | === added file 'res_partner_attributes_add_NE/i18n/fr.po' | |||
289 | --- res_partner_attributes_add_NE/i18n/fr.po 1970-01-01 00:00:00 +0000 | |||
290 | +++ res_partner_attributes_add_NE/i18n/fr.po 2013-07-12 19:33:29 +0000 | |||
291 | @@ -0,0 +1,32 @@ | |||
292 | 1 | # Translation of OpenERP Server. | ||
293 | 2 | # This file contains the translation of the following modules: | ||
294 | 3 | # * res_partner_attributes_add_NE | ||
295 | 4 | # | ||
296 | 5 | msgid "" | ||
297 | 6 | msgstr "" | ||
298 | 7 | "Project-Id-Version: OpenERP Server 7.0\n" | ||
299 | 8 | "Report-Msgid-Bugs-To: \n" | ||
300 | 9 | "POT-Creation-Date: 2013-07-11 14:53+0000\n" | ||
301 | 10 | "PO-Revision-Date: 2013-07-11 10:57-0500\n" | ||
302 | 11 | "Last-Translator: Marc Cassuto <marc.cassuto@savoirfairelinux.com>\n" | ||
303 | 12 | "Language-Team: \n" | ||
304 | 13 | "MIME-Version: 1.0\n" | ||
305 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
306 | 15 | "Content-Transfer-Encoding: 8bit\n" | ||
307 | 16 | "Plural-Forms: \n" | ||
308 | 17 | |||
309 | 18 | #. module: res_partner_attributes_add_NE | ||
310 | 19 | #: model:ir.model,name:res_partner_attributes_add_NE.model_res_partner | ||
311 | 20 | msgid "Partner" | ||
312 | 21 | msgstr "Partenaire" | ||
313 | 22 | |||
314 | 23 | #. module: res_partner_attributes_add_NE | ||
315 | 24 | #: help:res.partner,ne:0 | ||
316 | 25 | msgid "Canada Business identification Number (9 digits)" | ||
317 | 26 | msgstr "Numéro d'Entreprise du Canada (9 chiffres)" | ||
318 | 27 | |||
319 | 28 | #. module: res_partner_attributes_add_NE | ||
320 | 29 | #: field:res.partner,ne:0 | ||
321 | 30 | msgid "NE" | ||
322 | 31 | msgstr "NE" | ||
323 | 32 | |||
324 | 0 | 33 | ||
325 | === added file 'res_partner_attributes_add_NE/i18n/res_partner_attributes_add_NE.pot' | |||
326 | --- res_partner_attributes_add_NE/i18n/res_partner_attributes_add_NE.pot 1970-01-01 00:00:00 +0000 | |||
327 | +++ res_partner_attributes_add_NE/i18n/res_partner_attributes_add_NE.pot 2013-07-12 19:33:29 +0000 | |||
328 | @@ -0,0 +1,32 @@ | |||
329 | 1 | # Translation of OpenERP Server. | ||
330 | 2 | # This file contains the translation of the following modules: | ||
331 | 3 | # * res_partner_attributes_add_NE | ||
332 | 4 | # | ||
333 | 5 | msgid "" | ||
334 | 6 | msgstr "" | ||
335 | 7 | "Project-Id-Version: OpenERP Server 7.0\n" | ||
336 | 8 | "Report-Msgid-Bugs-To: \n" | ||
337 | 9 | "POT-Creation-Date: 2013-07-11 14:53+0000\n" | ||
338 | 10 | "PO-Revision-Date: 2013-07-11 14:53+0000\n" | ||
339 | 11 | "Last-Translator: <>\n" | ||
340 | 12 | "Language-Team: \n" | ||
341 | 13 | "MIME-Version: 1.0\n" | ||
342 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
343 | 15 | "Content-Transfer-Encoding: \n" | ||
344 | 16 | "Plural-Forms: \n" | ||
345 | 17 | |||
346 | 18 | #. module: res_partner_attributes_add_NE | ||
347 | 19 | #: model:ir.model,name:res_partner_attributes_add_NE.model_res_partner | ||
348 | 20 | msgid "Partner" | ||
349 | 21 | msgstr "" | ||
350 | 22 | |||
351 | 23 | #. module: res_partner_attributes_add_NE | ||
352 | 24 | #: help:res.partner,ne:0 | ||
353 | 25 | msgid "Canada Business identification Number (9 digits)" | ||
354 | 26 | msgstr "" | ||
355 | 27 | |||
356 | 28 | #. module: res_partner_attributes_add_NE | ||
357 | 29 | #: field:res.partner,ne:0 | ||
358 | 30 | msgid "NE" | ||
359 | 31 | msgstr "" | ||
360 | 32 | |||
361 | 0 | 33 | ||
362 | === added file 'res_partner_attributes_add_NE/res_partner_attributes_add_NE.py' | |||
363 | --- res_partner_attributes_add_NE/res_partner_attributes_add_NE.py 1970-01-01 00:00:00 +0000 | |||
364 | +++ res_partner_attributes_add_NE/res_partner_attributes_add_NE.py 2013-07-12 19:33:29 +0000 | |||
365 | @@ -0,0 +1,33 @@ | |||
366 | 1 | # -*- encoding: utf-8 -*- | ||
367 | 2 | ############################################################################## | ||
368 | 3 | # | ||
369 | 4 | # OpenERP, Open Source Management Solution | ||
370 | 5 | # Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | ||
371 | 6 | # | ||
372 | 7 | # This program is free software: you can redistribute it and/or modify | ||
373 | 8 | # it under the terms of the GNU Affero General Public License as | ||
374 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
375 | 10 | # License, or (at your option) any later version. | ||
376 | 11 | # | ||
377 | 12 | # This program is distributed in the hope that it will be useful, | ||
378 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
379 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
380 | 15 | # GNU Affero General Public License for more details. | ||
381 | 16 | # | ||
382 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
383 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
384 | 19 | # | ||
385 | 20 | ############################################################################## | ||
386 | 21 | |||
387 | 22 | from openerp.osv import fields, orm | ||
388 | 23 | from openerp.tools.translate import _ | ||
389 | 24 | |||
390 | 25 | class res_partner(orm.Model): | ||
391 | 26 | _name = 'res.partner' | ||
392 | 27 | _inherit = 'res.partner' | ||
393 | 28 | _columns = { | ||
394 | 29 | 'ne' : fields.float('NE', digits=(9,0),help="Canada Business identification Number (9 digits)"), | ||
395 | 30 | } | ||
396 | 31 | |||
397 | 32 | |||
398 | 33 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
399 | 0 | 34 | ||
400 | === added file 'res_partner_attributes_add_NE/res_partner_attributes_add_NE_view.xml' | |||
401 | --- res_partner_attributes_add_NE/res_partner_attributes_add_NE_view.xml 1970-01-01 00:00:00 +0000 | |||
402 | +++ res_partner_attributes_add_NE/res_partner_attributes_add_NE_view.xml 2013-07-12 19:33:29 +0000 | |||
403 | @@ -0,0 +1,16 @@ | |||
404 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
405 | 2 | <openerp> | ||
406 | 3 | <data> | ||
407 | 4 | <record model="ir.ui.view" id="res_partner_attributes_add_NE_form_view"> | ||
408 | 5 | <field name="name">res_partner_attributes_add_NE</field> | ||
409 | 6 | <field name="model">res.partner</field> | ||
410 | 7 | <field name="inherit_id" ref="base.view_partner_form"/> | ||
411 | 8 | <field name="arch" type="xml"> | ||
412 | 9 | <field name="email" position="after"> | ||
413 | 10 | <field name="ne" attrs="{'invisible': [('is_company','=', False)]}"/> | ||
414 | 11 | </field> | ||
415 | 12 | </field> | ||
416 | 13 | </record> | ||
417 | 14 | |||
418 | 15 | </data> | ||
419 | 16 | </openerp> |
Modules already provided by https:/ /code.launchpad .net/~savoirfai relinux- openerp/ openerp- canada/ openerp- canada_ res_partner_ attributes_ add_NEQ/ +merge/ 174487