Commit Graph

179 Commits

Author SHA1 Message Date
Ravi Gohil (OpenERP) e0284cfe90 [FIX] Passed context in write(...)(Courtesy: Humberto Arocha(hbto)). (Maintenance Case: 586824)
lp bug: https://launchpad.net/bugs/1088086 fixed

bzr revid: rgo@tinyerp.com-20130222062754-nbsp6a491xzm63kw
2013-02-22 11:57:54 +05:30
Josse Colpaert 4b019a31bc [FIX] Lowering the start of the contents of the reports under the company header by default in order to avoid overlap
lp bug: https://launchpad.net/bugs/1098542 fixed

bzr revid: jco@openerp.com-20130215163214-np7bttkwa50zkqw3
2013-02-15 17:32:14 +01:00
Vishmita 3eed9e6153 [Merge]Merge lp:openobject-server
bzr revid: vja@tinyerp.com-20130128120243-dclyb3u0aqrojhon
2013-01-28 17:32:43 +05:30
Quentin (OpenERP) deea17ff25 [FIX] base, res.company: fixed overlapping in company header when display_address() returns a 5 lines text (UK for example)
bzr revid: qdp-launchpad@openerp.com-20130123143802-n9nbwm18xn6xh7z3
2013-01-23 15:38:02 +01:00
Olivier Dony 94cfed4d17 [FIX] res.company: default company info position incorrect in US Letter format
bzr revid: odo@openerp.com-20121221154426-4ligi2c9vwdht3a4
2012-12-21 16:44:26 +01:00
Randhir Mayatra (OpenERP) 9dd9f47df8 [IMP] improve the string res_company and base_data_xml
bzr revid: rma@tinyerp.com-20121219093121-em1gzrsrbu83y40m
2012-12-19 15:01:21 +05:30
Cecile Tonglet 5179507e22 [MERGE] Branch updated with trunk
bzr revid: cto@openerp.com-20121217125902-idtlh4ztyah17bdn
2012-12-17 13:59:02 +01:00
Antony Lesuisse 5fc754b5d3 [MERGE] manually merge customizable web logo, by chs
bzr revid: al@openerp.com-20121215192606-9p66tpo1f4344e20
2012-12-15 20:26:06 +01:00
Vo Minh Thu 509a084e79 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Vishmita f3d09104f9 [FIX]onchange method for state
bzr revid: vja@tinyerp.com-20121129072334-mz4ydyni8toz1u8p
2012-11-29 12:53:34 +05:30
Fabien Pinckaers 01cd1742cc [FIX]
bzr revid: fp@openerp.com-20121102162805-tp46s4x40dwedkij
2012-11-02 17:28:05 +01:00
Fabien Pinckaers 31cf1f3dec [MERGE]
bzr revid: fp@openerp.com-20121102160310-ektb2rrpsfs3weq8
2012-11-02 17:03:10 +01:00
Xavier Morel 5bd939f0ac [REM] useless intermediate lambdas in default values
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
Divyesh Makwana (Open ERP) ba8d8f9bc9 [FIX] Fix the problem of image, at the time of creation of new company.
bzr revid: mdi@tinyerp.com-20121031094412-lzspjtpa9fy4z0bc
2012-10-31 15:14:12 +05:30
Atul Patel (OpenERP) a0f76d88ae [FIX]: Fix display_address() problem in header
bzr revid: atp@tinyerp.com-20121003122130-m81s598eooupbomv
2012-10-03 17:51:30 +05:30
Atul Patel (OpenERP) a1d2dedaed [IMP]: Use display_address() in company header.
bzr revid: atp@tinyerp.com-20121002180349-bxq8n10gfa1yea6g
2012-10-02 23:33:49 +05:30
Antonin Bourguignon ad2d32b2f8 [FIX] forgot to remove a field
bzr revid: abo@openerp.com-20120928171139-v9m5a2rahqnhd8t1
2012-09-28 19:11:39 +02:00
Antonin Bourguignon 1a9f83c63f [IMP] code style; also remove a debug comment
bzr revid: abo@openerp.com-20120928165239-04lcfyt1t9ffdhkk
2012-09-28 18:52:39 +02:00
Antonin Bourguignon adf470bc88 [FIX] some security issues
bzr revid: abo@openerp.com-20120928163956-3qytfhh1t03xaa1x
2012-09-28 18:39:56 +02:00
Antonin Bourguignon 0d428b2b72 [FIX] read user data through a read() instead of a browse()
this way, we prevent the auto-loading of all the user's fields which crashes the contact form when it's submitted  by a portal user

