Commit Graph

8642 Commits

Author SHA1 Message Date
Martin Trigaux 3e22501636 [FIX] account: correct journal report with tax_code
bzr revid: mat@openerp.com-20130606142909-y56q6dnaz75v7v7b
2013-06-06 16:29:09 +02:00
Martin Trigaux 3136aae3f5 [FIX] account: don't display non-commercial partners for bank statement
bzr revid: mat@openerp.com-20130605074957-tpd3jol51ww7j86i
2013-06-05 09:49:57 +02:00
Quentin (OpenERP) 5b83d03ac1 [FIX] account, usability: restrict the choice of the account to the ones with type 'other' for income and expense account of product and invoice line
bzr revid: qdp-launchpad@openerp.com-20130531121945-fjb9y6rj3k9qd4m9
2013-05-31 14:19:45 +02:00
Pinakin Nayi (OpenERP) de5b79545e [FIX]account : account invoice balance is double the total
bzr revid: pna@tinyerp.com-20130531062946-i0rhy98n8bjk9nh4
2013-05-31 11:59:46 +05:30
Martin Trigaux 17a618eb89 [MERGE] [FIX] context is not propagated through account_period.name_search to account_period.search, courtesy of Guewen Baconnier (Camptocamp)
lp bug: https://launchpad.net/bugs/1177348 fixed

bzr revid: mat@openerp.com-20130528152327-zq382uvqn9h3ja83
2013-05-28 17:23:27 +02:00
Martin Trigaux 56a3b528f5 [MERGE] [FIX]account:in cash register if we put or take money its generate traceback
bzr revid: mat@openerp.com-20130528133435-v4b99yxh3hi523he
2013-05-28 15:34:35 +02:00
Martin Trigaux 0ed5316c29 [MERGE] [FIX] account: Grouping on field 'template_id' is not possible because that field does not appear in the list view
bzr revid: mat@openerp.com-20130528122036-e08b5j358u5u6r4j
2013-05-28 14:20:36 +02:00
Martin Trigaux 1908d590be [IMP] sort stock picking by id, no percent label for tax amount
bzr revid: mat@openerp.com-20130528115811-klv4spx00srr4vqb
2013-05-28 13:58:11 +02:00
Quentin (OpenERP) 96d540af06 [FIX] account: removed fontName from invoice report in order to allow a default style definition in company (to allow chinese characters for example, with Sun-ExtA font)
bzr revid: qdp-launchpad@openerp.com-20130527163046-rkkqou1bddqup9b3
2013-05-27 18:30:46 +02:00
Launchpad Translations on behalf of openerp bafef8f1dc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130528063641-1jm7f93xez43sp56
2013-05-28 06:36:41 +00:00
Martin Trigaux a1bbb140b3 [IMP] account: use digits precision of account +3 for account.tax and templates
bzr revid: mat@openerp.com-20130527085957-xq6zwmc3lhn6yy83
2013-05-27 10:59:57 +02:00
Quentin (OpenERP) d9c00b129b [FIX] account: divide the residual amount of invoices proportionally to the number of invoices partially reconciled together if needed + if necessary, do a conversion at the right currency rate
bzr revid: qdp-launchpad@openerp.com-20130523122855-n0o1rz9ajxkbgsnj
2013-05-23 14:28:55 +02:00
Quentin (OpenERP) 7ca85ffbba [FIX] account: exclude company_id from build_ctx_periods()'s criteria to allow printing consolidated reports
bzr revid: qdp-launchpad@openerp.com-20130523122756-tpkc268q107hiqvy
2013-05-23 14:27:56 +02:00
Launchpad Translations on behalf of openerp 727de3660d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130519061258-u0iw6lfwponrmlrp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130520063201-x6ngc83h4rru51rx
bzr revid: launchpad_translations_on_behalf_of_openerp-20130521054415-2s1mdz92ybpgx12d
2013-05-21 05:44:15 +00:00
Alexandre Fayolle b0ee634dec [FIX] some missed access to currency_id through company_id
bzr revid: alexandre.fayolle@camptocamp.com-20130517080031-7j72snb9mdv91cto
2013-05-17 10:00:31 +02:00
Alexandre Fayolle 8bdccc5cd2 [FIX] work around bug preventing to validate invoices in multicompany setting
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130517073516-yko5zp0j8zlopq2d
2013-05-17 09:35:16 +02:00
Quentin (OpenERP) 5ceb9a84da [FIX] account: validation of an invoice from another company was not allowed because of default value of company_id field on account.move
lp bug: https://launchpad.net/bugs/810548 fixed

bzr revid: qdp-launchpad@openerp.com-20130516085254-it0ff5oqlnodt5mm
2013-05-16 10:52:54 +02:00
Launchpad Translations on behalf of openerp b4bc1a38bf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130515060747-d8cgvt2npsgcihpk
2013-05-15 06:07:47 +00:00
Martin Trigaux c89c86c6e0 [MERGE] correct permissions, shebang, EOL and FSF address
lp bug: https://launchpad.net/bugs/993414 fixed
lp bug: https://launchpad.net/bugs/993408 fixed

