Merge lp:~openerp-dev/openobject-addons/7.0-bug-1168398-tta into lp:openobject-addons
- 7.0-bug-1168398-tta
- Merge into trunk
Proposed by
SnippetBucket.com
Status: | Rejected |
---|---|
Rejected by: | Rucha (Open ERP) |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-bug-1168398-tta |
Merge into: | lp:openobject-addons |
Diff against target: |
3078 lines (+855/-287) (has conflicts) 62 files modified
account/account_invoice.py (+7/-7) account/account_invoice_view.xml (+8/-2) account/account_move_line.py (+7/-13) account/account_view.xml (+3/-3) account/i18n/tr.po (+23/-2) account/partner.py (+9/-0) account/partner_view.xml (+6/-1) account/project/project_view.xml (+1/-1) account/static/src/js/account_move_reconciliation.js (+1/-1) account_analytic_analysis/account_analytic_analysis_view.xml (+1/-1) account_asset/account_asset_view.xml (+1/-1) account_asset/report/account_asset_report_view.xml (+1/-1) account_report_company/__init__.py (+25/-0) account_report_company/__openerp__.py (+57/-0) account_report_company/account_invoice_view.xml (+24/-0) account_report_company/account_report_company.py (+51/-0) account_report_company/report/__init__.py (+24/-0) account_report_company/report/account_invoice_report.py (+36/-0) account_report_company/report/account_invoice_report_view.xml (+24/-0) account_report_company/res_partner_view.xml (+24/-0) account_voucher/account_voucher_view.xml (+1/-1) account_voucher/voucher_payment_receipt_view.xml (+2/-2) account_voucher/voucher_sales_purchase_view.xml (+2/-2) base_import/i18n/pt_BR.po (+44/-1) base_vat/base_vat.py (+3/-0) crm/crm_lead_view.xml (+2/-2) crm/crm_phonecall_view.xml (+1/-1) crm/report/crm_lead_report_view.xml (+1/-1) crm/report/crm_phonecall_report_view.xml (+1/-1) crm_claim/crm_claim_view.xml (+1/-1) crm_claim/report/crm_claim_report_view.xml (+1/-1) crm_helpdesk/crm_helpdesk_view.xml (+1/-1) crm_helpdesk/report/crm_helpdesk_report_view.xml (+1/-0) hr_expense/hr_expense_view.xml (+4/-0) l10n_be_invoice_bba/partner.py (+5/-0) l10n_ro/res_partner.py (+29/-2) mrp/mrp.py (+11/-2) mrp_repair/mrp_repair_view.xml (+1/-1) pad/static/src/js/pad.js (+34/-38) pad/static/src/xml/pad.xml (+18/-25) point_of_sale/i18n/pt_BR.po (+85/-40) point_of_sale/i18n/tr.po (+120/-83) product/partner.py (+7/-0) product/partner_view.xml (+4/-1) product/pricelist.py (+4/-1) project/i18n/tr.po (+12/-1) project/project_view.xml (+1/-1) project/report/project_report_view.xml (+1/-1) project_issue/project_issue_view.xml (+5/-0) project_issue/report/project_issue_report_view.xml (+1/-1) purchase/partner.py (+3/-0) purchase/purchase_view.xml (+3/-3) report_webkit/i18n/tr.po (+30/-17) sale/res_partner_view.xml (+28/-8) sale/sale.py (+19/-4) sale/sale_view.xml (+13/-4) sale_journal/sale_journal.py (+8/-0) sale_journal/sale_journal_view.xml (+1/-1) sale_stock/stock.py (+1/-1) sale_stock/test/picking_order_policy.yml (+8/-2) stock/report/report_stock_move_view.xml (+1/-1) stock/stock_view.xml (+4/-2) Text conflict in account/account_invoice_view.xml Text conflict in account/i18n/tr.po Text conflict in account/partner.py Text conflict in base_import/i18n/pt_BR.po Text conflict in hr_expense/hr_expense_view.xml Text conflict in l10n_ro/res_partner.py Text conflict in point_of_sale/i18n/pt_BR.po Text conflict in point_of_sale/i18n/tr.po Text conflict in product/partner.py Text conflict in project/i18n/tr.po Text conflict in project_issue/project_issue_view.xml Text conflict in report_webkit/i18n/tr.po Text conflict in sale/sale.py Text conflict in sale/sale_view.xml Text conflict in sale_journal/sale_journal.py |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-bug-1168398-tta |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+160012@code.launchpad.net |
Commit message
Description of the change
Hello,
Fixed Bug: 1168398
* Fixed: Incorrect behavior when producing MO with component split in serial numbers.
* Reported Bug: https:/
Thanks,
tta
To post a comment you must log in.
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote : | # |
Unmerged revisions
- 9046. By SnippetBucket.com
-
[FIX] bug:1168398/
Incorrect behaviour when producing MO with component split in serial numbers.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'account/account_invoice.py' |
2 | --- account/account_invoice.py 2013-04-18 10:39:07 +0000 |
3 | +++ account/account_invoice.py 2013-04-22 06:55:35 +0000 |
4 | @@ -1261,9 +1261,7 @@ |
5 | ref = invoice.reference |
6 | else: |
7 | ref = self._convert_ref(cr, uid, invoice.number) |
8 | - partner = invoice.partner_id |
9 | - if partner.parent_id and not partner.is_company: |
10 | - partner = partner.parent_id |
11 | + partner = self.pool['res.partner']._find_accounting_partner(invoice.partner_id) |
12 | # Pay attention to the sign for both debit/credit AND amount_currency |
13 | l1 = { |
14 | 'debit': direction * pay_amount>0 and direction * pay_amount, |
15 | @@ -1733,15 +1731,17 @@ |
16 | 'invoice_ids': fields.one2many('account.invoice.line', 'partner_id', 'Invoices', readonly=True), |
17 | } |
18 | |
19 | - def _find_accounting_partner(self, part): |
20 | + def _find_accounting_partner(self, partner): |
21 | ''' |
22 | Find the partner for which the accounting entries will be created |
23 | ''' |
24 | + # FIXME: after 7.0, to replace by function field partner.commercial_partner_id |
25 | + |
26 | #if the chosen partner is not a company and has a parent company, use the parent for the journal entries |
27 | #because you want to invoice 'Agrolait, accounting department' but the journal items are for 'Agrolait' |
28 | - if part.parent_id and not part.is_company: |
29 | - part = part.parent_id |
30 | - return part |
31 | + while not partner.is_company and partner.parent_id: |
32 | + partner = partner.parent_id |
33 | + return partner |
34 | |
35 | def copy(self, cr, uid, id, default=None, context=None): |
36 | default = default or {} |
37 | |
38 | === modified file 'account/account_invoice_view.xml' |
39 | --- account/account_invoice_view.xml 2013-04-18 12:59:51 +0000 |
40 | +++ account/account_invoice_view.xml 2013-04-22 06:55:35 +0000 |
41 | @@ -320,7 +320,8 @@ |
42 | <field string="Customer" name="partner_id" |
43 | on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id,company_id)" |
44 | groups="base.group_user" context="{'search_default_customer':1, 'show_address': 1}" |
45 | - options='{"always_reload": True}'/> |
46 | + options='{"always_reload": True}' |
47 | + domain="[('customer', '=', True)]"/> |
48 | <field name="fiscal_position" widget="selection" /> |
49 | </group> |
50 | <group> |
51 | @@ -447,13 +448,18 @@ |
52 | <field name="model">account.invoice</field> |
53 | <field name="arch" type="xml"> |
54 | <search string="Search Invoice"> |
55 | - <field name="number" string="Invoice" filter_domain="['|','|','|', ('number','ilike',self), ('origin','ilike',self), ('supplier_invoice_number', 'ilike', self), ('partner_id', 'ilike', self)]"/> |
56 | + <field name="number" string="Invoice" filter_domain="['|','|','|', ('number','ilike',self), ('origin','ilike',self), ('supplier_invoice_number', 'ilike', self), ('partner_id', 'child_of', self)]"/> |
57 | <filter name="draft" string="Draft" domain="[('state','=','draft')]" help="Draft Invoices"/> |
58 | <filter name="proforma" string="Proforma" domain="[('state','=','proforma2')]" help="Proforma Invoices" groups="account.group_proforma_invoices"/> |
59 | <filter name="invoices" string="Invoices" domain="[('state','not in',['draft','cancel'])]" help="Proforma/Open/Paid Invoices"/> |
60 | <filter name="unpaid" string="Unpaid" domain="[('state','=','open')]" help="Unpaid Invoices"/> |
61 | <separator/> |
62 | +<<<<<<< TREE |
63 | <field name="partner_id"/> |
64 | +======= |
65 | + <filter domain="[('user_id','=',uid)]" help="My Invoices" icon="terp-personal"/> |
66 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
67 | +>>>>>>> MERGE-SOURCE |
68 | <field name="user_id" string="Salesperson"/> |
69 | <field name="period_id" string="Period"/> |
70 | <separator/> |
71 | |
72 | === modified file 'account/account_move_line.py' |
73 | --- account/account_move_line.py 2013-04-18 10:39:07 +0000 |
74 | +++ account/account_move_line.py 2013-04-22 06:55:35 +0000 |
75 | @@ -655,13 +655,7 @@ |
76 | } |
77 | return result |
78 | |
79 | - def onchange_account_id(self, cr, uid, ids, account_id, context=None): |
80 | - res = {'value': {}} |
81 | - if account_id: |
82 | - res['value']['account_tax_id'] = [x.id for x in self.pool.get('account.account').browse(cr, uid, account_id, context=context).tax_ids] |
83 | - return res |
84 | - |
85 | - def onchange_partner_id(self, cr, uid, ids, move_id, partner_id, account_id=None, debit=0, credit=0, date=False, journal=False): |
86 | + def onchange_partner_id(self, cr, uid, ids, move_id, partner_id, account_id=None, debit=0, credit=0, date=False, journal=False, context=None): |
87 | partner_obj = self.pool.get('res.partner') |
88 | payment_term_obj = self.pool.get('account.payment.term') |
89 | journal_obj = self.pool.get('account.journal') |
90 | @@ -675,8 +669,8 @@ |
91 | date = datetime.now().strftime('%Y-%m-%d') |
92 | jt = False |
93 | if journal: |
94 | - jt = journal_obj.browse(cr, uid, journal).type |
95 | - part = partner_obj.browse(cr, uid, partner_id) |
96 | + jt = journal_obj.browse(cr, uid, journal, context=context).type |
97 | + part = partner_obj.browse(cr, uid, partner_id, context=context) |
98 | |
99 | payment_term_id = False |
100 | if jt and jt in ('purchase', 'purchase_refund') and part.property_supplier_payment_term: |
101 | @@ -701,20 +695,20 @@ |
102 | elif part.supplier: |
103 | val['account_id'] = fiscal_pos_obj.map_account(cr, uid, part and part.property_account_position or False, id1) |
104 | if val.get('account_id', False): |
105 | - d = self.onchange_account_id(cr, uid, ids, val['account_id']) |
106 | + d = self.onchange_account_id(cr, uid, ids, account_id=val['account_id'], partner_id=part.id, context=context) |
107 | val.update(d['value']) |
108 | return {'value':val} |
109 | |
110 | - def onchange_account_id(self, cr, uid, ids, account_id=False, partner_id=False): |
111 | + def onchange_account_id(self, cr, uid, ids, account_id=False, partner_id=False, context=None): |
112 | account_obj = self.pool.get('account.account') |
113 | partner_obj = self.pool.get('res.partner') |
114 | fiscal_pos_obj = self.pool.get('account.fiscal.position') |
115 | val = {} |
116 | if account_id: |
117 | - res = account_obj.browse(cr, uid, account_id) |
118 | + res = account_obj.browse(cr, uid, account_id, context=context) |
119 | tax_ids = res.tax_ids |
120 | if tax_ids and partner_id: |
121 | - part = partner_obj.browse(cr, uid, partner_id) |
122 | + part = partner_obj.browse(cr, uid, partner_id, context=context) |
123 | tax_id = fiscal_pos_obj.map_tax(cr, uid, part and part.property_account_position or False, tax_ids)[0] |
124 | else: |
125 | tax_id = tax_ids and tax_ids[0].id or False |
126 | |
127 | === modified file 'account/account_view.xml' |
128 | --- account/account_view.xml 2013-04-08 15:17:51 +0000 |
129 | +++ account/account_view.xml 2013-04-22 06:55:35 +0000 |
130 | @@ -1112,7 +1112,7 @@ |
131 | <field name="ref"/> |
132 | <field name="statement_id" invisible="1"/> |
133 | <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/> |
134 | - <field name="account_id" options='{"no_open":True}' domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]" on_change="onchange_account_id(account_id)"/> |
135 | + <field name="account_id" options='{"no_open":True}' domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]" on_change="onchange_account_id(account_id, partner_id, context)"/> |
136 | <field name="account_tax_id" options='{"no_open":True}' invisible="context.get('journal_type', False) not in ['sale','sale_refund','purchase','purchase_refund','general']"/> |
137 | <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('type','not in',['view','template'])]" invisible="not context.get('analytic_journal_id',False)"/> |
138 | <field name="move_id" required="0"/> |
139 | @@ -1293,7 +1293,7 @@ |
140 | <group col="6" colspan="4"> |
141 | <field name="name"/> |
142 | <field name="ref"/> |
143 | - <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/> |
144 | + <field name="partner_id" on_change="onchange_partner_id(False, partner_id, account_id, debit, credit, date, journal_id, context)"/> |
145 | |
146 | <field name="journal_id"/> |
147 | <field name="period_id"/> |
148 | @@ -1357,7 +1357,7 @@ |
149 | <tree colors="blue:state == 'draft';black:state == 'posted'" editable="top" string="Journal Items"> |
150 | <field name="invoice"/> |
151 | <field name="name"/> |
152 | - <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,parent.date,parent.journal_id)"/> |
153 | + <field name="partner_id" on_change="onchange_partner_id(False, partner_id, account_id, debit, credit, parent.date, parent.journal_id, context)"/> |
154 | <field name="account_id" domain="[('journal_id','=',parent.journal_id),('company_id', '=', parent.company_id)]"/> |
155 | <field name="date_maturity"/> |
156 | <field name="debit" sum="Total Debit"/> |
157 | |
158 | === modified file 'account/i18n/tr.po' |
159 | --- account/i18n/tr.po 2013-04-18 09:41:47 +0000 |
160 | +++ account/i18n/tr.po 2013-04-22 06:55:35 +0000 |
161 | @@ -4,17 +4,30 @@ |
162 | # |
163 | msgid "" |
164 | msgstr "" |
165 | +<<<<<<< TREE |
166 | "Project-Id-Version: OpenERP Server 6.0dev\n" |
167 | "Report-Msgid-Bugs-To: support@openerp.com\n" |
168 | "POT-Creation-Date: 2012-12-21 17:04+0000\n" |
169 | "PO-Revision-Date: 2012-12-01 21:27+0000\n" |
170 | +======= |
171 | +"Project-Id-Version: openobject-addons\n" |
172 | +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
173 | +"POT-Creation-Date: 2013-03-07 08:37+0000\n" |
174 | +"PO-Revision-Date: 2013-04-21 01:20+0000\n" |
175 | +>>>>>>> MERGE-SOURCE |
176 | "Last-Translator: Ayhan KIZILTAN <Unknown>\n" |
177 | "Language-Team: \n" |
178 | "MIME-Version: 1.0\n" |
179 | "Content-Type: text/plain; charset=UTF-8\n" |
180 | "Content-Transfer-Encoding: 8bit\n" |
181 | +<<<<<<< TREE |
182 | "X-Launchpad-Export-Date: 2013-03-16 05:18+0000\n" |
183 | "X-Generator: Launchpad (build 16532)\n" |
184 | +======= |
185 | +"X-Launchpad-Export-Date: 2013-04-21 05:32+0000\n" |
186 | +"X-Generator: Launchpad (build 16567)\n" |
187 | +"Language: tr\n" |
188 | +>>>>>>> MERGE-SOURCE |
189 | |
190 | #. module: account |
191 | #: model:process.transition,name:account.process_transition_supplierreconcilepaid0 |
192 | @@ -4064,7 +4077,7 @@ |
193 | #. module: account |
194 | #: view:account.journal:0 |
195 | msgid "Search Account Journal" |
196 | -msgstr "Günlük Hesabı Ara" |
197 | +msgstr "Hesap Günlüğü Ara" |
198 | |
199 | #. module: account |
200 | #: model:ir.actions.act_window,name:account.action_invoice_tree_pending_invoice |
201 | @@ -5669,6 +5682,14 @@ |
202 | msgstr "KDV Hesabı Bildirimi" |
203 | |
204 | #. module: account |
205 | +<<<<<<< TREE |
206 | +======= |
207 | +#: view:account.bank.statement:0 |
208 | +msgid "Cancel Statement" |
209 | +msgstr "Hesap Özeti İptal" |
210 | + |
211 | +#. module: account |
212 | +>>>>>>> MERGE-SOURCE |
213 | #: help:account.config.settings,module_account_accountant:0 |
214 | msgid "" |
215 | "If you do not check this box, you will be able to do invoicing & payments, " |
216 | @@ -7187,7 +7208,7 @@ |
217 | #. module: account |
218 | #: view:account.open.closed.fiscalyear:0 |
219 | msgid "Discard" |
220 | -msgstr "Gözardı et" |
221 | +msgstr "Vazgeç" |
222 | |
223 | #. module: account |
224 | #: selection:account.account,type:0 |
225 | |
226 | === modified file 'account/partner.py' |
227 | --- account/partner.py 2013-04-15 10:23:49 +0000 |
228 | +++ account/partner.py 2013-04-22 06:55:35 +0000 |
229 | @@ -233,5 +233,14 @@ |
230 | 'last_reconciliation_date': fields.datetime('Latest Full Reconciliation Date', help='Date on which the partner accounting entries were fully reconciled last time. It differs from the last date where a reconciliation has been made for this partner, as here we depict the fact that nothing more was to be reconciled at this date. This can be achieved in 2 different ways: either the last unreconciled debit/credit entry of this partner was reconciled, either the user pressed the button "Nothing more to reconcile" during the manual reconciliation process.') |
231 | } |
232 | |
233 | +<<<<<<< TREE |
234 | +======= |
235 | + def _commercial_fields(self, cr, uid, context=None): |
236 | + return super(res_partner, self)._commercial_fields(cr, uid, context=context) + \ |
237 | + ['debit_limit', 'property_account_payable', 'property_account_receivable', 'property_account_position', |
238 | + 'property_payment_term', 'property_supplier_payment_term', 'last_reconciliation_date'] |
239 | + |
240 | +res_partner() |
241 | +>>>>>>> MERGE-SOURCE |
242 | |
243 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
244 | |
245 | === modified file 'account/partner_view.xml' |
246 | --- account/partner_view.xml 2013-04-08 15:17:51 +0000 |
247 | +++ account/partner_view.xml 2013-04-22 06:55:35 +0000 |
248 | @@ -96,7 +96,7 @@ |
249 | <field name="inherit_id" ref="base.view_partner_form"/> |
250 | <field name="arch" type="xml"> |
251 | <page string="History" position="before" version="7.0"> |
252 | - <page string="Accounting" col="4"> |
253 | + <page string="Accounting" col="4" name="accounting" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}"> |
254 | <group> |
255 | <group> |
256 | <field name="property_account_position" widget="selection"/> |
257 | @@ -126,6 +126,11 @@ |
258 | </tree> |
259 | </field> |
260 | </page> |
261 | + <page string="Accounting" name="accounting_disabled" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}"> |
262 | + <div> |
263 | + <p>Accounting-related settings are managed on <button name="open_commercial_entity" type="object" string="the parent company" class="oe_link"/></p> |
264 | + </div> |
265 | + </page> |
266 | </page> |
267 | </field> |
268 | </record> |
269 | |
270 | === modified file 'account/project/project_view.xml' |
271 | --- account/project/project_view.xml 2013-03-14 11:27:40 +0000 |
272 | +++ account/project/project_view.xml 2013-04-22 06:55:35 +0000 |
273 | @@ -31,7 +31,7 @@ |
274 | <search string="Analytic Account"> |
275 | <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Analytic Account"/> |
276 | <field name="date"/> |
277 | - <field name="partner_id"/> |
278 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
279 | <field name="manager_id"/> |
280 | <field name="parent_id"/> |
281 | <field name="user_id"/> |
282 | |
283 | === modified file 'account/static/src/js/account_move_reconciliation.js' |
284 | --- account/static/src/js/account_move_reconciliation.js 2012-12-19 17:40:09 +0000 |
285 | +++ account/static/src/js/account_move_reconciliation.js 2013-04-22 06:55:35 +0000 |
286 | @@ -26,7 +26,7 @@ |
287 | if (this.partners) { |
288 | this.$el.prepend(QWeb.render("AccountReconciliation", {widget: this})); |
289 | this.$(".oe_account_recon_previous").click(function() { |
290 | - self.current_partner = (self.current_partner - 1) % self.partners.length; |
291 | + self.current_partner = (((self.current_partner - 1) % self.partners.length) + self.partners.length) % self.partners.length; |
292 | self.search_by_partner(); |
293 | }); |
294 | this.$(".oe_account_recon_next").click(function() { |
295 | |
296 | === modified file 'account_analytic_analysis/account_analytic_analysis_view.xml' |
297 | --- account_analytic_analysis/account_analytic_analysis_view.xml 2013-04-04 11:56:27 +0000 |
298 | +++ account_analytic_analysis/account_analytic_analysis_view.xml 2013-04-22 06:55:35 +0000 |
299 | @@ -213,7 +213,7 @@ |
300 | <search string="Contracts"> |
301 | <field name="name" filter_domain="['|', ('name','ilike',self),('code','ilike',self)]" string="Contract"/> |
302 | <field name="date"/> |
303 | - <field name="partner_id"/> |
304 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
305 | <field name="manager_id"/> |
306 | <field name="parent_id"/> |
307 | <filter name="open" string="In Progress" domain="[('state','in',('open','draft'))]" help="Contracts in progress (open, draft)"/> |
308 | |
309 | === modified file 'account_asset/account_asset_view.xml' |
310 | --- account_asset/account_asset_view.xml 2012-12-08 10:33:38 +0000 |
311 | +++ account_asset/account_asset_view.xml 2013-04-22 06:55:35 +0000 |
312 | @@ -223,7 +223,7 @@ |
313 | <filter icon="terp-check" string="Current" domain="[('state','in', ('draft','open'))]" help="Assets in draft and open states"/> |
314 | <filter icon="terp-dialog-close" string="Closed" domain="[('state','=', 'close')]" help="Assets in closed state"/> |
315 | <field name="category_id"/> |
316 | - <field name="partner_id"/> |
317 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
318 | </search> |
319 | </field> |
320 | </record> |
321 | |
322 | === modified file 'account_asset/report/account_asset_report_view.xml' |
323 | --- account_asset/report/account_asset_report_view.xml 2012-11-29 22:26:45 +0000 |
324 | +++ account_asset/report/account_asset_report_view.xml 2013-04-22 06:55:35 +0000 |
325 | @@ -49,7 +49,7 @@ |
326 | <field name="asset_id"/> |
327 | <field name="asset_category_id"/> |
328 | <group expand="0" string="Extended Filters..."> |
329 | - <field name="partner_id"/> |
330 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
331 | <field name="company_id" groups="base.group_multi_company"/> |
332 | </group> |
333 | <group expand="1" string="Group By..."> |
334 | |
335 | === added directory 'account_report_company' |
336 | === added file 'account_report_company/__init__.py' |
337 | --- account_report_company/__init__.py 1970-01-01 00:00:00 +0000 |
338 | +++ account_report_company/__init__.py 2013-04-22 06:55:35 +0000 |
339 | @@ -0,0 +1,25 @@ |
340 | +# -*- coding: utf-8 -*- |
341 | +############################################################################## |
342 | +# |
343 | +# OpenERP, Open Source Business Applications |
344 | +# Copyright (c) 2013 OpenERP S.A. <http://openerp.com> |
345 | +# |
346 | +# This program is free software: you can redistribute it and/or modify |
347 | +# it under the terms of the GNU Affero General Public License as |
348 | +# published by the Free Software Foundation, either version 3 of the |
349 | +# License, or (at your option) any later version. |
350 | +# |
351 | +# This program is distributed in the hope that it will be useful, |
352 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
353 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
354 | +# GNU Affero General Public License for more details. |
355 | +# |
356 | +# You should have received a copy of the GNU Affero General Public License |
357 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
358 | +# |
359 | +############################################################################## |
360 | + |
361 | +import account_report_company |
362 | +import report |
363 | + |
364 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
365 | |
366 | === added file 'account_report_company/__openerp__.py' |
367 | --- account_report_company/__openerp__.py 1970-01-01 00:00:00 +0000 |
368 | +++ account_report_company/__openerp__.py 2013-04-22 06:55:35 +0000 |
369 | @@ -0,0 +1,57 @@ |
370 | +# -*- coding: utf-8 -*- |
371 | +############################################################################## |
372 | +# |
373 | +# OpenERP, Open Source Business Applications |
374 | +# Copyright (c) 2013 OpenERP S.A. <http://openerp.com> |
375 | +# |
376 | +# This program is free software: you can redistribute it and/or modify |
377 | +# it under the terms of the GNU Affero General Public License as |
378 | +# published by the Free Software Foundation, either version 3 of the |
379 | +# License, or (at your option) any later version. |
380 | +# |
381 | +# This program is distributed in the hope that it will be useful, |
382 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
383 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
384 | +# GNU Affero General Public License for more details. |
385 | +# |
386 | +# You should have received a copy of the GNU Affero General Public License |
387 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
388 | +# |
389 | +############################################################################## |
390 | +{ |
391 | + 'name': 'Invoice Analysis per Company', |
392 | + 'version': '1.0', |
393 | + 'category': 'Accounting & Finance', |
394 | + 'description': """ |
395 | +Add an extra Company dimension on Invoices for consolidated Invoice Analysis |
396 | +============================================================================ |
397 | + |
398 | +By default Customer and Supplier invoices can be linked to a contact within |
399 | +a company, but the company is not a direct reference in the database structure for |
400 | +invoices. Journal Entries are however always linked to the company and not to |
401 | +contacts, so that Accounts Payable and Receivable are always correct and consolidated |
402 | +at company level. |
403 | + |
404 | +When many different contacts/departments need to be invoiced within the same parent company, |
405 | +this can make reporting by Company more difficult: reports are directly based on the |
406 | +database structure and would not provide an aggregated company dimension. |
407 | + |
408 | +This modules solves the problem by adding an explicit company reference on invoices, |
409 | +automatically computed from the invoice contact, and use this new dimension |
410 | +when grouping the list of Invoices or the Invoice Analysis report by Partner. |
411 | + |
412 | +Note: this module will likely be removed for the next major OpenERP version and |
413 | +directly integrated in the core accounting. |
414 | +""", |
415 | + 'author': 'OpenERP SA', |
416 | + 'website': 'http://www.openerp.com', |
417 | + 'depends': ['account'], |
418 | + 'data': [ |
419 | + 'account_invoice_view.xml', |
420 | + 'res_partner_view.xml', |
421 | + 'report/account_invoice_report_view.xml', |
422 | + ], |
423 | + 'auto_install': True, |
424 | +} |
425 | + |
426 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
427 | |
428 | === added file 'account_report_company/account_invoice_view.xml' |
429 | --- account_report_company/account_invoice_view.xml 1970-01-01 00:00:00 +0000 |
430 | +++ account_report_company/account_invoice_view.xml 2013-04-22 06:55:35 +0000 |
431 | @@ -0,0 +1,24 @@ |
432 | +<?xml version="1.0"?> |
433 | +<openerp> |
434 | + <data> |
435 | + <record model="ir.ui.view" id="account_report_company_tree_view"> |
436 | + <field name="model">account.invoice</field> |
437 | + <field name="inherit_id" ref="account.invoice_tree"/> |
438 | + <field name="arch" type="xml"> |
439 | + <field name="partner_id" position="after"> |
440 | + <field name="commercial_partner_id" invisible="1"/> |
441 | + </field> |
442 | + </field> |
443 | + </record> |
444 | + |
445 | + <record model="ir.ui.view" id="account_report_company_search_view"> |
446 | + <field name="model">account.invoice</field> |
447 | + <field name="inherit_id" ref="account.view_account_invoice_filter"/> |
448 | + <field name="arch" type="xml"> |
449 | + <filter string="Partner" position="replace"> |
450 | + <filter name="commercial_partner_id" string="Partner" domain="[]" context="{'group_by':'commercial_partner_id'}"/> |
451 | + </filter> |
452 | + </field> |
453 | + </record> |
454 | + </data> |
455 | +</openerp> |
456 | \ No newline at end of file |
457 | |
458 | === added file 'account_report_company/account_report_company.py' |
459 | --- account_report_company/account_report_company.py 1970-01-01 00:00:00 +0000 |
460 | +++ account_report_company/account_report_company.py 2013-04-22 06:55:35 +0000 |
461 | @@ -0,0 +1,51 @@ |
462 | +# -*- coding: utf-8 -*- |
463 | +############################################################################## |
464 | +# |
465 | +# OpenERP, Open Source Business Applications |
466 | +# Copyright (c) 2013 S.A. <http://openerp.com> |
467 | +# |
468 | +# This program is free software: you can redistribute it and/or modify |
469 | +# it under the terms of the GNU Affero General Public License as |
470 | +# published by the Free Software Foundation, either version 3 of the |
471 | +# License, or (at your option) any later version. |
472 | +# |
473 | +# This program is distributed in the hope that it will be useful, |
474 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
475 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
476 | +# GNU Affero General Public License for more details. |
477 | +# |
478 | +# You should have received a copy of the GNU Affero General Public License |
479 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
480 | +# |
481 | +############################################################################## |
482 | + |
483 | +from openerp.osv import osv, fields |
484 | + |
485 | +class res_partner(osv.Model): |
486 | + _inherit = 'res.partner' |
487 | + _order = 'display_name' |
488 | + |
489 | + def _display_name_compute(self, cr, uid, ids, name, args, context=None): |
490 | + return dict(self.name_get(cr, uid, ids, context=context)) |
491 | + |
492 | + _display_name_store_triggers = { |
493 | + 'res.partner': (lambda self,cr,uid,ids,context=None: self.search(cr, uid, [('id','child_of',ids)]), |
494 | + ['parent_id', 'is_company'], 10) |
495 | + } |
496 | + |
497 | + # indirection to avoid passing a copy of the overridable method when declaring the function field |
498 | + _display_name = lambda self, *args, **kwargs: self._display_name_compute(*args, **kwargs) |
499 | + |
500 | + _columns = { |
501 | + # extra field to allow ORDER BY to match visible names |
502 | + 'display_name': fields.function(_display_name, type='char', string='Name', store=_display_name_store_triggers), |
503 | + } |
504 | + |
505 | +class account_invoice(osv.Model): |
506 | + _inherit = 'account.invoice' |
507 | + |
508 | + _columns = { |
509 | + 'commercial_partner_id': fields.related('partner_id', 'commercial_partner_id', string='Commercial Entity', type='many2one', |
510 | + relation='res.partner', store=True, readonly=True, |
511 | + help="The commercial entity that will be used on Journal Entries for this invoice") |
512 | + } |
513 | |
514 | === added directory 'account_report_company/report' |
515 | === added file 'account_report_company/report/__init__.py' |
516 | --- account_report_company/report/__init__.py 1970-01-01 00:00:00 +0000 |
517 | +++ account_report_company/report/__init__.py 2013-04-22 06:55:35 +0000 |
518 | @@ -0,0 +1,24 @@ |
519 | +# -*- coding: utf-8 -*- |
520 | +############################################################################## |
521 | +# |
522 | +# OpenERP, Open Source Business Applications |
523 | +# Copyright (c) 2013 OpenERP S.A. <http://openerp.com> |
524 | +# |
525 | +# This program is free software: you can redistribute it and/or modify |
526 | +# it under the terms of the GNU Affero General Public License as |
527 | +# published by the Free Software Foundation, either version 3 of the |
528 | +# License, or (at your option) any later version. |
529 | +# |
530 | +# This program is distributed in the hope that it will be useful, |
531 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
532 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
533 | +# GNU Affero General Public License for more details. |
534 | +# |
535 | +# You should have received a copy of the GNU Affero General Public License |
536 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
537 | +# |
538 | +############################################################################## |
539 | + |
540 | +import account_invoice_report |
541 | + |
542 | +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
543 | |
544 | === added file 'account_report_company/report/account_invoice_report.py' |
545 | --- account_report_company/report/account_invoice_report.py 1970-01-01 00:00:00 +0000 |
546 | +++ account_report_company/report/account_invoice_report.py 2013-04-22 06:55:35 +0000 |
547 | @@ -0,0 +1,36 @@ |
548 | +# -*- coding: utf-8 -*- |
549 | +############################################################################## |
550 | +# |
551 | +# OpenERP, Open Source Business Applications |
552 | +# Copyright (c) 2013 OpenERP S.A. <http://openerp.com> |
553 | +# |
554 | +# This program is free software: you can redistribute it and/or modify |
555 | +# it under the terms of the GNU Affero General Public License as |
556 | +# published by the Free Software Foundation, either version 3 of the |
557 | +# License, or (at your option) any later version. |
558 | +# |
559 | +# This program is distributed in the hope that it will be useful, |
560 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
561 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
562 | +# GNU Affero General Public License for more details. |
563 | +# |
564 | +# You should have received a copy of the GNU Affero General Public License |
565 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
566 | +# |
567 | +############################################################################## |
568 | +from openerp.osv import osv, fields |
569 | + |
570 | +class account_invoice_report(osv.Model): |
571 | + _inherit = 'account.invoice.report' |
572 | + _columns = { |
573 | + 'commercial_partner_id': fields.many2one('res.partner', 'Partner Company', help="Commercial Entity"), |
574 | + } |
575 | + |
576 | + def _select(self): |
577 | + return super(account_invoice_report, self)._select() + ", sub.commercial_partner_id as commercial_partner_id" |
578 | + |
579 | + def _sub_select(self): |
580 | + return super(account_invoice_report, self)._sub_select() + ", ai.commercial_partner_id as commercial_partner_id" |
581 | + |
582 | + def _group_by(self): |
583 | + return super(account_invoice_report, self)._group_by() + ", ai.commercial_partner_id" |
584 | |
585 | === added file 'account_report_company/report/account_invoice_report_view.xml' |
586 | --- account_report_company/report/account_invoice_report_view.xml 1970-01-01 00:00:00 +0000 |
587 | +++ account_report_company/report/account_invoice_report_view.xml 2013-04-22 06:55:35 +0000 |
588 | @@ -0,0 +1,24 @@ |
589 | +<?xml version="1.0"?> |
590 | +<openerp> |
591 | + <data> |
592 | + <record model="ir.ui.view" id="account_report_company_invoice_report_tree_view"> |
593 | + <field name="model">account.invoice.report</field> |
594 | + <field name="inherit_id" ref="account.view_account_invoice_report_tree"/> |
595 | + <field name="arch" type="xml"> |
596 | + <field name="partner_id" position="after"> |
597 | + <field name="commercial_partner_id" invisible="1"/> |
598 | + </field> |
599 | + </field> |
600 | + </record> |
601 | + |
602 | + <record model="ir.ui.view" id="account_report_company_invoice_report_search_view"> |
603 | + <field name="model">account.invoice.report</field> |
604 | + <field name="inherit_id" ref="account.view_account_invoice_report_search"/> |
605 | + <field name="arch" type="xml"> |
606 | + <filter name="partner" position="replace"> |
607 | + <filter string="Partner" name="commercial_partner_id" context="{'group_by':'commercial_partner_id','residual_visible':True}"/> |
608 | + </filter> |
609 | + </field> |
610 | + </record> |
611 | + </data> |
612 | +</openerp> |
613 | \ No newline at end of file |
614 | |
615 | === added file 'account_report_company/res_partner_view.xml' |
616 | --- account_report_company/res_partner_view.xml 1970-01-01 00:00:00 +0000 |
617 | +++ account_report_company/res_partner_view.xml 2013-04-22 06:55:35 +0000 |
618 | @@ -0,0 +1,24 @@ |
619 | +<?xml version="1.0"?> |
620 | +<openerp> |
621 | + <data> |
622 | + <record model="ir.ui.view" id="account_report_copmany_partner_tree_view"> |
623 | + <field name="model">res.partner</field> |
624 | + <field name="inherit_id" ref="base.view_partner_tree"/> |
625 | + <field name="arch" type="xml"> |
626 | + <field name="name" position="replace"> |
627 | + <field name="display_name"/> |
628 | + </field> |
629 | + </field> |
630 | + </record> |
631 | + |
632 | + <record model="ir.ui.view" id="account_report_copmany_partner_kanban_view"> |
633 | + <field name="model">res.partner</field> |
634 | + <field name="inherit_id" ref="base.res_partner_kanban_view"/> |
635 | + <field name="arch" type="xml"> |
636 | + <xpath expr="//templates//field[@name='name']" position="replace"> |
637 | + <field name="display_name"/> |
638 | + </xpath> |
639 | + </field> |
640 | + </record> |
641 | + </data> |
642 | +</openerp> |
643 | \ No newline at end of file |
644 | |
645 | === modified file 'account_voucher/account_voucher_view.xml' |
646 | --- account_voucher/account_voucher_view.xml 2013-02-25 13:38:04 +0000 |
647 | +++ account_voucher/account_voucher_view.xml 2013-04-22 06:55:35 +0000 |
648 | @@ -129,7 +129,7 @@ |
649 | <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/> |
650 | <separator/> |
651 | <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('state','=','posted'), ('audit','=',False)]" help="To Review"/> |
652 | - <field name="partner_id"/> |
653 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
654 | <field name="journal_id" context="{'journal_id': self, 'set_visible':False}" /> |
655 | <field name="period_id"/> |
656 | <group expand="0" string="Group By..."> |
657 | |
658 | === modified file 'account_voucher/voucher_payment_receipt_view.xml' |
659 | --- account_voucher/voucher_payment_receipt_view.xml 2013-02-25 13:38:04 +0000 |
660 | +++ account_voucher/voucher_payment_receipt_view.xml 2013-04-22 06:55:35 +0000 |
661 | @@ -11,7 +11,7 @@ |
662 | <field name="date"/> |
663 | <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/> |
664 | <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/> |
665 | - <field name="partner_id" string="Customer"/> |
666 | + <field name="partner_id" string="Customer" filter_domain="[('partner_id','child_of',self)]"/> |
667 | <field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('bank','cash'))]"/> |
668 | <field name="period_id"/> |
669 | <group expand="0" string="Group By..."> |
670 | @@ -34,7 +34,7 @@ |
671 | <field name="date"/> |
672 | <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/> |
673 | <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/> |
674 | - <field name="partner_id" string="Supplier"/> |
675 | + <field name="partner_id" string="Supplier" filter_domain="[('partner_id','child_of',self)]"/> |
676 | <field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('bank','cash'))]"/> |
677 | <field name="period_id"/> |
678 | <group expand="0" string="Group By..."> |
679 | |
680 | === modified file 'account_voucher/voucher_sales_purchase_view.xml' |
681 | --- account_voucher/voucher_sales_purchase_view.xml 2013-02-25 14:20:35 +0000 |
682 | +++ account_voucher/voucher_sales_purchase_view.xml 2013-04-22 06:55:35 +0000 |
683 | @@ -10,7 +10,7 @@ |
684 | <field name="date"/> |
685 | <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/> |
686 | <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/> |
687 | - <field name="partner_id" string="Supplier"/> |
688 | + <field name="partner_id" string="Supplier" filter_domain="[('partner_id','child_of',self)]"/> |
689 | <field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('purchase','purchase_refund'))]"/> |
690 | <field name="period_id"/> |
691 | <group expand="0" string="Group By..."> |
692 | @@ -32,7 +32,7 @@ |
693 | <field name="date"/> |
694 | <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Vouchers"/> |
695 | <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Vouchers"/> |
696 | - <field name="partner_id" string="Customer"/> |
697 | + <field name="partner_id" string="Customer" filter_domain="[('partner_id','child_of',self)]"/> |
698 | <field name="journal_id" context="{'journal_id': self, 'set_visible':False}" domain="[('type','in',('sale','sale_refund'))]"/> |
699 | <field name="period_id"/> |
700 | <group expand="0" string="Group By..."> |
701 | |
702 | === modified file 'base_import/i18n/pt_BR.po' |
703 | --- base_import/i18n/pt_BR.po 2013-04-05 11:10:48 +0000 |
704 | +++ base_import/i18n/pt_BR.po 2013-04-22 06:55:35 +0000 |
705 | @@ -7,16 +7,27 @@ |
706 | msgstr "" |
707 | "Project-Id-Version: openobject-addons\n" |
708 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
709 | +<<<<<<< TREE |
710 | "POT-Creation-Date: 2012-12-21 17:05+0000\n" |
711 | "PO-Revision-Date: 2012-12-24 18:37+0000\n" |
712 | "Last-Translator: Fábio Martinelli - http://zupy.com.br " |
713 | "<webmaster@guaru.net>\n" |
714 | +======= |
715 | +"POT-Creation-Date: 2013-03-07 08:37+0000\n" |
716 | +"PO-Revision-Date: 2013-04-20 04:26+0000\n" |
717 | +"Last-Translator: Thiago Tognoli <Unknown>\n" |
718 | +>>>>>>> MERGE-SOURCE |
719 | "Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" |
720 | "MIME-Version: 1.0\n" |
721 | "Content-Type: text/plain; charset=UTF-8\n" |
722 | "Content-Transfer-Encoding: 8bit\n" |
723 | +<<<<<<< TREE |
724 | "X-Launchpad-Export-Date: 2013-03-16 05:52+0000\n" |
725 | "X-Generator: Launchpad (build 16532)\n" |
726 | +======= |
727 | +"X-Launchpad-Export-Date: 2013-04-21 05:32+0000\n" |
728 | +"X-Generator: Launchpad (build 16567)\n" |
729 | +>>>>>>> MERGE-SOURCE |
730 | |
731 | #. module: base_import |
732 | #. openerp-web |
733 | @@ -210,6 +221,13 @@ |
734 | "\n" |
735 | " See the following question." |
736 | msgstr "" |
737 | +"Observe que caso seu Arquivo CSV\n" |
738 | +" tenha tabulações como separadores, o OpenERP não " |
739 | +"irá\n" |
740 | +" detectar as separações. Você irá precisar trocar o\n" |
741 | +" a opção de formato de arquivo em seu programa de " |
742 | +"planilha eletrônica. \n" |
743 | +" Confira essa questão." |
744 | |
745 | #. module: base_import |
746 | #. openerp-web |
747 | @@ -451,6 +469,8 @@ |
748 | "file to import. If you need a sample importable file, you\n" |
749 | " can use the export tool to generate one." |
750 | msgstr "" |
751 | +"arquivo para importar. Se você precisa de um arquivo modelo, você\n" |
752 | +" pode usar a ferramenta de exportação para gerar um." |
753 | |
754 | #. module: base_import |
755 | #. openerp-web |
756 | @@ -667,6 +687,8 @@ |
757 | "The first row of the\n" |
758 | " file contains the label of the column" |
759 | msgstr "" |
760 | +"A primeira linha do\n" |
761 | +" arquivo contém os títulos das colunas" |
762 | |
763 | #. module: base_import |
764 | #: model:ir.model,name:base_import.model_base_import_tests_models_char_states |
765 | @@ -991,6 +1013,16 @@ |
766 | |
767 | #. module: base_import |
768 | #. openerp-web |
769 | +<<<<<<< TREE |
770 | +======= |
771 | +#: code:addons/base_import/static/src/js/import.js:176 |
772 | +#, python-format |
773 | +msgid "Space" |
774 | +msgstr "Espaço" |
775 | + |
776 | +#. module: base_import |
777 | +#. openerp-web |
778 | +>>>>>>> MERGE-SOURCE |
779 | #: code:addons/base_import/static/src/xml/import.xml:249 |
780 | #, python-format |
781 | msgid "" |
782 | @@ -1084,6 +1116,17 @@ |
783 | msgstr "" |
784 | |
785 | #. module: base_import |
786 | +<<<<<<< TREE |
787 | +======= |
788 | +#. openerp-web |
789 | +#: code:addons/base_import/static/src/js/import.js:173 |
790 | +#: code:addons/base_import/static/src/js/import.js:184 |
791 | +#, python-format |
792 | +msgid "Comma" |
793 | +msgstr "Vírgula" |
794 | + |
795 | +#. module: base_import |
796 | +>>>>>>> MERGE-SOURCE |
797 | #: model:ir.model,name:base_import.model_base_import_tests_models_m2o_related |
798 | msgid "base_import.tests.models.m2o.related" |
799 | msgstr "base_import.tests.models.m2o.related" |
800 | @@ -1207,4 +1250,4 @@ |
801 | #. module: base_import |
802 | #: field:base_import.import,file:0 |
803 | msgid "File" |
804 | -msgstr "" |
805 | +msgstr "Arquivo" |
806 | |
807 | === modified file 'base_vat/base_vat.py' |
808 | --- base_vat/base_vat.py 2013-04-15 10:23:49 +0000 |
809 | +++ base_vat/base_vat.py 2013-04-22 06:55:35 +0000 |
810 | @@ -134,6 +134,9 @@ |
811 | 'vat_subjected': fields.boolean('VAT Legal Statement', help="Check this box if the partner is subjected to the VAT. It will be used for the VAT legal statement.") |
812 | } |
813 | |
814 | + def _commercial_fields(self, cr, uid, context=None): |
815 | + return super(res_partner, self)._commercial_fields(cr, uid, context=context) + ['vat_subjected'] |
816 | + |
817 | def _construct_constraint_msg(self, cr, uid, ids, context=None): |
818 | def default_vat_check(cn, vn): |
819 | # by default, a VAT number is valid if: |
820 | |
821 | === modified file 'crm/crm_lead_view.xml' |
822 | --- crm/crm_lead_view.xml 2013-04-11 12:44:46 +0000 |
823 | +++ crm/crm_lead_view.xml 2013-04-22 06:55:35 +0000 |
824 | @@ -330,7 +330,7 @@ |
825 | <field name="categ_ids" string="Category" filter_domain="[('categ_ids','ilike',self)]"/> |
826 | <field name="section_id" context="{'invisible_section': False}" groups="base.group_multi_salesteams"/> |
827 | <field name="user_id"/> |
828 | - <field name="partner_id"/> |
829 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
830 | <field name="create_date"/> |
831 | <field name="country_id" context="{'invisible_country': False}"/> |
832 | <separator/> |
833 | @@ -548,7 +548,7 @@ |
834 | <field name="categ_ids" string="Category" filter_domain="[('categ_ids','ilike', self)]"/> |
835 | <field name="section_id" context="{'invisible_section': False}" groups="base.group_multi_salesteams"/> |
836 | <field name="user_id"/> |
837 | - <field name="partner_id"/> |
838 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
839 | <separator/> |
840 | <filter string="New" name="new" domain="[('state','=','draft')]" help="New Opportunities"/> |
841 | <filter string="In Progress" name="open" domain="[('state','=','open')]" help="Open Opportunities"/> |
842 | |
843 | === modified file 'crm/crm_phonecall_view.xml' |
844 | --- crm/crm_phonecall_view.xml 2013-04-03 08:10:09 +0000 |
845 | +++ crm/crm_phonecall_view.xml 2013-04-22 06:55:35 +0000 |
846 | @@ -186,7 +186,7 @@ |
847 | <separator/> |
848 | <filter string="Phone Calls Assigned to Me or My Team(s)" icon="terp-personal+" domain="['|', ('section_id.user_id','=',uid), ('user_id', '=', uid)]" |
849 | help="Phone Calls Assigned to the current user or with a team having the current user as team leader"/> |
850 | - <field name="partner_id"/> |
851 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
852 | <field name="user_id"/> |
853 | <field name="section_id" string="Sales Team" |
854 | groups="base.group_multi_salesteams"/> |
855 | |
856 | === modified file 'crm/report/crm_lead_report_view.xml' |
857 | --- crm/report/crm_lead_report_view.xml 2013-04-03 08:10:09 +0000 |
858 | +++ crm/report/crm_lead_report_view.xml 2013-04-22 06:55:35 +0000 |
859 | @@ -82,7 +82,7 @@ |
860 | groups="base.group_multi_salesteams"/> |
861 | <field name="user_id" string="Salesperson"/> |
862 | <group expand="0" string="Extended Filters..."> |
863 | - <field name="partner_id"/> |
864 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
865 | <field name="stage_id" domain="[('section_ids', '=', 'section_id')]" /> |
866 | <field name="type_id"/> |
867 | <field name="channel_id"/> |
868 | |
869 | === modified file 'crm/report/crm_phonecall_report_view.xml' |
870 | --- crm/report/crm_phonecall_report_view.xml 2013-04-03 08:10:09 +0000 |
871 | +++ crm/report/crm_phonecall_report_view.xml 2013-04-22 06:55:35 +0000 |
872 | @@ -64,7 +64,7 @@ |
873 | groups="base.group_multi_salesteams"/> |
874 | <field name="user_id" string="Salesperson"/> |
875 | <group expand="0" string="Extended Filters..."> |
876 | - <field name="partner_id"/> |
877 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
878 | <field name="company_id" groups="base.group_multi_company"/> |
879 | <field name="creation_date"/> |
880 | <field name="opening_date"/> |
881 | |
882 | === modified file 'crm_claim/crm_claim_view.xml' |
883 | --- crm_claim/crm_claim_view.xml 2013-03-25 16:51:25 +0000 |
884 | +++ crm_claim/crm_claim_view.xml 2013-04-22 06:55:35 +0000 |
885 | @@ -201,7 +201,7 @@ |
886 | <filter icon="terp-gtk-media-pause" string="Pending" domain="[('state','=','pending')]"/> |
887 | <separator/> |
888 | <filter string="Unassigned Claims" icon="terp-personal-" domain="[('user_id','=', False)]" help="Unassigned Claims" /> |
889 | - <field name="partner_id"/> |
890 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
891 | <field name="user_id"/> |
892 | <group expand="0" string="Group By..."> |
893 | <filter string="Partner" icon="terp-partner" domain="[]" help="Partner" context="{'group_by':'partner_id'}"/> |
894 | |
895 | === modified file 'crm_claim/report/crm_claim_report_view.xml' |
896 | --- crm_claim/report/crm_claim_report_view.xml 2013-04-03 08:10:09 +0000 |
897 | +++ crm_claim/report/crm_claim_report_view.xml 2013-04-22 06:55:35 +0000 |
898 | @@ -65,7 +65,7 @@ |
899 | <field name="section_id" string="Sales Team" context="{'invisible_section': False}" |
900 | groups="base.group_multi_salesteams"/> |
901 | <group expand="0" string="Extended Filters..."> |
902 | - <field name="partner_id"/> |
903 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
904 | <field name="stage_id" domain="[('section_ids', '=', 'section_id')]"/> |
905 | <field name="categ_id" domain="[('object_id.model', '=', 'crm.claim')]"/> |
906 | <field name="priority"/> |
907 | |
908 | === modified file 'crm_helpdesk/crm_helpdesk_view.xml' |
909 | --- crm_helpdesk/crm_helpdesk_view.xml 2013-03-25 16:51:25 +0000 |
910 | +++ crm_helpdesk/crm_helpdesk_view.xml 2013-04-22 06:55:35 +0000 |
911 | @@ -152,7 +152,7 @@ |
912 | <separator/> |
913 | <filter string="Assigned to Me or My Sales Team(s)" icon="terp-personal+" domain="['|', ('section_id.user_id','=',uid), ('section_id.member_ids', 'in', [uid])]" |
914 | help="Helpdesk requests that are assigned to me or to one of the sale teams I manage" /> |
915 | - <field name="partner_id" /> |
916 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
917 | <field name="user_id"/> |
918 | <field name="section_id" string="Sales Team" groups="base.group_multi_salesteams"/> |
919 | <group expand="0" string="Group By..."> |
920 | |
921 | === modified file 'crm_helpdesk/report/crm_helpdesk_report_view.xml' |
922 | --- crm_helpdesk/report/crm_helpdesk_report_view.xml 2013-03-25 16:51:25 +0000 |
923 | +++ crm_helpdesk/report/crm_helpdesk_report_view.xml 2013-04-22 06:55:35 +0000 |
924 | @@ -62,6 +62,7 @@ |
925 | <field name="user_id" string="Salesperson"/> |
926 | <field name="section_id" string="Sales Team" context="{'invisible_section': False}" groups="base.group_multi_salesteams"/> |
927 | <field name="company_id" groups="base.group_multi_company"/> |
928 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
929 | <group expand="0" string="Extended Filters..." groups="base.group_no_one"> |
930 | <field name="priority" string="Priority"/> |
931 | <field name="categ_id"/> |
932 | |
933 | === modified file 'hr_expense/hr_expense_view.xml' |
934 | --- hr_expense/hr_expense_view.xml 2013-04-18 12:31:45 +0000 |
935 | +++ hr_expense/hr_expense_view.xml 2013-04-22 06:55:35 +0000 |
936 | @@ -32,7 +32,11 @@ |
937 | <field name="user_id" invisible="1"/> |
938 | <field name="name"/> |
939 | <field name="currency_id" groups="base.group_multi_currency"/> |
940 | +<<<<<<< TREE |
941 | <field name="amount" sum="Total Expenses"/> |
942 | +======= |
943 | + <field name="amount" sum="Total Amount"/> |
944 | +>>>>>>> MERGE-SOURCE |
945 | <field name="state"/> |
946 | </tree> |
947 | </field> |
948 | |
949 | === modified file 'l10n_be_invoice_bba/partner.py' |
950 | --- l10n_be_invoice_bba/partner.py 2013-04-15 10:23:49 +0000 |
951 | +++ l10n_be_invoice_bba/partner.py 2013-04-22 06:55:35 +0000 |
952 | @@ -44,6 +44,11 @@ |
953 | help='Select Algorithm to generate the Structured Communication on Outgoing Invoices.' ), |
954 | } |
955 | |
956 | + def _commercial_fields(self, cr, uid, context=None): |
957 | + return super(res_partner, self)._commercial_fields(cr, uid, context=context) + \ |
958 | + ['out_inv_comm_type', 'out_inv_comm_algorithm'] |
959 | + |
960 | + |
961 | _default = { |
962 | 'out_inv_comm_type': 'none', |
963 | } |
964 | |
965 | === modified file 'l10n_ro/res_partner.py' |
966 | --- l10n_ro/res_partner.py 2013-04-15 10:23:49 +0000 |
967 | +++ l10n_ro/res_partner.py 2013-04-22 06:55:35 +0000 |
968 | @@ -28,9 +28,36 @@ |
969 | _columns = { |
970 | 'nrc' : fields.char('NRC', size=16, help='Registration number at the Registry of Commerce'), |
971 | } |
972 | + |
973 | + # The SQL constraints are no-ops but present only to display the right error message to the |
974 | + # user when the partial unique indexes defined below raise errors/ |
975 | + # The real constraints need to be implemented with PARTIAL UNIQUE INDEXES (see auto_init), |
976 | + # due to the way accounting data is delegated by contacts to their companies in OpenERP 7.0. |
977 | _sql_constraints = [ |
978 | - ('vat_uniq', 'unique (vat)', 'The vat of the partner must be unique !'), |
979 | - ('nrc_uniq', 'unique (nrc)', 'The code of the partner must be unique !') |
980 | + ('vat_uniq', 'unique (id)', 'The vat of the partner must be unique !'), |
981 | + ('nrc_uniq', 'unique (id)', 'The code of the partner must be unique !') |
982 | ] |
983 | +<<<<<<< TREE |
984 | +======= |
985 | + |
986 | + def _auto_init(self, cr, context=None): |
987 | + result = super(res_partner, self)._auto_init(cr, context=context) |
988 | + # Real implementation of the vat/nrc constraints: only "commercial entities" need to have |
989 | + # unique numbers, and the condition for being a commercial entity is "is_company or parent_id IS NULL". |
990 | + # Contacts inside a company automatically have a copy of the company's commercial fields |
991 | + # (see _commercial_fields()), so they are automatically consistent. |
992 | + cr.execute(""" |
993 | + DROP INDEX IF EXISTS res_partner_vat_uniq_for_companies; |
994 | + DROP INDEX IF EXISTS res_partner_nrc_uniq_for_companies; |
995 | + CREATE UNIQUE INDEX res_partner_vat_uniq_for_companies ON res_partner (vat) WHERE is_company OR parent_id IS NULL; |
996 | + CREATE UNIQUE INDEX res_partner_nrc_uniq_for_companies ON res_partner (nrc) WHERE is_company OR parent_id IS NULL; |
997 | + """) |
998 | + return result |
999 | + |
1000 | + def _commercial_fields(self, cr, uid, context=None): |
1001 | + return super(res_partner, self)._commercial_fields(cr, uid, context=context) + ['nrc'] |
1002 | + |
1003 | +res_partner() |
1004 | +>>>>>>> MERGE-SOURCE |
1005 | |
1006 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
1007 | |
1008 | === modified file 'mrp/mrp.py' |
1009 | --- mrp/mrp.py 2013-04-15 10:23:49 +0000 |
1010 | +++ mrp/mrp.py 2013-04-22 06:55:35 +0000 |
1011 | @@ -748,8 +748,17 @@ |
1012 | if qty <= 0.0: |
1013 | # we already have more qtys consumed than we need |
1014 | continue |
1015 | - |
1016 | - raw_product[0].action_consume(qty, raw_product[0].location_id.id, context=context) |
1017 | + splitqty = qty |
1018 | + moves = sorted(raw_product, key=lambda k: (k.product_qty)) |
1019 | + for move in moves: |
1020 | + if splitqty <= 0: |
1021 | + break |
1022 | + elif move.product_qty >= qty: |
1023 | + move.action_consume(qty, move.location_id.id, context=context) |
1024 | + splitqty = 0 |
1025 | + else: |
1026 | + move.action_consume(splitqty, move.location_id.id, context=context) |
1027 | + splitqty = splitqty - move.product_qty |
1028 | |
1029 | if production_mode == 'consume_produce': |
1030 | # To produce remaining qty of final product |
1031 | |
1032 | === modified file 'mrp_repair/mrp_repair_view.xml' |
1033 | --- mrp_repair/mrp_repair_view.xml 2012-12-15 16:31:01 +0000 |
1034 | +++ mrp_repair/mrp_repair_view.xml 2013-04-22 06:55:35 +0000 |
1035 | @@ -210,7 +210,7 @@ |
1036 | <separator/> |
1037 | <filter icon="terp-dolar" string="Invoiced" domain="[('invoiced','=',True)]"/> |
1038 | <field name="product_id"/> |
1039 | - <field name="partner_id"/> |
1040 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
1041 | <group expand="0" string="Group By..."> |
1042 | <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/> |
1043 | <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/> |
1044 | |
1045 | === modified file 'pad/static/src/js/pad.js' |
1046 | --- pad/static/src/js/pad.js 2012-12-13 14:58:55 +0000 |
1047 | +++ pad/static/src/js/pad.js 2013-04-22 06:55:35 +0000 |
1048 | @@ -1,67 +1,63 @@ |
1049 | openerp.pad = function(instance) { |
1050 | |
1051 | - instance.web.form.FieldPad = instance.web.form.AbstractField.extend({ |
1052 | + instance.web.form.FieldPad = instance.web.form.AbstractField.extend(instance.web.form.ReinitializeWidgetMixin, { |
1053 | template: 'FieldPad', |
1054 | - configured: false, |
1055 | content: "", |
1056 | - start: function() { |
1057 | - this._super(); |
1058 | - var self = this; |
1059 | - this.on('change:effective_readonly',this,function(){ |
1060 | - self.renderElement(); |
1061 | + init: function() { |
1062 | + this._super.apply(this, arguments); |
1063 | + this.set("configured", true); |
1064 | + this.on("change:configured", this, this.switch_configured); |
1065 | + }, |
1066 | + initialize_content: function() { |
1067 | + this.switch_configured(); |
1068 | + this.$('.oe_pad_switch').click(function() { |
1069 | + self.$el.toggleClass('oe_pad_fullscreen'); |
1070 | }); |
1071 | + this.render_value(); |
1072 | + }, |
1073 | + switch_configured: function() { |
1074 | + this.$(".oe_unconfigured").toggle(! this.get("configured")); |
1075 | + this.$(".oe_configured").toggle(this.get("configured")); |
1076 | }, |
1077 | render_value: function() { |
1078 | - var self = this; |
1079 | - var _super = _.bind(this._super, this); |
1080 | - if (this.get("value") === false || this.get("value") === "") { |
1081 | - self.view.dataset.call('pad_generate_url',{context:{ |
1082 | + var self = this; |
1083 | + if (this.get("configured") && ! this.get("value")) { |
1084 | + self.view.dataset.call('pad_generate_url', { |
1085 | + context: { |
1086 | model: self.view.model, |
1087 | field_name: self.name, |
1088 | object_id: self.view.datarecord.id |
1089 | - }}).done(function(data) { |
1090 | - if(data&&data.url){ |
1091 | - self.set({value: data.url}); |
1092 | - _super(data.url); |
1093 | - self.renderElement(); |
1094 | + }, |
1095 | + }).done(function(data) { |
1096 | + if (! data.url) { |
1097 | + self.set("configured", false); |
1098 | + } else { |
1099 | + self.set("value", data.url); |
1100 | } |
1101 | }); |
1102 | - } else { |
1103 | - self.renderElement(); |
1104 | } |
1105 | - this._dirty_flag = true; |
1106 | - }, |
1107 | - renderElement: function(){ |
1108 | - var self = this; |
1109 | + this.$('.oe_pad_content').html(""); |
1110 | var value = this.get('value'); |
1111 | if (this.pad_loading_request) { |
1112 | this.pad_loading_request.abort(); |
1113 | } |
1114 | - if(!_.str.startsWith(value,'http')){ |
1115 | - this.configured = false; |
1116 | - this.content = ""; |
1117 | - }else{ |
1118 | - this.configured = true; |
1119 | - if(!this.get('effective_readonly')){ |
1120 | - this.content = '<iframe width="100%" height="100%" frameborder="0" src="'+value+'?showChat=false&userName='+this.session.username+'"></iframe>'; |
1121 | - }else{ |
1122 | + if (_.str.startsWith(value, 'http')) { |
1123 | + if (! this.get('effective_readonly')) { |
1124 | + var content = '<iframe width="100%" height="100%" frameborder="0" src="' + value + '?showChat=false&userName=' + this.session.username + '"></iframe>'; |
1125 | + this.$('.oe_pad_content').html(content); |
1126 | + this._dirty_flag = true; |
1127 | + } else { |
1128 | this.content = '<div class="oe_pad_loading">... Loading pad ...</div>'; |
1129 | - this.pad_loading_request = $.get(value+'/export/html') |
1130 | - .done(function(data){ |
1131 | + this.pad_loading_request = $.get(value + '/export/html').done(function(data) { |
1132 | groups = /\<\s*body\s*\>(.*?)\<\s*\/body\s*\>/.exec(data); |
1133 | data = (groups || []).length >= 2 ? groups[1] : ''; |
1134 | self.$('.oe_pad_content').html('<div class="oe_pad_readonly"><div>'); |
1135 | self.$('.oe_pad_readonly').html(data); |
1136 | - }).error(function(){ |
1137 | + }).fail(function() { |
1138 | self.$('.oe_pad_content').text('Unable to load pad'); |
1139 | }); |
1140 | } |
1141 | } |
1142 | - this._super(); |
1143 | - this.$('.oe_pad_content').html(this.content); |
1144 | - this.$('.oe_pad_switch').click(function(){ |
1145 | - self.$el.toggleClass('oe_pad_fullscreen'); |
1146 | - }); |
1147 | }, |
1148 | }); |
1149 | |
1150 | |
1151 | === modified file 'pad/static/src/xml/pad.xml' |
1152 | --- pad/static/src/xml/pad.xml 2012-12-08 14:31:35 +0000 |
1153 | +++ pad/static/src/xml/pad.xml 2013-04-22 06:55:35 +0000 |
1154 | @@ -5,32 +5,25 @@ |
1155 | |
1156 | <t t-name="FieldPad"> |
1157 | |
1158 | - <t t-if="!widget.configured"> |
1159 | - <div class="oe_form_field_text oe_pad oe_unconfigured"> |
1160 | - <p> |
1161 | - You must configure the etherpad through the menu Settings > Companies > Companies, in the configuration tab of your company. |
1162 | - </p> |
1163 | - </div> |
1164 | - </t> |
1165 | - |
1166 | - <t t-if="widget.configured"> |
1167 | + <div class="oe_form_field_text oe_pad"> |
1168 | + <p class="oe_unconfigured"> |
1169 | + You must configure the etherpad through the menu Settings > Companies > Companies, in the configuration tab of your company. |
1170 | + </p> |
1171 | <t t-if="widget.get('effective_readonly')"> |
1172 | - <div class="oe_form_field_text oe_pad oe_configured"> |
1173 | - <div class="oe_pad_content etherpad_readonly"> |
1174 | - </div> |
1175 | - </div> |
1176 | - </t> |
1177 | - |
1178 | - <t t-if="!widget.get('effective_readonly')"> |
1179 | - <div class="oe_form_field_text oe_pad oe_configured"> |
1180 | - <div class="oe_pad_switch_positioner"> |
1181 | - <span class="oe_pad_switch oe_e">&Ntilde;</span> |
1182 | - </div> |
1183 | - <div class="oe_pad_content oe_editing"> |
1184 | - </div> |
1185 | - </div> |
1186 | - </t> |
1187 | - </t> |
1188 | + <div class="oe_pad_content etherpad_readonly oe_configured"> |
1189 | + </div> |
1190 | + </t> |
1191 | + <t t-if="! widget.get('effective_readonly')"> |
1192 | + <div class="oe_pad_switch_positioner oe_configured"> |
1193 | + <span class="oe_pad_switch oe_e">&Ntilde;</span> |
1194 | + </div> |
1195 | + <div class="oe_pad_content oe_editing oe_configured"> |
1196 | + </div> |
1197 | + </t> |
1198 | + </div> |
1199 | + |
1200 | + |
1201 | + |
1202 | </t> |
1203 | |
1204 | </templates> |
1205 | |
1206 | === modified file 'point_of_sale/i18n/pt_BR.po' |
1207 | --- point_of_sale/i18n/pt_BR.po 2013-04-19 05:24:38 +0000 |
1208 | +++ point_of_sale/i18n/pt_BR.po 2013-04-22 06:55:35 +0000 |
1209 | @@ -4,17 +4,31 @@ |
1210 | # |
1211 | msgid "" |
1212 | msgstr "" |
1213 | +<<<<<<< TREE |
1214 | "Project-Id-Version: OpenERP Server 6.0dev\n" |
1215 | "Report-Msgid-Bugs-To: support@openerp.com\n" |
1216 | "POT-Creation-Date: 2012-12-21 17:04+0000\n" |
1217 | "PO-Revision-Date: 2013-04-18 18:07+0000\n" |
1218 | "Last-Translator: Thiago Tognoli <Unknown>\n" |
1219 | "Language-Team: \n" |
1220 | +======= |
1221 | +"Project-Id-Version: openobject-addons\n" |
1222 | +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
1223 | +"POT-Creation-Date: 2013-03-07 08:37+0000\n" |
1224 | +"PO-Revision-Date: 2013-04-20 22:44+0000\n" |
1225 | +"Last-Translator: Thiago Tognoli <Unknown>\n" |
1226 | +"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" |
1227 | +>>>>>>> MERGE-SOURCE |
1228 | "MIME-Version: 1.0\n" |
1229 | "Content-Type: text/plain; charset=UTF-8\n" |
1230 | "Content-Transfer-Encoding: 8bit\n" |
1231 | +<<<<<<< TREE |
1232 | "X-Launchpad-Export-Date: 2013-04-19 05:24+0000\n" |
1233 | "X-Generator: Launchpad (build 16567)\n" |
1234 | +======= |
1235 | +"X-Launchpad-Export-Date: 2013-04-21 05:32+0000\n" |
1236 | +"X-Generator: Launchpad (build 16567)\n" |
1237 | +>>>>>>> MERGE-SOURCE |
1238 | |
1239 | #. module: point_of_sale |
1240 | #: field:report.transaction.pos,product_nb:0 |
1241 | @@ -114,7 +128,7 @@ |
1242 | #. module: point_of_sale |
1243 | #: constraint:pos.config:0 |
1244 | msgid "You cannot have two cash controls in one Point Of Sale !" |
1245 | -msgstr "Você não pode ter dois controles de caixa em um ponto de venda!" |
1246 | +msgstr "Você não pode ter dois controles de caixa em um Ponto de Venda!" |
1247 | |
1248 | #. module: point_of_sale |
1249 | #: field:pos.payment.report.user,user_id:0 |
1250 | @@ -156,9 +170,7 @@ |
1251 | "touchscreen interface." |
1252 | msgstr "" |
1253 | "Você deve controlar o valor na caixa registradora, antes\n" |
1254 | -" " |
1255 | -" de iniciar as vendas através da " |
1256 | -"interface de toque." |
1257 | +" de iniciar as vendas através da interface de toque." |
1258 | |
1259 | #. module: point_of_sale |
1260 | #: report:account.statement:0 |
1261 | @@ -228,7 +240,7 @@ |
1262 | #. module: point_of_sale |
1263 | #: model:product.template,name:point_of_sale.fenouil_fenouil_product_template |
1264 | msgid "Fennel" |
1265 | -msgstr "erva-doce" |
1266 | +msgstr "Erva Doce" |
1267 | |
1268 | #. module: point_of_sale |
1269 | #. openerp-web |
1270 | @@ -273,6 +285,16 @@ |
1271 | msgstr "Informação Contábil" |
1272 | |
1273 | #. module: point_of_sale |
1274 | +<<<<<<< TREE |
1275 | +======= |
1276 | +#. openerp-web |
1277 | +#: code:addons/point_of_sale/static/src/xml/pos.xml:427 |
1278 | +#, python-format |
1279 | +msgid "0.00€" |
1280 | +msgstr "0.00" |
1281 | + |
1282 | +#. module: point_of_sale |
1283 | +>>>>>>> MERGE-SOURCE |
1284 | #: field:pos.session.opening,show_config:0 |
1285 | msgid "Show Config" |
1286 | msgstr "Mostrar Configuração" |
1287 | @@ -280,7 +302,7 @@ |
1288 | #. module: point_of_sale |
1289 | #: report:pos.lines:0 |
1290 | msgid "Disc. (%)" |
1291 | -msgstr "Desconto (%)" |
1292 | +msgstr "Desc. (%)" |
1293 | |
1294 | #. module: point_of_sale |
1295 | #: report:pos.details:0 |
1296 | @@ -400,7 +422,7 @@ |
1297 | #. module: point_of_sale |
1298 | #: view:pos.session.opening:0 |
1299 | msgid "Select your Point of Sale" |
1300 | -msgstr "Escolha seu Ponto de Vendas" |
1301 | +msgstr "Escolha seu Ponto de Venda" |
1302 | |
1303 | #. module: point_of_sale |
1304 | #: field:report.sales.by.margin.pos,total:0 |
1305 | @@ -436,13 +458,13 @@ |
1306 | #: code:addons/point_of_sale/static/src/xml/pos.xml:476 |
1307 | #, python-format |
1308 | msgid "Hardware Events" |
1309 | -msgstr "Eventos do Hardware" |
1310 | +msgstr "Eventos do Equipamento" |
1311 | |
1312 | #. module: point_of_sale |
1313 | #: code:addons/point_of_sale/point_of_sale.py:301 |
1314 | #, python-format |
1315 | msgid "You should assign a Point of Sale to your session." |
1316 | -msgstr "Você precisa associar um Ponto de Vendas a sua sessão." |
1317 | +msgstr "Você precisa associar um Ponto de Venda a sua sessão." |
1318 | |
1319 | #. module: point_of_sale |
1320 | #: view:pos.order.line:0 |
1321 | @@ -490,7 +512,7 @@ |
1322 | #. module: point_of_sale |
1323 | #: view:pos.session.opening:0 |
1324 | msgid ") is \"" |
1325 | -msgstr ") é \"" |
1326 | +msgstr ") está \"" |
1327 | |
1328 | #. module: point_of_sale |
1329 | #: model:product.template,name:point_of_sale.Onions_product_template |
1330 | @@ -514,12 +536,12 @@ |
1331 | #: view:pos.session:0 |
1332 | #: field:pos.session,opening_details_ids:0 |
1333 | msgid "Opening Cash Control" |
1334 | -msgstr "Controle de Abertura de Caixa" |
1335 | +msgstr "Abrindo Controle de Caixa" |
1336 | |
1337 | #. module: point_of_sale |
1338 | #: help:res.users,ean13:0 |
1339 | msgid "BarCode" |
1340 | -msgstr "Código de barras" |
1341 | +msgstr "Código de Barras" |
1342 | |
1343 | #. module: point_of_sale |
1344 | #: help:pos.category,image_medium:0 |
1345 | @@ -926,7 +948,7 @@ |
1346 | #. module: point_of_sale |
1347 | #: model:product.template,name:point_of_sale.pomme_jonagold_product_template |
1348 | msgid "Jonagold apples" |
1349 | -msgstr "" |
1350 | +msgstr "Jonagold apples" |
1351 | |
1352 | #. module: point_of_sale |
1353 | #: view:account.bank.statement:0 |
1354 | @@ -935,7 +957,7 @@ |
1355 | #: model:ir.model,name:point_of_sale.model_account_journal |
1356 | #: field:report.pos.order,journal_id:0 |
1357 | msgid "Journal" |
1358 | -msgstr "Registro" |
1359 | +msgstr "Diário" |
1360 | |
1361 | #. module: point_of_sale |
1362 | #: view:pos.session:0 |
1363 | @@ -945,7 +967,7 @@ |
1364 | #. module: point_of_sale |
1365 | #: report:pos.details:0 |
1366 | msgid "Sales total(Revenue)" |
1367 | -msgstr "Vendas Totais" |
1368 | +msgstr "Total de vendas (Receita)" |
1369 | |
1370 | #. module: point_of_sale |
1371 | #: help:pos.config,group_by:0 |
1372 | @@ -1239,7 +1261,7 @@ |
1373 | #. module: point_of_sale |
1374 | #: model:product.template,name:point_of_sale.chaudfontaine_petillante_50cl_product_template |
1375 | msgid "Chaudfontaine Petillante 50cl" |
1376 | -msgstr "" |
1377 | +msgstr "Chaudfontaine Petillante 50cl" |
1378 | |
1379 | #. module: point_of_sale |
1380 | #. openerp-web |
1381 | @@ -1831,6 +1853,16 @@ |
1382 | msgstr "Ponto de Venda" |
1383 | |
1384 | #. module: point_of_sale |
1385 | +<<<<<<< TREE |
1386 | +======= |
1387 | +#. openerp-web |
1388 | +#: code:addons/point_of_sale/static/src/xml/pos.xml:587 |
1389 | +#, python-format |
1390 | +msgid "Subtotal:" |
1391 | +msgstr "Subtotal:" |
1392 | + |
1393 | +#. module: point_of_sale |
1394 | +>>>>>>> MERGE-SOURCE |
1395 | #: model:product.template,name:point_of_sale.coca_regular_33cl_product_template |
1396 | msgid "Coca-Cola Regular 33cl" |
1397 | msgstr "Coca-Cola Regular 33cl" |
1398 | @@ -1876,7 +1908,7 @@ |
1399 | #. module: point_of_sale |
1400 | #: model:product.template,name:point_of_sale.spa_gazeuse_33cl_product_template |
1401 | msgid "Spa Barisart 33cl" |
1402 | -msgstr "" |
1403 | +msgstr "Spa Barisart 33cl" |
1404 | |
1405 | #. module: point_of_sale |
1406 | #: view:pos.confirm:0 |
1407 | @@ -1918,7 +1950,7 @@ |
1408 | #. module: point_of_sale |
1409 | #: model:product.template,name:point_of_sale.ijsboerke_moka_2,5l_product_template |
1410 | msgid "IJsboerke Mocha 2.5L" |
1411 | -msgstr "" |
1412 | +msgstr "IJsboerke Mocha 2.5L" |
1413 | |
1414 | #. module: point_of_sale |
1415 | #: field:pos.session,cash_control:0 |
1416 | @@ -2046,7 +2078,7 @@ |
1417 | #. module: point_of_sale |
1418 | #: model:product.template,name:point_of_sale.grisette_cerise_25cl_product_template |
1419 | msgid "Grisette Cherry 25cl" |
1420 | -msgstr "" |
1421 | +msgstr "Grisette Cherry 25cl" |
1422 | |
1423 | #. module: point_of_sale |
1424 | #: report:pos.invoice:0 |
1425 | @@ -2141,7 +2173,7 @@ |
1426 | #. module: point_of_sale |
1427 | #: model:product.template,name:point_of_sale.croky_naturel_45g_product_template |
1428 | msgid "Croky Natural 45g" |
1429 | -msgstr "" |
1430 | +msgstr "Croky Natural 45g" |
1431 | |
1432 | #. module: point_of_sale |
1433 | #: model:product.template,name:point_of_sale.tomate_en_grappe_product_template |
1434 | @@ -2151,7 +2183,7 @@ |
1435 | #. module: point_of_sale |
1436 | #: model:ir.actions.client,name:point_of_sale.action_pos_pos |
1437 | msgid "Start Point of Sale" |
1438 | -msgstr "Iniciar Ponto de Vendas" |
1439 | +msgstr "Iniciar Ponto de Venda" |
1440 | |
1441 | #. module: point_of_sale |
1442 | #. openerp-web |
1443 | @@ -2185,7 +2217,7 @@ |
1444 | #. module: point_of_sale |
1445 | #: model:product.template,name:point_of_sale.spa_et_fruit_50cl_product_template |
1446 | msgid "Spa Fruit and Orange 50cl" |
1447 | -msgstr "" |
1448 | +msgstr "Spa Fruit and Orange 50cl" |
1449 | |
1450 | #. module: point_of_sale |
1451 | #: view:pos.config:0 |
1452 | @@ -2381,7 +2413,7 @@ |
1453 | #. module: point_of_sale |
1454 | #: model:product.template,name:point_of_sale.jupiler_50cl_product_template |
1455 | msgid "Jupiler 50cl" |
1456 | -msgstr "" |
1457 | +msgstr "Jupiler 50cl" |
1458 | |
1459 | #. module: point_of_sale |
1460 | #: report:pos.details:0 |
1461 | @@ -2414,7 +2446,7 @@ |
1462 | #. module: point_of_sale |
1463 | #: model:product.template,name:point_of_sale.chimay_rouge_33cl_product_template |
1464 | msgid "Chimay Red 33cl" |
1465 | -msgstr "" |
1466 | +msgstr "Chimay Red 33cl" |
1467 | |
1468 | #. module: point_of_sale |
1469 | #: view:report.pos.order:0 |
1470 | @@ -2430,7 +2462,7 @@ |
1471 | #. module: point_of_sale |
1472 | #: model:product.template,name:point_of_sale.papillon_orange_product_template |
1473 | msgid "Orange Butterfly" |
1474 | -msgstr "" |
1475 | +msgstr "Laranja Butterfly" |
1476 | |
1477 | #. module: point_of_sale |
1478 | #: view:report.pos.order:0 |
1479 | @@ -2602,7 +2634,7 @@ |
1480 | #. module: point_of_sale |
1481 | #: model:product.template,name:point_of_sale.croky_paprika_45g_product_template |
1482 | msgid "Croky Paprika 45g" |
1483 | -msgstr "" |
1484 | +msgstr "Croky Paprika 45g" |
1485 | |
1486 | #. module: point_of_sale |
1487 | #: view:pos.order:0 |
1488 | @@ -2671,7 +2703,7 @@ |
1489 | #. module: point_of_sale |
1490 | #: model:product.template,name:point_of_sale.rochefort_8_33cl_product_template |
1491 | msgid "Rochefort \"8\" 33cl" |
1492 | -msgstr "" |
1493 | +msgstr "Rochefort \"8\" 33cl" |
1494 | |
1495 | #. module: point_of_sale |
1496 | #: view:account.bank.statement:0 |
1497 | @@ -2701,7 +2733,7 @@ |
1498 | #. module: point_of_sale |
1499 | #: model:product.template,name:point_of_sale.timmermans_geuze_37,5cl_product_template |
1500 | msgid "Timmermans Geuze 37.5cl" |
1501 | -msgstr "" |
1502 | +msgstr "Timmermans Geuze 37.5cl" |
1503 | |
1504 | #. module: point_of_sale |
1505 | #: view:pos.session:0 |
1506 | @@ -2724,7 +2756,7 @@ |
1507 | #. module: point_of_sale |
1508 | #: model:product.template,name:point_of_sale.croky_bolognaise_250g_product_template |
1509 | msgid "Croky Bolognese 250g" |
1510 | -msgstr "" |
1511 | +msgstr "Croky Bolognese 250g" |
1512 | |
1513 | #. module: point_of_sale |
1514 | #. openerp-web |
1515 | @@ -2738,7 +2770,7 @@ |
1516 | #: code:addons/point_of_sale/static/src/xml/pos.xml:465 |
1517 | #, python-format |
1518 | msgid "1.54€ Lemon" |
1519 | -msgstr "" |
1520 | +msgstr "1.54R$ Limão" |
1521 | |
1522 | #. module: point_of_sale |
1523 | #: field:pos.make.payment,payment_name:0 |
1524 | @@ -2772,12 +2804,12 @@ |
1525 | #: report:pos.invoice:0 |
1526 | #, python-format |
1527 | msgid "Taxes:" |
1528 | -msgstr "Taxas:" |
1529 | +msgstr "Impostos:" |
1530 | |
1531 | #. module: point_of_sale |
1532 | #: model:product.template,name:point_of_sale.pepsi_max_33cl_product_template |
1533 | msgid "Pepsi Max 33cl" |
1534 | -msgstr "" |
1535 | +msgstr "Pepsi Max 33cl" |
1536 | |
1537 | #. module: point_of_sale |
1538 | #: model:ir.model,name:point_of_sale.model_report_pos_order |
1539 | @@ -2843,7 +2875,7 @@ |
1540 | #. module: point_of_sale |
1541 | #: model:product.template,name:point_of_sale.chaudfontaine_33cl_product_template |
1542 | msgid "Chaudfontaine 33cl" |
1543 | -msgstr "" |
1544 | +msgstr "Chaudfontaine 33cl" |
1545 | |
1546 | #. module: point_of_sale |
1547 | #: model:product.template,name:point_of_sale.oetker_margherita_product_template |
1548 | @@ -3190,7 +3222,7 @@ |
1549 | #. module: point_of_sale |
1550 | #: model:product.template,name:point_of_sale.orangina_1,5l_product_template |
1551 | msgid "Orangina 1.5L" |
1552 | -msgstr "" |
1553 | +msgstr "Orangina 1.5L" |
1554 | |
1555 | #. module: point_of_sale |
1556 | #: view:report.pos.order:0 |
1557 | @@ -3224,17 +3256,17 @@ |
1558 | #. module: point_of_sale |
1559 | #: model:product.template,name:point_of_sale.belle_vue_kriek_25cl_product_template |
1560 | msgid "Belle-Vue Kriek 25cl" |
1561 | -msgstr "" |
1562 | +msgstr "Belle-Vue Kriek 25cl" |
1563 | |
1564 | #. module: point_of_sale |
1565 | #: model:product.template,name:point_of_sale.chaudfontaine_petillante_1,5l_product_template |
1566 | msgid "Chaudfontaine Petillante 1.5l" |
1567 | -msgstr "" |
1568 | +msgstr "Chaudfontaine Petillante 1.5l" |
1569 | |
1570 | #. module: point_of_sale |
1571 | #: model:product.template,name:point_of_sale.ijsboerke_stracciatella_2,5l_product_template |
1572 | msgid "IJsboerke Stracciatella 2.5L" |
1573 | -msgstr "" |
1574 | +msgstr "IJsboerke Stracciatella 2.5L" |
1575 | |
1576 | #. module: point_of_sale |
1577 | #: view:report.sales.by.user.pos:0 |
1578 | @@ -3779,7 +3811,7 @@ |
1579 | #. module: point_of_sale |
1580 | #: field:pos.order.line,price_subtotal:0 |
1581 | msgid "Subtotal w/o Tax" |
1582 | -msgstr "" |
1583 | +msgstr "Subtotal Sem Impostos" |
1584 | |
1585 | #. module: point_of_sale |
1586 | #. openerp-web |
1587 | @@ -3833,7 +3865,20 @@ |
1588 | #. module: point_of_sale |
1589 | #: report:pos.sales.user.today:0 |
1590 | msgid "Today's Sales By User" |
1591 | -msgstr "Vendas de hoje por Usuário" |
1592 | +<<<<<<< TREE |
1593 | +msgstr "Vendas de hoje por Usuário" |
1594 | +======= |
1595 | +msgstr "Vendas de hoje por Usuário" |
1596 | + |
1597 | +#. module: point_of_sale |
1598 | +#: help:account.journal,amount_authorized_diff:0 |
1599 | +msgid "" |
1600 | +"This field depicts the maximum difference allowed between the ending balance " |
1601 | +"and the theorical cash when closing a session, for non-POS managers. If this " |
1602 | +"maximum is reached, the user will have an error message at the closing of " |
1603 | +"his session saying that he needs to contact his manager." |
1604 | +msgstr "" |
1605 | +>>>>>>> MERGE-SOURCE |
1606 | |
1607 | #. module: point_of_sale |
1608 | #: report:pos.invoice:0 |
1609 | @@ -3932,7 +3977,7 @@ |
1610 | #. module: point_of_sale |
1611 | #: view:pos.config:0 |
1612 | msgid "Set to Active" |
1613 | -msgstr "" |
1614 | +msgstr "Marque para Ativar" |
1615 | |
1616 | #. module: point_of_sale |
1617 | #: view:pos.category:0 |
1618 | |
1619 | === modified file 'point_of_sale/i18n/tr.po' |
1620 | --- point_of_sale/i18n/tr.po 2013-04-05 11:10:48 +0000 |
1621 | +++ point_of_sale/i18n/tr.po 2013-04-22 06:55:35 +0000 |
1622 | @@ -4,17 +4,31 @@ |
1623 | # |
1624 | msgid "" |
1625 | msgstr "" |
1626 | +<<<<<<< TREE |
1627 | "Project-Id-Version: OpenERP Server 6.0dev\n" |
1628 | "Report-Msgid-Bugs-To: support@openerp.com\n" |
1629 | "POT-Creation-Date: 2012-12-21 17:04+0000\n" |
1630 | "PO-Revision-Date: 2012-05-10 18:09+0000\n" |
1631 | "Last-Translator: Raphael Collet (OpenERP) <Unknown>\n" |
1632 | "Language-Team: \n" |
1633 | +======= |
1634 | +"Project-Id-Version: openobject-addons\n" |
1635 | +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
1636 | +"POT-Creation-Date: 2013-03-07 08:37+0000\n" |
1637 | +"PO-Revision-Date: 2013-04-19 10:28+0000\n" |
1638 | +"Last-Translator: Ediz Duman <neps1192@gmail.com>\n" |
1639 | +"Language-Team: Turkish <tr@li.org>\n" |
1640 | +>>>>>>> MERGE-SOURCE |
1641 | "MIME-Version: 1.0\n" |
1642 | "Content-Type: text/plain; charset=UTF-8\n" |
1643 | "Content-Transfer-Encoding: 8bit\n" |
1644 | +<<<<<<< TREE |
1645 | "X-Launchpad-Export-Date: 2013-03-16 05:07+0000\n" |
1646 | "X-Generator: Launchpad (build 16532)\n" |
1647 | +======= |
1648 | +"X-Launchpad-Export-Date: 2013-04-20 06:48+0000\n" |
1649 | +"X-Generator: Launchpad (build 16567)\n" |
1650 | +>>>>>>> MERGE-SOURCE |
1651 | |
1652 | #. module: point_of_sale |
1653 | #: field:report.transaction.pos,product_nb:0 |
1654 | @@ -277,7 +291,7 @@ |
1655 | #: code:addons/point_of_sale/static/src/xml/pos.xml:441 |
1656 | #, python-format |
1657 | msgid "Debug Window" |
1658 | -msgstr "" |
1659 | +msgstr "Hata Ayıklama Penceresi" |
1660 | |
1661 | #. module: point_of_sale |
1662 | #. openerp-web |
1663 | @@ -318,7 +332,7 @@ |
1664 | #: code:addons/point_of_sale/point_of_sale.py:1006 |
1665 | #, python-format |
1666 | msgid "Please define income account for this product: \"%s\" (id:%d)." |
1667 | -msgstr "" |
1668 | +msgstr "Lütfen bu ürün için gelir hesabı belirtin: \"%s\" (id:%d)." |
1669 | |
1670 | #. module: point_of_sale |
1671 | #: view:report.pos.order:0 |
1672 | @@ -409,14 +423,14 @@ |
1673 | #. module: point_of_sale |
1674 | #: field:product.product,to_weight:0 |
1675 | msgid "To Weight" |
1676 | -msgstr "" |
1677 | +msgstr "Ağırlık" |
1678 | |
1679 | #. module: point_of_sale |
1680 | #. openerp-web |
1681 | #: code:addons/point_of_sale/static/src/xml/pos.xml:476 |
1682 | #, python-format |
1683 | msgid "Hardware Events" |
1684 | -msgstr "" |
1685 | +msgstr "Donanım Etkinlikler" |
1686 | |
1687 | #. module: point_of_sale |
1688 | #: code:addons/point_of_sale/point_of_sale.py:301 |
1689 | @@ -504,6 +518,9 @@ |
1690 | "128x128px image, with aspect ratio preserved. Use this field in form views " |
1691 | "or some kanban views." |
1692 | msgstr "" |
1693 | +"Kategorinin orta boyutlu görüntü. Otomatik olarak korunmuş en boy oranına " |
1694 | +"sahip, bir 128x128px görüntü olarak yeniden boyutlandırılır. Form " |
1695 | +"görünümleri ya da kanban görünümlerinde bu alanı kullanın." |
1696 | |
1697 | #. module: point_of_sale |
1698 | #: view:pos.session.opening:0 |
1699 | @@ -520,7 +537,7 @@ |
1700 | #: code:addons/point_of_sale/static/src/xml/pos.xml:42 |
1701 | #, python-format |
1702 | msgid "Google Chrome" |
1703 | -msgstr "" |
1704 | +msgstr "Google Chrome" |
1705 | |
1706 | #. module: point_of_sale |
1707 | #: model:pos.category,name:point_of_sale.sparkling_water |
1708 | @@ -710,12 +727,12 @@ |
1709 | #: code:addons/point_of_sale/static/src/xml/pos.xml:457 |
1710 | #, python-format |
1711 | msgid "Barcode Scanner" |
1712 | -msgstr "" |
1713 | +msgstr "Barkod Okuyucu" |
1714 | |
1715 | #. module: point_of_sale |
1716 | #: model:product.template,name:point_of_sale.pomme_granny_smith_product_template |
1717 | msgid "Granny Smith apples" |
1718 | -msgstr "" |
1719 | +msgstr "Granny Smith elma" |
1720 | |
1721 | #. module: point_of_sale |
1722 | #: help:product.product,expense_pdt:0 |
1723 | @@ -833,6 +850,8 @@ |
1724 | "This field holds the image used as image for the cateogry, limited to " |
1725 | "1024x1024px." |
1726 | msgstr "" |
1727 | +"Bu alanda 1024x1024px sınırlı kategorik için resmi olarak kullanılan görüntü " |
1728 | +"tutar." |
1729 | |
1730 | #. module: point_of_sale |
1731 | #: model:product.template,name:point_of_sale.pepsi_max_50cl_product_template |
1732 | @@ -858,7 +877,7 @@ |
1733 | #. module: point_of_sale |
1734 | #: model:pos.category,name:point_of_sale.rouges_noyau_fruits |
1735 | msgid "Berries" |
1736 | -msgstr "" |
1737 | +msgstr "Meyveler" |
1738 | |
1739 | #. module: point_of_sale |
1740 | #: view:pos.ean_wizard:0 |
1741 | @@ -879,7 +898,7 @@ |
1742 | #. module: point_of_sale |
1743 | #: model:pos.category,name:point_of_sale.legumes_racine |
1744 | msgid "Root vegetables" |
1745 | -msgstr "" |
1746 | +msgstr "Sebzeler" |
1747 | |
1748 | #. module: point_of_sale |
1749 | #: model:ir.actions.act_window,name:point_of_sale.act_pos_open_statement |
1750 | @@ -897,7 +916,7 @@ |
1751 | #. module: point_of_sale |
1752 | #: model:product.template,name:point_of_sale.pomme_jonagold_product_template |
1753 | msgid "Jonagold apples" |
1754 | -msgstr "" |
1755 | +msgstr "Jonagold elma" |
1756 | |
1757 | #. module: point_of_sale |
1758 | #: view:account.bank.statement:0 |
1759 | @@ -924,6 +943,8 @@ |
1760 | "Check this if you want to group the Journal Items by Product while closing a " |
1761 | "Session" |
1762 | msgstr "" |
1763 | +"Bir Oturum kapatırken Ürün tarafından Yevmiye öğeler gruplandırmak " |
1764 | +"istiyorsanız bu kontrol edin" |
1765 | |
1766 | #. module: point_of_sale |
1767 | #: report:pos.details:0 |
1768 | @@ -934,12 +955,12 @@ |
1769 | #. module: point_of_sale |
1770 | #: model:ir.model,name:point_of_sale.model_pos_session_opening |
1771 | msgid "pos.session.opening" |
1772 | -msgstr "" |
1773 | +msgstr "pos.session.opening" |
1774 | |
1775 | #. module: point_of_sale |
1776 | #: view:res.users:0 |
1777 | msgid "Edit EAN" |
1778 | -msgstr "" |
1779 | +msgstr "EAN Düzenle" |
1780 | |
1781 | #. module: point_of_sale |
1782 | #: code:addons/point_of_sale/wizard/pos_open_statement.py:80 |
1783 | @@ -979,6 +1000,15 @@ |
1784 | msgstr "Kullanıcının Ürünleri" |
1785 | |
1786 | #. module: point_of_sale |
1787 | +<<<<<<< TREE |
1788 | +======= |
1789 | +#: code:addons/point_of_sale/point_of_sale.py:984 |
1790 | +#, python-format |
1791 | +msgid "The POS order must have lines when calling this method" |
1792 | +msgstr "Bu yöntemi çağırırken POS sipariş hatları olmalıdır" |
1793 | + |
1794 | +#. module: point_of_sale |
1795 | +>>>>>>> MERGE-SOURCE |
1796 | #: code:addons/point_of_sale/point_of_sale.py:1143 |
1797 | #, python-format |
1798 | msgid "" |
1799 | @@ -1041,7 +1071,7 @@ |
1800 | #. module: point_of_sale |
1801 | #: view:product.product:0 |
1802 | msgid "Set a Custom EAN" |
1803 | -msgstr "" |
1804 | +msgstr "EAN Özel Ayarlama" |
1805 | |
1806 | #. module: point_of_sale |
1807 | #. openerp-web |
1808 | @@ -1053,12 +1083,12 @@ |
1809 | #. module: point_of_sale |
1810 | #: model:pos.category,name:point_of_sale.legumes |
1811 | msgid "Fresh vegetables" |
1812 | -msgstr "" |
1813 | +msgstr "Taze sebzeler" |
1814 | |
1815 | #. module: point_of_sale |
1816 | #: view:pos.session:0 |
1817 | msgid "tab of the" |
1818 | -msgstr "" |
1819 | +msgstr "sekmesinde" |
1820 | |
1821 | #. module: point_of_sale |
1822 | #. openerp-web |
1823 | @@ -1082,7 +1112,7 @@ |
1824 | #. module: point_of_sale |
1825 | #: sql_constraint:pos.session:0 |
1826 | msgid "The name of this POS Session must be unique !" |
1827 | -msgstr "" |
1828 | +msgstr "Bu POS Oturum adı benzersiz olmalıdır!" |
1829 | |
1830 | #. module: point_of_sale |
1831 | #: view:pos.session:0 |
1832 | @@ -1153,7 +1183,7 @@ |
1833 | #. module: point_of_sale |
1834 | #: model:product.template,name:point_of_sale.evian_2l_product_template |
1835 | msgid "2L Evian" |
1836 | -msgstr "" |
1837 | +msgstr "2L Evian" |
1838 | |
1839 | #. module: point_of_sale |
1840 | #: code:addons/point_of_sale/point_of_sale.py:373 |
1841 | @@ -1188,12 +1218,12 @@ |
1842 | #: code:addons/point_of_sale/static/src/xml/pos.xml:741 |
1843 | #, python-format |
1844 | msgid "ABC" |
1845 | -msgstr "" |
1846 | +msgstr "ABC" |
1847 | |
1848 | #. module: point_of_sale |
1849 | #: model:product.template,name:point_of_sale.ijsboerke_dame_blanche_2,5l_product_template |
1850 | msgid "IJsboerke 2.5L White Lady" |
1851 | -msgstr "" |
1852 | +msgstr "Copy text \t IJsboerke 2.5L White Lady" |
1853 | |
1854 | #. module: point_of_sale |
1855 | #: field:pos.order,lines:0 |
1856 | @@ -1215,7 +1245,7 @@ |
1857 | #: code:addons/point_of_sale/static/src/xml/pos.xml:485 |
1858 | #, python-format |
1859 | msgid "Read Weighting Scale" |
1860 | -msgstr "" |
1861 | +msgstr "Ağırlık Ölçü Okuma" |
1862 | |
1863 | #. module: point_of_sale |
1864 | #. openerp-web |
1865 | @@ -1275,7 +1305,7 @@ |
1866 | #. module: point_of_sale |
1867 | #: view:pos.config:0 |
1868 | msgid "Set to Deprecated" |
1869 | -msgstr "" |
1870 | +msgstr "Kaldırılan Ayarlayın" |
1871 | |
1872 | #. module: point_of_sale |
1873 | #: model:product.template,name:point_of_sale.limon_product_template |
1874 | @@ -1311,6 +1341,8 @@ |
1875 | "This sequence is automatically created by OpenERP but you can change it to " |
1876 | "customize the reference numbers of your orders." |
1877 | msgstr "" |
1878 | +"Bu sıralama otomatik OpenERP tarafından oluşturulur ancak siparişlerin " |
1879 | +"referans numaraları özelleştirmek için değiştirebilirsiniz." |
1880 | |
1881 | #. module: point_of_sale |
1882 | #. openerp-web |
1883 | @@ -1327,7 +1359,7 @@ |
1884 | #. module: point_of_sale |
1885 | #: model:product.template,name:point_of_sale.poivron_jaunes_product_template |
1886 | msgid "Yellow Peppers" |
1887 | -msgstr "" |
1888 | +msgstr "Sarı Biberler" |
1889 | |
1890 | #. module: point_of_sale |
1891 | #: view:pos.order:0 |
1892 | @@ -1365,7 +1397,7 @@ |
1893 | #: code:addons/point_of_sale/point_of_sale.py:897 |
1894 | #, python-format |
1895 | msgid "Selected orders do not have the same session!" |
1896 | -msgstr "" |
1897 | +msgstr "Seçilen siparişler aynı seansta yok!" |
1898 | |
1899 | #. module: point_of_sale |
1900 | #: report:pos.invoice:0 |
1901 | @@ -1417,7 +1449,7 @@ |
1902 | #: code:addons/point_of_sale/static/src/xml/pos.xml:271 |
1903 | #, python-format |
1904 | msgid "Thank you for shopping with us." |
1905 | -msgstr "" |
1906 | +msgstr "Bizimle alışveriş ettiğiniz için teşekkür ederiz." |
1907 | |
1908 | #. module: point_of_sale |
1909 | #: model:product.template,name:point_of_sale.coca_light_2l_product_template |
1910 | @@ -1438,7 +1470,7 @@ |
1911 | #. module: point_of_sale |
1912 | #: help:pos.config,journal_id:0 |
1913 | msgid "Accounting journal used to post sales entries." |
1914 | -msgstr "" |
1915 | +msgstr "Muhasebe Yevmiye satış kayıtları göndermek için kullanılır." |
1916 | |
1917 | #. module: point_of_sale |
1918 | #: field:report.transaction.pos,disc:0 |
1919 | @@ -1472,7 +1504,7 @@ |
1920 | #: code:addons/point_of_sale/static/src/xml/pos.xml:405 |
1921 | #, python-format |
1922 | msgid "ä" |
1923 | -msgstr "" |
1924 | +msgstr "ä" |
1925 | |
1926 | #. module: point_of_sale |
1927 | #: report:pos.invoice:0 |
1928 | @@ -1548,7 +1580,7 @@ |
1929 | #. module: point_of_sale |
1930 | #: field:product.product,available_in_pos:0 |
1931 | msgid "Available in the Point of Sale" |
1932 | -msgstr "" |
1933 | +msgstr "Satış Noktası Mevcuttur" |
1934 | |
1935 | #. module: point_of_sale |
1936 | #: selection:pos.config,state:0 |
1937 | @@ -1558,14 +1590,14 @@ |
1938 | #. module: point_of_sale |
1939 | #: model:product.template,name:point_of_sale.coca_light_decaf_33cl_product_template |
1940 | msgid "Coca-Cola Light 33cl Decaf" |
1941 | -msgstr "" |
1942 | +msgstr "Coca-Cola Light 33cl Decaf" |
1943 | |
1944 | #. module: point_of_sale |
1945 | #. openerp-web |
1946 | #: code:addons/point_of_sale/static/src/xml/pos.xml:338 |
1947 | #, python-format |
1948 | msgid "The scanned product was not recognized" |
1949 | -msgstr "" |
1950 | +msgstr "Taranan ürün tanınmadı" |
1951 | |
1952 | #. module: point_of_sale |
1953 | #: model:ir.model,name:point_of_sale.model_report_transaction_pos |
1954 | @@ -1591,7 +1623,7 @@ |
1955 | #. module: point_of_sale |
1956 | #: model:ir.model,name:point_of_sale.model_pos_config |
1957 | msgid "pos.config" |
1958 | -msgstr "" |
1959 | +msgstr "pos.config" |
1960 | |
1961 | #. module: point_of_sale |
1962 | #: view:pos.ean_wizard:0 |
1963 | @@ -1603,7 +1635,7 @@ |
1964 | #. module: point_of_sale |
1965 | #: field:product.product,expense_pdt:0 |
1966 | msgid "Point of Sale Cash Out" |
1967 | -msgstr "" |
1968 | +msgstr "Satış Noktası Nakit Çıkış" |
1969 | |
1970 | #. module: point_of_sale |
1971 | #: selection:report.pos.order,month:0 |
1972 | @@ -1615,12 +1647,12 @@ |
1973 | #: code:addons/point_of_sale/static/src/xml/pos.xml:267 |
1974 | #, python-format |
1975 | msgid "Please scan an item or your member card" |
1976 | -msgstr "" |
1977 | +msgstr "Lütfen bir ürün veya üye kartı tarama" |
1978 | |
1979 | #. module: point_of_sale |
1980 | #: model:product.template,name:point_of_sale.poivron_verts_product_template |
1981 | msgid "Green Peppers" |
1982 | -msgstr "" |
1983 | +msgstr "Yeşil Biber" |
1984 | |
1985 | #. module: point_of_sale |
1986 | #: model:product.template,name:point_of_sale.timmermans_faro_37,5cl_product_template |
1987 | @@ -1638,7 +1670,7 @@ |
1988 | #. module: point_of_sale |
1989 | #: view:pos.session:0 |
1990 | msgid "Validate Closing & Post Entries" |
1991 | -msgstr "" |
1992 | +msgstr "Kapanış ve İşlem Girişler Doğrulama" |
1993 | |
1994 | #. module: point_of_sale |
1995 | #: field:report.transaction.pos,no_trans:0 |
1996 | @@ -1652,6 +1684,8 @@ |
1997 | "There is no receivable account defined to make payment for the partner: " |
1998 | "\"%s\" (id:%d)." |
1999 | msgstr "" |
2000 | +"Partner için ödeme yapmak için tanımlanmış bir alacak hesabı yok: \"% s\" " |
2001 | +"(id:% d)." |
2002 | |
2003 | #. module: point_of_sale |
2004 | #: view:pos.config:0 |
2005 | @@ -1691,7 +1725,7 @@ |
2006 | #. module: point_of_sale |
2007 | #: model:product.template,name:point_of_sale.nectarine_product_template |
2008 | msgid "Peach" |
2009 | -msgstr "" |
2010 | +msgstr "Şeftali" |
2011 | |
2012 | #. module: point_of_sale |
2013 | #: model:product.template,name:point_of_sale.timmermans_kriek_37,5cl_product_template |
2014 | @@ -1701,7 +1735,7 @@ |
2015 | #. module: point_of_sale |
2016 | #: field:pos.config,sequence_id:0 |
2017 | msgid "Order IDs Sequence" |
2018 | -msgstr "" |
2019 | +msgstr "Sipariş ID Sıralaması" |
2020 | |
2021 | #. module: point_of_sale |
2022 | #: report:pos.invoice:0 |
2023 | @@ -1756,7 +1790,7 @@ |
2024 | #. module: point_of_sale |
2025 | #: help:pos.session,cash_register_balance_end:0 |
2026 | msgid "Computed with the initial cash control and the sum of all payments." |
2027 | -msgstr "" |
2028 | +msgstr "İlk nakit kontrolü ve tüm ödemeler toplamı ile hesaplanmıştır." |
2029 | |
2030 | #. module: point_of_sale |
2031 | #. openerp-web |
2032 | @@ -1886,7 +1920,7 @@ |
2033 | #. module: point_of_sale |
2034 | #: model:product.template,name:point_of_sale.ijsboerke_moka_2,5l_product_template |
2035 | msgid "IJsboerke Mocha 2.5L" |
2036 | -msgstr "" |
2037 | +msgstr "Copy text \t IJsboerke Mocha 2.5L" |
2038 | |
2039 | #. module: point_of_sale |
2040 | #: field:pos.session,cash_control:0 |
2041 | @@ -1913,6 +1947,7 @@ |
2042 | "Unable to open the session. You have to assign a sale journal to your point " |
2043 | "of sale." |
2044 | msgstr "" |
2045 | +"Oturum açılamıyor. Satış noktasına bir satış yevmiyesi atamak zorundasınız." |
2046 | |
2047 | #. module: point_of_sale |
2048 | #: view:report.pos.order:0 |
2049 | @@ -1987,7 +2022,7 @@ |
2050 | #: code:addons/point_of_sale/wizard/pos_box_out.py:91 |
2051 | #, python-format |
2052 | msgid "You have to open at least one cashbox." |
2053 | -msgstr "" |
2054 | +msgstr "En az bir kasa açmak zorunda." |
2055 | |
2056 | #. module: point_of_sale |
2057 | #: code:addons/point_of_sale/point_of_sale.py:1142 |
2058 | @@ -1998,14 +2033,14 @@ |
2059 | #. module: point_of_sale |
2060 | #: model:product.template,name:point_of_sale.poivron_rouges_product_template |
2061 | msgid "Red Pepper" |
2062 | -msgstr "" |
2063 | +msgstr "Kırmızı Biber" |
2064 | |
2065 | #. module: point_of_sale |
2066 | #. openerp-web |
2067 | #: code:addons/point_of_sale/static/src/xml/pos.xml:677 |
2068 | #, python-format |
2069 | msgid "caps lock" |
2070 | -msgstr "" |
2071 | +msgstr "büyük harf kilidi" |
2072 | |
2073 | #. module: point_of_sale |
2074 | #: model:product.template,name:point_of_sale.grisette_cerise_25cl_product_template |
2075 | @@ -2023,7 +2058,7 @@ |
2076 | #: code:addons/point_of_sale/static/src/xml/pos.xml:742 |
2077 | #, python-format |
2078 | msgid " " |
2079 | -msgstr "" |
2080 | +msgstr " " |
2081 | |
2082 | #. module: point_of_sale |
2083 | #: model:pos.category,name:point_of_sale.categ_others |
2084 | @@ -2033,7 +2068,7 @@ |
2085 | #. module: point_of_sale |
2086 | #: model:pos.category,name:point_of_sale.autres_legumes_frais |
2087 | msgid "Other fresh vegetables" |
2088 | -msgstr "" |
2089 | +msgstr "Diğer taze sebze" |
2090 | |
2091 | #. module: point_of_sale |
2092 | #: code:addons/point_of_sale/wizard/pos_open_statement.py:49 |
2093 | @@ -2047,11 +2082,13 @@ |
2094 | msgid "" |
2095 | "No cash statement found for this session. Unable to record returned cash." |
2096 | msgstr "" |
2097 | +"Bu oturum için nakit açıklamada bulunamadı. Geri nakit kaydetmek için " |
2098 | +"açılamıyor." |
2099 | |
2100 | #. module: point_of_sale |
2101 | #: model:pos.category,name:point_of_sale.oignons_ail_echalotes |
2102 | msgid "Onions / Garlic / Shallots" |
2103 | -msgstr "" |
2104 | +msgstr "Soğan / Sarımsak / Arpacık" |
2105 | |
2106 | #. module: point_of_sale |
2107 | #: model:product.template,name:point_of_sale.evian_50cl_product_template |
2108 | @@ -2087,7 +2124,7 @@ |
2109 | #: code:addons/point_of_sale/static/src/xml/pos.xml:741 |
2110 | #, python-format |
2111 | msgid "123" |
2112 | -msgstr "" |
2113 | +msgstr "123" |
2114 | |
2115 | #. module: point_of_sale |
2116 | #: model:ir.actions.act_window,name:point_of_sale.product_normal_action |
2117 | @@ -2105,7 +2142,7 @@ |
2118 | #. module: point_of_sale |
2119 | #: model:product.template,name:point_of_sale.croky_naturel_45g_product_template |
2120 | msgid "Croky Natural 45g" |
2121 | -msgstr "" |
2122 | +msgstr "Croky Natural 45g" |
2123 | |
2124 | #. module: point_of_sale |
2125 | #: model:product.template,name:point_of_sale.tomate_en_grappe_product_template |
2126 | @@ -2115,7 +2152,7 @@ |
2127 | #. module: point_of_sale |
2128 | #: model:ir.actions.client,name:point_of_sale.action_pos_pos |
2129 | msgid "Start Point of Sale" |
2130 | -msgstr "" |
2131 | +msgstr "Satış Noktası Başlat" |
2132 | |
2133 | #. module: point_of_sale |
2134 | #. openerp-web |
2135 | @@ -2144,19 +2181,19 @@ |
2136 | #. module: point_of_sale |
2137 | #: view:pos.order:0 |
2138 | msgid "Point of Sale Orders" |
2139 | -msgstr "" |
2140 | +msgstr "Satış Noktası Siparişi" |
2141 | |
2142 | #. module: point_of_sale |
2143 | #: model:product.template,name:point_of_sale.spa_et_fruit_50cl_product_template |
2144 | msgid "Spa Fruit and Orange 50cl" |
2145 | -msgstr "" |
2146 | +msgstr "Spa Meyve ve Turuncu 50 cl" |
2147 | |
2148 | #. module: point_of_sale |
2149 | #: view:pos.config:0 |
2150 | #: field:pos.config,journal_ids:0 |
2151 | #: field:pos.session,journal_ids:0 |
2152 | msgid "Available Payment Methods" |
2153 | -msgstr "" |
2154 | +msgstr "Ödeme Yöntemleri" |
2155 | |
2156 | #. module: point_of_sale |
2157 | #: model:ir.actions.act_window,help:point_of_sale.product_normal_action |
2158 | @@ -2208,7 +2245,7 @@ |
2159 | #: code:addons/point_of_sale/static/src/xml/pos.xml:461 |
2160 | #, python-format |
2161 | msgid "Admin Badge" |
2162 | -msgstr "" |
2163 | +msgstr "Yönetici Rozet" |
2164 | |
2165 | #. module: point_of_sale |
2166 | #: field:pos.make.payment,journal_id:0 |
2167 | @@ -2261,7 +2298,7 @@ |
2168 | #. module: point_of_sale |
2169 | #: model:ir.model,name:point_of_sale.model_pos_ean_wizard |
2170 | msgid "pos.ean_wizard" |
2171 | -msgstr "" |
2172 | +msgstr "pos.ean_wizard" |
2173 | |
2174 | #. module: point_of_sale |
2175 | #: selection:report.pos.order,month:0 |
2176 | @@ -2284,7 +2321,7 @@ |
2177 | #. module: point_of_sale |
2178 | #: model:product.template,name:point_of_sale.pomme_golden_perlim_product_template |
2179 | msgid "Golden Apples Perlim" |
2180 | -msgstr "" |
2181 | +msgstr "Altın Elma" |
2182 | |
2183 | #. module: point_of_sale |
2184 | #: code:addons/point_of_sale/point_of_sale.py:100 |
2185 | @@ -2326,7 +2363,7 @@ |
2186 | #: code:addons/point_of_sale/static/src/xml/pos.xml:36 |
2187 | #, python-format |
2188 | msgid "<![endif]-->" |
2189 | -msgstr "" |
2190 | +msgstr "<![endif]-->" |
2191 | |
2192 | #. module: point_of_sale |
2193 | #: model:product.template,name:point_of_sale.jupiler_50cl_product_template |
2194 | @@ -2349,7 +2386,7 @@ |
2195 | #: code:addons/point_of_sale/static/src/xml/pos.xml:33 |
2196 | #, python-format |
2197 | msgid "<!--[if IE]>" |
2198 | -msgstr "" |
2199 | +msgstr "<!--[if IE]>" |
2200 | |
2201 | #. module: point_of_sale |
2202 | #: model:product.template,name:point_of_sale.lays_ketchup_250g_product_template |
2203 | @@ -2364,7 +2401,7 @@ |
2204 | #. module: point_of_sale |
2205 | #: model:product.template,name:point_of_sale.chimay_rouge_33cl_product_template |
2206 | msgid "Chimay Red 33cl" |
2207 | -msgstr "" |
2208 | +msgstr "Chimay Kırmızı 33 cl" |
2209 | |
2210 | #. module: point_of_sale |
2211 | #: view:report.pos.order:0 |
2212 | @@ -2375,12 +2412,12 @@ |
2213 | #. module: point_of_sale |
2214 | #: field:pos.category,image_medium:0 |
2215 | msgid "Medium-sized image" |
2216 | -msgstr "" |
2217 | +msgstr "Orta ölçekli resim" |
2218 | |
2219 | #. module: point_of_sale |
2220 | #: model:product.template,name:point_of_sale.papillon_orange_product_template |
2221 | msgid "Orange Butterfly" |
2222 | -msgstr "" |
2223 | +msgstr "Turuncu Kelebek" |
2224 | |
2225 | #. module: point_of_sale |
2226 | #: view:report.pos.order:0 |
2227 | @@ -2426,7 +2463,7 @@ |
2228 | #. module: point_of_sale |
2229 | #: model:pos.category,name:point_of_sale.poire |
2230 | msgid "Pears" |
2231 | -msgstr "" |
2232 | +msgstr "Armut" |
2233 | |
2234 | #. module: point_of_sale |
2235 | #: field:report.transaction.pos,journal_id:0 |
2236 | @@ -2447,12 +2484,12 @@ |
2237 | #. module: point_of_sale |
2238 | #: field:pos.config,iface_cashdrawer:0 |
2239 | msgid "Cashdrawer Interface" |
2240 | -msgstr "" |
2241 | +msgstr "Nakit Çekmece Arayüzü" |
2242 | |
2243 | #. module: point_of_sale |
2244 | #: model:pos.category,name:point_of_sale.tomates |
2245 | msgid "Tomatos" |
2246 | -msgstr "" |
2247 | +msgstr "Domates" |
2248 | |
2249 | #. module: point_of_sale |
2250 | #: view:report.pos.order:0 |
2251 | @@ -2467,7 +2504,7 @@ |
2252 | #. module: point_of_sale |
2253 | #: model:pos.category,name:point_of_sale.oranges |
2254 | msgid "Oranges" |
2255 | -msgstr "" |
2256 | +msgstr "Portakal" |
2257 | |
2258 | #. module: point_of_sale |
2259 | #: model:ir.actions.act_window,name:point_of_sale.action_pos_all_sales_lines |
2260 | @@ -2510,7 +2547,7 @@ |
2261 | #: code:addons/point_of_sale/static/src/xml/pos.xml:470 |
2262 | #, python-format |
2263 | msgid "Hardware Status" |
2264 | -msgstr "" |
2265 | +msgstr "Donanım Durum" |
2266 | |
2267 | #. module: point_of_sale |
2268 | #. openerp-web |
2269 | @@ -2528,14 +2565,14 @@ |
2270 | #. module: point_of_sale |
2271 | #: field:res.users,ean13:0 |
2272 | msgid "EAN13" |
2273 | -msgstr "" |
2274 | +msgstr "EAN13" |
2275 | |
2276 | #. module: point_of_sale |
2277 | #. openerp-web |
2278 | #: code:addons/point_of_sale/static/src/xml/pos.xml:573 |
2279 | #, python-format |
2280 | msgid "% discount" |
2281 | -msgstr "" |
2282 | +msgstr "% indirim" |
2283 | |
2284 | #. module: point_of_sale |
2285 | #: model:ir.model,name:point_of_sale.model_report_sales_by_margin_pos |
2286 | @@ -2560,7 +2597,7 @@ |
2287 | #. module: point_of_sale |
2288 | #: field:pos.config,iface_payment_terminal:0 |
2289 | msgid "Payment Terminal Interface" |
2290 | -msgstr "" |
2291 | +msgstr "Ödeme Terminal Arayüzü" |
2292 | |
2293 | #. module: point_of_sale |
2294 | #. openerp-web |
2295 | @@ -2582,7 +2619,7 @@ |
2296 | #. module: point_of_sale |
2297 | #: model:product.template,name:point_of_sale.carotte_product_template |
2298 | msgid "Carrots" |
2299 | -msgstr "" |
2300 | +msgstr "Havuç" |
2301 | |
2302 | #. module: point_of_sale |
2303 | #: view:pos.open.statement:0 |
2304 | @@ -2616,7 +2653,7 @@ |
2305 | #: code:addons/point_of_sale/static/src/xml/pos.xml:701 |
2306 | #, python-format |
2307 | msgid "shift" |
2308 | -msgstr "" |
2309 | +msgstr "değiştirme" |
2310 | |
2311 | #. module: point_of_sale |
2312 | #: model:product.template,name:point_of_sale.rochefort_8_33cl_product_template |
2313 | @@ -2641,12 +2678,12 @@ |
2314 | #: code:addons/point_of_sale/static/src/xml/pos.xml:572 |
2315 | #, python-format |
2316 | msgid "With a" |
2317 | -msgstr "" |
2318 | +msgstr "bir ile" |
2319 | |
2320 | #. module: point_of_sale |
2321 | #: model:product.template,name:point_of_sale.courgette_product_template |
2322 | msgid "Zucchini" |
2323 | -msgstr "" |
2324 | +msgstr "Kabak" |
2325 | |
2326 | #. module: point_of_sale |
2327 | #: model:product.template,name:point_of_sale.timmermans_geuze_37,5cl_product_template |
2328 | @@ -2674,21 +2711,21 @@ |
2329 | #. module: point_of_sale |
2330 | #: model:product.template,name:point_of_sale.croky_bolognaise_250g_product_template |
2331 | msgid "Croky Bolognese 250g" |
2332 | -msgstr "" |
2333 | +msgstr "Croky Bolognese 250g" |
2334 | |
2335 | #. module: point_of_sale |
2336 | #. openerp-web |
2337 | #: code:addons/point_of_sale/static/src/xml/pos.xml:460 |
2338 | #, python-format |
2339 | msgid "Custom Ean13" |
2340 | -msgstr "" |
2341 | +msgstr "Özel EAN13" |
2342 | |
2343 | #. module: point_of_sale |
2344 | #. openerp-web |
2345 | #: code:addons/point_of_sale/static/src/xml/pos.xml:465 |
2346 | #, python-format |
2347 | msgid "1.54€ Lemon" |
2348 | -msgstr "" |
2349 | +msgstr "1.54 € Limon" |
2350 | |
2351 | #. module: point_of_sale |
2352 | #: field:pos.make.payment,payment_name:0 |
2353 | @@ -2754,12 +2791,12 @@ |
2354 | #: constraint:pos.session:0 |
2355 | msgid "" |
2356 | "You cannot create two active sessions related to the same point of sale!" |
2357 | -msgstr "" |
2358 | +msgstr "Bu satış noktaya aynı iki etkin oturum oluşturamazsınız!" |
2359 | |
2360 | #. module: point_of_sale |
2361 | #: field:pos.category,image_small:0 |
2362 | msgid "Smal-sized image" |
2363 | -msgstr "" |
2364 | +msgstr "Küçük boy resim" |
2365 | |
2366 | #. module: point_of_sale |
2367 | #: model:ir.actions.report.xml,name:point_of_sale.pos_lines_report |
2368 | @@ -2777,7 +2814,7 @@ |
2369 | #: code:addons/point_of_sale/static/src/xml/pos.xml:338 |
2370 | #, python-format |
2371 | msgid "Please wait, a cashier is on the way" |
2372 | -msgstr "" |
2373 | +msgstr "Lütfen bekleyin, bir kasiyer yolda" |
2374 | |
2375 | #. module: point_of_sale |
2376 | #: code:addons/point_of_sale/wizard/pos_session_opening.py:68 |
2377 | @@ -2830,7 +2867,7 @@ |
2378 | #. module: point_of_sale |
2379 | #: view:pos.session.opening:0 |
2380 | msgid "\"." |
2381 | -msgstr "" |
2382 | +msgstr "\"." |
2383 | |
2384 | #. module: point_of_sale |
2385 | #: model:ir.actions.act_window,name:point_of_sale.action_report_pos_payment_report_user |
2386 | @@ -2853,7 +2890,7 @@ |
2387 | #. module: point_of_sale |
2388 | #: model:pos.category,name:point_of_sale.pomme |
2389 | msgid "Apples" |
2390 | -msgstr "" |
2391 | +msgstr "Elmalar" |
2392 | |
2393 | #. module: point_of_sale |
2394 | #: report:pos.details:0 |
2395 | @@ -2876,7 +2913,7 @@ |
2396 | #: code:addons/point_of_sale/static/src/xml/pos.xml:462 |
2397 | #, python-format |
2398 | msgid "Client Badge" |
2399 | -msgstr "" |
2400 | +msgstr "Müşteri Rozet" |
2401 | |
2402 | #. module: point_of_sale |
2403 | #: report:pos.lines:0 |
2404 | @@ -2926,24 +2963,24 @@ |
2405 | #. module: point_of_sale |
2406 | #: field:account.journal,amount_authorized_diff:0 |
2407 | msgid "Amount Authorized Difference" |
2408 | -msgstr "" |
2409 | +msgstr "Miktar Fark Yetkili" |
2410 | |
2411 | #. module: point_of_sale |
2412 | #. openerp-web |
2413 | #: code:addons/point_of_sale/static/src/xml/pos.xml:311 |
2414 | #, python-format |
2415 | msgid "Please be patient, help is on the way" |
2416 | -msgstr "" |
2417 | +msgstr "Lütfen sabırlı olun, yardım yolda" |
2418 | |
2419 | #. module: point_of_sale |
2420 | #: model:ir.model,name:point_of_sale.model_pos_session |
2421 | msgid "pos.session" |
2422 | -msgstr "" |
2423 | +msgstr "pos.session" |
2424 | |
2425 | #. module: point_of_sale |
2426 | #: help:pos.session,config_id:0 |
2427 | msgid "The physical point of sale you will use." |
2428 | -msgstr "" |
2429 | +msgstr "Satış nokta fiziksel kullanır." |
2430 | |
2431 | #. module: point_of_sale |
2432 | #: view:pos.order:0 |
2433 | |
2434 | === modified file 'product/partner.py' |
2435 | --- product/partner.py 2013-04-15 10:23:49 +0000 |
2436 | +++ product/partner.py 2013-04-22 06:55:35 +0000 |
2437 | @@ -36,6 +36,13 @@ |
2438 | help="This pricelist will be used, instead of the default one, for sales to the current partner"), |
2439 | } |
2440 | |
2441 | +<<<<<<< TREE |
2442 | +======= |
2443 | + def _commercial_fields(self, cr, uid, context=None): |
2444 | + return super(res_partner, self)._commercial_fields(cr, uid, context=context) + ['property_product_pricelist'] |
2445 | + |
2446 | +res_partner() |
2447 | +>>>>>>> MERGE-SOURCE |
2448 | |
2449 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2450 | |
2451 | |
2452 | === modified file 'product/partner_view.xml' |
2453 | --- product/partner_view.xml 2012-11-29 22:26:45 +0000 |
2454 | +++ product/partner_view.xml 2013-04-22 06:55:35 +0000 |
2455 | @@ -8,9 +8,12 @@ |
2456 | <field name="arch" type="xml"> |
2457 | <page string="Sales & Purchases" position="inside"> |
2458 | <group> |
2459 | - <group name="pricelists" groups="product.group_sale_pricelist"> |
2460 | + <group name="pricelists" groups="product.group_sale_pricelist" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}"> |
2461 | <field name="property_product_pricelist"/> |
2462 | </group> |
2463 | + <div name="parent_pricelists" groups="product.group_sale_pricelist" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}"> |
2464 | + <p>Pricelists are managed on <button name="open_commercial_entity" type="object" string="the parent company" class="oe_link"/></p> |
2465 | + </div> |
2466 | </group> |
2467 | </page> |
2468 | </field> |
2469 | |
2470 | === modified file 'product/pricelist.py' |
2471 | --- product/pricelist.py 2013-04-15 10:23:49 +0000 |
2472 | +++ product/pricelist.py 2013-04-22 06:55:35 +0000 |
2473 | @@ -234,7 +234,10 @@ |
2474 | qty, context=context)[res['base_pricelist_id']] |
2475 | ptype_src = self.browse(cr, uid, res['base_pricelist_id']).currency_id.id |
2476 | uom_price_already_computed = True |
2477 | - price = currency_obj.compute(cr, uid, ptype_src, res['currency_id'], price_tmp, round=False) |
2478 | + price = currency_obj.compute(cr, uid, |
2479 | + ptype_src, res['currency_id'], |
2480 | + price_tmp, round=False, |
2481 | + context=context) |
2482 | elif res['base'] == -2: |
2483 | # this section could be improved by moving the queries outside the loop: |
2484 | where = [] |
2485 | |
2486 | === modified file 'project/i18n/tr.po' |
2487 | --- project/i18n/tr.po 2013-04-15 08:43:02 +0000 |
2488 | +++ project/i18n/tr.po 2013-04-22 06:55:35 +0000 |
2489 | @@ -7,15 +7,26 @@ |
2490 | msgstr "" |
2491 | "Project-Id-Version: openobject-addons\n" |
2492 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
2493 | +<<<<<<< TREE |
2494 | "POT-Creation-Date: 2012-12-21 17:04+0000\n" |
2495 | "PO-Revision-Date: 2013-02-06 17:13+0000\n" |
2496 | "Last-Translator: Ediz Duman <neps1192@gmail.com>\n" |
2497 | +======= |
2498 | +"POT-Creation-Date: 2013-03-07 08:37+0000\n" |
2499 | +"PO-Revision-Date: 2013-04-18 19:25+0000\n" |
2500 | +"Last-Translator: Ayhan KIZILTAN <Unknown>\n" |
2501 | +>>>>>>> MERGE-SOURCE |
2502 | "Language-Team: Turkish <tr@li.org>\n" |
2503 | "MIME-Version: 1.0\n" |
2504 | "Content-Type: text/plain; charset=UTF-8\n" |
2505 | "Content-Transfer-Encoding: 8bit\n" |
2506 | +<<<<<<< TREE |
2507 | "X-Launchpad-Export-Date: 2013-03-16 04:56+0000\n" |
2508 | "X-Generator: Launchpad (build 16532)\n" |
2509 | +======= |
2510 | +"X-Launchpad-Export-Date: 2013-04-19 06:17+0000\n" |
2511 | +"X-Generator: Launchpad (build 16567)\n" |
2512 | +>>>>>>> MERGE-SOURCE |
2513 | |
2514 | #. module: project |
2515 | #: view:project.project:0 |
2516 | @@ -264,7 +275,7 @@ |
2517 | #: model:ir.actions.act_window,name:project.action_project_task_delegate |
2518 | #: view:project.task.delegate:0 |
2519 | msgid "Project Task Delegate" |
2520 | -msgstr "Proje Görev Delege" |
2521 | +msgstr "Prtoje Görevi Yetkilndirme" |
2522 | |
2523 | #. module: project |
2524 | #: model:mail.message.subtype,name:project.mt_project_task_started |
2525 | |
2526 | === modified file 'project/project_view.xml' |
2527 | --- project/project_view.xml 2013-04-05 11:07:37 +0000 |
2528 | +++ project/project_view.xml 2013-04-22 06:55:35 +0000 |
2529 | @@ -189,7 +189,7 @@ |
2530 | <separator/> |
2531 | <filter string="Project(s) Manager" domain="[('user_id','=',uid)]" help="Projects in which I am a manager" icon="terp-personal"/> |
2532 | <field name="user_id" string="Project Manager"/> |
2533 | - <field name="partner_id" string="Contact"/> |
2534 | + <field name="partner_id" string="Contact" filter_domain="[('partner_id', 'child_of', self)]"/> |
2535 | <group expand="0" string="Group By..."> |
2536 | <filter string="Manager" name="Manager" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/> |
2537 | <filter string="Contact" name="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/> |
2538 | |
2539 | === modified file 'project/report/project_report_view.xml' |
2540 | --- project/report/project_report_view.xml 2012-11-29 22:26:45 +0000 |
2541 | +++ project/report/project_report_view.xml 2013-04-22 06:55:35 +0000 |
2542 | @@ -69,7 +69,7 @@ |
2543 | <filter icon="terp-personal-" string="Non Assigned Tasks to users" help="Non Assigned Tasks to users" domain="[('user_id','=',False)]"/> |
2544 | <field name="project_id"/> |
2545 | <field name="user_id"/> |
2546 | - <field name="partner_id" /> |
2547 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
2548 | <group expand="0" string="Extended Filters..."> |
2549 | <field name="priority"/> |
2550 | <field name="company_id" groups="base.group_multi_company"/> |
2551 | |
2552 | === modified file 'project_issue/project_issue_view.xml' |
2553 | --- project_issue/project_issue_view.xml 2013-04-05 13:39:58 +0000 |
2554 | +++ project_issue/project_issue_view.xml 2013-04-22 06:55:35 +0000 |
2555 | @@ -146,7 +146,11 @@ |
2556 | <field name="model">project.issue</field> |
2557 | <field name="arch" type="xml"> |
2558 | <search string="Issue Tracker Search"> |
2559 | +<<<<<<< TREE |
2560 | <field name="name" string="Issue" filter_domain="['|', '|',('description','ilike',self),('email_from','ilike',self),('name','ilike',self)]"/> |
2561 | +======= |
2562 | + <field name="name" string="Issue" filter_domain="['|', '|',('partner_id','child_of',self),('email_from','ilike',self),('name','ilike',self)]"/> |
2563 | +>>>>>>> MERGE-SOURCE |
2564 | <field name="id"/> |
2565 | <filter icon="terp-mail-message-new" string="Unread Messages" name="message_unread" domain="[('message_unread','=',True)]"/> |
2566 | <separator/> |
2567 | @@ -158,6 +162,7 @@ |
2568 | <field name="user_id"/> |
2569 | <field name="project_id"/> |
2570 | <field name="categ_ids"/> |
2571 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
2572 | <group expand="0" string="Group By..." > |
2573 | <filter string="Responsible" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/> |
2574 | <filter string="Contact" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/> |
2575 | |
2576 | === modified file 'project_issue/report/project_issue_report_view.xml' |
2577 | --- project_issue/report/project_issue_report_view.xml 2013-03-25 16:51:25 +0000 |
2578 | +++ project_issue/report/project_issue_report_view.xml 2013-04-22 06:55:35 +0000 |
2579 | @@ -55,7 +55,7 @@ |
2580 | <filter icon="terp-dialog-close" string="Done" domain="[('state','=','done')]"/> |
2581 | <field name="project_id"/> |
2582 | <field name="user_id"/> |
2583 | - <field name="partner_id"/> |
2584 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
2585 | <field name="version_id"/> |
2586 | <group expand="1" string="Group By..."> |
2587 | <filter string="Assigned to" name="Responsible" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}" /> |
2588 | |
2589 | === modified file 'purchase/partner.py' |
2590 | --- purchase/partner.py 2013-04-15 10:23:49 +0000 |
2591 | +++ purchase/partner.py 2013-04-22 06:55:35 +0000 |
2592 | @@ -43,6 +43,9 @@ |
2593 | |
2594 | super(res_partner, self).copy(cr, uid, id, default=default, context=context) |
2595 | |
2596 | + def _commercial_fields(self, cr, uid, context=None): |
2597 | + return super(res_partner, self)._commercial_fields(cr, uid, context=context) + ['property_product_pricelist_purchase'] |
2598 | + |
2599 | _columns = { |
2600 | 'property_product_pricelist_purchase': fields.property( |
2601 | 'product.pricelist', |
2602 | |
2603 | === modified file 'purchase/purchase_view.xml' |
2604 | --- purchase/purchase_view.xml 2013-04-18 09:41:47 +0000 |
2605 | +++ purchase/purchase_view.xml 2013-04-22 06:55:35 +0000 |
2606 | @@ -270,7 +270,7 @@ |
2607 | <filter icon="terp-emblem-important" name="exception" string="Exception" domain="[('state','in',('except_invoice','except_picking'))]" help="Purchase order which are in the exception state"/> |
2608 | <separator/> |
2609 | <filter icon="terp-gtk-go-back-rtl" name="not_invoiced" string="Not Invoiced" domain="[('invoice_ids','=', False)]" help="Purchase orders that include lines not invoiced."/> |
2610 | - <field name="partner_id"/> |
2611 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
2612 | <field name="product_id"/> |
2613 | <field name="create_uid"/> |
2614 | <group expand="0" string="Group By..."> |
2615 | @@ -297,7 +297,7 @@ |
2616 | <filter icon="terp-emblem-important" name="exception" string="Exception" domain="[('state','in',('except_invoice','except_picking'))]" help="Purchase orders which are in exception state"/> |
2617 | <separator/> |
2618 | <filter icon="terp-gtk-go-back-rtl" name="not_invoiced" string="Not Invoiced" domain="[('invoice_ids','=', False)]" help="Purchase orders that include lines not invoiced."/> |
2619 | - <field name="partner_id"/> |
2620 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
2621 | <field name="product_id"/> |
2622 | <field name="create_uid"/> |
2623 | <group expand="0" string="Group By..."> |
2624 | @@ -481,7 +481,7 @@ |
2625 | <search string="Search Purchase Order"> |
2626 | <field name="order_id"/> |
2627 | <field name="product_id"/> |
2628 | - <field name="partner_id" string="Supplier"/> |
2629 | + <field name="partner_id" string="Supplier" filter_domain="[('partner_id', 'child_of', self)]"/> |
2630 | <group expand="0" string="Group By..."> |
2631 | <filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by' : 'partner_id'}" /> |
2632 | <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by' : 'product_id'}" /> |
2633 | |
2634 | === modified file 'report_webkit/i18n/tr.po' |
2635 | --- report_webkit/i18n/tr.po 2013-04-05 11:10:48 +0000 |
2636 | +++ report_webkit/i18n/tr.po 2013-04-22 06:55:35 +0000 |
2637 | @@ -7,41 +7,52 @@ |
2638 | msgstr "" |
2639 | "Project-Id-Version: openobject-addons\n" |
2640 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
2641 | +<<<<<<< TREE |
2642 | "POT-Creation-Date: 2012-12-21 17:06+0000\n" |
2643 | "PO-Revision-Date: 2012-01-25 17:36+0000\n" |
2644 | "Last-Translator: Ahmet Altınışık <Unknown>\n" |
2645 | +======= |
2646 | +"POT-Creation-Date: 2013-03-07 08:38+0000\n" |
2647 | +"PO-Revision-Date: 2013-04-19 10:49+0000\n" |
2648 | +"Last-Translator: Ediz Duman <neps1192@gmail.com>\n" |
2649 | +>>>>>>> MERGE-SOURCE |
2650 | "Language-Team: Turkish <tr@li.org>\n" |
2651 | "MIME-Version: 1.0\n" |
2652 | "Content-Type: text/plain; charset=UTF-8\n" |
2653 | "Content-Transfer-Encoding: 8bit\n" |
2654 | +<<<<<<< TREE |
2655 | "X-Launchpad-Export-Date: 2013-03-16 05:49+0000\n" |
2656 | "X-Generator: Launchpad (build 16532)\n" |
2657 | +======= |
2658 | +"X-Launchpad-Export-Date: 2013-04-20 06:48+0000\n" |
2659 | +"X-Generator: Launchpad (build 16567)\n" |
2660 | +>>>>>>> MERGE-SOURCE |
2661 | |
2662 | #. module: report_webkit |
2663 | #: view:ir.actions.report.xml:0 |
2664 | msgid "Webkit Template (used if Report File is not found)" |
2665 | -msgstr "" |
2666 | +msgstr "Webkit Şablon (Rapor Dosya bulunamazsa, kullanılır)" |
2667 | |
2668 | #. module: report_webkit |
2669 | #: selection:ir.header_webkit,format:0 |
2670 | msgid "Tabloid 29 279.4 x 431.8 mm" |
2671 | -msgstr "" |
2672 | +msgstr "Tabloid 29 279.4 x 431.8 mm" |
2673 | |
2674 | #. module: report_webkit |
2675 | #: selection:ir.header_webkit,format:0 |
2676 | msgid "Ledger 28 431.8 x 279.4 mm" |
2677 | -msgstr "" |
2678 | +msgstr "Ledger 28 431.8 x 279.4 mm" |
2679 | |
2680 | #. module: report_webkit |
2681 | #: code:addons/report_webkit/webkit_report.py:233 |
2682 | #, python-format |
2683 | msgid "No header defined for this Webkit report!" |
2684 | -msgstr "" |
2685 | +msgstr "Böyle bir başlık Bu Webkit rapor için tanımlı!" |
2686 | |
2687 | #. module: report_webkit |
2688 | #: help:ir.header_img,type:0 |
2689 | msgid "Image type(png,gif,jpeg)" |
2690 | -msgstr "" |
2691 | +msgstr "Görüntü tipi (png, gif, jpeg)" |
2692 | |
2693 | #. module: report_webkit |
2694 | #: help:ir.actions.report.xml,precise_mode:0 |
2695 | @@ -51,11 +62,13 @@ |
2696 | " but memory and disk " |
2697 | "usage is wider" |
2698 | msgstr "" |
2699 | +"Her nesne ayrı bir HTML yazdırılır bu gibi mod daha hassas elemanı " |
2700 | +"pozisyonu sağlar. ama bellek ve disk kullanımı daha geniş" |
2701 | |
2702 | #. module: report_webkit |
2703 | #: selection:ir.header_webkit,format:0 |
2704 | msgid "Executive 4 7.5 x 10 inches, 190.5 x 254 mm" |
2705 | -msgstr "" |
2706 | +msgstr "Executive 4 7.5 x 10 inç, 190.5 x 254 mm" |
2707 | |
2708 | #. module: report_webkit |
2709 | #: field:ir.header_img,company_id:0 |
2710 | @@ -67,12 +80,12 @@ |
2711 | #: code:addons/report_webkit/webkit_report.py:234 |
2712 | #, python-format |
2713 | msgid "Please set a header in company settings." |
2714 | -msgstr "" |
2715 | +msgstr "Şirket ayarlarında bir başlık ayarlayın." |
2716 | |
2717 | #. module: report_webkit |
2718 | #: selection:ir.header_webkit,format:0 |
2719 | msgid "DLE 26 110 x 220 mm" |
2720 | -msgstr "" |
2721 | +msgstr "DLE 26 110 x 220 mm" |
2722 | |
2723 | #. module: report_webkit |
2724 | #: selection:ir.header_webkit,format:0 |
2725 | @@ -82,44 +95,44 @@ |
2726 | #. module: report_webkit |
2727 | #: view:res.company:0 |
2728 | msgid "Headers" |
2729 | -msgstr "" |
2730 | +msgstr "Başlıklar" |
2731 | |
2732 | #. module: report_webkit |
2733 | #: help:ir.header_img,name:0 |
2734 | msgid "Name of Image" |
2735 | -msgstr "" |
2736 | +msgstr "Resim Adı" |
2737 | |
2738 | #. module: report_webkit |
2739 | #: model:ir.actions.act_window,name:report_webkit.action_header_webkit |
2740 | #: model:ir.ui.menu,name:report_webkit.menu_header_webkit |
2741 | msgid "Webkit Headers/Footers" |
2742 | -msgstr "" |
2743 | +msgstr "Webkit Üstbilgi / altbilgi" |
2744 | |
2745 | #. module: report_webkit |
2746 | #: selection:ir.header_webkit,format:0 |
2747 | msgid "Legal 3 8.5 x 14 inches, 215.9 x 355.6 mm" |
2748 | -msgstr "" |
2749 | +msgstr "Legal 3 8.5 x 14 inches, 215.9 x 355.6 mm" |
2750 | |
2751 | #. module: report_webkit |
2752 | #: model:ir.model,name:report_webkit.model_ir_header_webkit |
2753 | msgid "ir.header_webkit" |
2754 | -msgstr "" |
2755 | +msgstr "ir.header_webkit" |
2756 | |
2757 | #. module: report_webkit |
2758 | #: selection:ir.header_webkit,format:0 |
2759 | msgid "A4 0 210 x 297 mm, 8.26 x 11.69 inches" |
2760 | -msgstr "" |
2761 | +msgstr "Copy text \t A4 0 210 x 297 mm, 8.26 x 11.69 inches" |
2762 | |
2763 | #. module: report_webkit |
2764 | #: code:addons/report_webkit/webkit_report.py:176 |
2765 | #, python-format |
2766 | msgid "Webkit error" |
2767 | -msgstr "" |
2768 | +msgstr "webkit hata" |
2769 | |
2770 | #. module: report_webkit |
2771 | #: selection:ir.header_webkit,format:0 |
2772 | msgid "B2 17 500 x 707 mm" |
2773 | -msgstr "" |
2774 | +msgstr "B2 17 500 x 707 mm" |
2775 | |
2776 | #. module: report_webkit |
2777 | #: code:addons/report_webkit/webkit_report.py:260 |
2778 | @@ -129,7 +142,7 @@ |
2779 | #: code:addons/report_webkit/webkit_report.py:304 |
2780 | #, python-format |
2781 | msgid "Webkit render!" |
2782 | -msgstr "" |
2783 | +msgstr "Webkit render!" |
2784 | |
2785 | #. module: report_webkit |
2786 | #: model:ir.model,name:report_webkit.model_ir_header_img |
2787 | |
2788 | === modified file 'sale/res_partner_view.xml' |
2789 | --- sale/res_partner_view.xml 2012-12-20 11:43:56 +0000 |
2790 | +++ sale/res_partner_view.xml 2013-04-22 06:55:35 +0000 |
2791 | @@ -63,14 +63,34 @@ |
2792 | <field name="arch" type="xml"> |
2793 | <xpath expr="//label[@for='type']" position="attributes"> |
2794 | <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2795 | - </xpath> |
2796 | - <xpath expr="//label[@for='type']" position="attributes"> |
2797 | - <attribute name="invisible">False</attribute> |
2798 | - </xpath> |
2799 | - <xpath expr="//div[@name='div_type']" position="attributes"> |
2800 | - <attribute name="invisible">False</attribute> |
2801 | - </xpath> |
2802 | - <xpath expr="//div[@name='div_type']" position="attributes"> |
2803 | + <attribute name="invisible">False</attribute> |
2804 | + </xpath> |
2805 | + <xpath expr="//div[@name='div_type']" position="attributes"> |
2806 | + <attribute name="invisible">False</attribute> |
2807 | + <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2808 | + </xpath> |
2809 | + <xpath expr="//field[@name='use_parent_address']" position="attributes"> |
2810 | + <attribute name="invisible">False</attribute> |
2811 | + <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2812 | + </xpath> |
2813 | + <xpath expr="//label[@for='use_parent_address']" position="attributes"> |
2814 | + <attribute name="invisible">False</attribute> |
2815 | + <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2816 | + </xpath> |
2817 | + <xpath expr="//field[@name='child_ids']//field[@name='use_parent_address']" position="attributes"> |
2818 | + <attribute name="invisible">False</attribute> |
2819 | + <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2820 | + </xpath> |
2821 | + <xpath expr="//field[@name='child_ids']//label[@for='use_parent_address']" position="attributes"> |
2822 | + <attribute name="invisible">False</attribute> |
2823 | + <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2824 | + </xpath> |
2825 | + <xpath expr="//field[@name='child_ids']//div[@name='div_type']" position="attributes"> |
2826 | + <attribute name="invisible">False</attribute> |
2827 | + <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2828 | + </xpath> |
2829 | + <xpath expr="//field[@name='child_ids']//label[@for='type']" position="attributes"> |
2830 | + <attribute name="invisible">False</attribute> |
2831 | <attribute name="groups">sale.group_delivery_invoice_address</attribute> |
2832 | </xpath> |
2833 | </field> |
2834 | |
2835 | === modified file 'sale/sale.py' |
2836 | --- sale/sale.py 2013-04-15 10:23:49 +0000 |
2837 | +++ sale/sale.py 2013-04-22 06:55:35 +0000 |
2838 | @@ -320,10 +320,6 @@ |
2839 | return {'value': {'partner_invoice_id': False, 'partner_shipping_id': False, 'payment_term': False, 'fiscal_position': False}} |
2840 | |
2841 | part = self.pool.get('res.partner').browse(cr, uid, part, context=context) |
2842 | - #if the chosen partner is not a company and has a parent company, use the parent to choose the delivery, the |
2843 | - #invoicing addresses and all the fields related to the partner. |
2844 | - if part.parent_id and not part.is_company: |
2845 | - part = part.parent_id |
2846 | addr = self.pool.get('res.partner').address_get(cr, uid, [part.id], ['delivery', 'invoice', 'contact']) |
2847 | pricelist = part.property_product_pricelist and part.property_product_pricelist.id or False |
2848 | payment_term = part.property_payment_term and part.property_payment_term.id or False |
2849 | @@ -1012,6 +1008,7 @@ |
2850 | self.pool.get('sale.order').signal_quotation_sent(cr, uid, [context['default_res_id']]) |
2851 | return super(mail_compose_message, self).send_mail(cr, uid, ids, context=context) |
2852 | |
2853 | +<<<<<<< TREE |
2854 | |
2855 | class account_invoice(osv.Model): |
2856 | _inherit = 'account.invoice' |
2857 | @@ -1024,4 +1021,22 @@ |
2858 | sale_order_obj.message_post(cr, uid, so_ids, body=_("Invoice paid"), context=context) |
2859 | return res |
2860 | |
2861 | +======= |
2862 | + |
2863 | +class account_invoice(osv.Model): |
2864 | + _inherit = 'account.invoice' |
2865 | + |
2866 | + def unlink(self, cr, uid, ids, context=None): |
2867 | + """ Overwrite unlink method of account invoice to send a trigger to the sale workflow upon invoice deletion """ |
2868 | + invoice_ids = self.search(cr, uid, [('id', 'in', ids), ('state', 'in', ['draft', 'cancel'])], context=context) |
2869 | + #if we can't cancel all invoices, do nothing |
2870 | + if len(invoice_ids) == len(ids): |
2871 | + #Cancel invoice(s) first before deleting them so that if any sale order is associated with them |
2872 | + #it will trigger the workflow to put the sale order in an 'invoice exception' state |
2873 | + wf_service = netsvc.LocalService("workflow") |
2874 | + for id in ids: |
2875 | + wf_service.trg_validate(uid, 'account.invoice', id, 'invoice_cancel', cr) |
2876 | + return super(account_invoice, self).unlink(cr, uid, ids, context=context) |
2877 | + |
2878 | +>>>>>>> MERGE-SOURCE |
2879 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
2880 | |
2881 | === modified file 'sale/sale_view.xml' |
2882 | --- sale/sale_view.xml 2013-04-04 11:56:27 +0000 |
2883 | +++ sale/sale_view.xml 2013-04-22 06:55:35 +0000 |
2884 | @@ -156,7 +156,7 @@ |
2885 | <field name="partner_id" on_change="onchange_partner_id(partner_id, context)" domain="[('customer','=',True)]" context="{'search_default_customer':1, 'show_address': 1}" options='{"always_reload": True}'/> |
2886 | <field name="partner_invoice_id" groups="sale.group_delivery_invoice_address" context="{'default_type':'invoice'}"/> |
2887 | <field name="partner_shipping_id" groups="sale.group_delivery_invoice_address" context="{'default_type':'delivery'}"/> |
2888 | - <field name="project_id" context="{'partner_id':partner_id, 'default_pricelist_id':pricelist_id, 'default_name':name, 'default_type': 'contract'}" groups="sale.group_analytic_accounting" domain="[('type','in',['view','normal','contract'])]"/> |
2889 | + <field name="project_id" context="{'partner_id':partner_invoice_id, 'default_pricelist_id':pricelist_id, 'default_name':name, 'default_type': 'contract'}" groups="sale.group_analytic_accounting" domain="[('type','in',['view','normal','contract'])]"/> |
2890 | </group> |
2891 | <group> |
2892 | <field name="date_order"/> |
2893 | @@ -308,7 +308,7 @@ |
2894 | <filter icon="terp-dolar_ok!" string="Done" domain="[('state','=','done')]" help="Sales Order done"/> |
2895 | <separator/> |
2896 | <filter string="My Sales Orders" domain="[('user_id','=',uid)]" help="My Sales Orders" icon="terp-personal" name="my_sale_orders_filter"/> |
2897 | - <field name="partner_id"/> |
2898 | + <field name="partner_id" filter_domain="[('partner_id', 'child_of', self)]"/> |
2899 | <field name="user_id"/> |
2900 | <field name="project_id"/> |
2901 | <group expand="0" string="Group By..."> |
2902 | @@ -328,12 +328,17 @@ |
2903 | <field name="view_type">form</field> |
2904 | <field name="view_mode">tree,form,calendar,graph</field> |
2905 | <field name="search_view_id" ref="view_sales_order_filter"/> |
2906 | +<<<<<<< TREE |
2907 | <field name="context">{ |
2908 | 'show_address': 1, |
2909 | 'search_default_my_sale_orders_filter': 1 |
2910 | } |
2911 | </field> |
2912 | <field name="domain">[('state', 'not in', ('draft', 'sent', 'cancel'))]</field> |
2913 | +======= |
2914 | + <field name="context">{}</field> |
2915 | + <field name="domain">[('state','not in',('draft','sent','cancel'))]</field> |
2916 | +>>>>>>> MERGE-SOURCE |
2917 | <field name="help" type="html"> |
2918 | <p class="oe_view_nocontent_create"> |
2919 | Click to create a quotation that can be converted into a sales |
2920 | @@ -376,7 +381,11 @@ |
2921 | <field name="view_type">form</field> |
2922 | <field name="view_id" ref="view_quotation_tree"/> |
2923 | <field name="view_mode">tree,form,calendar,graph</field> |
2924 | +<<<<<<< TREE |
2925 | <field name="context">{'show_address': 1, 'search_default_my_sale_orders_filter': 1}</field> |
2926 | +======= |
2927 | + <field name="context">{}</field> |
2928 | +>>>>>>> MERGE-SOURCE |
2929 | <field name="domain">[('state','in',('draft','sent','cancel'))]</field> |
2930 | <field name="search_view_id" ref="view_sales_order_filter"/> |
2931 | <field name="help" type="html"> |
2932 | @@ -477,7 +486,7 @@ |
2933 | <separator/> |
2934 | <filter string="My Sales Order Lines" icon="terp-personnal" domain="[('salesman_id','=',uid)]" help="Sales Order Lines related to a Sales Order of mine"/> |
2935 | <field name="order_id"/> |
2936 | - <field name="order_partner_id"/> |
2937 | + <field name="order_partner_id" filter_domain="[('order_partner_id', 'child_of', self)]"/> |
2938 | <field name="product_id"/> |
2939 | <field name="salesman_id"/> |
2940 | <group expand="0" string="Group By..."> |
2941 | @@ -503,7 +512,7 @@ |
2942 | <separator/> |
2943 | <filter string="My Sales Order Lines" icon="terp-personal" domain="[('salesman_id','=',uid)]" help="My Sales Order Lines"/> |
2944 | <field name="order_id"/> |
2945 | - <field name="order_partner_id"/> |
2946 | + <field name="order_partner_id" filter_domain="[('order_partner_id', 'child_of', self)]"/> |
2947 | <field name="product_id"/> |
2948 | <field name="salesman_id"/> |
2949 | <group expand="0" string="Group By..."> |
2950 | |
2951 | === modified file 'sale_journal/sale_journal.py' |
2952 | --- sale_journal/sale_journal.py 2013-04-15 10:23:49 +0000 |
2953 | +++ sale_journal/sale_journal.py 2013-04-22 06:55:35 +0000 |
2954 | @@ -51,6 +51,14 @@ |
2955 | group_name = "Accounting Properties", |
2956 | help = "This invoicing type will be used, by default, to invoice the current partner."), |
2957 | } |
2958 | +<<<<<<< TREE |
2959 | +======= |
2960 | + |
2961 | + def _commercial_fields(self, cr, uid, context=None): |
2962 | + return super(res_partner, self)._commercial_fields(cr, uid, context=context) + ['property_invoice_type'] |
2963 | + |
2964 | +res_partner() |
2965 | +>>>>>>> MERGE-SOURCE |
2966 | |
2967 | class picking(osv.osv): |
2968 | _inherit = "stock.picking" |
2969 | |
2970 | === modified file 'sale_journal/sale_journal_view.xml' |
2971 | --- sale_journal/sale_journal_view.xml 2012-12-16 15:58:43 +0000 |
2972 | +++ sale_journal/sale_journal_view.xml 2013-04-22 06:55:35 +0000 |
2973 | @@ -146,7 +146,7 @@ |
2974 | <field name="inherit_id" ref="base.view_partner_form"/> |
2975 | <field name="arch" type="xml"> |
2976 | <page string="Sales & Purchases" position="inside"> |
2977 | - <group colspan="2" col="2"> |
2978 | + <group colspan="2" col="2" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}"> |
2979 | <separator string="Invoicing" colspan="2"/> |
2980 | <field name="property_invoice_type"/> |
2981 | </group> |
2982 | |
2983 | === modified file 'sale_stock/stock.py' |
2984 | --- sale_stock/stock.py 2013-03-07 09:51:04 +0000 |
2985 | +++ sale_stock/stock.py 2013-04-22 06:55:35 +0000 |
2986 | @@ -54,7 +54,7 @@ |
2987 | We select the partner of the sales order as the partner of the customer invoice |
2988 | """ |
2989 | if picking.sale_id: |
2990 | - return picking.sale_id.partner_id |
2991 | + return picking.sale_id.partner_invoice_id |
2992 | return super(stock_picking, self)._get_partner_to_invoice(cr, uid, picking, context=context) |
2993 | |
2994 | def _get_comment_invoice(self, cursor, user, picking): |
2995 | |
2996 | === modified file 'sale_stock/test/picking_order_policy.yml' |
2997 | --- sale_stock/test/picking_order_policy.yml 2013-04-11 12:44:46 +0000 |
2998 | +++ sale_stock/test/picking_order_policy.yml 2013-04-22 06:55:35 +0000 |
2999 | @@ -5,6 +5,12 @@ |
3000 | - |
3001 | !assert {model: sale.order, id: sale.sale_order_6, string: The amount of the Quotation is not correctly computed}: |
3002 | - sum([l.price_subtotal for l in order_line]) == amount_untaxed |
3003 | +- |
3004 | + I set an explicit invoicing partner that is different from the main SO Customer |
3005 | +- |
3006 | + !python {model: sale.order, id: sale.sale_order_6}: | |
3007 | + order = self.browse(cr, uid, ref("sale.sale_order_6")) |
3008 | + order.write({'partner_invoice_id': ref('base.res_partner_address_29')}) |
3009 | - |
3010 | I confirm the quotation with Invoice based on deliveries policy. |
3011 | - |
3012 | @@ -110,13 +116,13 @@ |
3013 | !python {model: sale.order}: | |
3014 | order = self.browse(cr, uid, ref("sale.sale_order_6")) |
3015 | assert order.invoice_ids, "Invoice is not created." |
3016 | - ac = order.partner_id.property_account_receivable.id |
3017 | + ac = order.partner_invoice_id.property_account_receivable.id |
3018 | journal_ids = self.pool.get('account.journal').search(cr, uid, [('type', '=', 'sale'), ('company_id', '=', order.company_id.id)]) |
3019 | for invoice in order.invoice_ids: |
3020 | assert invoice.type == 'out_invoice',"Invoice should be Customer Invoice." |
3021 | assert invoice.account_id.id == ac,"Invoice account is not correspond." |
3022 | assert invoice.reference == order.client_order_ref or order.name,"Reference is not correspond." |
3023 | - assert invoice.partner_id.id == order.partner_id.id,"Customer is not correspond." |
3024 | + assert invoice.partner_id.id == order.partner_invoice_id.id,"Customer does not correspond." |
3025 | assert invoice.currency_id.id == order.pricelist_id.currency_id.id, "Currency is not correspond." |
3026 | assert invoice.comment == (order.note or ''),"Note is not correspond." |
3027 | assert invoice.journal_id.id in journal_ids,"Sales Journal is not link on Invoice." |
3028 | |
3029 | === modified file 'stock/report/report_stock_move_view.xml' |
3030 | --- stock/report/report_stock_move_view.xml 2012-11-29 22:26:45 +0000 |
3031 | +++ stock/report/report_stock_move_view.xml 2013-04-22 06:55:35 +0000 |
3032 | @@ -149,7 +149,7 @@ |
3033 | <field name="location_id" filter_domain="[('location_id', 'child_of', self)]"/> |
3034 | <field name="company_id" groups="base.group_multi_company"/> |
3035 | <group expand="0" string="Extended Filters..."> |
3036 | - <field name="partner_id" context="{'contact_display':'partner'}"/> |
3037 | + <field name="partner_id" context="{'contact_display':'partner'}" filter_domain="[('partner_id', 'child_of', self)]"/> |
3038 | <field name="product_categ_id" /> |
3039 | <field name="prodlot_id"/> |
3040 | <field name="state"/> |
3041 | |
3042 | === modified file 'stock/stock_view.xml' |
3043 | --- stock/stock_view.xml 2013-03-21 09:37:16 +0000 |
3044 | +++ stock/stock_view.xml 2013-04-22 06:55:35 +0000 |
3045 | @@ -817,7 +817,7 @@ |
3046 | <filter icon="terp-check" name="available" string="Ready" domain="[('state','=','assigned')]" help="Assigned Internal Moves"/> |
3047 | <filter icon="terp-camera_test" name="confirmed" string="Waiting" domain="[('state','=','confirmed')]" help="Confirmed Internal Moves"/> |
3048 | <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Pickings already processed"/> |
3049 | - <field name="partner_id"/> |
3050 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
3051 | <field name="product_id"/> |
3052 | <field name="stock_journal_id"/> |
3053 | <group expand="0" string="Group By..."> |
3054 | @@ -944,6 +944,7 @@ |
3055 | <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order"/> |
3056 | <separator/> |
3057 | <filter icon="terp-dolar" name="to_invoice" string="To Invoice" domain="[('invoice_state','=','2binvoiced')]" help="Delivery orders to invoice"/> |
3058 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
3059 | <field name="stock_journal_id"/> |
3060 | <field name="company_id" groups="base.group_multi_company"/> |
3061 | <group expand="0" string="Group By..."> |
3062 | @@ -1069,6 +1070,7 @@ |
3063 | <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order"/> |
3064 | <separator/> |
3065 | <filter string="To Invoice" name="to_invoice" icon="terp-dolar" domain="[('invoice_state', '=', '2binvoiced')]"/> |
3066 | + <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> |
3067 | <field name="stock_journal_id"/> |
3068 | <field name="product_id"/> |
3069 | <group expand="0" string="Group By..."> |
3070 | @@ -1380,7 +1382,7 @@ |
3071 | <filter icon="terp-go-today" string="Today" domain="[('date','<=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','>=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders processed Today or planned for Today"/> |
3072 | <field name="product_id"/> |
3073 | <field name="name" string="Location" filter_domain="['|',('location_id','ilike',self),('location_dest_id','ilike',self)]"/> |
3074 | - <field name="partner_id" string="Partner" filter_domain="[('picking_id.partner_id','ilike',self)]"/> |
3075 | + <field name="partner_id" string="Partner" filter_domain="[('picking_id.partner_id','child_of',self)]"/> |
3076 | <field name="prodlot_id"/> |
3077 | <group expand="0" string="Group By..."> |
3078 | <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/> |
You have placed this in a wrong branch.