bzr revid: abo@openerp.com-20120919114844-zhbgxkyoufz7ac2m
2012-09-19 13:48:44 +02:00
Raphael Collet e768bf46ab [IMP] res.company: rewrite onchange method to compute rml_footer
bzr revid: rco@openerp.com-20120913122011-h9qsqizhmsibndf3
2012-09-13 14:20:11 +02:00
Olivier Dony e958bdca80 [IMP] res.company: add tooltip for footer field + hide `auto` button in read-only mode
bzr revid: odo@openerp.com-20120910150710-rqflowp3leu3lvn1
2012-09-10 17:07:10 +02:00
Olivier Dony 8fbd74d937 [IMP] res.company: waste slightly less vertical space between bottom `horizontal rule` and footer content
bzr revid: odo@openerp.com-20120910144232-61kywu125umwk7al
2012-09-10 16:42:32 +02:00
Olivier Dony 0b892476bc [FIX] res.company: make write() override support cases where ids is a single id (the usual dumb boilerplate code)
bzr revid: odo@openerp.com-20120910143528-g8dbt0l2rg2oq9sm
2012-09-10 16:35:28 +02:00
Olivier Dony 6408d275c2 [IMP] res.company: support true multiline report footer using RML <place> and <para>
bzr revid: odo@openerp.com-20120910141729-22sk7ca5himljqni
2012-09-10 16:17:29 +02:00
Raphael Collet 111bcbb892 [IMP] res_company: compute footer in create/write (because it calls name_get on bank accounts)
bzr revid: rco@openerp.com-20120910134533-xeqor09qld1rzqnx
2012-09-10 15:45:33 +02:00
Raphael Collet 5feea1cfa8 [MERGE] from trunk
bzr revid: rco@openerp.com-20120907150534-eyj92gtq40c83e3v
2012-09-07 17:05:34 +02:00
Raphael Collet 6b5a32c3c6 [IMP] rml footer: small fixes in view and report template
bzr revid: rco@openerp.com-20120907141935-gvy69gr2ms7avf3m
2012-09-07 16:19:35 +02:00
Fabien Pinckaers a77988fcd7 [MERGE] currency
bzr revid: fp@tinyerp.com-20120907134010-rql25x6eoj6svoc8
2012-09-07 15:40:10 +02:00
Raphael Collet 2716c0e063 [IMP] company rml template: add greyed 'produced by OpenERP' in the left margin
bzr revid: rco@openerp.com-20120907100030-1ss6k27t7vrncntb
2012-09-07 12:00:30 +02:00
Raphael Collet 329b7cdcfe [FIX] res_company: fix method _get_rml_footer_by_line when rml_footer is empty
bzr revid: rco@openerp.com-20120907093643-wec8s0wvmvc68rj4
2012-09-07 11:36:43 +02:00
Raphael Collet f4945c2fc7 [IMP] orm: fix and generalize method resolve_o2m_commands_to_record_dicts (now named resolve_2many_commands)
bzr revid: rco@openerp.com-20120906144836-v2ye3o8n12iir84b
2012-09-06 16:48:36 +02:00
Raphael Collet 690113ffe2 [IMP] res_company: make the field 'rml_footer' readonly when changed automatically (with secondary field to make it work)
bzr revid: rco@openerp.com-20120906143227-ktfmuhu9em7xrwmy
2012-09-06 16:32:27 +02:00
Raphael Collet d466f4dcad [IMP] res_company: reimplement the onchange method to define the company footer
bzr revid: rco@openerp.com-20120906135510-rpj9mres4hbbu4h6
2012-09-06 15:55:10 +02:00
Raphael Collet 8fc8fb3fee [FIX] res_company: fix RML header main
bzr revid: rco@openerp.com-20120906083848-b5rsoztviclksgd0
2012-09-06 10:38:48 +02:00
Raphael Collet 2d29ef18fd [DUMMY] res_company: spacing and indentation
bzr revid: rco@openerp.com-20120905152834-udjuxpz0vap25ikx
2012-09-05 17:28:34 +02:00
Quentin (OpenERP) 73492badc5 [IMP] base, res.company: by default, put the bank accounts on a second line
bzr revid: qdp-launchpad@openerp.com-20120831155039-7teu5u6fv395t2z8
2012-08-31 17:50:39 +02:00
Quentin (OpenERP) 8de272801d [FIX] base, res.company: split the rml_footer field by '\n', to allow the users to display them on several (at least 3, by default) lines if the footer becomes too long
bzr revid: qdp-launchpad@openerp.com-20120831154530-ptq3tz7n0aw58l6m
2012-08-31 17:45:30 +02:00
Stephane Wirtel b3988436cb [REF] Replace the user id 1 by openerp.SUPERUSER_ID
bzr revid: stw@openerp.com-20120831135309-o4plzf5wp0kyuzgf
2012-08-31 15:53:09 +02:00
Antonin Bourguignon f874c66199 [IMP] company: cleaner code, better handling of translations
bzr revid: abo@openerp.com-20120830183606-pl7hbxz80komnjot
2012-08-30 20:36:06 +02:00
Antonin Bourguignon 296a931505 [WIP] company: better handling of the rml_footer field
bzr revid: abo@openerp.com-20120830171023-kqjciz53y8ep6ibp
2012-08-30 19:10:23 +02:00
Antonin Bourguignon 0d89fe7b62 [WIP] company: better handling of the rml_footer field
bzr revid: abo@openerp.com-20120830151051-dhucwac4r9m92di6
2012-08-30 17:10:51 +02:00
Antonin Bourguignon c1dd4523fa [WIP] company: better handling of the rml_footer field
bzr revid: abo@openerp.com-20120830135647-643sc9v3g0s8w821
2012-08-30 15:56:47 +02:00
Antonin Bourguignon 7d8e6e7e8f [IMP] company: better rml_footer default value
also rename method on_change_header in on_change_footer