bzr revid: mat@openerp.com-20130514145117-ur32kilr42kg1du0
2013-05-14 16:51:17 +02:00
Martin Trigaux 8fd6cb92e7 [IMP] use exact writing for fsf address
bzr revid: mat@openerp.com-20130514142837-jt65d8xjd1eozqst
2013-05-14 16:28:37 +02:00
Martin Trigaux 3c11652fac [IMP] trmove double space in fsf address
bzr revid: mat@openerp.com-20130514141132-610k885sxtcr8vpb
2013-05-14 16:11:32 +02:00
Martin Trigaux 7b8f704f90 [FIX] fix FSF address
bzr revid: mat@openerp.com-20130514120424-xwjzdf3mufifl90d
2013-05-14 14:04:24 +02:00
Martin Trigaux c8c298c83c [IMP] clean permissions and shebang in files
bzr revid: mat@openerp.com-20130514103113-8idhvhokt0e8jzea
2013-05-14 12:31:13 +02:00
Launchpad Translations on behalf of openerp 955d3af504 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130514062545-amio4juyvdyzilre
2013-05-14 06:25:45 +00:00
Martin Trigaux b9ee794a2b [IMP] account: compute default period for fiscal year
bzr revid: mat@openerp.com-20130508131438-nyzi49wbn61giecf
2013-05-08 15:14:38 +02:00
Martin Trigaux e15811a6a1 [IMP] account: use DEFAULT_SERVER_DATETIME_FORMAT and merging in one method
bzr revid: mat@openerp.com-20130508125520-kf0pbgfislf34vay
2013-05-08 14:55:20 +02:00
Martin Trigaux f2c5aee290 [IMP] account: use DEFAULT_SERVER_DATETIME_FORMAT
bzr revid: mat@openerp.com-20130508123440-kmtbv1vq4x03gr8k
2013-05-08 14:34:40 +02:00
Martin Trigaux dff5615b9e [IMP] better comment
bzr revid: mat@openerp.com-20130508120626-tz68kaunfdv45paj
2013-05-08 14:06:26 +02:00
Martin Trigaux bf8fc82ecb [FIX] use correctly datetime objects
bzr revid: mat@openerp.com-20130508115708-ut4jlp572dhxntsd
2013-05-08 13:57:08 +02:00
Martin Trigaux 67b94fa511 [FIX] opw584557: account: better default fiscalyear dates for fiscalyears not 1/1-12/31
bzr revid: mat@openerp.com-20130508105044-fr3tf2t1zwmd6hko
2013-05-08 12:50:44 +02:00
Guewen Baconnier 1c4bdf3061 [FIX] context is not propagated through account_period.name_search to account_period.search
lp bug: https://launchpad.net/bugs/1177348 fixed

bzr revid: guewen.baconnier@camptocamp.com-20130507115306-lrnb0t3139lfxtie
2013-05-07 13:53:06 +02:00
Quentin (OpenERP) 205d8c40e8 [FIX] account: mandatory company_id not present in the config wizard if already configured for this company, and thus it renders the view invisible as the company_id is empty and not visible
bzr revid: qdp-launchpad@openerp.com-20130507065125-4byqfqr20w9g9xzc
2013-05-07 08:51:25 +02:00
Launchpad Translations on behalf of openerp a7a4f33d0f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130427063416-maq2j295cuj0d2j4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429060435-zyumznnykvw92bfg
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051425-9uhm1n0nmvyus33i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051533-veqndxlj87s13tnp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130502060901-j2v1cs2l31in4q6t
bzr revid: launchpad_translations_on_behalf_of_openerp-20130503062950-h0ojr1tlzqx5nu76
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071101-jh8a9d3cb8gcz34e
bzr revid: launchpad_translations_on_behalf_of_openerp-20130505060428-4qacudpyuiez39b3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063544-ggq3rpht7nsoinxs
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071108-g8u3u06xpp3g4sks
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063552-lwxw1ldh3mbflzqf
2013-05-06 06:35:52 +00:00
Launchpad Translations on behalf of openerp 3536f65967 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130427063440-bmcyenjvm2fm94ck
bzr revid: launchpad_translations_on_behalf_of_openerp-20130428054142-1k74s6tp0zv4aeu5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429060457-72jpzgm0ky022n8u
2013-04-29 06:04:57 +00:00
Launchpad Translations on behalf of openerp 7561f48578 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062412-awemubat7ag9ji19
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062416-6321y5y98sute3k0
2013-04-26 06:24:16 +00:00
Quentin (OpenERP) 2ae76572ea [FIX] account: fixed bad constraint message
bzr revid: qdp-launchpad@openerp.com-20130425124453-gc42mimtn6dfec3u
2013-04-25 14:44:53 +02:00
Cedric Snauwaert 31ffb01f87 [FIX]chart of account wizard: show company id field in wizard view
bzr revid: csn@openerp.com-20130425120604-2toia7v6yuemjl6g
2013-04-25 14:06:04 +02:00
Launchpad Translations on behalf of openerp 83fb6fbf02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060541-r1eqpc1djb3vy953
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060609-9otf0125cci1hjvi
2013-04-25 06:06:09 +00:00
Launchpad Translations on behalf of openerp 26e488f2fb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052821-pkggcy9qr4rmhl53
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052845-9nzv2aje2g99c9eq
2013-04-24 05:28:45 +00:00
Quentin (OpenERP) 7e46260474 [FIX] account: modified the constraint on account.move.reconcile in order to allow the reconciliation to be made on different partners if it doesn't concern a payable or receivable account
bzr revid: qdp-launchpad@openerp.com-20130423125731-dblhpx7zz4q9x464
2013-04-23 14:57:31 +02:00
Quentin (OpenERP) 7245f7e6f1 [FIX] account: default values for sign of financial reports in the P&L is -1
bzr revid: qdp-launchpad@openerp.com-20130423085702-2ls986fyfhibimi1
2013-04-23 10:57:02 +02:00
Launchpad Translations on behalf of openerp 6b04a532b8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423060902-2j8xouki50aemi14
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061017-5os2p9ztugb6jjph
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061019-n2660taj1o9os75c
2013-04-23 06:10:19 +00:00
Cedric Snauwaert 7d3a07aa79 [FIX]account_financial_report_data: fix profit and loss sign, sign should be reverse for P&L journal and children
bzr revid: csn@openerp.com-20130422144438-2uc9vhotsznf42ru
2013-04-22 16:44:38 +02:00
Launchpad Translations on behalf of openerp 6a2da1c2f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130421053215-jdbdrur8vk4zu5tc
bzr revid: launchpad_translations_on_behalf_of_openerp-20130420064852-b6bt9syb79h1x16m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130421053233-g4dbsfidsqrs301v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130421053237-8jhzy2qe55bb766x
2013-04-21 05:32:37 +00:00
Olivier Dony 65ff677697 [MERGE/ADD] Many important fixes for contact/company management + new module account_report_company
This patch comes with a corresponding server-side patch (revision 4946 revid: odo@openerp.com-20130420032529-pvv6vuelp84bt26j)


