Commit Graph
8719 Commits
Author SHA1 Message Date
Olivier Dony a4a522bc31 [IMP] account: simplify button name - analytic accounts related to a partners are Contracts in a broad sense
bzr revid: odo@openerp.com-20130523164449-y1fzwc2j2u150okh
2013-05-23 18:44:49 +02:00
Thibault Delavallée a05b0bebbe [FORWARD] Forward port of 7.0 branch until revision 9143.
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +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
Quentin (OpenERP) f2e942ac44 [IMP] account: added the possibility to group by country in invoice analysis, uppon urgent request of fp
bzr revid: qdp-launchpad@openerp.com-20130514120518-2u7j3xaslxj8j1c7
2013-05-14 14:05:18 +02:00
Martin Trigaux 7b8f704f90 [FIX] fix FSF address
bzr revid: mat@openerp.com-20130514120424-xwjzdf3mufifl90d
2013-05-14 14:04:24 +02:00
Quentin (OpenERP) bcf32c6d64 [MERGE] forward port of bugfixes made in addons v7 up to revision 9098.
bzr revid: qdp-launchpad@openerp.com-20130514120341-cvxysuez350hy9s2
2013-05-14 14:03:41 +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
Olivier Dony 325f710360 [FIX] account: split the actions to open analytic accounts, as context is not compatible
The same action was erroneously used in two incompatible
cases: once for openining the list of analytic accounts
from a partner form view (requires a special context
with a client-side `active_id` variable) and the second
one for the main Analytic Account menu item (which
cannot have `active_id` in the context - it would crash).

The fix includes setting an empty ({}) context explicitly
on the original action to be sure the incorrect context
is removed upon update.


The error was introduced at rev.8685
revid:qdp-launchpad@openerp.com-20130418125951-8p0tfexd9jj8l75b

bzr revid: odo@openerp.com-20130507165113-67lam91046t56ky8
2013-05-07 18:51:13 +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
Olivier Dony 9c08e12962 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9085
revision-id: odo@openerp.com-20130429105458-r89mnkx8okdxsdld

bzr revid: odo@openerp.com-20130429151410-54y94063gijyk16o
2013-04-29 17:14:10 +02: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
Quentin (OpenERP) 33f27b362b [MERGE] forward port of addons v7 up to revision 9045
bzr revid: qdp-launchpad@openerp.com-20130422153449-c62emljfa4a49758
2013-04-22 17:34:49 +02: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
Launchpad Translations on behalf of openerp 26f2b57190 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419052438-gk34w78d47iwehp0
2013-04-19 05:24:38 +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
Quentin (OpenERP) 46e95cb136 [FIX] account, account.move.line form view: the same method was defined twice, differently, and parameters were not correctly passed in onchanges
bzr revid: qdp-launchpad@openerp.com-20130418134032-t3y4dk4sp4eu2031
2013-04-18 15:40:32 +02:00
Quentin (OpenERP) ee07c475ce [MERGE] account: improved res.partner.form view in order to display shortcut buttons in the top right corner
bzr revid: qdp-launchpad@openerp.com-20130418125951-8p0tfexd9jj8l75b
2013-04-18 14:59:51 +02:00
Quentin (OpenERP) 429ef87172 [MERGE] accounts* modules: forward port of revision 9033 of addons v7 that was passing 'account_period_prefer_normal=True' in the context in each and every call to account_period.find(). The behaviour is modified in order to search only on normal periods by default
bzr revid: qdp-launchpad@openerp.com-20130418094147-q2ks4w47sn4fxdv2
bzr revid: qdp-launchpad@openerp.com-20130418103907-0qom5yfcq8osnovp
2013-04-18 12:39:07 +02:00
Quentin (OpenERP) c46929268d [FIX] account* modules: added 'account_period_prefer_normal':True in context when trying to find the period related to a date.
This patch will be forward ported in trunk by changing the behaviour of account_period.find() in order to fetch the normal periods by default (account_period_prefer_normal will be True by default) because there are no business case i could think of where you'd like to get the opening period (except in the closure but it's held in a different way there). On the other hand, it's pretty easy to forget to put that key in the context and introduce a new bug that will select the opening period instead of the wanted one

bzr revid: qdp-launchpad@openerp.com-20130418102433-t52uj23trkpr8vnb
2013-04-18 12:24:33 +02:00
Launchpad Translations on behalf of openerp dcd398d33e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130418060603-ondw9hx00c1rmh33
2013-04-18 06:06:03 +00:00
Stephane Wirtel 600513f09f [FIX] account: avoid a crash if the user does not select an existing chart.
bzr revid: stw@openerp.com-20130417145829-0juk1t6ikbcts7v8
2013-04-17 16:58:29 +02:00