bzr revid: abo@openerp.com-20120830112427-i3x4dzltlax03p7h
2012-08-30 13:24:27 +02:00
Antonin Bourguignon 6f8dc9815a [IMP] add a comment
bzr revid: abo@openerp.com-20120827095427-la88mj8vmroobhmn
2012-08-27 11:54:27 +02:00
Antonin Bourguignon aa4f0002e1 [WIP] company: improve bank accounts management in footer
bzr revid: abo@openerp.com-20120824165900-li4qvg82uxxs1di6
2012-08-24 18:59:00 +02:00
Antonin Bourguignon b24789a965 [IMP] reorganize columns
bzr revid: abo@openerp.com-20120824124334-xegqtgy4na1ytrbr
2012-08-24 14:43:34 +02:00
Antonin Bourguignon 9b4b784878 [IMP] company's field's name
also fix RML indentation

bzr revid: abo@openerp.com-20120824112434-m3nw1l3292r74yly
2012-08-24 13:24:34 +02:00
Rajesh Prajapati (OpenERP) 49e7c4c02c [IMP] res_company : space placed
bzr revid: rpr@tinyerp.com-20120823124149-24knmbko0gkv56x0
2012-08-23 18:11:49 +05:30
Rajesh Prajapati (OpenERP) 86fa284211 [IMP] res_company : new method added to store readonly field
bzr revid: rpr@tinyerp.com-20120823123636-mplz3vmt8zlosl6w
2012-08-23 18:06:36 +05:30
Rajesh Prajapati (OpenERP) 86894cca45 [IMP] res_company : help changed for new added customize_footer field
bzr revid: rpr@tinyerp.com-20120822064507-dbg6bce7wrkx4eoo
2012-08-22 12:15:07 +05:30
Rajesh Prajapati (OpenERP) bc2bb91a3e [IMP] res_company : onchange code commited
bzr revid: rpr@tinyerp.com-20120822061932-y1kifvbtb8va526q
2012-08-22 11:49:32 +05:30
Rajesh Prajapati (OpenERP) b5b3c24e9f [IMP] res_company : onchange code improved for behaviour of boolean field
bzr revid: rpr@tinyerp.com-20120822060505-1bhkjurylx4fh1br
2012-08-22 11:35:05 +05:30
Rajesh Prajapati (OpenERP) 6b4af94d15 [IMP] res.company : remove readonly attribute of rml_footer field
bzr revid: rpr@tinyerp.com-20120821064326-bvsn8ctu0kbi5tx9
2012-08-21 12:13:26 +05:30
Rajesh Prajapati (OpenERP) 39db756902 [MERGE] merge with main server
bzr revid: rpr@tinyerp.com-20120821053041-2rzq314fjvmc24dv
2012-08-21 11:00:41 +05:30
pso (OpenERP) ff28513b15 [IMP] Improved default method to fetch correct currency in company object
bzr revid: pso@tinyerp.com-20120820073145-fac3kt31u6qemzgu
2012-08-20 13:01:45 +05:30
pso (OpenERP) 001ee407e5 [MERGE] Merged with main branch
bzr revid: pso@tinyerp.com-20120820063058-rkyh4dj3vmdoikjv
2012-08-20 12:00:58 +05:30
Quentin (OpenERP) e1cd328909 [FIX] base: the label of vat field now displays 'TIN' instead of 'TVA'. A US term consistent with the default value of the language used.
bzr revid: qdp-launchpad@openerp.com-20120817142748-3qpytqt5s9dthjcb
2012-08-17 16:27:48 +02:00
Rajesh Prajapati (OpenERP) 38073eceaf [IMP] res_company : new boolean field added and place changed in first page of notebook
bzr revid: rpr@tinyerp.com-20120817131527-e4spfz6q9tlu3uab
2012-08-17 18:45:27 +05:30
Rajesh Prajapati (OpenERP) fff7841aa0 [IMP] res_company : rml_footer1 and rml_footer2 replaced in rml_footer text field
bzr revid: rpr@tinyerp.com-20120817092042-cqxuoc1vcqom7034
2012-08-17 14:50:42 +05:30
Thibault Delavallée b24bc72b1c [CLEAN] res.company: cleaned some code.
bzr revid: tde@openerp.com-20120810081909-9c6uaqh9rlskelbo
2012-08-10 10:19:09 +02:00
Harry (OpenERP) 52d7bb3256 [MERGE]
bzr revid: hmo@tinyerp.com-20120809130651-rrje118wjbdur5i6
2012-08-09 18:36:51 +05:30
pso (OpenERP) da07452529 [MERGE] Merge BDE's branch to fetch currency on the base of country in company
bzr revid: pso@tinyerp.com-20120807123938-mf6isae0dmca5mal
2012-08-07 18:09:38 +05:30
Bharat Devnani (OpenERP) 1756ab23ed [ADD] added onchange on country_id
bzr revid: bde@tinyerp.com-20120807101204-s7feg9o31fzodfty
2012-08-07 15:42:04 +05:30
Thibault Delavallée fef75dc8c2 [MERGE] Merged with server/trunk.
bzr revid: tde@openerp.com-20120730073218-zytvpekawh55owgd
2012-07-30 09:32:18 +02:00
pso (OpenERP) e223851436 [IMP] base: Improved _get_euro method to fetch correct default value of currency
bzr revid: pso@tinyerp.com-20120727094051-9oss7x3acsl79j3s
2012-07-27 15:10:51 +05:30
Quentin (OpenERP) 36c144916d [IMP] settings: usability, review of form views
bzr revid: qdp-launchpad@openerp.com-20120713153520-unk4nr4rhjdwykjr
2012-07-13 17:35:20 +02:00
Antonin Bourguignon 7ecc3850d9 [FIX] read companies addresses using openerp.SUPERUSER_ID instead of uid
this will avoid users who don't have the right to read partners getting an error while reading companies
e.g.: portal users, who can only read their own partner