- module-specific overrides of _commercial_fields() for all modules adding accounting/invoicing-related fields to res.partner

- corresponding changes to inherited views of res.partner form to hide these commercial fields when they are in fact "related fields" of their parent commercial entity. This mainly concerns 2 sections of the Partner form: the whole Accounting tab, and the bottom of the Sales&Purchase tabs with the pricelists and invoicing fields. These sections are replaced by a short message and a button to open the commercial entity to view/edit the fields

- a few fixes to properly delegate the resolution of various contact/address types to the corrected res.partner.address_get()

- changes to search views of the main business documents so that searching for a company name will also match its contacts

- a fix of the _find_accounting_partner() method that the account module uses to locate the partner to which journal entries must be linked - it will now use the same semantics as for "commercial entity"

- fix issue detected by Joël Grand-Guillaume in comment #34 of bug 1160365: when invoicing after delivery, the invoicing contact/address must be used rather than the main customer. Tests updated accordingly.

- add new 7.0 module "account_report_company": this module adds an extra stored field "commercial_partner_id" on Invoices to make reporting/aggregating by partner easier in the Invoice list and in the Invoice Analysis report. This module is expected to be merged in the main account module in the next major release. The module can be installed without any risk on any existing 7.0 databases.
This module also mitigates group_by issues on all models by adding a new stored function field `display_name` on res.partner that contains the name_get() result in the form "ACME, John Doe" and set it as the default _order for res.partner. This ensures that group_by entries for the same company will always be next to each other on all documents: "ACME" is directly followed by "ACME, John Doe", "ACME, John Anderson", etc. This field also replaces the `name` field in the list and kanban views of Partners, so that the display order matches the display labels.

- fixed unique constraints definition on some commercial fields on res.partner (l10n_ro)

lp bug: https://launchpad.net/bugs/1160365 fixed

bzr revid: odo@openerp.com-20130420034221-2wvf6rezwl7gog74
2013-04-20 05:42:21 +02:00
Olivier Dony feefb0ad36 [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts
The goal is to match both the Company and its contacts
when searching for the Company

bzr revid: odo@openerp.com-20130420022642-6qe8pp4ifexjms65
2013-04-20 04:26:42 +02:00
Launchpad Translations on behalf of openerp 230b23e6cb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061733-j4th561m2dju73zo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061748-4sz8agg8laqbyu4p
2013-04-19 06:17:48 +00:00
Olivier Dony 26dd9bc343 [MERGE] Sync with 7.0
bzr revid: odo@openerp.com-20130418172123-2ofzftdo2a923nj1
2013-04-18 19:21:23 +02:00
Olivier Dony a9d5c2d37e [FIX] res.partner: rename commercial_id to commercial_partner_id, following corresponding change in `base`
bzr revid: odo@openerp.com-20130418154022-lt7frhp9c8f2boo0
2013-04-18 17:40:22 +02:00
niv-openerp e7aeabc834 [FIX] account: minor javascript problem that made appear a stack trace
lp bug: https://launchpad.net/bugs/1155605 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130418151353-dgfawgqgvama1u84
2013-04-18 17:13:53 +02:00