bzr revid: abo@openerp.com-20120704125741-y01o0xi0meflkp8v
2012-07-04 14:57:41 +02:00
Thibault Delavallée 423f4d8adf [IMP] res_company logo: take the high-def image form res.partner.
bzr revid: tde@openerp.com-20120628083039-j0u50na78ean1yk9
2012-06-28 10:30:39 +02:00
Thibault Delavallée a30d405cff [IMP] res.users: cleaned a bit the code; res_partner: from photo to specified images; update res_company because of its logo coming from res.partner old photo.
bzr revid: tde@openerp.com-20120627155749-ms6p6d7z8c5u2gjg
2012-06-27 17:57:49 +02:00
Fabien Pinckaers 940cf37e4f [IMP] When you configure OpenERP, you need a full control on how to display the footer and bank accounts
bzr revid: fp@tinyerp.com-20120612171753-rhp9iq8y2c53puhe
2012-06-12 19:17:53 +02:00
Quentin (OpenERP) cdf3036682 [IMP] base, res_company: usability improvement
bzr revid: qdp-launchpad@openerp.com-20120319102605-wrx0a0vgj6drpazz
2012-03-19 11:26:05 +01:00
Quentin (OpenERP) cc5d6e1b86 [REF] base, res_company: code optimization (partner_id is required on res.company)
bzr revid: qdp-launchpad@openerp.com-20120319102459-bihu12q6tvizuay8
2012-03-19 11:24:59 +01:00
Bhumika (OpenERP) 7288a49499 [IMP]base: res.company set logo field realted to partner
bzr revid: sbh@tinyerp.com-20120312111228-7zy1o4q2vykayuwy
2012-03-12 16:42:28 +05:30
Raphael Collet 8a6af6fcec [FIX] base: fixed wrong field access (company.parent_id)
bzr revid: rco@openerp.com-20120307123239-n8om385bfhpyh1ls
2012-03-07 13:32:39 +01:00
Bhumika (OpenERP) 0f6b199c74 [Fix] report: Fix the header and print preivew report
bzr revid: sbh@tinyerp.com-20120223093736-a1o9cyu582jh0e17
2012-02-23 15:07:36 +05:30
Kuldeep Joshi (OpenERP) b6696e250a [IMP] change res_company and res_bank
bzr revid: kjo@tinyerp.com-20120221084615-oxcm3q1qg3upmp9n
2012-02-21 14:16:15 +05:30
Kuldeep Joshi (OpenERP) 93960634c1 [IMP] res_partner:add res_partner_address field to res_partner
bzr revid: kjo@tinyerp.com-20120220091705-y7xdh00sdkotpqj6
2012-02-20 14:47:05 +05:30
Olivier Dony fbc0545842 [IMP] base: change conflicting address-related "State" fields to "Fed. State"
This will avoid ambiguous translations, until we can
implement some sort of context-sensitive translation
system.

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

bzr revid: odo@openerp.com-20120118132900-427nc6j0p4h25bdn
2012-01-18 14:29:00 +01:00
Vo Minh Thu e9e419089e [MERGE] res.company: resize the "name" related field to pointed-to field size.
bzr revid: vmt@openerp.com-20120104125106-lp0rpi1sy2z5oxm5
2012-01-04 13:51:06 +01:00
Fabien Pinckaers 0483747b45 [IMP] rml_header1: no slogan by default, tooltip
bzr revid: fp@tinyerp.com-20111229093603-dbyv5u78xnnlc5ni
2011-12-29 10:36:03 +01:00
Quentin (OpenERP) a1e8dc5f12 [MERGE] merged the dev branch with us letter format support for RML files
bzr revid: qdp-launchpad@openerp.com-20111222151559-1jmgkd1ykkj6iuau
2011-12-22 16:15:59 +01:00
Rucha (Open ERP) 077d7c275c [ADD, IMP]: res.company: Added new field in company for paper format which is used to format report pageSize
bzr revid: rpa@tinyerp.com-20111221092344-0mftzklmd6wrlsws
2011-12-21 14:53:44 +05:30
Serpent Consulting Services 1bd89dd27e [FIX] Company : Size of name field has to be reset as it depends on name of corresponding partner
lp bug: https://launchpad.net/bugs/904408 fixed

bzr revid: support@serpentcs.com-20111214195711-hioab78akz1ugums
2011-12-15 01:27:11 +05:30
Numerigraphe - Lionel Sausin 9ed5cbb24c [FIX] unmutable defaults in base addons.
bzr revid: ls@numerigraphe.fr-20111107151949-n9prrufvqe3ohz18
2011-11-07 16:19:49 +01:00
Fabien Pinckaers c8d28ce474 [IMP] useability
bzr revid: fp@tinyerp.com-20110930081235-88jifqvfozqalu54
2011-09-30 10:12:35 +02:00
Fabien Pinckaers d32f04bb3c [IMP] reverting back useability on company header/footer from al
bzr revid: fp@tinyerp.com-20110930080425-wuyaef8fd2k1fuwy
2011-09-30 10:04:25 +02:00
Antony Lesuisse d1e40a55af [IMP] directory cleanups, moved historical cruft into history
bzr revid: al@openerp.com-20110926005444-a7vqjb05vep7xbvj
2011-09-26 02:54:44 +02:00
Olivier Dony 8c5cb638b9 [MERGE] enforce unique `key` attribute for res.currency, ir.model, res.company
For res.company the constraint is made of 2 parts:
 - one normal unique constraint (name,company_id) to catch
   most cases and define the user error message
 - one additional unique index to enforce the unique currency
   name even for multiple entries with NULL company_id, not
   caught by the constraint. The index is named with the 
   constraint name as prefix, in order to automatically
   share the user error message

Also, cleanup up the res.currency views a bit, and improved
field labels in ir.model to make them easier to understand.

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

bzr revid: odo@openerp.com-20110919144821-708avl7t9q7g8vpr
2011-09-19 16:48:21 +02:00
Vo Minh Thu bdd0c7cf3f [IMP] simplified cache implementation (and stored on the osv), does not support contexts.
bzr revid: vmt@openerp.com-20110830121541-abov2wezdn6kl2dc
2011-08-30 14:15:41 +02:00
Antony Lesuisse c8bb3c1ea5 [IMP] merge add company_registry, but use a button instead of onchange to generate the footer
bzr revid: al@openerp.com-20110824234829-10lvn7cs0uuxaty4
2011-08-25 01:48:29 +02:00
Antony Lesuisse fd83621463 [MERGE] trunk
bzr revid: al@openerp.com-20110824160936-ej26wcvgvku3lkm7
2011-08-24 18:09:36 +02:00
Vo Minh Thu 764de99262 [IMP] res_company/res_user: removed unused methods _get_child_ids/company_get.
bzr revid: vmt@openerp.com-20110824155723-6wk2v8rb1gekbavv
2011-08-24 17:57:23 +02:00
Mayur Maheshwari (OpenERP) 29cb20313e [IMP]base:Added field Company registry after TaxID
bzr revid: mma@tinyerp.com-20110818085434-2upimzqd2ty1nysa
2011-08-18 14:24:34 +05:30
fp 04b7ce8425 imp
bzr revid: fp@fp-laptop-20110815153202-20pjs3u2vo28iqox
2011-08-15 17:32:02 +02:00
fp 8c2256b8fd [IMP] company configuration, report header and footer
bzr revid: fp@fp-laptop-20110815152825-n2njyvgmqoyuqwwi
2011-08-15 17:28:25 +02:00
fp 941496a321 [IMP] bank account management reviewed, improved groups name
bzr revid: fp@fp-laptop-20110815141643-ebg8rnuihkei6fni
2011-08-15 16:16:43 +02:00
Nimesh (Open ERP) a5a07e4993 Add missing unique keys
lp bug: https://launchpad.net/bugs/789019 fixed

bzr revid: nco@tinyerp.com-20110726132137-h8go2l62xkn8pdme
2011-07-26 18:51:37 +05:30
Vo Minh Thu 6c7f791f5d [IMP] tidying up before merging in trunk.
bzr revid: vmt@openerp.com-20110706154001-r8y7w28yve2ca0ar
2011-07-06 17:40:01 +02:00
Rucha (Open ERP) e1472fa807 [REM, ADD]: res.company: Removed preview_report function,
* Added new blank report to print company header/footer

bzr revid: rpa@tinyerp.com-20110706125541-1uk17x39458nwonl
2011-07-06 18:25:41 +05:30